/* ============================================
   TRADE EXPERTS WEALTH MANAGEMENT
   Premium Design System & Stylesheet
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette */
  --charcoal: #2C2C2E;
  --charcoal-deep: #1C1C1E;
  --charcoal-light: #3A3A3C;
  --graphite: #48484A;
  --graphite-light: #636366;

  /* Warm Neutrals */
  --sand: #F5F0EB;
  --sand-light: #FAF8F5;
  --beige: #E8E0D8;
  --beige-warm: #D4C8BC;
  --cream: #FFFDF9;

  /* Accent Colors */
  --teal: #5B8A8A;
  --teal-muted: #7BA3A3;
  --teal-deep: #3D6B6B;
  --teal-light: #A3C4C4;
  --gold: #C9A96E;
  --gold-light: #D4BC8E;
  --gold-deep: #B08D4F;

  /* Functional */
  --success: #5BA37A;
  --warning: #D4A036;
  --error: #C75B5B;
  --info: #5B8ABF;

  /* Text Colors */
  --text-primary: #2C2C2E;
  --text-secondary: #636366;
  --text-muted: #8E8E93;
  --text-inverse: #FAF8F5;
  --text-accent: #5B8A8A;

  /* Surfaces */
  --surface-primary: #FAF8F5;
  --surface-secondary: #F5F0EB;
  --surface-card: #FFFFFF;
  --surface-dark: #2C2C2E;
  --surface-glass: rgba(255, 253, 249, 0.72);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 44, 46, 0.06), 0 1px 2px rgba(44, 44, 46, 0.04);
  --shadow-md: 0 4px 12px rgba(44, 44, 46, 0.08), 0 2px 6px rgba(44, 44, 46, 0.04);
  --shadow-lg: 0 12px 32px rgba(44, 44, 46, 0.10), 0 4px 12px rgba(44, 44, 46, 0.06);
  --shadow-xl: 0 20px 48px rgba(44, 44, 46, 0.14), 0 8px 20px rgba(44, 44, 46, 0.08);
  --shadow-glow-teal: 0 8px 32px rgba(91, 138, 138, 0.18);
  --shadow-glow-gold: 0 8px 32px rgba(201, 169, 110, 0.18);

  /* Borders */
  --border-light: rgba(44, 44, 46, 0.06);
  --border-medium: rgba(44, 44, 46, 0.12);
  --border-accent: rgba(91, 138, 138, 0.3);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --header-height-scrolled: 64px;
}


/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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(--surface-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--charcoal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--sand);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.loader-logo span {
  color: var(--gold);
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--graphite);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: var(--radius-full);
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}


/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal-deep);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-transition.active {
  animation: pageTransitionIn 0.5s var(--ease-out) forwards;
}

@keyframes pageTransitionIn {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.1% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}


/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-4xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.logo .logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-base);
}

.header.scrolled .logo .logo-img {
  height: 42px;
}

.footer .logo .logo-img {
  height: 60px;
  filter: brightness(1.1);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: var(--teal);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link .arrow {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--sand);
  color: var(--teal-deep);
  transform: translateX(4px);
}

/* dd-icon styles removed - clean text dropdown */

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-teal);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--charcoal-deep));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(91, 138, 138, 0.28);
}

.header-cta:hover::before {
  opacity: 1;
}

.header-cta span {
  position: relative;
  z-index: 1;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px 0;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

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

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

/* ── Overlay header (homepage) sits over the dark hero: brighten the menu
   while at the top. Once scrolled, the header gets a light glass background,
   so the default dark text returns automatically.
   NOTE: only while the mobile menu is CLOSED (.nav:not(.open)) — the open
   mobile panel is light, so its links must stay dark to be visible. ── */
.header--overlay:not(.scrolled) .nav:not(.open) .nav-link {
  color: rgba(250, 248, 245, 0.86);
}
.header--overlay:not(.scrolled) .nav:not(.open) .nav-link:hover,
.header--overlay:not(.scrolled) .nav:not(.open) .nav-link.active {
  color: #FFFDF9;
}
.header--overlay:not(.scrolled) .mobile-toggle:not(.active) span {
  background: #FAF8F5;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  box-shadow: var(--shadow-glow-teal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(91, 138, 138, 0.3);
}

.btn-secondary {
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  color: var(--charcoal-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  color: var(--teal);
  background: transparent;
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-3px);
}

.btn-dark {
  color: var(--sand);
  background: var(--charcoal-deep);
  box-shadow: var(--shadow-lg);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--charcoal);
}

/* Button Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}


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

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91, 138, 138, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--charcoal-deep);
  margin-bottom: var(--space-xl);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--teal), var(--teal-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight-gold {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--charcoal-deep);
  letter-spacing: -0.02em;
}

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

.hero-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(91, 138, 138, 0.08) 0%, transparent 40%, rgba(201, 169, 110, 0.06) 100%);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-float-card {
  position: absolute;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: floatY 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 20px;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

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

.float-card-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.float-card-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--charcoal-deep);
  margin-top: 2px;
}

.float-card-value .up {
  color: var(--success);
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 138, 138, 0.1) 0%, transparent 60%);
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--sand-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-feature:hover {
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-feature .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature .feature-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}


/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  margin-top: var(--space-lg);
  transition: gap var(--transition-fast);
}

.service-card:hover .card-link {
  gap: 12px;
}


/* ============================================
   WHY CHOOSE US
   ============================================ */
.bg-sand {
  background-color: var(--sand);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
}

.feature-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
  transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   WORKFLOW / PROCESS
   ============================================ */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.workflow-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-light), var(--gold-light));
  z-index: 0;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
}

.step-number span {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--teal);
}

.workflow-step:hover .step-number {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-teal);
}

.workflow-step:hover .step-number span {
  color: white;
}

.workflow-step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.workflow-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   TECH STACK
   ============================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.tech-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}

.tech-item .tech-icon {
  font-size: 36px;
  margin-bottom: var(--space-md);
  display: block;
}

.tech-item h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tech-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* ============================================
   DIGITAL MARKETING SECTION
   ============================================ */
.marketing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.marketing-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.marketing-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.marketing-item:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.marketing-item .m-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.marketing-item h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.marketing-item p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-xl);
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
  font-size: 48px;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.testimonial-card .quote-text {
  font-size: var(--text-xl);
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-2xl);
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-lg);
}

.testimonial-card .author-info h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card .author-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beige);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.testimonial-dot.active {
  background: var(--teal);
  width: 28px;
  border-radius: var(--radius-full);
}


/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal-deep) 0%, var(--charcoal) 50%, var(--charcoal-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 138, 138, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--sand);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: var(--beige-warm);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.cta-banner .cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal-deep);
  color: var(--beige-warm);
  padding-top: var(--space-5xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--sand);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo .logo-icon {
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--beige-warm);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--beige-warm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--sand);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  font-size: var(--text-sm);
  color: var(--beige-warm);
  opacity: 0.7;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--teal-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  opacity: 0.8;
}

.footer-contact-item .fc-icon {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 3px;
  color: var(--teal-light);
}

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-sm);
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: var(--text-sm);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--teal-light);
}


/* ============================================
   SERVICES PAGE
   ============================================ */
.page-hero {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--sand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 138, 138, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .section-title {
  font-size: var(--text-5xl);
}

.service-detail {
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
  direction: ltr;
}

.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.service-detail-content .intro {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.service-features {
  margin-bottom: var(--space-xl);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.service-features li .check {
  color: var(--teal);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-detail-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-benefits {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--sand);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal-deep);
}


/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.pricing-toggle span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.pricing-toggle span.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 56px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--beige);
  position: relative;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--teal);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.toggle-switch.active::after {
  transform: translateX(26px);
}

.pricing-save {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 600;
  background: rgba(91, 163, 122, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-glow-teal);
}

.pricing-card.featured:hover {
  box-shadow: 0 24px 56px rgba(91, 138, 138, 0.2);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card .plan-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.pricing-card .plan-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.pricing-card .plan-price {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-light);
}

.pricing-card .price-amount {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--charcoal-deep);
  letter-spacing: -0.03em;
}

.pricing-card .price-currency {
  font-size: var(--text-xl);
  vertical-align: super;
  font-weight: 700;
}

.pricing-card .price-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card .plan-features {
  margin-bottom: var(--space-2xl);
}

.pricing-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 8px 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-card .plan-features li .check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .plan-features li.disabled {
  opacity: 0.4;
}

.pricing-card .plan-features li.disabled .check {
  color: var(--text-muted);
}


/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.contact-info-card {
  padding: var(--space-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.contact-info-card .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.contact-info-card:hover .ci-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
}

.contact-info-card h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  background: var(--beige);
  position: relative;
  border: 1px solid var(--border-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.business-hours {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.business-hours h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.business-hours .hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.business-hours .hours-row:last-child {
  border-bottom: none;
}

.business-hours .hours-row .day {
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--sand-light);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--surface-card);
  box-shadow: 0 0 0 4px rgba(91, 138, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl);
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91, 163, 122, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-lg);
}

.form-success h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}


/* ============================================
   POLICY PAGES
   ============================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.policy-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.policy-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.policy-content ul li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.policy-content .policy-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  font-style: italic;
}


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

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

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

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

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

.reveal-right.visible {
  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.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
.stagger.visible > *:nth-child(9) { transition-delay: 640ms; }
.stagger.visible > *:nth-child(10) { transition-delay: 720ms; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 2.75rem;
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
  }

  .services-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .workflow-grid::before {
    display: none;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-6xl: 2.25rem;
    --text-5xl: 1.875rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.5rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Mobile Nav */
  .mobile-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--surface-primary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 1000;
  }

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

  .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav-link {
    font-size: var(--text-xl);
    padding: var(--space-md);
  }

  .nav-link::after {
    display: none;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--sand-light);
    border-radius: var(--radius-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    pointer-events: all;
    padding: 0 var(--space-md);
  }

  .nav-item.dropdown-open .dropdown {
    max-height: 600px;
    padding: var(--space-sm) var(--space-md);
  }

  .header-cta {
    font-size: var(--text-lg);
    padding: 14px 32px;
  }

  /* Grids */
  .hero-grid,
  .about-grid,
  .marketing-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .hero-image-wrapper img {
    height: 300px;
  }

  .hero-float-card.card-1 {
    right: 10px;
    top: 10px;
  }

  .hero-float-card.card-2 {
    left: 10px;
    bottom: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .marketing-services {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: var(--space-3xl) var(--space-xl);
  }

  .cta-banner h2 {
    font-size: var(--text-3xl);
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  :root {
    --text-6xl: 1.875rem;
    --text-5xl: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

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

  .hero-actions .btn {
    width: 100%;
  }
}


/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 24px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-primary);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: white;
  flex-shrink: 0;
}

.whatsapp-float .wa-text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-float .wa-text {
    display: none;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   HERO — IMMERSIVE FULL-BLEED 3D CANDLESTICK CHART
   Live canvas candlesticks + CSS perspective floor.
   The whole hero is a dark trading terminal; text overlays it.
   ============================================ */

/* Dark base + kill the light decorative blobs */
.hero--immersive { background: #121211; }
.hero--immersive::before,
.hero--immersive::after { display: none; }

/* Full-bleed animated graph behind everything */
.hero-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 88% 6%, rgba(91, 138, 138, 0.20) 0%, transparent 44%),
    radial-gradient(120% 90% at 6% 100%, rgba(201, 169, 110, 0.14) 0%, transparent 52%),
    linear-gradient(160deg, #17171a 0%, #1d1f22 48%, #16211f 100%);
}
.hero-graph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(150% 130% at 60% 45%, transparent 52%, rgba(0, 0, 0, 0.40) 100%);
  pointer-events: none;
  z-index: 2;
}

/* --- 3D perspective floor grid (perpetual receding motion) --- */
.hg-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hg-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -6px;
  height: 46%;
  transform: perspective(520px) rotateX(74deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(91, 138, 138, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 138, 138, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 88%);
  mask-image: linear-gradient(to top, #000 20%, transparent 88%);
  animation: hgGrid 2.6s linear infinite;
  will-change: background-position;
}
@keyframes hgGrid {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 44px, 0 0; }
}

/* --- Canvas fills the hero (candlesticks drawn here) --- */
.hg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* --- Readability scrim: dark on the left (behind text), clear on the right --- */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(102deg,
      rgba(16, 16, 15, 0.94) 0%,
      rgba(16, 16, 15, 0.82) 24%,
      rgba(16, 16, 15, 0.5) 48%,
      rgba(16, 16, 15, 0.16) 74%,
      rgba(16, 16, 15, 0.04) 100%),
    linear-gradient(to bottom,
      rgba(16, 16, 15, 0.5) 0%,
      transparent 20%,
      transparent 72%,
      rgba(16, 16, 15, 0.62) 100%);
}

/* Lift the content above the graph + scrim */
.hero--immersive .container { position: relative; z-index: 3; }

/* --- Text recolored for the dark hero --- */
.hero--immersive .hero-title { color: #FFFDF9; }
.hero--immersive .hero-description { color: rgba(250, 248, 245, 0.82); }
.hero--immersive .hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(250, 248, 245, 0.92);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero--immersive .hero-stats { border-top-color: rgba(255, 255, 255, 0.14); }
.hero--immersive .hero-stat .stat-number { color: #FFFDF9; }
.hero--immersive .hero-stat .stat-number .stat-accent { color: #A3C4C4; }
.hero--immersive .hero-stat .stat-label { color: rgba(250, 248, 245, 0.58); }
.hero--immersive .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFDF9;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero--immersive .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- Right-column floating overlays (live readout + stat cards) --- */
.hero--immersive .hero-visual {
  position: relative;
  min-height: 440px;
}
.hg-readout {
  position: absolute;
  top: 6px;
  left: 10px;
  z-index: 4;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hg-symbol {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A3C4C4;
}
.hg-price {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFDF9;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.hg-change {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hg-change.up   { color: #B8E0D6; background: rgba(91, 138, 138, 0.24); }
.hg-change.down { color: #E6CE9E; background: rgba(201, 169, 110, 0.24); }

.hero--immersive .hero-float-card { z-index: 4; }
.hero--immersive .hero-float-card.card-1 { top: 78px; right: -8px; }
.hero--immersive .hero-float-card.card-2 { bottom: 22px; left: -12px; }

/* Pause floor motion when tab hidden (set by JS) */
.hg-paused .hg-floor { animation-play-state: paused; }

/* Reduced-motion: hold the floor still (canvas handles its own frame) */
@media (prefers-reduced-motion: reduce) {
  .hg-floor { animation: none; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .hero--immersive .hero-visual { min-height: 300px; margin-top: var(--space-lg); }
  .hero--immersive .hero-float-card.card-1 { top: 58px; right: 6px; }
  .hero--immersive .hero-float-card.card-2 { bottom: 14px; left: 6px; }
  .hg-price { font-size: 1.6rem; }
  .hg-floor { height: 40%; }
  /* Stronger, more even scrim so text stays readable over the candles */
  .hero-scrim {
    background:
      linear-gradient(to bottom,
        rgba(16, 16, 15, 0.74) 0%,
        rgba(16, 16, 15, 0.52) 42%,
        rgba(16, 16, 15, 0.74) 100%);
  }
}
