/* ========================================
   1CLICK MARKETING DIGITAL - NOVO SITE 2025
   Dark futuristic theme
   ======================================== */

:root {
  --bg: #08080a;
  --bg-elev: #0c0c12;
  --bg-card: #13131a;
  --bg-glass: rgba(12,12,18,0.78);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f4f3f0;
  --text-dim: rgba(244,243,240,0.68);
  --text-muted: rgba(244,243,240,0.45);
  --accent: #ff4d2a;
  --accent-2: #ff8552;
  --accent-glow: rgba(255,77,42,0.28);
  --accent-glow-strong: rgba(255,77,42,0.55);
  --gradient-hero: radial-gradient(circle at 70% 30%, rgba(255,77,42,0.18) 0%, transparent 55%);
  --font-display: 'Syne', 'Sora', system-ui, sans-serif;
  --font-body: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f3f0;
    --bg-elev: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255,255,255,0.82);
    --border: rgba(18,18,18,0.08);
    --border-strong: rgba(18,18,18,0.14);
    --text: #121212;
    --text-dim: #4a4a4a;
    --text-muted: #7a7a7a;
    --accent: #d8502a;
    --accent-2: #ff6b4a;
    --accent-glow: rgba(216,80,42,0.18);
    --accent-glow-strong: rgba(216,80,42,0.35);
    --gradient-hero: radial-gradient(circle at 70% 30%, rgba(216,80,42,0.12) 0%, transparent 55%);
  }
}

:root[data-theme="light"] {
  --bg: #f4f3f0;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255,255,255,0.82);
  --border: rgba(18,18,18,0.08);
  --border-strong: rgba(18,18,18,0.14);
  --text: #121212;
  --text-dim: #4a4a4a;
  --text-muted: #7a7a7a;
  --accent: #d8502a;
  --accent-2: #ff6b4a;
  --accent-glow: rgba(216,80,42,0.18);
  --accent-glow-strong: rgba(216,80,42,0.35);
  --gradient-hero: radial-gradient(circle at 70% 30%, rgba(216,80,42,0.12) 0%, transparent 55%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Utility classes */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.accent {
  color: var(--accent);
}

.text-dim {
  color: var(--text-dim);
}

.text-muted {
  color: var(--text-muted);
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 74px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 12px 40px -18px rgba(0,0,0,0.4);
}

.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow-strong);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px var(--accent-glow); }
  50% { box-shadow: 0 0 24px var(--accent-glow-strong); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px var(--accent-glow-strong);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--text-dim);
  max-width: 54ch;
  margin: 26px 0 34px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--accent-glow-strong);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px var(--accent-glow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-stat-value .accent {
  color: var(--accent);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Hero visual / mockups */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1a24, #0f0f14);
  border: 1px solid var(--border-strong);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px -24px rgba(0,0,0,0.6), 0 0 60px -20px var(--accent-glow);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-elev);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 4;
}

.dashboard-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.dashboard-card.top {
  top: 40px;
  right: -20px;
  width: 220px;
  animation: float 5s ease-in-out infinite 0.5s;
  z-index: 2;
}

.dashboard-card.bottom {
  bottom: 60px;
  left: -30px;
  width: 240px;
  animation: float 5.5s ease-in-out infinite 1s;
  z-index: 4;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}

.mini-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 3px 3px 0 0;
  animation: grow-bar 1.2s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

@keyframes grow-bar {
  to { transform: scaleY(1); }
}

/* ========================================
   TICKER
   ======================================== */

.ticker-section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 30px;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.ticker-item:hover {
  opacity: 1;
  color: var(--accent);
}

.ticker-separator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}

.section-head {
  margin-bottom: 52px;
}

.section-head.center {
  text-align: center;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.section-head.center .section-title {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-dim);
  max-width: 54ch;
  margin-top: 16px;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays via inline styles or JS */

/* ========================================
   ABOUT
   ======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255,77,42,0.15) 100%);
  pointer-events: none;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.about-content p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.about-stat-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ========================================
   SERVICES
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,77,42,0.4);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.5), 0 0 40px -20px var(--accent-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  grid-column: span 2;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}

.service-arrow {
  margin-top: auto;
  padding-top: 24px;
  font-size: 20px;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card:hover .service-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ========================================
   DIFFERENTIAL
   ======================================== */

.dark-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.diff-grid.reverse {
  direction: rtl;
}

.diff-grid.reverse > * {
  direction: ltr;
}

.diff-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.diff-text {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-dim);
  line-height: 1.75;
  align-self: end;
}

.diff-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.diff-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.diff-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 16px;
}

.diff-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.diff-card-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ========================================
   CASES
   ======================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0.2) 0%, rgba(8,8,10,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s ease;
}

.case-card:hover .case-overlay {
  background: linear-gradient(180deg, rgba(255,77,42,0.1) 0%, rgba(8,8,10,0.95) 100%);
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 6px;
}

.case-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
}

.case-metrics {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-card:hover .case-metrics {
  opacity: 1;
  transform: translateY(0);
}

.case-metric-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.case-metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ========================================
   AI SECTION
   ======================================== */

.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-flow {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 34px;
}

.ai-flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.ai-flow-step:last-child {
  border-bottom: none;
}

.ai-flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.ai-flow-text h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ai-flow-text p {
  font-size: 13px;
  color: var(--text-dim);
}

.ai-content h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.ai-content p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ========================================
   PLANS
   ======================================== */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.45);
}

.plan-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 70px -30px var(--accent-glow);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 99px;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.plan-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  margin-bottom: 28px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.plan-feature::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ========================================
   FAQ
   ======================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s var(--ease-out-expo);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  padding-bottom: 22px;
  max-width: 68ch;
}

/* ========================================
   FINAL CTA
   ======================================== */

.cta-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.cta-box {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-box h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-box p {
  position: relative;
  z-index: 1;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 54ch;
  margin: 0 auto 28px;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-elev);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .services-grid,
  .cases-grid,
  .plans-grid,
  .diff-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.featured {
    grid-column: span 2;
  }

  .hero-grid,
  .about-grid,
  .diff-grid,
  .ai-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diff-grid.reverse {
    direction: ltr;
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .dashboard-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out-expo);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
  }

  .mobile-toggle {
    display: flex;
  }

  .services-grid,
  .cases-grid,
  .plans-grid,
  .diff-cards,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-header {
    display: none;
  }

  .footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker {
    animation: none;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
