/* =============================================
   DISPR CORE - Design System Foundation
   Variables, Reset, Base Styles, Typography
   ============================================== */

/* =============================================
   Design Tokens - CSS Variables
   ============================================== */
:root {
  /* Colors - Based on DISPR Logo */
  --bg: #051F1B;
  --bg2: #0A3830;
  --bg-dark: #062F2B;
  --accent: #1FAF8A;
  --accent2: #28C99A;
  --accent-dark: #0E5A4F;
  --accent-darker: #0A4A42;
  --text: #EAF2EC;
  --text-muted: rgba(234, 242, 236, 0.72);
  --text-light: rgba(255, 255, 255, 0.9);
  --text-dim: rgba(255, 255, 255, 0.7);
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.08);
  --card-light: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-light: rgba(255, 255, 255, 0.05);
  
  /* Accent variations */
  --accent-glow: rgba(14, 90, 79, 0.2);
  --accent-glow-strong: rgba(14, 90, 79, 0.4);
  --accent-bg: rgba(14, 90, 79, 0.15);
  --accent-bg-light: rgba(10, 74, 66, 0.2);
  --accent-border: rgba(31, 175, 138, 0.3);
  --accent-text: #5EE0B6;
  
  /* Shadows */
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(14, 90, 79, 0.2);
  --shadow-glow-strong: 0 0 40px rgba(31, 175, 138, 0.4);
  
  /* Radius */
  --radius-sm: 18px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 50%;
  --radius-pill: 30px;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Typography */
  --font-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Recoleta', serif;
  --font-headings: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Gordita', system-ui, sans-serif;
  
  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 48px;
  --text-5xl: 72px;
  
  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --leading-loose: 1.7;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Z-index layers */
  --z-background: -1;
  --z-base: 0;
  --z-content: 1;
  --z-elevated: 2;
  --z-overlay: 10;
  --z-sticky: 100;
  --z-modal: 1000;
}

/* =============================================
   CSS Reset & Normalize
   ============================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--bg-dark);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background: var(--bg-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote {
  margin: 0;
  padding: 0;
}

/* Remove list styles */
ul, ol {
  list-style: none;
}

/* Images */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Forms */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* =============================================
   Typography System
   ============================================== */

/* Mega Titles - Recoleta (serif avec empattement) */
.font-recoleta,
.font-display,
.mega-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
}

/* Montserrat - Standard headings */
.font-montserrat {
  font-family: var(--font-headings);
}

/* Body Text */
.font-gordita,
.font-body {
  font-family: var(--font-body);
}

/* Weight Utilities for Montserrat */
.font-thin { font-weight: 100; }
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Typography play - thin/bold contrast in headings */
.fw-thin { font-weight: 200; }
.fw-bold { font-weight: 800; }

/* Heading Styles - Default to Montserrat */
h1, .h1 {
  font-size: var(--text-5xl);
  font-family: var(--font-headings);
  line-height: var(--leading-tight);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: var(--text-4xl);
  font-family: var(--font-headings);
  line-height: var(--leading-snug);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: var(--text-3xl);
  font-family: var(--font-headings);
  line-height: var(--leading-snug);
  font-weight: 600;
  color: var(--text);
}

h4, .h4 {
  font-size: var(--text-2xl);
  font-family: var(--font-headings);
  line-height: var(--leading-normal);
  font-weight: 600;
  color: var(--text);
}

h5, .h5 {
  font-size: var(--text-xl);
  font-family: var(--font-headings);
  line-height: var(--leading-normal);
  font-weight: 500;
  color: var(--text);
}

h6, .h6 {
  font-size: var(--text-lg);
  font-family: var(--font-headings);
  line-height: var(--leading-normal);
  font-weight: 500;
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Mega Title Override - Only for hero and statement titles (Montserrat, aligné fhero) */
h1.mega-title,
h2.mega-title,
.hero-title,
.statement__title {
  font-family: var(--font-headings);
  font-weight: 900;
}

/* Paragraph */
p {
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Text utilities */
.text-white {
  color: #ffffff;
}

.text-light {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted);
}

.text-dim {
  color: var(--text-dim);
}

.text-accent {
  color: var(--accent-text);
}

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

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

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

/* Gradient Text Effect */
.text-gradient,
.gradient-text {
  background: linear-gradient(135deg, #5EE0B6 0%, #1FAF8A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
}

/* Strong/Bold */
strong, b {
  font-weight: 600;
  color: var(--accent-text);
}

/* =============================================
   Base Utilities
   ============================================== */

/* Display */
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }

/* Flex utilities */
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Positioning */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Width */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Margins */
.m-auto { margin: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-50 { margin-bottom: 50px; }
.mb-100 { margin-bottom: 100px; }
.mt-50 { margin-top: 50px; }
.mt-100 { margin-top: 100px; }
.mt-150 { margin-top: 150px; }

/* Padding */
.p0 { padding: 0; }
.pt-50 { padding-top: 50px; }
.pt-100 { padding-top: 100px; }
.pt-150 { padding-top: 150px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }
.pb-100 { padding-bottom: 100px; }
.pb-150 { padding-bottom: 150px; }

/* =============================================
   Base Backgrounds & Sections
   ============================================== */

/* Main page wrapper */
.main-page-wrapper {
  background: var(--bg-dark);
  padding: 0;
  margin: 0;
  min-height: 100vh;
  position: relative;
}

/* =============================================
   Grain / Noise Texture Overlay
   ============================================== */

/* Global grain - s'applique sur toutes les pages (hero.css renforce sur index) */
.main-page-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
}

/* Grain intensity utility classes */
.grain-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  z-index: 1;
}

.grain-medium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
  z-index: 1;
}

.grain-heavy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  z-index: 1;
}

/* Container */
.container,
.lg-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Section backgrounds */
.bg-dark {
  background: var(--bg-dark);
}

.bg-primary {
  background: var(--bg);
}

.bg-secondary {
  background: var(--bg2);
}

/* =============================================
   Performance & Accessibility
   ============================================== */

/* GPU Acceleration */
.gpu-accelerated {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-glow-strong);
  outline-offset: 4px;
}

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

/* =============================================
   Responsive Typography
   ============================================== */
@media (max-width: 991px) {
  :root {
    --text-5xl: 56px;
    --text-4xl: 38px;
    --text-3xl: 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --text-5xl: 42px;
    --text-4xl: 32px;
    --text-3xl: 24px;
    --text-2xl: 20px;
  }
  
  .container,
  .lg-container,
  .container-fluid {
    padding: 0 var(--space-md);
  }
}

/* =============================================
   Print Styles
   ============================================== */
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}


/* =============================================
   DISPR COMPONENTS
   Cards, Buttons, Badges, Forms
   ============================================== */

/* =============================================
   Cards
   ============================================== */

/* Base Card */
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-light {
  background: var(--card-light);
  border: 1px solid var(--stroke-light);
}

/* Glass Card */
.card-glass {
  background: rgba(10, 20, 30, 0.5);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  padding: var(--space-2xl);
  transition: var(--transition-smooth);
}

/* Card Hover Effects */
.card-hover:hover,
.card:hover {
  background: var(--card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-hover::before,
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: var(--z-background);
}

.card-hover:hover::before,
.card:hover::before {
  opacity: 1;
}

/* Feature Card */
/* NOTE: Hover effects removed - no animation wanted on .feature-card in index.html Section 5 */
.feature-card {
  background: var(--card-light);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-light);
  height: 100%;
  transition: none; /* DISABLED */
  cursor: default; /* DISABLED */
  position: relative;
}

/* HOVER DISABLED */
/*
.feature-card:hover {
  background: var(--card);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
*/

/* Feature Card Icon Container */
.feature-card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: none; /* DISABLED */
}

/* HOVER DISABLED */
/*
.feature-card:hover .feature-card-icon {
  background: var(--accent-glow-strong);
  transform: scale(1.1) rotate(5deg);
}
*/

.feature-card-icon i {
  font-size: 28px;
  color: var(--accent-dark);
}

/* Pricing Card */
.pricing-card {
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-12px);
  box-shadow: var(--shadow-glow-strong);
}

.pricing-card.recommended {
  border-color: var(--accent-dark);
  background: var(--card-hover);
}

.pricing-card.recommended::before {
  content: 'Recommandé';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dark);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Image Placeholder Card */
.image-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.image-placeholder:hover::before {
  opacity: 1;
}

.image-placeholder:hover {
  border-color: var(--accent-border);
  background: rgba(14, 90, 79, 0.08);
  transform: scale(1.02);
}

/* =============================================
   Buttons
   ============================================== */

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Primary Button (CTA) */
.btn-primary,
.theme-btn-fifteen,
.signup-btn {
  background: var(--accent-dark);
  color: white;
  padding: 18px 50px;
  border-radius: var(--radius-pill);
  font-size: var(--text-lg);
  font-weight: 500;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  background-size: 200% auto;
  background-image: linear-gradient(to right, var(--accent-dark) 0%, var(--accent-darker) 50%, var(--accent-dark) 100%);
}

.btn-primary::before,
.theme-btn-fifteen::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.theme-btn-fifteen:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover,
.theme-btn-fifteen:hover,
.signup-btn:hover {
  background: var(--accent-darker);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--accent-glow-strong);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--stroke);
  padding: 14px 32px;
}

.btn-secondary:hover {
  background: var(--card);
  border-color: var(--accent-border);
  color: var(--accent-text);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--accent-text);
  border: 2px solid var(--accent-border);
  padding: 14px 32px;
}

.btn-outline:hover {
  background: var(--accent-dark);
  color: white;
  border-color: var(--accent-dark);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  padding: 12px 24px;
  transition: var(--transition-base);
}

.btn-ghost:hover {
  background: var(--card-light);
  color: white;
}

/* Button Sizes */
.btn-sm {
  padding: 10px 24px;
  font-size: var(--text-sm);
}

.btn-lg {
  padding: 20px 60px;
  font-size: var(--text-xl);
}

/* Icon Buttons */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   Badges
   ============================================== */

/* Base Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--stroke);
}

/* IA Badge */
.badge-ia,
.ia-badge {
  background: var(--accent-bg-light);
  color: var(--accent-text);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid var(--accent-border);
  backdrop-filter: blur(10px);
}

/* Badge with pulse animation */
.badge-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Success Badge */
.badge-success {
  background: rgba(31, 175, 138, 0.1);
  color: var(--accent);
  border-color: rgba(31, 175, 138, 0.3);
}

/* Warning Badge */
.badge-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.3);
}

/* Info Badge */
.badge-info {
  background: rgba(0, 149, 255, 0.1);
  color: #0095ff;
  border-color: rgba(0, 149, 255, 0.3);
}

/* =============================================
   Forms
   ============================================== */

/* Form Group */
.form-group {
  margin-bottom: var(--space-lg);
}

/* Input Fields */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--text-base);
  transition: var(--transition-base);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-border);
  background: var(--card-hover);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

/* Textarea */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Label */
.form-label,
label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-light);
  font-size: var(--text-sm);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Form Glass Container */
.form-glass {
  background: rgba(10, 20, 30, 0.5);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: var(--space-3xl);
}

/* =============================================
   Stats Counter
   ============================================== */

.stat-counter {
  text-align: center;
  margin-bottom: 50px;
}

.stat-counter h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  margin-bottom: 10px;
  color: white;
}

.stat-counter p {
  color: var(--text-dim);
  font-size: var(--text-base);
  margin: 0;
}

.stat-counter:hover {
  animation: breathe 2s ease-in-out infinite;
}

/* =============================================
   Social Proof
   ============================================== */

.social-icon {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-flex;
}

.social-icon a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition-base);
}

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

/* =============================================
   Scroll Top Button
   ============================================== */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: var(--z-elevated);
  opacity: 0;
  visibility: hidden;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-darker);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-strong);
}

/* =============================================
   Responsive Adjustments
   ============================================== */

@media (max-width: 991px) {
  .card,
  .feature-card,
  .pricing-card {
    padding: var(--space-xl);
  }
  
  .btn-primary,
  .theme-btn-fifteen {
    padding: 16px 40px;
    font-size: var(--text-base);
  }
  
  .form-glass {
    padding: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .card,
  .feature-card,
  .pricing-card {
    padding: var(--space-lg);
  }
  
  .btn-primary,
  .theme-btn-fifteen,
  .signup-btn {
    padding: 14px 32px;
    font-size: var(--text-base);
  }
  
  .btn-lg {
    padding: 16px 40px;
    font-size: var(--text-lg);
  }
  
  .feature-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .feature-card-icon i {
    font-size: 24px;
  }
  
  .image-placeholder {
    height: 300px;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}


/* =============================================
   DISPR LAYOUT
   Grid System, Navigation, Footer, Sections
   ============================================== */

/* =============================================
   Grid System
   ============================================== */

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--space-md) * -1);
}

[class*="col-"] {
  padding: 0 var(--space-md);
  width: 100%;
}

/* Column Sizes */
.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

/* Large screens (lg) */
@media (min-width: 992px) {
  .col-lg-1 { width: 8.333333%; }
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  .col-lg-11 { width: 91.666667%; }
  .col-lg-12 { width: 100%; }
  
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  .order-lg-first { order: -1; }
  .order-lg-last { order: 999; }
  
  .ml-lg-auto { margin-left: auto; }
  .mr-lg-auto { margin-right: auto; }
}

/* Medium screens (md) */
@media (min-width: 768px) and (max-width: 991px) {
  .col-md-1 { width: 8.333333%; }
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-8 { width: 66.666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}

/* Small screens (sm) - mobile first */
@media (max-width: 767px) {
  .row {
    margin: 0;
  }
  
  [class*="col-"] {
    padding: 0;
    margin-bottom: var(--space-lg);
  }
}

/* Column utilities */
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =============================================
   Navigation - Sticky Menu with Glassmorphism
   ============================================== */

/* Main Menu Container */
.theme-main-menu {
  position: relative;
  width: 100%;
  z-index: var(--z-sticky);
  transition: var(--transition-smooth);
}

.theme-main-menu.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(7, 22, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.theme-main-menu.sticky-menu.theme-menu-six {
  background: rgba(14, 20, 11, 0.9);
  backdrop-filter: blur(15px);
}

/* Navigation Inner Container */
.theme-main-menu .d-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  z-index: var(--z-content);
}

.logo img {
  height: 42px;
  width: auto;
  transition: var(--transition-base);
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-dark);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--accent-text);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-item.active .nav-link {
  color: var(--accent-text);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(14, 20, 11, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow);
  z-index: var(--z-overlay);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-light);
  transition: var(--transition-base);
  border-radius: var(--radius-sm);
}

.dropdown-item:hover {
  background: var(--card);
  color: var(--accent-text);
}

/* Disabled language items */
.dropdown-item.lang-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* Mega Menu */
.mega-menu {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
}

.mega-menu li {
  flex: 1;
}

.mega-menu .dropdown-item {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.mega-menu .dropdown-item.img-box img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.mega-menu .dropdown-item span {
  font-weight: 600;
  color: var(--text);
}

/* Right Widget (CTA Button) */
.right-widget {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.right-widget ul {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition-base);
}

.navbar-toggler:hover span {
  background: var(--accent-text);
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar-toggler {
    display: flex;
  }
  
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(7, 22, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-3xl) var(--space-xl);
    transition: right var(--transition-smooth);
    overflow-y: auto;
    z-index: var(--z-modal);
  }
  
  .navbar-collapse.show {
    right: 0;
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .nav-link {
    width: 100%;
    padding: var(--space-md);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--card-light);
    margin-top: var(--space-sm);
  }
  
  .mega-menu {
    flex-direction: column;
  }
}

/* =============================================
   Hero Sections
   ============================================== */

/* Full Height Hero */
.hero-banner-twelve {
  background: var(--bg-dark);
  min-height: 100vh;
  max-height: 100vh;
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-banner-twelve::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(14, 90, 79, 0.08) 0%, transparent 70%);
  z-index: var(--z-background);
}

/* Hero Grid Pattern Overlay */
.hero-banner-twelve::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(14, 90, 79, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 90, 79, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
  z-index: var(--z-base);
}

.hero-banner-twelve .container {
  position: relative;
  z-index: var(--z-content);
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-banner-twelve .row {
  margin-top: 0;
  margin-bottom: 0;
}

/* Hero Text */
.hero-text-wrapper {
  text-align: center;
}

.hero-heading {
  font-size: var(--text-5xl);
  line-height: var(--leading-tight);
  margin-bottom: 30px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-sub-heading {
  font-size: var(--text-2xl);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

/* Standard Hero (not full height) */
.hero-banner {
  padding: 150px 0 100px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* =============================================
   Content Sections
   ============================================== */

/* Feature Section */
.fancy-feature-twentyOne {
  background: var(--bg-dark);
  position: relative;
  padding: 100px 0;
}

.fancy-feature-twentyOne::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(14, 90, 79, 0.01) 0%, transparent 100%);
  pointer-events: none;
}

/* Floating particles background */
.fancy-feature-twentyOne::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(14, 90, 79, 0.3);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  box-shadow: 
    0 0 8px rgba(14, 90, 79, 0.4),
    200px 300px 0 0 rgba(14, 90, 79, 0.2),
    400px 100px 0 0 rgba(14, 90, 79, 0.15),
    600px 250px 0 0 rgba(14, 90, 79, 0.25),
    800px 50px 0 0 rgba(14, 90, 79, 0.2),
    1000px 200px 0 0 rgba(14, 90, 79, 0.15);
  animation: floatParticles 20s ease-in-out infinite;
  pointer-events: none;
}

.fancy-feature-twentyOne .container {
  position: relative;
  z-index: var(--z-content);
}

/* Section Titles */
.title-style-nine {
  position: relative;
  text-align: center;
}

.title-style-nine h6 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: var(--space-lg);
}

.title-style-nine h2 {
  position: relative;
  display: inline-block;
}

/* Block Style (alternating content/image) */
.block-style-twentyThree {
  margin-bottom: 100px;
  transition: transform var(--transition-base);
}

/* CTA Section */
.fancy-short-banner-one {
  background: var(--bg-dark);
  padding: 150px 0;
  position: relative;
}

/* =============================================
   Footer
   ============================================== */

.theme-footer-eight {
  background: var(--bg-dark);
  position: relative;
  border-top: 1px solid var(--stroke-light);
}

.theme-footer-eight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 90, 79, 0.02) 100%);
  pointer-events: none;
}

/* Footer Top */
.top-footer {
  padding: 80px 0 50px;
  position: relative;
  z-index: var(--z-content);
}

/* Footer Widget */
.footer-about-widget {
  margin-bottom: var(--space-3xl);
}

.footer-about-widget .logo img {
  width: 120px;
  height: auto;
  margin-bottom: var(--space-lg);
}

/* Footer Lists */
.footer-list {
  margin-bottom: var(--space-2xl);
}

.footer-title {
  color: white;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

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

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

.footer-list ul li a {
  color: var(--text-dim);
  font-size: var(--text-base);
  transition: var(--transition-base);
  display: inline-block;
}

.footer-list ul li a:hover {
  color: var(--accent-text);
  transform: translateX(5px);
}

/* Bottom Footer */
.bottom-footer {
  padding: 30px 0;
  border-top: 1px solid var(--stroke-light);
  position: relative;
  z-index: var(--z-content);
}

.copyright {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* =============================================
   Responsive Layout Adjustments
   ============================================== */

@media (max-width: 991px) {
  .hero-banner-twelve {
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 150px 0 100px;
  }
  
  .hero-heading {
    font-size: 56px;
  }
  
  .hero-sub-heading {
    font-size: 20px;
  }
  
  .fancy-feature-twentyOne,
  .fancy-short-banner-one {
    padding: 80px 0;
  }
  
  .block-style-twentyThree {
    margin-bottom: 60px;
  }
  
  .top-footer {
    padding: 60px 0 40px;
  }
  
  /* Responsive padding utilities */
  .md-pb-40 { padding-bottom: 40px; }
  .md-pb-50 { padding-bottom: 50px; }
  .md-pb-70 { padding-bottom: 70px; }
  .md-mt-30 { margin-top: 30px; }
}

@media (max-width: 767px) {
  .theme-main-menu .d-flex {
    padding: var(--space-md) var(--space-lg);
  }
  
  .hero-banner-twelve {
    padding: 120px 0 80px;
  }
  
  .hero-heading {
    font-size: 42px;
  }
  
  .hero-sub-heading {
    font-size: 18px;
  }
  
  .fancy-feature-twentyOne,
  .fancy-short-banner-one {
    padding: 60px 0;
  }
  
  .block-style-twentyThree {
    margin-bottom: 40px;
  }
  
  .top-footer {
    padding: 50px 0 30px;
  }
  
  .footer-list {
    margin-bottom: var(--space-xl);
  }
  
  .bottom-footer {
    text-align: center;
  }
  
  .bottom-footer .row > div {
    margin-bottom: var(--space-md);
  }
  
  .justify-content-lg-end,
  .text-lg-left {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* =============================================
   Utility Classes for Layout
   ============================================== */

/* Order utilities */
.order-first { order: -1; }
.order-last { order: 999; }

/* Text alignment responsive */
.text-lg-left { text-align: left; }
.text-lg-right { text-align: right; }
.text-lg-center { text-align: center; }

@media (max-width: 991px) {
  .text-lg-left,
  .text-lg-right,
  .text-lg-center {
    text-align: center;
  }
}

/* Background utilities */
.bg-none {
  background: transparent !important;
}

/* Section spacing shortcuts */
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.mt-80 { margin-top: 80px; }
.mb-80 { margin-bottom: 80px; }
