/* ==========================================================================
   AI Platform — Premium Landing Page Styles
   Color Scheme: Warm Amber/Gold + Deep Navy
   Font: Space Grotesk
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Color Palette — Deep Navy + Amber/Gold */
  --bg-primary: #05080f;
  --bg-secondary: #0b1120;
  --bg-tertiary: #111a2e;
  --bg-card: rgba(11, 17, 32, 0.85);
  --bg-glass: rgba(17, 26, 46, 0.6);

  --accent-primary: #f59e0b;
  --accent-secondary: #fbbf24;
  --accent-warm: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.4);
  --accent-gradient: linear-gradient(135deg, #f59e0b, #d97706, #92400e);
  --accent-gradient-light: linear-gradient(135deg, #fbbf24, #f59e0b);
  --accent-gradient-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.05));

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #fbbf24;

  --border-color: rgba(245, 158, 11, 0.12);
  --border-glow: rgba(245, 158, 11, 0.3);
  --shadow-color: rgba(245, 158, 11, 0.1);
  --shadow-strong: rgba(245, 158, 11, 0.2);

  /* Typography */
  --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius — new shapes */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2.5rem;
  --radius-full: 9999px;
  --radius-blob: 30% 70% 70% 30% / 30% 30% 70% 70%;

  /* 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);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-header: 100;
  --z-modal: 200;
  --z-cookie: 150;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle background texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  color: var(--text-secondary);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--space-4xl) 0;
}

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

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

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.gradient-text {
  background: var(--accent-gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Decorative tag/label */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  background: rgba(245, 158, 11, 0.06);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #1a1a2e;
  box-shadow:
    0 4px 20px var(--shadow-color),
    0 0 0 1px rgba(245, 158, 11, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 40px var(--shadow-strong),
    0 0 0 1px rgba(245, 158, 11, 0.4),
    0 0 60px rgba(245, 158, 11, 0.15);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-glow);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
  transition: filter var(--transition-base);
}

.logo:hover .logo-icon {
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.5));
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

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

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

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

.header-cta {
  display: none;
}

/* Burger Menu */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 15, 0.97);
  backdrop-filter: blur(30px);
  padding: var(--space-2xl);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: calc(var(--z-header) - 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

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

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  transition: all var(--transition-fast);
  display: block;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-lg);
}

.mobile-nav-link:hover {
  color: var(--accent-primary);
  padding-left: var(--space-md);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: float-glow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero-inner {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
  box-shadow: 0 0 8px var(--accent-glow);
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--accent-glow);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 16px var(--accent-glow);
  }
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-title .gradient-text {
  display: inline;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.hero-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-warm);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-2xl);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--border-color),
    0 0 80px rgba(245, 158, 11, 0.08);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--accent-gradient);
  border-radius: calc(var(--radius-2xl) + 3px);
  z-index: -1;
  opacity: 0.35;
  filter: blur(2px);
}

/* Floating decoration dots */
.hero-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--border-glow);
  border-radius: var(--radius-xl);
  transform: rotate(15deg);
  opacity: 0.4;
  animation: float-rotate 6s ease-in-out infinite;
}

@keyframes float-rotate {
  0%, 100% { transform: rotate(15deg) translate(0, 0); }
  50% { transform: rotate(20deg) translate(-5px, -10px); }
}

/* ==========================================================================
   STATS COUNTER — New Section
   ========================================================================== */
.stats {
  position: relative;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.08);
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: var(--accent-gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   FEATURES — Bento Grid Layout
   ========================================================================== */
.features {
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.3;
}

.features-grid {
  display: grid;
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--border-glow),
    inset 0 1px 0 rgba(245, 158, 11, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

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

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

.feature-card p {
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ==========================================================================
   SERVICES — Horizontal Card Layout
   ========================================================================== */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  display: grid;
}

.service-card:hover {
  border-color: var(--border-glow);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(245, 158, 11, 0.05);
  transform: translateY(-4px);
}

.service-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 60%);
}

.service-content {
  padding: var(--space-xl);
}

.service-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--accent-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.service-card p {
  line-height: 1.75;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews {
  background: var(--bg-secondary);
  position: relative;
}

.reviews::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.3;
}

.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

.review-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
}

/* Quote decorative */
.review-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.1;
  line-height: 1;
  font-family: Georgia, serif;
}

.review-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-primary);
}

.review-text {
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
  color: var(--text-secondary);
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--border-glow);
}

.review-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.review-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
}

.cta-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}

.btn-lg {
  padding: 1.125rem var(--space-3xl);
  font-size: 1.1rem;
  border-radius: var(--radius-xl);
}

/* ==========================================================================
   CONTACTS
   ========================================================================== */
.contacts-wrapper {
  display: grid;
  gap: var(--space-2xl);
}

.contacts-info h2 {
  margin-bottom: var(--space-lg);
}

.contacts-info>p {
  margin-bottom: var(--space-xl);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

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

.contact-item h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-primary);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
}

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

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

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group label .required {
  color: var(--accent-warm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

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

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #ef4444;
}

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

/* Captcha */
.captcha-group {
  background: var(--bg-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.captcha-question {
  font-weight: 600;
  color: var(--accent-secondary);
}

.captcha-input {
  width: 80px;
  text-align: center;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.checkbox-group a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: var(--accent-secondary);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
}

.submit-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .spinner {
  display: block;
}

.submit-btn.loading .btn-text {
  display: none;
}

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

/* Form Status */
.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.2;
}

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

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

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

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

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

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  max-height: calc(80vh - 70px);
}

.modal-body h4 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1rem;
}

.modal-body p {
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  line-height: 1.7;
}

.modal-body ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.modal-body li {
  list-style: disc;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   COOKIE POPUP
   ========================================================================== */
.cookie-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  z-index: var(--z-cookie);
  transform: translateY(calc(100% + var(--space-lg)));
  transition: transform var(--transition-bounce);
  box-shadow:
    0 -20px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(245, 158, 11, 0.05);
  backdrop-filter: blur(20px);
}

.cookie-popup.active {
  transform: translateY(0);
}

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

.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.cookie-text p {
  font-size: 0.85rem;
}

.cookie-text a {
  color: var(--accent-primary);
  text-decoration: underline;
}

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

.cookie-btn {
  flex: 1;
  padding: 0.625rem var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.cookie-btn.accept {
  background: var(--accent-gradient);
  color: #1a1a2e;
}

.cookie-btn.decline {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-shrink: 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .burger {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }

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

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-note {
    justify-content: flex-start;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* On desktop, make first service card span 2 columns for bento layout */
  .service-card:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service-card:first-child .service-image {
    height: 100%;
    min-height: 280px;
  }

  .service-card:first-child .service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cookie-popup {
    left: auto;
    right: var(--space-xl);
    max-width: 420px;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

/* ==========================================================================
   ANIMATIONS (AOS compatible)
   ========================================================================== */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

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

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

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-in"] {
  opacity: 0;
}

[data-aos="fade-in"].aos-animate {
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

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

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

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

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.page-content {
  padding: 120px 0 80px;
  min-height: 70vh;
}

.legal-header h1 {
  margin-bottom: var(--space-xl);
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-2xl);
  display: block;
}

.content-body h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.content-body h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--accent-secondary);
}

.content-body p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.content-body ul,
.content-body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.content-body li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.content-body strong {
  color: var(--text-primary);
}

.content-body a {
  color: var(--accent-primary);
  text-decoration: underline;
}

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

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.3);
}

/* Selection color */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--text-primary);
}