/* ============================================
   AdsOnWay — Premium Light Theme
   Clean SaaS design inspired by modern agencies
   Brand: Blue #2B4EA2 + Gold #F5A623
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --brand-blue: #2B4EA2;
  --brand-blue-dark: #1E3A7A;
  --brand-blue-light: #4A6EC5;
  --brand-blue-50: #EDF1FA;
  --brand-blue-100: #D4DDEE;
  --brand-gold: #F5A623;
  --brand-gold-dark: #D98E0A;
  --brand-gold-light: #FFBE4C;
  --brand-gold-50: #FFF8EB;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F7F8FC;
  --bg-soft: #F0F2F8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFF;
  --bg-hero: linear-gradient(170deg, #F7F8FC 0%, #EDF1FA 40%, #FFFFFF 100%);

  /* Text */
  --text-dark: #1A1D2B;
  --text-body: #4A4F65;
  --text-muted: #8B90A5;
  --text-light: #B0B4C8;

  /* Accents */
  --accent-green: #22C55E;
  --accent-red: #EF4444;
  --accent-cyan: #06B6D4;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #2B4EA2 0%, #4A6EC5 50%, #2B4EA2 100%);
  --gradient-gold: linear-gradient(135deg, #F5A623 0%, #FFBE4C 100%);
  --gradient-blue-soft: linear-gradient(135deg, #EDF1FA 0%, #D4DDEE 100%);
  --gradient-cta: linear-gradient(135deg, #2B4EA2 0%, #1E3A7A 100%);

  /* Borders */
  --border-light: #E8EAF0;
  --border-subtle: #F0F2F8;
  --border-card: rgba(43, 78, 162, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(43, 78, 162, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 78, 162, 0.08);
  --shadow-lg: 0 8px 32px rgba(43, 78, 162, 0.1);
  --shadow-xl: 0 16px 48px rgba(43, 78, 162, 0.12);
  --shadow-card: 0 2px 12px rgba(43, 78, 162, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(43, 78, 162, 0.12);
  --shadow-gold: 0 4px 20px rgba(245, 166, 35, 0.25);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---------- Section base ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 580px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Accent text ---------- */
.accent-text {
  color: var(--brand-blue);
}

.gold-text {
  color: var(--brand-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(43, 78, 162, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43, 78, 162, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-secondary:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ---------- Marquee / Ticker ---------- */
.marquee-section {
  padding: 20px 0;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
}

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

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.85rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 40px;
  background: var(--bg-hero);
  overflow: hidden;
}

/* Decorative shapes */
.hero-decor {
  position: absolute;
  pointer-events: none;
}

.hero-decor-1 {
  top: 10%;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(43, 78, 162, 0.04);
  animation: float-slow 20s ease-in-out infinite;
}

.hero-decor-2 {
  bottom: -60px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.06);
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-decor-3 {
  top: 40%;
  left: 10%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0.4;
  animation: float-dot 8s ease-in-out infinite;
}

.hero-decor-4 {
  top: 20%;
  right: 15%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.3;
  animation: float-dot 10s ease-in-out infinite 2s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

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

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

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-blue-50);
  border: 1px solid var(--brand-blue-100);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 24px;
  animation: fade-in-up 0.8s var(--ease-out) 0.2s both;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text-dark);
  animation: fade-in-up 0.8s var(--ease-out) 0.4s both;
}

.hero-title .accent-text {
  background: linear-gradient(135deg, #2B4EA2, #4A6EC5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fade-in-up 0.8s var(--ease-out) 0.6s both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fade-in-up 0.8s var(--ease-out) 0.8s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  animation: fade-in-up 0.8s var(--ease-out) 1s both;
}

.hero-trust svg {
  color: var(--accent-green);
  width: 18px;
  height: 18px;
}

/* ─── Hero Dashboard ─── */
.hero-visual {
  position: relative;
  animation: fade-in-up 1s var(--ease-out) 0.6s both;
}

.hero-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-header h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.dashboard-header .dash-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(34, 197, 94, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.dash-stat {
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 2px;
}

.dash-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.dashboard-chart {
  height: 140px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: url(#chartGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: url(#areaGradient);
  opacity: 0.4;
}

.chart-line-animated {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-line 2.5s var(--ease-out) 1.2s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* Floating badges */
.hero-floating {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  animation: float-badge 5s ease-in-out infinite;
}

.hero-floating-1 {
  top: -12px;
  right: -12px;
  color: var(--accent-green);
}

.hero-floating-2 {
  bottom: 50px;
  left: -20px;
  color: var(--brand-gold-dark);
  animation-delay: -2.5s;
}

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

/* ======================================
   PROBLEM SECTION
   ====================================== */
.problem {
  background: var(--bg-white);
}

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

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.problem-item:hover {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.02);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.problem-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 0.9rem;
  font-weight: 700;
}

.problem-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.problem-item p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.problem-conclusion {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Problem visual */
.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-graphic {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  position: relative;
}

.problem-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: spin-ring 30s linear infinite;
}

.problem-ring:nth-child(1) { inset: 0; border-color: rgba(239, 68, 68, 0.1); }
.problem-ring:nth-child(2) { inset: 40px; border-color: rgba(239, 68, 68, 0.07); animation-direction: reverse; animation-duration: 25s; }
.problem-ring:nth-child(3) { inset: 80px; border-color: rgba(239, 68, 68, 0.04); animation-duration: 20s; }

.problem-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(239, 68, 68, 0.06);
  border: 2px solid rgba(239, 68, 68, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* ======================================
   SOLUTION / FLOW SECTION
   ====================================== */
.solution {
  background: var(--bg-light);
}

.flow-container {
  position: relative;
  padding: 20px 0;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 190px;
}

.flow-step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.flow-step:hover .flow-step-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.flow-step:nth-child(1) .flow-step-icon { background: var(--brand-blue-50); border-color: var(--brand-blue-100); }
.flow-step:nth-child(2) .flow-step-icon { background: rgba(6, 182, 212, 0.08); border-color: rgba(6, 182, 212, 0.2); }
.flow-step:nth-child(3) .flow-step-icon { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.2); }
.flow-step:nth-child(4) .flow-step-icon { background: var(--brand-gold-50); border-color: rgba(245, 166, 35, 0.25); }
.flow-step:nth-child(5) .flow-step-icon { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.2); }

.flow-step h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--brand-blue-light);
  font-size: 1.3rem;
  opacity: 0.5;
  margin: 0 -6px;
  padding-bottom: 40px;
}

/* ======================================
   SERVICES
   ====================================== */
.services {
  background: var(--bg-white);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(43,78,162,0.6), transparent, rgba(245,166,35,0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
  transition: transform 0.4s var(--ease-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-card:nth-child(1) .service-icon { background: var(--brand-blue-50); }
.service-card:nth-child(2) .service-icon { background: rgba(6, 182, 212, 0.08); }
.service-card:nth-child(3) .service-icon { background: rgba(34, 197, 94, 0.08); }
.service-card:nth-child(4) .service-icon { background: var(--brand-gold-50); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Glare effect for JS 3D tilt */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  z-index: 10;
  mix-blend-mode: overlay;
}
.service-card:hover .card-glare,
.case-card:hover .card-glare,
.why-card:hover .card-glare,
.testimonial-card:hover .card-glare,
.stat-card:hover .card-glare {
  opacity: 1;
}

/* ======================================
   RESULTS / STATS
   ====================================== */
.results {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.results::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.06);
}

.results .section-label {
  color: var(--brand-gold-light);
}

.results .section-label::before {
  background: var(--brand-gold-light);
}

.results .section-title {
  color: #fff;
}

.results .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-gold-light);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ======================================
   CASE STUDIES
   ====================================== */
.case-studies {
  background: var(--bg-light);
}

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

.case-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.case-card:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.case-card-header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.case-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.case-card:nth-child(1) .case-tag { background: var(--brand-blue-50); color: var(--brand-blue); }
.case-card:nth-child(2) .case-tag { background: rgba(34, 197, 94, 0.08); color: var(--accent-green); }
.case-card:nth-child(3) .case-tag { background: var(--brand-gold-50); color: var(--brand-gold-dark); }

.case-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.case-card-body {
  padding: 22px 24px;
}

.case-detail {
  margin-bottom: 14px;
}

.case-detail:last-child { margin-bottom: 0; }

.case-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.case-detail-label.problem-label { color: var(--accent-red); }
.case-detail-label.solution-label { color: var(--brand-blue); }
.case-detail-label.result-label { color: var(--accent-green); }

.case-detail p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.case-result-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700 !important;
  color: var(--accent-green) !important;
  font-size: 0.95rem !important;
}

/* ======================================
   PROCESS TIMELINE
   ====================================== */
.process {
  background: var(--bg-white);
}

.process-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--brand-blue), var(--brand-blue-light), var(--brand-gold));
  border-radius: 2px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.process-step-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 3px solid var(--brand-blue);
  color: var(--brand-blue);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
  background: var(--brand-blue);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(43, 78, 162, 0.2);
}

.process-step-content {
  padding-top: 14px;
  flex: 1;
}

.process-step-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.process-step-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ======================================
   WHY CHOOSE US
   ====================================== */
.why-us {
  background: var(--bg-light);
}

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

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.why-card:hover .why-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--brand-blue-50);
  transition: transform 0.4s var(--ease-bounce);
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ======================================
   TESTIMONIALS
   ====================================== */
.testimonials {
  background: var(--bg-white);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 40px;
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--brand-gold);
  font-size: 0.88rem;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonials-grid .testimonial-card:nth-child(4) { grid-column: 1 / 2; }
.testimonials-grid .testimonial-card:nth-child(5) { grid-column: 2 / 4; }

/* ======================================
   FINAL CTA
   ====================================== */
.final-cta {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.cta-inner .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 32px;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
}

.footer-brand .nav-logo img {
  height: 42px;
  filter: brightness(0) invert(1) drop-shadow(0 0 0 rgba(255,255,255,0.8));
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
  margin-bottom: 0;
}

.footer-social a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--brand-gold-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-visual { order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid var(--border-light);
    transition: right var(--transition-base);
    z-index: 999;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active { right: 0; }
  .nav-mobile-toggle { display: flex; }

  .hero-title { font-size: clamp(2rem, 7vw, 2.6rem); }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:nth-child(5) { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr; }

  .flow-steps { flex-direction: column; gap: 6px; }
  .flow-arrow { transform: rotate(90deg); margin: 0; padding-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .dashboard-stats { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
    --container-padding: 0 16px;
  }

  .hero { padding-top: 80px; min-height: auto; padding-bottom: 48px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { padding: 14px 24px; justify-content: center; }

  .process-step { gap: 14px; }
  .process-step-number { width: 48px; height: 48px; min-width: 48px; font-size: 0.95rem; }
  .process-timeline::before { left: 23px; }

  .cta-inner { padding: 40px 24px; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--brand-blue-100); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue-light); }

/* ---------- Selection ---------- */
::selection {
  background: rgba(43, 78, 162, 0.15);
  color: var(--text-dark);
}
