/* --- VARIABLES --- */
:root {
  --bg-color: #0b0b0e;
  --card-bg: #141419;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --accent-neon: #00f0ff;
  --accent-purple: #7000ff;
  --gradient-main: linear-gradient(
    135deg,
    var(--accent-neon),
    var(--accent-purple)
  );

  --font-heading: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;

  --radius-large: 32px;
  --radius-pill: 50px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1240px;
  --padding-x: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* Desktop Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__menu {
  display: flex;
  gap: 30px;
}

.header__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
}

.header__link:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-neon);
  transition: var(--transition);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  background: var(--gradient-main);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
  transition: var(--transition);
}

.header__cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(112, 0, 255, 0.4);
}

/* Burger Button */
.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--card-bg);
  padding: 80px 0 20px;
  border-top-left-radius: var(--radius-large);
  border-top-right-radius: var(--radius-large);
  margin-top: 60px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  margin-bottom: 60px;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer__list li {
  margin-bottom: 14px;
}

.footer__link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--accent-neon);
  padding-left: 8px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer__icon {
  color: var(--accent-purple);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .header__link {
    font-size: 1.2rem;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .header__logo-text {
    font-size: 1.1rem;
  }
}

/* --- UI COMPONENTS (Buttons) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn--primary:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 0 40px var(--accent-neon);
  background: var(--accent-neon);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  padding-top: 80px; /* Space for fixed header */
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start; /* Left aligned content */
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(112, 0, 255, 0.15);
  border: 1px solid var(--accent-purple);
  border-radius: var(--radius-pill);
  color: var(--accent-neon);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive giant font */
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero__highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Underline effect for highlight */
.hero__highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-neon);
  z-index: -1;
  opacity: 0.3;
  border-radius: 4px;
  filter: blur(4px);
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.hero__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__stats {
  display: flex;
  gap: 30px;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Decorative Glows */
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
}

.hero__glow--1 {
  background: var(--accent-purple);
  top: -100px;
  right: -100px;
}

.hero__glow--2 {
  background: var(--accent-neon);
  bottom: -100px;
  left: -100px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- SECTIONS GLOBAL --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.section__subtitle strong {
  color: var(--accent-neon);
}

/* --- SOLUTIONS GRID --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* --- SOLUTION CARD --- */
.solution-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-large);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Glassmorphism */
  backdrop-filter: blur(10px);
}

/* Hover Effect 3D-ish */
.solution-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solution-card__icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--accent-neon);
}

.solution-card__icon-box i {
  width: 32px;
  height: 32px;
}

.solution-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.solution-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
  flex-grow: 1;
}

.solution-card__list {
  margin-bottom: 30px;
}

.solution-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.solution-card__list li i {
  color: var(--accent-purple);
  width: 18px;
  height: 18px;
}

/* Highlight Card Style */
.solution-card--highlight {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 25, 0.9),
    rgba(112, 0, 255, 0.05)
  );
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(112, 0, 255, 0.1);
}

.solution-card--highlight:hover {
  box-shadow: 0 0 50px rgba(112, 0, 255, 0.25);
}

.solution-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-purple);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
}

/* Wide Card Style */
.solution-card--wide {
  grid-column: 1 / -1; /* Stretch full width */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(0, 240, 255, 0.05) 100%
  );
}

.solution-card--wide .solution-card__content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .solution-card--wide .solution-card__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- AI SECTION --- */
.ai-section {
  background: radial-gradient(
    circle at 0% 50%,
    rgba(112, 0, 255, 0.05) 0%,
    transparent 40%
  );
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
  opacity: 0; /* Hidden initially for JS reveal */
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-row__content {
  flex: 1;
}

.feature-row__visual {
  flex: 1;
  position: relative;
}

/* Typography & Elements */
.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.badge-pill--neon {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-neon);
}

.feature-row__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

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

.text-neon {
  color: var(--accent-neon);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.feature-row__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.feature-row__desc strong {
  color: var(--text-primary);
}

/* Stats Box */
.feature-row__stats {
  display: flex;
  gap: 30px;
}

.stat-box__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-box__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* List */
.feature-list {
  margin-bottom: 30px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 500;
}

.check-circle {
  width: 24px;
  height: 24px;
  background: var(--accent-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
}

.check-circle i {
  width: 14px;
  height: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-neon);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link-arrow:hover {
  gap: 12px;
  border-bottom-color: var(--accent-neon);
}

/* Visual Card (Mockup) */
.visual-card {
  background: rgba(20, 20, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-large);
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(112, 0, 255, 0.15);
}

.visual-card--neon:hover {
  box-shadow: 0 30px 60px rgba(0, 240, 255, 0.15);
}

.visual-card__header {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.visual-card__img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  opacity: 0.8;
}

/* Floating Elements */
.floating-badge {
  position: absolute;
  bottom: 40px;
  background: var(--card-bg);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge i {
  color: var(--accent-neon);
  width: 18px;
}

.floating-badge--right {
  right: -20px;
}
.floating-badge--left {
  left: -20px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .feature-row {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .feature-row--reverse {
    flex-direction: column;
  }

  .feature-row__stats,
  .feature-list li {
    justify-content: center;
  }

  .floating-badge {
    display: none; /* Hide floating elements on mobile to prevent overflow */
  }
}

/* --- BLOG GRID --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 100px;
}

.blog-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  height: 400px; /* Fixed height for uniformity */
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-neon);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.1);
}

/* Glass Overlay inside Card */
.blog-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  z-index: 2;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.blog-tag {
  background: var(--accent-purple);
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.blog-date {
  color: var(--text-secondary);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: white;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-neon);
  opacity: 0.8;
  transition: var(--transition);
}

.blog-card:hover .blog-card__link {
  opacity: 1;
  gap: 12px;
}

/* --- CTA BANNER --- */
.cta-banner {
  position: relative;
  background: var(--gradient-main);
  border-radius: var(--radius-large);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(112, 0, 255, 0.3);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.cta-banner__action {
  position: relative;
  z-index: 2;
}

.btn--white {
  background: white;
  color: var(--accent-purple);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn--white:hover {
  background: var(--bg-color);
  color: white;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 60%
  );
  animation: rotate 10s linear infinite;
  z-index: 1;
  pointer-events: none;
}

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

@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }
}

/* --- CONTACT SECTION --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-neon);
  padding-left: 15px;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 14px 20px 14px 45px; /* Space for icon */
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.form-input:focus + .input-icon, /* This won't work with current structure, using JS or just general sibling */
.input-wrapper:focus-within .input-icon {
  color: var(--accent-neon);
}

.error-msg {
  display: none;
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: 5px;
  padding-left: 10px;
}

.form-group.error .form-input {
  border-color: #ff4d4d;
}

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

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}

.custom-checkbox input:checked ~ .checkmark {
  background: var(--accent-neon);
  border-color: var(--accent-neon);
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid var(--bg-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

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

/* Captcha Box */
.captcha-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.captcha-label {
  margin-bottom: 0;
  font-weight: 600;
  color: white;
}

.captcha-icon {
  color: var(--text-secondary);
  opacity: 0.5;
}

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

/* Loader */
.loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--bg-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.loader.hidden {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 90%;
  max-width: 600px;
  background: rgba(20, 20, 25, 0.95);
  border: 1px solid var(--accent-purple);
  border-radius: var(--radius-large);
  padding: 20px 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

/* --- SUCCESS MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--accent-neon);
  padding: 40px;
  border-radius: var(--radius-large);
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
}

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

.modal-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-neon);
}

.modal-icon-box i {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-desc {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* --- POLICY PAGES STYLES (Stage 5) --- */
.pages {
  padding-top: 140px; /* Header space */
  padding-bottom: 80px;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--accent-neon);
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: white;
}

.pages p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.pages li {
  margin-bottom: 10px;
}

.pages a {
  color: var(--accent-purple);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-popup .btn {
    align-self: flex-end;
  }
}

.shake {
  animation: shake 0.5s;
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
