/* --- VARIABLES & RESET --- */
:root {
  /* Colors */
  --bg-dark: #0a0a0a;
  --bg-surface: #141416;
  --text-main: #ffffff;
  --text-muted: #888890;
  --accent: #ccff00; /* Neon Lime/Acid Green */
  --accent-hover: #b3e600;
  --border-color: #2a2a2e;

  /* Fonts */
  --font-head: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Geometry */
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;

  /* Spacing */
  --container-width: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 50px; /* Hyper-rounded header */
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 25px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

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

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

/* Hover Effect: Dot appearance */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.header__link:hover::after {
  transform: translateX(-50%) scale(1);
}

.header__cta {
  background-color: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-surface);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  padding: 80px 20px 30px;
  margin-top: 100px;
  border-top: 1px solid var(--border-color);
}

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

.footer__logo {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.footer__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.footer__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-main);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer__link:hover {
  color: var(--accent);
  padding-left: 5px; /* Slide effect */
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__contact-item i {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 992px) {
  .header__container {
    padding: 0 15px;
  }

  .header__burger {
    display: block;
    padding-right: 10px;
  }

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

  .header__nav.active {
    right: 0;
  }

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

  .header__link {
    font-size: 1.5rem;
  }

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

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

/* --- UI COMPONENTS (Buttons & Badges) --- */
.text-gradient {
  background: linear-gradient(90deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 50px; /* Hyper-rounded */
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(204, 255, 0, 0.3);
  background-color: var(--accent-hover);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px; /* Header height + spacing */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated Glow Background */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  transition: transform 0.1s linear;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -50px;
  left: -100px;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: #4d4dff; /* Secondary neon blue for contrast */
  bottom: -100px;
  right: -100px;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Content Side */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: 4rem; /* Giant typography */
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
}

.hero__description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__description strong {
  color: var(--text-main);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.hero__stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero__stat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Visual Side */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible; /* Allow float card to go outside */
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: 40px; /* Extra rounded */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg); /* Breaking the grid slightly */
  transition: transform 0.5s ease;
}

.hero__visual:hover .hero__img {
  transform: rotate(0deg) scale(1.02);
}

/* Floating Card */
.hero__card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(20, 20, 22, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
}

.hero__card-icon {
  width: 50px;
  height: 50px;
  background: rgba(204, 255, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero__card-title {
  font-weight: 700;
  font-family: var(--font-head);
  line-height: 1.2;
}

.hero__card-status {
  font-size: 0.8rem;
  color: var(--accent);
}

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

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__description {
    margin: 0 auto 40px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image-wrapper {
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__card {
    left: 0;
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- GLOBAL SECTION STYLES --- */
.section-title {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-muted); /* Muted by default, white span for accent */
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title .text-white {
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* --- SOLUTIONS SECTION --- */
.solutions {
  padding: 100px 0;
  position: relative;
}

.solutions__header {
  margin-bottom: 60px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Glassmorphism Card */
.solution-card {
  background: rgba(255, 255, 255, 0.03); /* Extremely subtle fill */
  backdrop-filter: blur(20px); /* Glass effect */
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Thin border */
  border-radius: 30px; /* Hyper-rounded */
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* Hover Effects */
.solution-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.solution-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(204, 255, 0, 0.1);
  border-radius: 20px; /* Soft square */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-card__icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent);
  color: var(--bg-dark);
}

.solution-card__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.solution-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  flex-grow: 1; /* Push link to bottom */
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.solution-card__link i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.solution-card__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.solution-card__link:hover i {
  transform: translate(3px, -3px);
}

/* Highlight Card (Middle one) */
.solution-card--highlight {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.solution-card--highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* --- ADVANTAGES (BENTO GRID) --- */
.advantages {
  padding: 80px 0 120px;
}

.advantages__header {
  margin-bottom: 60px;
  text-align: center; /* Center align header for balance */
}

.advantages__header .section-subtitle {
  margin: 0 auto;
}

/* Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; /* 2 rows */
  gap: 24px;
}

/* Base Bento Item */
.bento-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 30px; /* Hyper-rounded */
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  margin-bottom: 20px;
}

.bento-item:hover .bento-icon {
  background: var(--accent);
  color: var(--bg-dark);
}

.bento-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Modifiers */

/* Large Item (Takes 2 cols, 1 row) */
.bento-item--large {
  grid-column: span 2;
  display: flex;
  flex-direction: row; /* Horizontal layout */
  align-items: center;
  background: linear-gradient(135deg, var(--bg-surface) 0%, #1e1e24 100%);
}

.bento-content {
  flex: 1;
  padding-right: 20px;
}

.bento-visual {
  flex: 1;
  height: 100%;
  min-height: 200px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-item--large:hover .bento-img {
  transform: scale(1.1);
}

.bento-badge {
  margin-top: 20px;
  display: inline-block;
  background: rgba(204, 255, 0, 0.1);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Medium items take 1 col by default */

/* Dark Item (Highlight) */
.bento-item--dark {
  background: #000;
  border: 1px solid #333;
}

/* Wide Item (Takes full width 3 cols) */
.bento-item--wide {
  grid-column: span 3;
  background: radial-gradient(
      circle at top right,
      rgba(204, 255, 0, 0.05),
      transparent 40%
    ),
    var(--bg-surface);
}

.bento-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.bento-text-side {
  max-width: 60%;
}

.big-icon {
  width: 100px;
  height: 100px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-15deg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-weight: 600;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-item--large {
    grid-column: span 2;
    flex-direction: column;
  }

  .bento-visual {
    margin-top: 20px;
    width: 100%;
    min-height: 150px;
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 650px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item--large,
  .bento-item--wide {
    grid-column: span 1;
  }
}

/* --- BLOG SECTION --- */
.blog {
  padding: 100px 0;
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.blog__link-all {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.blog__link-all:hover {
  gap: 12px;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Blog Card */
.blog-card {
  background: var(--bg-surface);
  border-radius: 30px; /* Hyper-rounded */
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.blog-card__image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Image inside card fills top */
  transition: transform 0.5s ease;
}

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

.blog-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(4px);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card__content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card__read {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.blog-card__read::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.blog-card__read:hover::after {
  width: 100%;
}

/* --- FAQ SECTION --- */
.faq {
  padding: 80px 0 120px;
  background: linear-gradient(
    180deg,
    var(--bg-dark) 0%,
    rgba(20, 20, 22, 0.5) 100%
  );
}

.faq__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* FAQ Item (Accordion) */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 25px; /* Pill shape */
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
}

.faq-item__question {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  padding-right: 20px;
}

.faq-item__icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  min-width: 24px;
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item__body {
  padding: 0 30px 25px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-item__content {
  max-height: 200px; /* Arbitrary large height for animation */
  transition: max-height 0.5s ease-in-out;
}

/* Responsive */
@media (max-width: 992px) {
  .blog__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

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

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

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact__badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: var(--text-main);
}

.contact__icon-box {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact__icon-box i {
  width: 16px;
  height: 16px;
}

/* Contact Form */
.contact__form-wrapper {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: 40px; /* Hyper-rounded form */
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact__form-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 15px;
}

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  padding: 18px 20px 18px 55px; /* Space for icon */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent);
}

.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* Custom Checkbox styling */
.form-checkbox-group {
  margin-bottom: 15px;
}

.custom-checkbox {
  display: flex;
  align-items: center; /* Changed from flex-start to center for better alignment */
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 24px;
  width: 24px;
  min-width: 24px; /* Prevent shrinking */
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--text-muted);
}

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

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

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

.checkbox-text a {
  color: var(--text-main);
  text-decoration: underline;
}

/* Captcha specific style */
.captcha-checkbox {
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  width: fit-content;
}

/* Success Message */
.success-message {
  display: none; /* Hidden by default */
  text-align: center;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-content {
  background: rgba(20, 20, 22, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 20px 30px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

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

.cookie-btn {
  background: var(--text-main);
  color: var(--bg-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.cookie-btn:hover {
  transform: scale(1.05);
}

/* --- STYLES FOR POLICY PAGES (privacy.html etc.) --- */
/* Ці стилі працюватимуть, якщо обернути контент політик у <section class="pages"> */
.pages {
  padding: 140px 0 80px;
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--text-main);
}

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

.pages p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

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

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

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

/* Responsive Contact */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
  }

  .contact__info {
    text-align: center;
    margin-bottom: 40px;
  }

  .contact__list {
    align-items: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Error state for inputs */
.form-input.input-error {
  border-color: #ff3333;
  box-shadow: 0 0 10px rgba(255, 51, 51, 0.2);
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
