/* ===============================================
   TiCON Cloud — Light, modern, motion-rich design
   Font: DM Sans (matches publicpulse / blessbit family)
   =============================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --accent: #06b6d4;
  --accent-2: #8b5cf6;
  --accent-3: #ec4899;
  --warm: #f59e0b;
  --success: #10b981;

  --bg: #ffffff;
  --bg-soft: #fafbff;
  --bg-alt: #f4f7ff;
  --bg-mesh: #f8faff;

  --text: #0b1020;
  --text-strong: #050816;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e6ebf5;
  --border-strong: #cbd5e1;

  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #2563eb 100%);
  --gradient-3: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #2563eb 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-mesh: radial-gradient(at 25% 20%, rgba(37, 99, 235, 0.18) 0px, transparent 50%),
                   radial-gradient(at 75% 30%, rgba(139, 92, 246, 0.16) 0px, transparent 50%),
                   radial-gradient(at 50% 90%, rgba(6, 182, 212, 0.14) 0px, transparent 50%),
                   radial-gradient(at 90% 80%, rgba(236, 72, 153, 0.10) 0px, transparent 50%);

  --shadow-xs: 0 1px 2px rgba(11, 16, 32, 0.05);
  --shadow-sm: 0 2px 4px rgba(11, 16, 32, 0.06);
  --shadow: 0 8px 30px rgba(11, 16, 32, 0.07);
  --shadow-lg: 0 24px 60px rgba(11, 16, 32, 0.10);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.15), 0 12px 40px rgba(37, 99, 235, 0.18);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
}

img, svg { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== Icon system ===== */
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -0.025em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; }
p { color: var(--text-muted); }

.text-gradient {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.3s var(--ease-out);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 11px;
  display: grid; place-items: center;
  color: white; font-weight: 800;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  position: relative; overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--primary); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; font-size: 1.5rem; color: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  font-family: inherit;
  position: relative; overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-2);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.42); color: white; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-outline {
  background: white;
  color: var(--text-strong);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: white; color: var(--primary); border-color: var(--primary); }

/* ===== Hero — light, animated mesh ===== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background: var(--gradient-mesh);
  background-color: var(--bg-mesh);
  animation: meshDrift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
}

@keyframes meshDrift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 90% 80%; }
  100% { background-position: 5% 8%, 92% -5%, 55% 92%, 80% 75%; }
}

/* Floating orbs decoration */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.hero-orb.o1 { width: 520px; height: 520px; background: rgba(37, 99, 235, 0.28); top: -180px; left: -120px; animation: float 14s ease-in-out infinite; }
.hero-orb.o2 { width: 440px; height: 440px; background: rgba(139, 92, 246, 0.22); top: -80px; right: -120px; animation: float 18s ease-in-out infinite reverse; }
.hero-orb.o3 { width: 380px; height: 380px; background: rgba(6, 182, 212, 0.20); bottom: -160px; left: 30%; animation: float 22s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-25px, 40px) scale(0.95); }
}

.hero-content { position: relative; z-index: 1; max-width: 920px; text-align: center; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.8s var(--ease-out);
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease-out) 0.1s backwards;
}
.hero h1 .highlight {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientSlide 6s ease-in-out infinite;
}
@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin: 0 auto 40px;
  max-width: 760px;
  animation: fadeUp 0.8s var(--ease-out) 0.2s backwards;
}

.hero-cta {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 0.3s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 100px;
  padding: 36px 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.8s var(--ease-out) 0.4s backwards;
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}
.hero-stat { text-align: center; position: relative; }
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute; top: 20%; right: -12px; bottom: 20%; width: 1px;
  background: var(--border);
}
.hero-stat strong {
  display: block;
  font-size: 2.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat span { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; margin-top: 6px; display: block; }

/* ===== Sections ===== */
section { padding: 110px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
}
.section-head p { font-size: 1.1rem; margin-top: 16px; }

.bg-alt { background: var(--bg-alt); position: relative; }
.bg-alt::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 50%, rgba(37, 99, 235, 0.06) 0, transparent 50%),
    radial-gradient(at 80% 50%, rgba(139, 92, 246, 0.05) 0, transparent 50%);
  pointer-events: none;
}
.bg-alt > * { position: relative; }

.bg-soft { background: var(--bg-soft); }

/* ===== Rich Service Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.04));
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}
.card-badge.warm { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.card-badge.violet { background: rgba(139, 92, 246, 0.12); color: var(--accent-2); }
.card-badge.cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent); }
.card-badge.pink { background: rgba(236, 72, 153, 0.12); color: var(--accent-3); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card-icon .icon { width: 28px; height: 28px; transition: transform 0.4s var(--ease-out); }
.card:hover .card-icon {
  background: var(--gradient);
  color: white;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}
.card:hover .card-icon .icon { transform: rotate(6deg); }

.card h3 { margin-bottom: 12px; font-weight: 700; }
.card-desc { font-size: 0.95rem; margin-bottom: 18px; color: var(--text-muted); flex-grow: 0; }

.card-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}
.card-features li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--primary-50);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}

.card-metric {
  background: linear-gradient(135deg, var(--primary-50), rgba(6, 182, 212, 0.08));
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 8px;
}
.card-metric strong {
  font-size: 1.4rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.card-metric span { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

.card-link {
  font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary);
  margin-top: auto;
}
.card-link:hover { gap: 10px; }
.card-link .icon { width: 16px; height: 16px; }

/* ===== Logo Marquee ===== */
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
  gap: 16px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee .logo-cell {
  flex-shrink: 0;
  width: 200px;
}

/* ===== Logo Grid (still used elsewhere) ===== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo-cell {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  height: 80px;
  display: grid; place-items: center;
  transition: all 0.3s var(--ease-out);
  filter: grayscale(0.15);
  opacity: 0.95;
}
.logo-cell:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.logo-cell img, .logo-cell svg {
  max-width: 100%; max-height: 100%; object-fit: contain;
}

/* ===== Feature blocks ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 110px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-content h2 { margin-bottom: 22px; }

.feature-list { list-style: none; margin-top: 28px; }
.feature-list li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 500;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  background: var(--gradient);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

.feature-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 50px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.feature-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.5;
  animation: meshDrift 20s ease-in-out infinite alternate;
}
.feature-visual::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), transparent 30%, transparent 70%, rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.feature-visual-content { position: relative; z-index: 1; text-align: center; }
.feature-visual-content .big-icon {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  color: var(--primary);
  padding: 22px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: floatIcon 5s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.feature-visual-content h4 { color: var(--text-strong); margin-bottom: 8px; font-size: 1.5rem; }
.feature-visual-content p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Highlight callout ===== */
.callout {
  background: linear-gradient(135deg, var(--primary-50), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}
.callout-warm {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(239, 68, 68, 0.06));
  border-color: rgba(245, 158, 11, 0.3);
}
.callout h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; color: var(--primary);
}
.callout-warm h3 { color: #d97706; }
.callout p { font-size: 0.98rem; color: var(--text); }

/* ===== Reseller pricing boxes ===== */
.reseller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.reseller-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.reseller-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.reseller-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.reseller-box:hover::before { transform: scaleX(1); }

.reseller-box.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, white, var(--primary-50));
  box-shadow: var(--shadow-glow);
}
.reseller-box.featured::before { transform: scaleX(1); }

.reseller-box h4 {
  font-size: 0.78rem;
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.reseller-box .savings {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 0 12px;
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}
.reseller-box p { font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600; font-size: 1.05rem;
  color: var(--text-strong);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem; font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-50);
  display: grid; place-items: center;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }

.faq-answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ===== HowTo / Steps ===== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  counter-increment: step;
  transition: all 0.4s var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px; right: 24px;
  font-size: 2.6rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.18;
  transition: opacity 0.3s;
}
.step:hover::before { opacity: 0.35; }
.step h4 { margin: 0 0 10px; font-size: 1.1rem; color: var(--text-strong); }
.step p { font-size: 0.92rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 110px auto;
  max-width: 1200px;
  box-shadow: var(--shadow-lg);
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  background-color: var(--bg-mesh);
  opacity: 0.7;
  animation: meshDrift 16s ease-in-out infinite alternate;
}
.cta-section::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--gradient-3);
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  color: var(--text-muted); font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
  background: #0b1020;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 0%, rgba(37, 99, 235, 0.08) 0, transparent 50%),
    radial-gradient(at 80% 100%, rgba(139, 92, 246, 0.08) 0, transparent 50%);
  pointer-events: none;
}
.footer > * { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer h4 { color: white; margin-bottom: 18px; font-size: 1rem; font-weight: 600; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-links a:hover { color: white; transform: translateX(4px); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; margin-top: 18px; max-width: 340px; }
.footer-brand .logo { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.5);
}
.social-links { display: flex; gap: 12px; list-style: none; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.25s var(--ease-out);
}
.social-links a:hover { background: var(--gradient); color: white; transform: translateY(-3px); }

/* ===== Page Hero (interior) ===== */
.page-hero {
  padding: 160px 0 90px;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  background-color: var(--bg-mesh);
  opacity: 0.7;
  animation: meshDrift 18s ease-in-out infinite alternate;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 760px; margin: 0 auto;
}
.breadcrumb {
  display: inline-flex; gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-xs);
}
.breadcrumb a { color: var(--primary); font-weight: 500; }

/* ===== Office cards ===== */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.office-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.office-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.office-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.office-card:hover::before { transform: scaleX(1); }
.office-flag { font-size: 2rem; margin-bottom: 16px; }
.office-card h3 { margin-bottom: 6px; }
.office-meta {
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 18px;
}
.office-info { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; color: var(--text-muted); }
.office-info a { color: var(--text-strong); font-weight: 500; }
.office-info a:hover { color: var(--primary); }
.office-info-row { display: flex; align-items: flex-start; gap: 12px; }
.office-info-row .icon { color: var(--primary); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.contact-info-list li { display: flex; gap: 16px; }
.contact-info-list .info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.contact-info-list .info-icon .icon { width: 22px; height: 22px; color: white; }
.contact-info-list strong { display: block; margin-bottom: 4px; color: var(--text-strong); font-size: 0.98rem; }
.contact-info-list span { color: var(--text-muted); font-size: 0.95rem; }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--text-strong); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-soft);
  transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none; }

.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: 0.92rem; display: none; }
.form-status.success { background: rgba(16, 185, 129, 0.1); color: #047857; border: 1px solid rgba(16, 185, 129, 0.25); display: block; }
.form-status.error { background: rgba(239, 68, 68, 0.1); color: #991b1b; border: 1px solid rgba(239, 68, 68, 0.25); display: block; }

/* ===== Industry Pills ===== */
.industry-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.industry-pill {
  padding: 9px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 500; font-size: 0.9rem;
  color: var(--text);
  transition: all 0.25s var(--ease-out);
  cursor: default;
  box-shadow: var(--shadow-xs);
}
.industry-pill:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ===== Tech Stack Grid ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.tech-category {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s var(--ease-out);
}
.tech-category:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.tech-category h4 { color: var(--primary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; font-weight: 700; }
.tech-items { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
}
.tech-tag:hover { background: var(--gradient); color: white; transform: scale(1.05); }

/* ===== Animations / Reveals ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 70px; }
  .feature-row.reverse { direction: ltr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 30px; }
  section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
}

@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 24px 20px; }
  .hero-stat::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px; }
}
