:root {
  /* Colors */
  --bg-body: #f3f4f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #111827; /* Almost Black */
  --accent: #d4fc79; /* Lime Green - Fresh & Tech */
  --accent-dark: #96c93d;

  /* Layout */
  --container: 1280px;
  --header-height: 80px;

  /* Fonts */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  padding-top: 120px; /* Space for floating header */
  background-image: radial-gradient(
    circle at 10% 20%,
    rgba(212, 252, 121, 0.1) 0%,
    transparent 20%
  );
}

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

/* --- FLOATING HEADER --- */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none; /* Let clicks pass through wrapper */
  padding: 0 20px;
}

.header {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo img {
  height: 32px;
  width: auto;
}

/* Nav */
.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-dark);
  transition: width 0.3s ease;
}

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

/* Shine Button */
.btn-shine {
  position: relative;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.btn-shine:hover {
  transform: scale(1.02);
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-shine:hover::before {
  left: 100%;
}

/* Mobile Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.burger__line {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.mobile-menu.is-active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__inner {
  text-align: center;
}
.mobile-menu__inner a {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: #fff;
  margin: 20px 0;
  text-decoration: none;
}

/* Responsive Header */
@media (max-width: 992px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .btn-shine {
    display: none;
  }
}

/* --- FOOTER --- */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 30px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 80px;
}

.footer__cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 40px;
}

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

.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--primary);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.3s;
  margin-bottom: 80px;
}

.footer__cta-btn:hover {
  background: #fff;
  transform: translateY(-5px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 60px;
  margin-bottom: 40px;
}

.footer__slogan {
  color: #9ca3af;
  margin: 20px 0;
  font-size: 0.9rem;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.footer__heading {
  font-family: var(--font-head);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer__links li {
  margin-bottom: 12px;
}
.footer__links a {
  color: #d1d5db;
  text-decoration: none;
  transition: 0.2s;
}
.footer__links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer__address p {
  color: #9ca3af;
  margin-bottom: 4px;
}
.contact-link {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}
.footer__eu-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 15px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #6b7280;
  font-size: 0.9rem;
}

.footer__socials {
  display: flex;
  gap: 15px;
}
.footer__socials a {
  color: #fff;
  transition: 0.3s;
}
.footer__socials a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 0 16px;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
  min-height: 85vh; /* Occupy most of the screen */
  display: flex;
  align-items: center;
}

/* Abstract Grid Background */
.hero__bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

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

/* Left Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Underline decoration for gradient text */
.text-gradient::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent);
  z-index: -1;
  opacity: 0.4;
  transform: skewX(-15deg);
}

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

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

.btn--hero {
  padding: 16px 32px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  transition: transform 0.3s;
}
.btn--hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.hero__avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -12px;
}
.avatar:first-child {
  margin-left: 0;
}

.hero__stats-text {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Right Visual (Parallax Container) */
.hero__visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.1s linear; /* Smooth mouse movement */
}

.visual-card--main {
  width: 80%;
  height: auto;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-stat {
  display: flex;
  flex-direction: column;
}
.glass-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.glass-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Floating Badges */
.visual-card--float-1,
.visual-card--float-2 {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-family: var(--font-head);
  z-index: 3;
}

.visual-card--float-1 {
  top: 10%;
  right: 5%;
  background: var(--primary);
  color: #fff;
}

.visual-card--float-2 {
  bottom: 15%;
  left: 0;
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__subtitle {
    margin: 0 auto 40px;
  }
  .hero__visual {
    margin-top: 40px;
    height: 400px;
  }
  .text-gradient::after {
    left: 50%;
    transform: translateX(-50%) skewX(-15deg);
    width: 60%;
  }
}

/* --- STRATEGY SECTION (TIMELINE) --- */
.strategy {
  padding: 100px 0;
  background-color: #fff;
  overflow: hidden; /* To clip big numbers */
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.2;
}

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

/* Timeline Container */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Central Line */
.timeline__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border-color, #e2e8f0) 10%,
    var(--border-color, #e2e8f0) 90%,
    transparent
  );
  transform: translateX(-50%);
  z-index: 1;
}

.timeline__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Reverse layout for even items */
.timeline__item--reverse {
  flex-direction: row-reverse;
}

/* Big Number styling */
.timeline__number {
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 24, 39, 0.05); /* Outline text effect */
  line-height: 1;
  width: 45%;
  text-align: center;
  position: relative;
}

/* Decorative dot on the number connecting to line */
.timeline__number::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--accent-dark);
  border-radius: 50%;
  z-index: 3;
}

/* Positioning the dot based on side */
.timeline__item:not(.timeline__item--reverse) .timeline__number::after {
  right: -60px; /* Adjust based on gap */
}
.timeline__item--reverse .timeline__number::after {
  left: -60px;
}

/* Content Card */
.timeline__content {
  width: 45%;
  padding: 20px;
  background: #fff; /* In case overlaps */
}

.timeline__icon-box {
  width: 50px;
  height: 50px;
  background: var(--bg-body);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.timeline__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.timeline__text {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .timeline__line {
    left: 20px; /* Move line to left */
    transform: none;
  }

  .timeline__item,
  .timeline__item--reverse {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px; /* Space for line */
  }

  .timeline__number {
    font-size: 4rem;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    order: -1;
  }

  .timeline__number::after {
    top: 30px;
    left: -38px !important; /* Always on left */
  }

  .timeline__content {
    width: 100%;
    padding: 0;
  }
}

/* --- INNOVATIONS (SCROLLYTELLING) --- */
.innovations {
  background-color: var(--primary);
  color: #fff;
  padding: 100px 0;
  position: relative;
}

.innovations__header {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 80px;
}

.text-glow {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(212, 252, 121, 0.4);
}

/* Container Layout */
.scrolly-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

/* LEFT: Sticky Visual */
.sticky-visual {
  position: sticky;
  top: 150px; /* Offset from top */
  width: 45%;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Aurora Orb Effect */
.visual-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  transition: all 0.8s ease;
  transform: translate(0, 0);
}

/* States for the orb based on active step */
.sticky-visual[data-active='1'] .visual-orb {
  background: #60a5fa; /* Blue */
  transform: translate(-30%, -30%) scale(1.2);
}
.sticky-visual[data-active='2'] .visual-orb {
  background: #d4fc79; /* Lime */
  transform: translate(30%, 30%) scale(1);
}
.sticky-visual[data-active='3'] .visual-orb {
  background: #f472b6; /* Pink */
  transform: translate(0, 0) scale(1.4);
}

/* Visual Icons/Text */
.visual-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  z-index: 2;
}

.visual-content.active {
  opacity: 1;
  transform: translateY(0);
}

.visual-icon {
  width: 64px;
  height: 64px;
  color: #fff;
}

.visual-label {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
}

/* RIGHT: Scroll Steps */
.scroll-steps {
  width: 45%;
  padding-bottom: 100px; /* Extra space at bottom */
}

.step-card {
  min-height: 80vh; /* Each step takes almost full screen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3; /* Dimmed by default */
  transition: opacity 0.5s, transform 0.5s;
  padding: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.step-card.active {
  opacity: 1;
  border-left-color: var(--accent);
  padding-left: 40px; /* Slight movement right */
}

.step-title {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.step-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
}

.innovations__footer {
  text-align: center;
  margin-top: -50px; /* Pull up a bit */
  position: relative;
  z-index: 2;
}
.innovations__footer p {
  margin-bottom: 20px;
  color: #94a3b8;
}

.btn--glow {
  background: var(--accent);
  color: var(--primary);
  padding: 16px 40px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(212, 252, 121, 0.4);
  transition: 0.3s;
}
.btn--glow:hover {
  box-shadow: 0 0 40px rgba(212, 252, 121, 0.6);
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .scrolly-container {
    flex-direction: column;
  }
  .sticky-visual {
    position: relative;
    top: 0;
    width: 100%;
    height: 250px;
    margin-bottom: 40px;
  }
  .scroll-steps {
    width: 100%;
  }
  .step-card {
    min-height: auto;
    margin-bottom: 60px;
    opacity: 1; /* Always visible on mobile */
    border: none;
    padding-left: 0;
  }
}

/* --- BLOG SECTION (Carousel) --- */
.blog-section {
  padding: 100px 0;
  background: #f8f9fb;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 10px auto 0;
  color: var(--text-muted);
}

.blog-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 40px 20px 60px; /* Space for shadow */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar */
  scrollbar-width: none;
}
.blog-carousel::-webkit-scrollbar {
  display: none;
}

.blog-card {
  min-width: 320px;
  max-width: 320px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card__image {
  height: 200px;
  background: #e2e8f0;
  position: relative;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}

.blog-card__content {
  padding: 24px;
}

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

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

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 100px 0;
  background: #fff;
}

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

.contact-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 450px;
}

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

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.badge-item i {
  color: var(--accent-dark);
}

/* Form Styles */
.contact-form-wrapper {
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color, #f1f5f9);
  min-height: 500px;
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

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

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
  background: #f8f9fb;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 252, 121, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-check a {
  text-decoration: underline;
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 20px;
}

/* Captcha */
.captcha-group input {
  width: 100px;
}
.error-msg {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

/* Success State */
.success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: 10;
}

.success-message.visible {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.success-icon i {
  width: 40px;
  height: 40px;
}

/* Loader */
.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
  margin-left: 10px;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}
/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transform: translateY(150%); /* Hidden by default */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-main);
}
.cookie-content a {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

/* --- POLICY PAGES STYLING (privacy.html, terms.html etc) --- */
/* Ці стилі будуть працювати на окремих сторінках */
.pages {
  padding: 120px 0 80px; /* Відступ зверху для фіксованого хедера */
  background: #fff;
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Вузький контейнер для зручного читання */
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.pages h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary);
}

.pages p {
  margin-bottom: 15px;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
}

.pages li {
  margin-bottom: 8px;
  color: #4b5563;
}

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