/* ========================================
   Havenya Landing Page - Main Stylesheet
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Design System)
   ---------------------------------------- */
:root {
  /* Colors - Dark Theme */
  --color-primary: #111111;
  --color-primary-light: #1a1a1a;
  --color-primary-dark: #0a0a0a;
  --color-surface: #161616;
  --color-surface-elevated: #1e1e1e;
  --color-accent: #6366f1;
  --color-accent-hover: #4f46e5;
  --color-secondary: #f59e0b;
  --color-secondary-hover: #d97706;
  --color-white: #ffffff;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #a1a1aa;
  --color-gray-500: #71717a;
  --color-gray-600: #52525b;
  --color-gray-700: #3f3f46;
  --color-gray-800: #27272a;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes - Slightly larger for readability */
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.3rem;
  --text-2xl: 1.6rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-6xl: 4rem;

  /* Spacing - More generous */
  --spacing-xs: 0.375rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 1.75rem;
  --spacing-xl: 2.5rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5.5rem;
  --spacing-4xl: 8rem;
  --spacing-5xl: 10rem;

  /* Border Radius - Softer curves */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows - Softer, more subtle */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.15);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.2);
  --shadow-xl: 0 24px 48px -8px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.25);
  --shadow-glow-secondary: 0 0 60px rgba(245, 158, 11, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1280px;
  --container-padding: 2rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-200);
  background-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--spacing-5xl) 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-primary-dark);
}

.section-light {
  background-color: var(--color-surface);
}

.section-gradient {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-surface) 100%);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-gray-300);
  border: 1.5px solid var(--color-gray-700);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
  background: rgba(99, 102, 241, 0.05);
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: var(--color-white);
  padding: 1.125rem 2.5rem;
  font-size: var(--text-lg);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: var(--text-lg);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 0.875rem 0;
  background: rgba(17, 17, 17, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
}

.navbar-logo:hover {
  color: var(--color-white);
}

.navbar-logo svg {
  width: 42px;
  height: 42px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.navbar-link {
  color: var(--color-gray-400);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: color var(--transition-base);
  letter-spacing: 0.01em;
}

.navbar-link:hover {
  color: var(--color-white);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-sm);
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

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

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

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

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--spacing-4xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-title {
  font-size: var(--text-5xl);
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-gray-400);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ----------------------------------------
   Section Headers
   ---------------------------------------- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 5rem;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------
   Services Section
   ---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  background: var(--color-surface-elevated);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.service-title {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-gray-400);
  margin-bottom: 1.75rem;
  line-height: var(--leading-relaxed);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-gray-300);
}

.service-feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ----------------------------------------
   Shopleez Section
   ---------------------------------------- */
.shopleez {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.shopleez-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.shopleez-tab {
  padding: 1rem 2rem;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  color: var(--color-gray-400);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.shopleez-tab:hover {
  color: var(--color-white);
  border-color: rgba(99, 102, 241, 0.25);
  background: var(--color-surface-elevated);
}

.shopleez-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.shopleez-content {
  display: none;
}

.shopleez-content.active {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.shopleez-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.shopleez-app-image {
  max-width: 320px;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.4));
}

.phone-mockup {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #252525, #1a1a1a);
  border-radius: 48px;
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent), #818cf8);
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen-content {
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
}

.phone-screen-content h4 {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.phone-screen-content p {
  font-size: var(--text-sm);
  opacity: 0.85;
}

.shopleez-info h3 {
  font-size: var(--text-3xl);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.shopleez-info > p {
  color: var(--color-gray-400);
  margin-bottom: 2.5rem;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.shopleez-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shopleez-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.shopleez-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.shopleez-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.shopleez-feature-text h4 {
  font-size: var(--text-base);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.shopleez-feature-text p {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-normal);
}

/* ----------------------------------------
   Why Havenya Section
   ---------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.why-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-xl);
  margin: 0 auto 1.5rem;
}

.why-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.why-title {
  font-size: var(--text-lg);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.why-description {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
}

/* ----------------------------------------
   Testimonials Section
   ---------------------------------------- */
.testimonials-slider {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.testimonial.active {
  display: block;
}

.testimonial-quote {
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-gray-200);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 0;
  vertical-align: bottom;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-white);
}

.testimonial-info {
  text-align: left;
}

.testimonial-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
}

.testimonial-info p {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: 0.25rem;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-700);
  transition: all var(--transition-base);
  cursor: pointer;
}

.testimonial-dot:hover {
  background: var(--color-gray-500);
}

.testimonial-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ----------------------------------------
   Tech Stack Section
   ---------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.tech-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
  background: var(--color-surface-elevated);
}

.tech-item svg {
  width: 44px;
  height: 44px;
  color: var(--color-gray-500);
  transition: color var(--transition-base);
}

.tech-item:hover svg {
  color: var(--color-accent);
}

.tech-item span {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  font-weight: 500;
}

/* ----------------------------------------
   CTA Banner Section
   ---------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 6rem 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-4xl);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: var(--text-lg);
  color: var(--color-gray-400);
  margin-bottom: 2.5rem;
  line-height: var(--leading-relaxed);
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background: var(--color-primary-dark);
  padding: 6rem 0 2.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-gray-500);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 280px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  color: var(--color-gray-500);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-gray-300);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links a {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-gray-600);
}

.footer-contact-item a {
  color: var(--color-gray-500);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-contact-item span {
  line-height: var(--leading-relaxed);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  color: var(--color-gray-600);
  font-size: var(--text-sm);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--color-gray-600);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-legal a:hover {
  color: var(--color-gray-300);
}

/* ----------------------------------------
   Page Headers (for subpages)
   ---------------------------------------- */
.page-header {
  padding: calc(100px + 5rem) 0 4rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-primary) 100%);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: var(--text-4xl);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--color-gray-400);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto;
}

/* ----------------------------------------
   Content Pages (Privacy, Terms, etc.)
   ---------------------------------------- */
.content-page {
  padding: 5rem 0 6rem;
}

.content-page .container {
  max-width: 780px;
}

.content-section {
  margin-bottom: 3.5rem;
}

.content-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: 1.5rem;
  color: var(--color-white);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section h3 {
  font-size: var(--text-lg);
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-gray-200);
}

.content-section p {
  color: var(--color-gray-400);
  margin-bottom: 1.25rem;
  line-height: var(--leading-relaxed);
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.content-section li {
  color: var(--color-gray-400);
  margin-bottom: 0.875rem;
  line-height: var(--leading-relaxed);
  padding-left: 1.75rem;
  position: relative;
}

.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.6;
}

.content-section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  transition: border-color var(--transition-fast);
}

.content-section a:hover {
  border-color: var(--color-accent);
}

.last-updated {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ----------------------------------------
   Forms
   ---------------------------------------- */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-300);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.form-label.required::after {
  content: ' *';
  color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: var(--color-surface);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-600);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: var(--leading-relaxed);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 3rem;
}

.form-select option {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem;
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: 0.5rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--color-error);
}

.form-success {
  padding: 2.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
  color: var(--color-success);
  text-align: center;
  display: none;
}

.form-success h3 {
  color: var(--color-success);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--color-gray-400);
}

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

/* ----------------------------------------
   Support Page
   ---------------------------------------- */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.support-info {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.support-info h2 {
  font-size: var(--text-2xl);
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.contact-details h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-details p {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  margin-bottom: 0.5rem;
  line-height: var(--leading-normal);
}

.contact-details a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-accent);
}

.contact-details a:hover {
  color: var(--color-white);
}

.contact-details span {
  color: var(--color-gray-400);
  line-height: var(--leading-relaxed);
}

.support-form {
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.support-form h2 {
  font-size: var(--text-2xl);
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.faq-section {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-section h2 {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item.active {
  background: var(--color-surface-elevated);
  border-color: rgba(99, 102, 241, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-gray-200);
  text-align: left;
  transition: all var(--transition-base);
  gap: 1.5rem;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-gray-500);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.75rem 1.75rem;
  color: var(--color-gray-400);
  line-height: var(--leading-relaxed);
}

.faq-answer a {
  color: var(--color-accent);
}

/* ----------------------------------------
   Account Deletion Page
   ---------------------------------------- */
.deletion-warning {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.deletion-warning h3 {
  color: var(--color-error);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deletion-warning ul {
  list-style: none;
  padding-left: 0;
}

.deletion-warning li {
  color: var(--color-gray-400);
  margin-bottom: 0.625rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: var(--leading-normal);
}

.deletion-warning li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--color-error);
  border-radius: 50%;
  opacity: 0.5;
}

.deletion-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.deletion-checkbox input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.deletion-checkbox label {
  color: var(--color-gray-400);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Animation delays for staggered effects */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Initial state for animated elements */
[data-animate] {
  opacity: 0;
}

[data-animate].animated {
  opacity: 1;
}
