/*
  ============================================
  AI Assist Landing Page — Style Sheet
  ============================================
  Color Scheme: Aurora Dark (Violet-Cyan Gradient)
  Font: Outfit (Google Fonts)
  
  CHANGE_FONT_HERE: To change font, update @import above
  and font-family in :root
  ============================================
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Color Palette - Aurora Dark Theme */
  --color-primary: #8B5CF6;
  --color-primary-light: #A78BFA;
  --color-primary-dark: #7C3AED;
  --color-secondary: #06B6D4;
  --color-secondary-light: #22D3EE;
  --color-accent: #22D3EE;

  /* Background Colors */
  --color-bg: #0F0F1A;
  --color-bg-alt: #1A1A2E;
  --color-surface: #16213E;
  --color-surface-hover: #1E2A4A;

  /* Text Colors */
  --color-text: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-dark: #64748B;

  /* Utility Colors */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(15, 15, 26, 0.8) 0%, rgba(15, 15, 26, 0.95) 100%);
  --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);

  /* Typography - CHANGE_FONT_HERE */
  --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

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

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

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

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-secondary-light);
}

a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

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

button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

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

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

.section {
  padding: var(--spacing-3xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-4xl) 0;
  }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

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

.section-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-card);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: var(--font-size-3xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--font-size-4xl);
  }
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md), 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.5);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(6, 182, 212, 0.1);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

.btn-submit {
  width: 100%;
  min-height: 52px;
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

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

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--color-secondary);
  transition: all var(--transition-base);
}

.link-arrow:hover {
  color: var(--color-secondary-light);
  transform: translateX(4px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text);
}

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

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

.nav {
  display: none;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

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

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

/* Burger Menu */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 2100;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

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

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav.active {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0F0F1A;
  padding: var(--spacing-4xl) var(--spacing-xl);
  z-index: 2000;
  animation: fadeIn 0.3s ease-out;
}

/* Background overlay to ensure no bleed-through */
.nav.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0F0F1A;
  z-index: -1;
}

/* Ensure header is on top when menu is open */
.header:has(.nav.active) {
  z-index: 2001;
}

.nav.active .nav-list {
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav.active .nav-link {
  font-size: var(--font-size-3xl);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    var(--color-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: blur(2px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

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

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
}

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

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: var(--spacing-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0);
  }
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 520px;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

.hero-note {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-warning);
  margin-bottom: var(--spacing-xl);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0);
  transition: filter 0.5s ease, transform 0.5s ease;
}

/* Blur placeholder effect */
.hero-image[data-loaded="false"] {
  filter: blur(20px);
}

.hero-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-card:hover .hero-image {
  transform: scale(1.05);
}

/* ============================================
   ABOUT / FEATURES SECTION
   ============================================ */
.about {
  background: var(--color-bg);
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: var(--spacing-xl);
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.feature-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    var(--color-bg-alt);
}

.services-grid {
  display: grid;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card--large {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .service-card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

.service-card-inner {
  position: relative;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.service-card--large .service-card-inner {
  min-height: 400px;
}

@media (min-width: 1024px) {
  .service-card--large .service-card-inner {
    min-height: 100%;
  }
}

.service-card .service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all var(--transition-base);
  filter: blur(0);
}

.service-card .service-image[data-loaded="false"] {
  filter: blur(10px);
}

.service-card:hover .service-image {
  opacity: 0.8;
  transform: scale(1.05);
}

.service-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-xl);
  margin-top: auto;
  background: linear-gradient(to top, rgba(22, 33, 62, 0.95), transparent);
}

.service-tag {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.service-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.service-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews {
  background: var(--color-bg);
}

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

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  padding: var(--spacing-xl);
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.review-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.review-info h4 {
  font-size: var(--font-size-base);
  margin-bottom: 2px;
}

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

.review-stars {
  color: var(--color-warning);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  letter-spacing: 2px;
}

.review-text {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    var(--color-bg-alt);
}

.contact-wrapper {
  display: grid;
  gap: var(--spacing-2xl);
}

@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: start;
  }
}

.contact-info .section-badge {
  display: inline-block;
}

.contact-info .section-title {
  text-align: left;
}

.contact-text {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--color-text);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
  padding: var(--spacing-xl);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: var(--spacing-2xl);
  }
}

.form-status {
  display: none;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-sm);
}

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

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

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.required {
  color: var(--color-error);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

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

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

.hint-text {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-dark);
  margin-top: var(--spacing-xs);
}

.error-message {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-error);
  margin-top: var(--spacing-xs);
  min-height: 16px;
}

/* Checkbox */
.checkbox-group {
  margin-bottom: var(--spacing-xl);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-bg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checkbox-label input:checked+.checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input:checked+.checkmark::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
}

.checkbox-label input:focus+.checkmark {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.checkbox-label a {
  text-decoration: underline;
}

/* Captcha */
.captcha-group label {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

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

#captcha {
  max-width: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-surface);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-col h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

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

.footer-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a,
.footer-links li {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--color-text-dark);
}

/* ============================================
   COOKIE POPUP
   ============================================ */
.cookie-popup {
  position: fixed;
  bottom: var(--spacing-lg);
  left: var(--spacing-lg);
  right: var(--spacing-lg);
  max-width: 400px;
  z-index: var(--z-cookie);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-content {
  padding: var(--spacing-lg);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.cookie-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

.cookie-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.cookie-content a {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--spacing-md);
}

.cookie-buttons .btn {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  overflow-y: auto;
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

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

.modal {
  width: 100%;
  max-width: 600px;
  margin: auto;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: all var(--transition-base);
  display: none;
}

.modal.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  display: block;
}

.modal-content {
  position: relative;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  max-height: 80vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-content {
    padding: var(--spacing-2xl);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

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

.modal-content h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-lg);
  padding-right: var(--spacing-2xl);
}

.modal-body h3 {
  font-size: var(--font-size-lg);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.modal-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

/* Success Modal */
.modal-success .modal-content {
  text-align: center;
  padding: var(--spacing-3xl);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-success);
  color: #fff;
  font-size: 40px;
  border-radius: 50%;
  margin-bottom: var(--spacing-lg);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-success h2 {
  padding-right: 0;
  text-align: center;
}

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

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

/* Body scroll lock when modal/nav is open */
body.no-scroll {
  overflow: hidden;
}

/* ============================================
   LAZY LOAD BLUR EFFECT
   ============================================ */
/* img[loading="lazy"] visibility handled natively */

/* Placeholder blur effect */
.image-placeholder {
  position: relative;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ============================================
   LEGAL PAGES (PHP) STYLES
   ============================================ */
.page-content {
  padding: 140px 0 80px;
  min-height: 70vh;
}

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

.page-content h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: var(--font-size-4xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content .content-body {
  font-size: var(--font-size-lg);
  line-height: 1.9;
  color: var(--color-text-muted);
}

.page-content .content-body h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
}

.page-content .content-body p {
  margin-bottom: var(--spacing-lg);
}

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

.page-content .content-body li {
  margin-bottom: var(--spacing-sm);
}