/* ============================================
   CarlusOne — Landing Page Styles
   ============================================ */

/* ===== CSS Reset & Variables ===== */
:root {
  /* Colors */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;

  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;

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

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-500);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--primary-600);
}

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

.nav-link.active {
  color: var(--primary-700);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--gray-500);
  padding: 0.3rem 0.5rem;
  border-radius: calc(var(--radius-md) - 2px);
  transition: var(--transition);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--gray-700);
}

.lang-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 50%, var(--green-50) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, var(--primary-300), transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--green-300, #86efac), transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary-200), transparent 70%);
  animation: float 25s ease-in-out infinite;
}

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

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-600);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--primary-600);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-success {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  background: var(--green-600);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber-500);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
  background: var(--amber-600);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== APP CARDS ===== */
.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.app-card:last-child {
  margin-bottom: 0;
}

.app-card-reverse {
  direction: rtl;
}

.app-card-reverse > * {
  direction: ltr;
}

.app-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.app-badge-blue {
  background: var(--primary-50);
  color: var(--primary-600);
}

.app-badge-green {
  background: var(--green-50);
  color: var(--green-600);
}

.app-badge-amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.app-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.app-description {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.app-description strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* How it works section */
.app-how-it-works {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.how-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.how-title::before {
  content: '💡';
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1.25rem;
  margin: 0;
  counter-reset: step;
}

.how-steps li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-700);
  position: relative;
}

.how-steps li strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* Green variant for Jeu de Mots */
.app-how-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: rgba(34, 197, 94, 0.15);
}

.how-title-green {
  color: var(--green-600, #16a34a);
}

.how-title-green::before {
  content: '📚';
}

/* Amber variant for GestBudget */
.app-how-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(245, 158, 11, 0.15);
}

.how-title-amber {
  color: var(--amber-600);
}

.how-title-amber::before {
  content: '💰';
}

.how-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.how-description strong {
  color: var(--gray-900);
  font-weight: 600;
}

.file-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.file-example {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.file-example-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-800);
}

.file-example-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.file-example-desc strong {
  color: var(--primary);
  font-size: 1rem;
}

.file-example-code {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}

.how-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .file-examples {
    grid-template-columns: 1fr;
  }
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Roles info section */
.app-roles-info {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.app-roles-intro {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.app-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-role-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.15);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.app-role-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.app-role-card h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.app-role-admin h5 {
  color: #b45309;
}

.app-role-user h5 {
  color: #4f46e5;
}

.app-role-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--gray-600);
  text-align: left;
}

.app-role-card p strong {
  color: var(--gray-800);
  font-weight: 600;
}

.app-roles-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 600px) {
  .app-roles-grid {
    grid-template-columns: 1fr;
  }
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-500);
  margin-top: 1px;
}

.app-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-trial-info {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== APP MOCKUPS ===== */
.app-mockup {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-slow);
}

.app-mockup:hover {
  transform: translateY(-8px);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-url {
  font-size: 0.75rem;
  color: var(--gray-500);
  background: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  flex: 1;
  text-align: center;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

/* GestTaches Mockup */
.gesttaches-mockup .mockup-body {
  background: linear-gradient(135deg, #f0f4ff, #e8edff);
}

.mockup-sidebar {
  width: 60px;
  background: rgba(99, 102, 241, 0.08);
  border-right: 1px solid rgba(99, 102, 241, 0.1);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.mockup-nav-item {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.mockup-nav-item.active {
  background: var(--primary-500);
}

.mockup-content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.mockup-calendar {
  flex: 1;
}

.cal-header {
  height: 20px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

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

.cal-cell {
  height: 40px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.cal-cell.highlight {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.cal-cell.highlight-2 {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Jeu de Mots Mockup */
.jeudemots-mockup .mockup-body {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.mockup-content-full {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.mockup-flashcard {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flashcard-front {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  width: 100%;
  border: 2px solid var(--green-200);
}

.flashcard-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.flashcard-word {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

.mockup-quiz {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  background: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.quiz-opt {
  background: #fff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.quiz-opt.correct {
  background: var(--green-50);
  border-color: var(--green-400);
  color: var(--green-700);
}

/* GestBudget Mockup */
.gestbudget-mockup .mockup-body {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.mockup-dashboard {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-header {
  height: 20px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
}

.dashboard-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.dash-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.dash-card-label {
  height: 8px;
  width: 50%;
  background: var(--gray-200);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.dash-card-value {
  height: 14px;
  width: 70%;
  border-radius: 4px;
}

.dash-card-income .dash-card-value {
  background: rgba(34, 197, 94, 0.3);
}

.dash-card-expense .dash-card-value {
  background: rgba(239, 68, 68, 0.3);
}

.dashboard-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem 0.5rem;
  box-shadow: var(--shadow-sm);
}

.chart-bar {
  flex: 1;
  background: rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 20px;
}

.chart-bar-accent {
  background: rgba(245, 158, 11, 0.5);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-slow);
}

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

.pricing-card-featured {
  border-color: var(--green-400);
  box-shadow: 0 0 0 1px var(--green-200), var(--shadow-lg);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  padding: 0.375rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1.5rem;
}

.pricing-app-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pricing-badge-blue {
  background: var(--primary-50);
  color: var(--primary-600);
}

.pricing-badge-green {
  background: var(--green-50);
  color: var(--green-600);
}

.pricing-badge-amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.pricing-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.pricing-body {
  flex: 1;
}

.pricing-amount {
  text-align: center;
  margin-bottom: 1rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 0.25rem;
}

.price-period {
  font-size: 1rem;
  color: var(--gray-400);
}

.pricing-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 1.5rem;
}

.pricing-card-featured .pricing-trial {
  background: var(--green-50);
  color: var(--green-600);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--green-500);
}

.pricing-footer {
  margin-top: auto;
}

/* ===== FAQ ===== */
.faq-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.9375rem;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-400);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: var(--radius-2xl);
  color: #fff;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-block .btn-primary {
  background: #fff;
  color: var(--primary-700);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cta-block .btn-primary:hover {
  background: var(--gray-50);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-block .btn-success {
  background: var(--green-400);
  color: var(--green-900, #14532d);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cta-block .btn-success:hover {
  background: var(--green-500);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-block .btn-amber {
  background: var(--amber-400);
  color: var(--amber-800);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cta-block .btn-amber:hover {
  background: var(--amber-500);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-contact {
  font-size: 0.9375rem;
  opacity: 0.75;
}

.cta-email {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  opacity: 1;
}

.cta-email:hover {
  opacity: 0.9;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  max-width: 640px;
  margin: 3rem auto 0;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 0.25rem;
}

.contact-form-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.hidden-field {
  display: none;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-input:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.contact-form .btn {
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success svg {
  margin: 0 auto 1rem;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 0;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand .nav-logo span {
  color: #fff;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===== ANIMATIONS (Scroll reveal) ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== GENERIC PAGE STYLES ===== */
.page-hero {
  padding: 8.5rem 0 3rem;
  background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero.compact {
  padding-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--primary-600);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.page-subtitle {
  max-width: 820px;
  font-size: 1.0625rem;
  color: var(--gray-600);
}

.section-tight {
  padding: 4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.content-grid,
.card-grid,
.article-grid,
.app-link-grid,
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.content-grid.two-col,
.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three-col,
.article-grid,
.app-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card,
.article-card,
.app-link-card,
.stat-card,
.cta-panel,
.notice-box {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.content-card,
.article-card,
.app-link-card,
.stat-card,
.notice-box {
  padding: 1.5rem;
}

.content-card h2,
.content-card h3,
.article-card h2,
.article-card h3,
.stat-card h3,
.app-link-card h3,
.cta-panel h2 {
  font-family: var(--font-display);
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.content-card p,
.content-card li,
.article-card p,
.article-card li,
.app-link-card p,
.notice-box p,
.cta-panel p {
  color: var(--gray-600);
}

.content-card ul,
.content-prose ul,
.article-card ul,
.checklist,
.link-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.content-card ol,
.content-prose ol {
  padding-left: 1.25rem;
}

.content-card li,
.content-prose li,
.article-card li {
  margin: 0.45rem 0;
}

.content-prose {
  max-width: 760px;
}

.content-prose h2,
.content-prose h3 {
  font-family: var(--font-display);
  margin: 1.5rem 0 0.75rem;
  color: var(--gray-900);
}

.content-prose p {
  color: var(--gray-600);
  margin: 0.9rem 0;
}

.content-prose a,
.article-card a,
.app-link-card a,
.link-inline,
.inline-links a {
  color: var(--primary-600);
}

.section-lead {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--gray-600);
}

.app-link-card,
.article-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.app-link-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.card-kicker,
.article-meta {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-600);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cta-panel {
  padding: 2rem;
}

.note-list {
  display: grid;
  gap: 0.85rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 700;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.contact-page-form {
  max-width: 820px;
  margin: 0 auto;
}

.legal-list,
.blog-sidebar {
  display: grid;
  gap: 1rem;
}

.muted {
  color: var(--gray-500);
}

.spaced-top {
  margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .card-grid.three-col,
  .article-grid,
  .app-link-grid,
  .content-grid.two-col,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .app-card-reverse {
    direction: ltr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

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

  .page-hero {
    padding: 7rem 0 2.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 0;
    width: 100%;
    font-size: 1rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .lang-switcher {
    margin-left: auto;
    margin-right: 0.75rem;
  }

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

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

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

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .app-mockup {
    max-width: 400px;
    margin: 0 auto;
  }

  .mockup-body {
    min-height: 220px;
  }

  .mockup-content-full {
    flex-direction: column;
    gap: 0.75rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .cta-block {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .pricing-card {
    padding: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
