/* ============================================
   CSS VARIABLES & THEMING
   ============================================ */

:root {
  /* Color System */
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #f8fafc;
  --card-foreground: #1e293b;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --primary: #8b5cf6;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #ec4899;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #f1f5f9;
  --ring: #8b5cf6;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --popover: #1e293b;
  --popover-foreground: #f8fafc;
  --primary: #8b5cf6;
  --primary-foreground: #ffffff;
  --secondary: #334155;
  --secondary-foreground: #f8fafc;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --accent: #7c3aed;
  --accent-foreground: #f8fafc;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #334155;
  --input: #1e293b;
  --ring: #8b5cf6;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
  min-width: 0;
}

pre, code, .code-block, [class*="code"] {
  max-width: 100%;
  overflow-x: auto;
}

pre code, .code-block code {
  display: block;
  min-width: 0;
}

.table-wrapper, [class*="table-"] {
  max-width: 100%;
  overflow-x: auto;
}

p, li, td, th {
  overflow-wrap: break-word;
}

input, textarea, select {
  max-width: 100%;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  color: var(--foreground);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 var(--space-md) 0;
}

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

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

ul, ol {
  margin: 0 0 var(--space-md) 0;
  padding-left: var(--space-xl);
}

li {
  margin-bottom: var(--space-xs);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 48px;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--muted);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  min-height: 56px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 40px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

[data-theme="dark"] .header {
  background-color: rgba(15, 23, 42, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  gap: var(--space-lg);
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo {
  width: 48px;
  height: 48px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 600;
  color: var(--foreground);
  transition: color var(--transition-fast);
}

.nav-list a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--foreground);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--secondary);
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: all var(--transition-base);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header-accent {
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

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

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e9d5ff 50%, #fce7f3 100%);
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #3b0764 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.floating-element.coin {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element.sparkle {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--accent) 0%, var(--primary) 100%);
  border-radius: 50%;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element.star {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, var(--primary) 0%, var(--accent) 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}

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

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

[data-theme="dark"] .badge {
  background-color: rgba(30, 41, 59, 0.9);
}

.badge svg {
  color: var(--primary);
}

.hero-image {
  width: 100%;
  max-width: 1000px;
  animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

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

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

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

.feature-card {
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
  transition: transform var(--transition-base);
}

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

.feature-card h3 {
  margin-bottom: var(--space-md);
  color: var(--card-foreground);
}

.feature-card p {
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl);
  background-color: var(--muted);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.disclaimer-box svg {
  flex-shrink: 0;
  color: var(--primary);
}

.disclaimer-box p {
  margin: 0;
  color: var(--foreground);
}

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

/* ============================================
   COMMUNITY SECTION
   ============================================ */

.community-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--muted) 100%);
}

.community-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.community-content h2 {
  margin-bottom: var(--space-lg);
}

.community-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-2xl);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.feature-icon-sm {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
}

.feature-text h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-text p {
  color: var(--muted-foreground);
  margin: 0;
}

.social-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

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

.testimonial-card {
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg) auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
}

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

.testimonial-card blockquote {
  margin: 0;
  text-align: center;
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  color: var(--foreground);
  margin-bottom: var(--space-md);
}

.testimonial-card cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   PLATFORMS SECTION
   ============================================ */

.platforms-section {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

.platforms-showcase {
  margin-bottom: var(--space-3xl);
}

.device-mockup img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.platform-card {
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg) auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
}

.platform-card h3 {
  margin-bottom: var(--space-lg);
}

.platform-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.platform-benefits li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--muted-foreground);
}

.platform-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.quick-start {
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--secondary);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.quick-start h3 {
  margin-bottom: var(--space-2xl);
}

.steps-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 300px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
}

.step-icon {
  color: var(--primary);
}

.step p {
  margin: 0;
  font-weight: 600;
  text-align: center;
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  transform: rotate(90deg);
}

.login-options {
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.login-options h3 {
  margin-bottom: var(--space-2xl);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.option-card {
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.option-card svg {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.option-card h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.option-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.no-barrier {
  font-weight: 600;
  color: var(--primary);
}

.tech-details {
  padding: var(--space-xl);
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.tech-details p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
}

.trust-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.pillar-card {
  padding: var(--space-2xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto var(--space-lg) auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.pillar-card h3 {
  margin-bottom: var(--space-md);
}

.pillar-card p {
  color: var(--muted-foreground);
  margin: 0;
}

.detailed-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-3xl);
}

.detailed-disclaimer svg {
  flex-shrink: 0;
  color: var(--accent-foreground);
}

.detailed-disclaimer p {
  margin: 0;
  color: var(--accent-foreground);
  line-height: 1.8;
}

.content-blocks {
  margin-bottom: var(--space-3xl);
}

.content-block {
  padding: var(--space-2xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.content-block h3 {
  margin-bottom: var(--space-lg);
  color: var(--card-foreground);
}

.content-block p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.content-block ul {
  margin-bottom: var(--space-md);
}

.content-block li {
  color: var(--muted-foreground);
  margin-bottom: var(--space-sm);
}

.content-block a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

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

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-section {
  max-width: 700px;
  margin: 0 auto var(--space-3xl) auto;
  padding: var(--space-2xl);
  background-color: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-section h3 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.contact-intro {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--foreground);
  background-color: var(--input);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
}

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

.error-message {
  display: none;
  font-size: 0.875rem;
  color: var(--destructive);
}

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

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-2xl);
  text-align: center;
}

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

.form-success svg {
  color: var(--primary);
}

.form-success h4 {
  margin: 0;
  color: var(--primary);
}

.form-success p {
  margin: 0;
  color: var(--muted-foreground);
}

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

.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h3 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

.faq-question h4 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--card-foreground);
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.8;
}

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

.footer {
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
  border-top: 2px solid var(--border);
}

.footer-cta {
  text-align: center;
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.footer-cta h3 {
  color: var(--primary-foreground);
  margin-bottom: var(--space-lg);
}

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

.footer-column h4 {
  margin-bottom: var(--space-lg);
  color: var(--foreground);
}

.footer-column p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.footer-column nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column nav a {
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.footer-column nav a:hover {
  color: var(--primary);
}

.legal-link {
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-4px);
}

.trust-badges-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.badge-item svg {
  color: var(--primary);
}

.footer-divider {
  height: 1px;
  background-color: var(--border);
  margin: var(--space-2xl) 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.footer-copyright p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-disclaimers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.disclaimer-badge {
  padding: var(--space-xs) var(--space-md);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-content {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-section h4 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.legal-text {
  padding: var(--space-lg);
  background-color: var(--muted);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ============================================
   POPUPS & MODALS
   ============================================ */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  max-width: 500px;
  width: 100%;
  padding: var(--space-2xl);
  background-color: var(--popover);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto var(--space-lg) auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--primary-foreground);
  border-radius: 50%;
}

.popup-content h2 {
  margin-bottom: var(--space-md);
  color: var(--popover-foreground);
}

.popup-content p {
  color: var(--muted-foreground);
  margin-bottom: var(--space-xl);
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  background-color: var(--card);
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.cookie-text h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.cookie-text p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
  display: none;
}

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

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .header-nav {
    display: block;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-cta {
    flex-wrap: nowrap;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .community-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .community-content,
  .community-visual {
    flex: 1;
  }
  
  .social-proof {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-flow {
    flex-direction: row;
    justify-content: center;
  }
  
  .step-arrow {
    transform: rotate(0deg);
  }
  
  .options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trust-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .popup-actions {
    flex-direction: row;
  }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================ */

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }
  
  .hero-container {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-content {
    text-align: left;
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
  }
  
  .hero-content h1 {
    font-size: 3.75rem;
  }
  
  .hero-cta {
    justify-content: flex-start;
  }
  
  .trust-badges {
    justify-content: flex-start;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trust-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* Scroll-triggered animations handled by JS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}