/* Shareide - Base Styles (Ultra Premium Design System V6) */

/* ========== DESIGN TOKENS ========== */
:root {
  /* Brand - Refined Gold */
  --primary: #F5B800;
  --primary-dark: #D4A000;
  --primary-light: #FFD54F;
  --primary-glow: rgba(245, 184, 0, 0.25);
  --primary-surface: rgba(245, 184, 0, 0.06);
  --primary-border: rgba(245, 184, 0, 0.15);
  --secondary: #1A1A2E;
  --black: #000000;

  /* Dark palette */
  --dark-bg: #050510;
  --dark-surface: #0A0A1A;
  --dark-surface-2: #121228;
  --dark-elevated: #1E1E3A;
  --dark-border: rgba(255,255,255,0.08);
  --dark-border-2: rgba(255,255,255,0.12);
  --dark-text: rgba(255,255,255,0.95);
  --dark-text-muted: rgba(255,255,255,0.55);

  /* Core palette */
  --text: #0F172A;
  --text-secondary: #64748B;
  --text-tertiary: #94A3B8;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --bg-card: #FFFFFF;
  --surface: #F0F3F8;
  --surface-warm: #FFFBEB;
  --surface-cool: #F0F9FF;
  --border: #E8ECF1;
  --border-light: rgba(0,0,0,0.05);

  /* Grays */
  --gray-950: #0C0A09;
  --gray-900: #1C1917;
  --gray-800: #292524;
  --gray-700: #44403C;
  --gray-600: #57534E;
  --gray-500: #78716C;
  --gray-400: #A8A29E;
  --gray-300: #D6D3D1;
  --gray-200: #E7E5E4;
  --gray-100: #F5F5F4;
  --gray-50: #FAFAF9;

  /* Accents */
  --green: #10B981;
  --green-light: #ECFDF5;
  --blue: #3B82F6;
  --blue-light: #EFF6FF;
  --red: #EF4444;
  --red-light: #FEF2F2;
  --purple: #8B5CF6;
  --purple-light: #F5F3FF;
  --pink: #EC4899;
  --teal: #14B8A6;
  --orange: #F59E0B;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Inter', sans-serif;
  --tracking-tight: -0.03em;
  --tracking-tighter: -0.04em;

  /* Brand Colors — Solid Yellow Only */
  --gradient-gold: #F5B800;
  --gradient-gold-soft: rgba(245,184,0,0.08);
  --gradient-gold-text: #F5B800;
  --gradient-dark: #0A0A1A;
  --gradient-dark-subtle: #0F172A;
  --gradient-mesh: none;
  --gradient-glass: rgba(255,255,255,0.06);
  --gradient-hero-mesh: none;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(0, 0, 0, 0.4);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-light: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(20px) saturate(180%);
  --glass-blur-heavy: blur(40px) saturate(200%);

  /* Radius - Premium feel */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-3xl: 36px;
  --radius-full: 9999px;

  /* Shadows - Layered & Premium (multi-layer soft shadows) */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.02), 0 1px 1px rgba(0,0,0,0.02);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.02);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.02), 0 8px 16px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.02), 0 12px 24px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.04);
  --shadow-xl: 0 8px 16px rgba(0,0,0,0.03), 0 20px 40px rgba(0,0,0,0.06), 0 40px 80px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 14px rgba(245,184,0,0.2), 0 12px 28px rgba(245,184,0,0.12);
  --shadow-gold-lg: 0 8px 24px rgba(245,184,0,0.2), 0 24px 48px rgba(245,184,0,0.15);
  --shadow-gold-glow: 0 0 20px rgba(245,184,0,0.15), 0 0 60px rgba(245,184,0,0.08), 0 0 100px rgba(245,184,0,0.04);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.03), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.06), 0 0 0 1px rgba(245,184,0,0.12);
  --shadow-elevated: 0 4px 8px rgba(0,0,0,0.03), 0 16px 32px rgba(0,0,0,0.06), 0 32px 64px rgba(0,0,0,0.06);

  /* Section rhythm */
  --section-y: 120px;
  --section-y-lg: 160px;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;
  --space-4xl: 140px;

  /* Transitions - Enhanced */
  --ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-fast: 0.2s;
  --duration: 0.35s;
  --duration-normal: 400ms;
  --duration-slow: 0.5s;
  --duration-slower: 1000ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
}

body {
  font-family: var(--font-display), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: scroll;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(245,184,0,0.15);
  color: var(--text);
}

/* ========== TYPOGRAPHY ========== */

/* Display 2XL - Huge hero text */
.display-2xl {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
}

/* Display - Homepage hero */
.display {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
}

/* Page hero headings */
.heading-xl {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
}

/* Section headings */
.heading-lg {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
}

/* Card titles, sub-headings */
.heading-md {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
}

.heading-sm {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.heading-xs {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

/* Body text */
.text-lg {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-md {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Label / Overline — Premium pill badge */
.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(245,184,0,0.08), rgba(245,184,0,0.03));
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(245,184,0,0.12);
}

.overline::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Backward compatibility */
.display-heading {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
}

/* Brand text color — solid yellow */
.gradient-text {
  color: #F5B800;
}

.gradient-text-light {
  color: #F5B800;
}

.gradient-text-dark {
  color: #4B5563;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  font-weight: 100;
  animation: blink 1s step-end infinite;
  color: var(--primary);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ========== SECTION HEADERS ========== */
.sec__head {
  max-width: 620px;
  margin: 0 auto 64px;
  text-align: center;
}

.sec__head .overline {
  margin-bottom: 16px;
}

.sec__head .heading-lg {
  margin-bottom: 16px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease-out);
  position: relative;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--black);
  font-weight: 700;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary.btn--glow {
  box-shadow: var(--shadow-gold-lg);
}

.btn--primary.btn--glow:hover {
  box-shadow: 0 12px 40px rgba(245,184,0,0.35);
}

.btn--dark {
  background: var(--gray-900);
  color: var(--white);
}

.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn--white {
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--border);
}

.btn--white:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

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

.btn--outline-dark:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.btn--glass {
  background: rgba(255,255,255,0.7);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(245,184,0,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--glass-dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.btn--glass-dark:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Pill shape */
.btn--pill {
  border-radius: var(--radius-full);
}

/* Sizes */
.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn--xs {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 8px;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius);
}

/* ========== GLASS CARD UTILITY ========== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-card--light {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-card--solid {
  background: linear-gradient(150deg, #FFFFFF 0%, #FAFCFF 100%);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card--solid:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.07), 0 24px 56px rgba(0,0,0,0.06), 0 0 0 1px rgba(245,184,0,0.1);
  transform: translateY(-6px);
  border-color: rgba(245,184,0,0.2);
}

/* ========== HOVER UTILITIES ========== */
.hover-lift {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.hover-glow {
  transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-glow:hover {
  box-shadow: var(--shadow-gold-glow);
}

.hover-scale {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* ========== GRADIENT BORDER ========== */
.gradient-border {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-gold);
  -webkit-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 cubic-bezier(0.23, 1, 0.32, 1);
}

.gradient-border:hover::before {
  opacity: 1;
}

/* ========== SHIMMER TEXT ========== */
.shimmer-text {
  color: #F5B800;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 10001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========== PAGE TRANSITION ========== */
.page-content {
  animation: pageEnter 0.5s var(--ease-out-expo) forwards;
}

/* ========== BADGE / TAG ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.badge--gold {
  background: rgba(245,184,0,0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(245,184,0,0.15);
  backdrop-filter: blur(8px);
}

.badge--dark {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.1);
}

.badge--green {
  background: var(--green-light);
  color: var(--green);
}

.badge--blue {
  background: var(--blue-light);
  color: var(--blue);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--black);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ========== ANIMATIONS (data-animate system) ========== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-down"] {
  transform: translateY(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="scale-up"] {
  transform: scale(0.95);
}

[data-animate="blur-in"] {
  filter: blur(10px);
  transform: translateY(10px);
}

[data-animate="slide-up"] {
  transform: translateY(60px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Stagger support via CSS custom property */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }

/* ========== KEYFRAMES ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245,184,0,0.2); }
  50% { box-shadow: 0 0 40px rgba(245,184,0,0.4); }
}

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

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes blur-in {
  from { opacity: 0; filter: blur(10px); }
  to { opacity: 1; filter: blur(0); }
}

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

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.2);
}

/* ========== SKIP LINK (Accessibility) ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ========== FOCUS VISIBLE (Accessibility) ========== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ========== PRINT STYLES ========== */
@media print {
  .header, .footer, .back-to-top, .scroll-progress,
  .chat-widget, .skip-link, .download-cta, .drive-cta {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }

  .page-content {
    animation: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .page-hero {
    background: #f5f5f5 !important;
    padding: 30px 0 !important;
  }

  .legal-content {
    max-width: 100%;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  :root {
    --section-y: 80px;
    --section-y-lg: 100px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 64px;
    --section-y-lg: 80px;
  }

  .display-2xl {
    font-size: clamp(36px, 9vw, 56px);
    letter-spacing: -2px;
  }

  .display,
  .display-heading {
    font-size: clamp(32px, 8vw, 48px);
    letter-spacing: -1.5px;
  }

  .heading-xl {
    font-size: clamp(26px, 6vw, 36px);
    letter-spacing: -1px;
  }

  .heading-lg {
    font-size: clamp(24px, 5vw, 30px);
    letter-spacing: -0.8px;
  }

  .sec__head {
    margin-bottom: 48px;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 15px;
  }

  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-y: 48px;
    --section-y-lg: 60px;
  }

  .display-2xl {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -1.5px;
  }

  .display,
  .display-heading {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -1px;
  }

  .heading-xl {
    font-size: clamp(22px, 6vw, 30px);
    letter-spacing: -0.8px;
  }

  .heading-lg {
    font-size: clamp(20px, 5vw, 26px);
    letter-spacing: -0.5px;
  }

  .sec__head {
    margin-bottom: 36px;
  }

  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .btn--lg {
    padding: 13px 24px;
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }
}

/* Prevent iOS auto-zoom on input focus */
@media screen and (max-width: 992px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}
