/* --- Global Variables & Reset --- */
:root {
  --primary: #6366f1; /* Soft Indigo */
  --primary-hover: #4f46e5;
  --secondary: #ec4899; /* Soft Pink accent */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-light: #64748b;

  --font-main: "Inter", sans-serif;
  --font-display: "Outfit", sans-serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;

  --shadow-soft: 0 10px 40px -10px rgba(99, 102, 241, 0.1);
  --shadow-hover: 0 20px 50px -12px rgba(99, 102, 241, 0.2);

  --container-width: 1240px;
  --header-height: 90px;
}

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

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

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

html,
body {
  overflow-x: hidden;
}

ul {
  list-style: none;
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px; /* Hyper-rounded */
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn--header {
  background-color: var(--text-dark);
  color: #fff;
}

.btn--header:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* --- Header --- */
.header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.logo__icon {
  width: 40px;
  height: 40px;
}

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

.nav__list {
  display: flex;
  gap: 32px;
}

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

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav__link:hover {
  color: var(--primary);
}

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

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

/* --- Mobile Menu --- */
@media (max-width: 968px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 40px;
    gap: 30px;
  }

  .nav.active {
    transform: translateX(0);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav__link {
    font-size: 1.25rem;
  }
}

/* --- Footer --- */
.footer {
  background-color: #fff;
  padding: 80px 0 30px;
  margin-top: 80px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

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

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

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

.footer__link {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer__link:hover {
  color: var(--primary);
  padding-left: 5px; /* Micro-interaction */
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

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

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

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

  .footer {
    padding: 60px 0 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

/* Background blob effect */
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(236, 72, 153, 0.05) 70%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

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

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* Typography */
.hero__title {
  font-family: var(--font-display);
  font-size: 3.5rem; /* Large typography */
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

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

/* Actions */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.btn--primary {
  background: var(--primary);
  color: white;
  font-size: 1.05rem;
  padding: 16px 40px;
  box-shadow: var(--shadow-soft);
  align-self: flex-start;
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.btn__icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn--primary:hover .btn__icon {
  transform: translateX(4px);
}

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

.hero__note-icon {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid #e2e8f0;
  padding-top: 32px;
}

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

.stat-item__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* Visual & Animation Elements */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 60px 20px 60px 20px; /* Asymmetric Hyper-rounded */
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02); /* Slight zoom for quality */
}

/* Floating Cards */
.hero__float {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  z-index: 2;
  transition: transform 0.1s linear; /* Smooth mouse follow */
}

.hero__float i {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.hero__float--1 {
  top: 10%;
  left: -20px;
  padding: 15px;
  border-radius: 50%;
}

.hero__float--2 {
  bottom: 15%;
  left: -40px;
}

.hero__float--3 {
  top: 25%;
  right: -30px;
}

/* Responsive */
@media (max-width: 968px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    order: 1;
    text-align: center;
  }

  .hero__badge {
    margin: 0 auto 20px;
  }

  .hero__actions {
    align-items: center;
  }

  .btn--primary {
    align-self: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: 0;
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
  }
}

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

  .hero__visual {
    height: 300px;
  }

  .hero__float {
    transform: scale(0.8);
  }
}
/* --- Common Section Styles --- */
.section-padding {
  padding: 100px 0;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: #e0e7ff;
  color: var(--primary);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
}

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

/* Card Base */
.bento-card {
  border-radius: 40px; /* Hyper-rounded */
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Background Variants */
.bg-soft-blue {
  background-color: #f0f9ff;
}

.bg-soft-indigo {
  background-color: #eef2ff;
}

.bg-white {
  background-color: #ffffff;
}

/* Sizes */
.bento-card--large {
  grid-column: span 1;
  grid-row: span 2; /* Tall card */
}

.bento-card--medium {
  grid-column: span 1;
  min-height: 300px;
}

.bento-card--wide {
  grid-column: span 2;
  align-items: center;
  justify-content: center;
}

/* Content Styling */
.icon-circle {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.icon-circle--pink {
  color: var(--secondary);
}
.icon-circle--dark {
  color: var(--text-dark);
  background: #f1f5f9;
}
.icon-circle--large {
  width: 80px;
  height: 80px;
  margin-bottom: 0;
}

.bento-card:hover .icon-circle {
  transform: scale(1.1) rotate(10deg);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.bento-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.link-arrow:hover i {
  transform: translate(3px, -3px);
}

/* Wide Card specific */
.bento-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Decorative Elements */
.bento-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.bento-deco--1 {
  width: 150px;
  height: 150px;
  background: rgba(99, 102, 241, 0.2);
  bottom: -50px;
  right: -50px;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-deco--1 {
  transform: scale(1.5);
}

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

  .bento-card--large {
    grid-column: span 2;
    grid-row: auto;
  }

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

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

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

  .bento-content-row {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .icon-circle--large {
    margin-bottom: 20px;
  }
}

/* --- Tools Section --- */
.tools {
  background-color: #f8fafc; /* Slightly darker than body for contrast */
  overflow: hidden;
}

.tools__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  max-width: 100%; /* Override centered header */
}

/* Slider Navigation Buttons */
.slider-nav {
  display: flex;
  gap: 12px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.slider-btn:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

/* Scroller Container */
.tools-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 40px; /* Space for shadows */
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tools-scroller::-webkit-scrollbar {
  display: none;
}

/* Tool Card */
.tool-card {
  min-width: 320px;
  background: white;
  border-radius: 36px; /* Hyper-rounded */
  padding: 10px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
}

.tool-card__icon-box {
  height: 160px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tool-card__icon-box i {
  width: 48px;
  height: 48px;
}

/* Icon Background Colors */
.bg-purple {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}
.bg-green {
  background: linear-gradient(135deg, #34d399, #10b981);
}
.bg-orange {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.bg-blue {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.tool-card__body {
  padding: 10px 20px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.tool-card__body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
  flex-grow: 1;
}

.tool-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tool-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 20px;
}

.btn-circle {
  width: 44px;
  height: 44px;
  background: var(--text-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-circle:hover {
  background: var(--primary);
  transform: scale(1.1) rotate(90deg);
}

/* CTA Card Variant */
.tool-card--cta {
  background: var(--text-dark);
  color: white;
  justify-content: center;
}

.tool-card--cta .tool-card__body {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 40px 20px;
}

.tool-card--cta h3 {
  color: white;
  font-size: 1.5rem;
}

.tool-card--cta p {
  color: #94a3b8;
}

.btn--white {
  background: white;
  color: var(--text-dark);
  margin-top: 20px;
}

.btn--white:hover {
  background: #e2e8f0;
}

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

  .slider-nav {
    align-self: flex-end;
  }

  .tool-card {
    min-width: 280px;
  }
}

/* --- Reviews Section --- */
.reviews {
  background-color: #ffffff;
}

.reviews-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Chat Row Layout */
.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.chat-row--left {
  justify-content: flex-start;
}

.chat-row--right {
  justify-content: flex-end;
}

.chat-row--center {
  justify-content: center;
  margin-top: 20px;
}

/* Avatar */
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #f1f5f9;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 70%;
  padding: 24px 30px;
  position: relative;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.chat-bubble:hover {
  transform: translateY(-5px);
}

.chat-bubble strong {
  color: var(--primary);
  font-weight: 600;
}

/* Received Message (Left) */
.chat-bubble--received {
  background-color: #f8fafc;
  color: var(--text-main);
  border-radius: 30px 30px 30px 4px; /* Bottom-left corner sharp */
  border: 1px solid #e2e8f0;
}

/* Sent Message (Right) */
.chat-bubble--sent {
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  color: #ffffff;
  border-radius: 30px 30px 4px 30px; /* Bottom-right corner sharp */
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.3);
}

.chat-bubble--sent .chat-name,
.chat-bubble--sent .stars {
  color: rgba(255, 255, 255, 0.9);
}

/* Bubble Content */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.chat-name {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-dark);
}

.stars {
  color: #fbbf24; /* Amber/Gold */
  letter-spacing: 2px;
}

.chat-bubble p {
  font-size: 1rem;
  line-height: 1.5;
}

/* System Badge (Center) */
.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: #eef2ff;
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.system-badge i {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .chat-bubble {
    max-width: 85%;
    padding: 20px;
  }

  .chat-row {
    gap: 12px;
  }

  .avatar {
    width: 40px;
    height: 40px;
  }
}

/* --- Guide / Accordion Section --- */
.guide {
  background-color: #f8fafc;
}

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

/* Sticky Info Block */
.guide-info {
  position: sticky;
  top: 120px; /* Offset for sticky header */
}

.guide-cta-box {
  margin-top: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 30px; /* Hyper-rounded */
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.guide-icon {
  width: 40px;
  height: 40px;
  background: #eef2ff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.guide-cta-box p {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* Accordion Styling */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.accordion-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accordion-item.active {
  border-color: rgba(99, 102, 241, 0.2);
}

/* Header (Trigger) */
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.accordion-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.accordion-item.active .accordion-title {
  color: var(--primary);
}

.accordion-icon {
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Body (Content) */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content {
  padding: 0 30px 30px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .guide-info {
    position: static;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .guide-cta-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
}

/* --- Contact Section --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Side */
.contact-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Right Side (Card) */
.contact-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 40px; /* Hyper-rounded */
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

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

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  padding: 16px 20px 16px 54px; /* Space for icon */
  border-radius: 50px; /* Pill shape */
  border: 2px solid #f1f5f9;
  background: #f8fafc;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

/* Validation Styles */
.error-msg {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  margin-left: 10px;
}

.form-input.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-input.error + .error-msg,
.captcha-box.error + .error-msg,
.checkbox-group.error .error-msg {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Custom Captcha */
.captcha-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  min-width: 220px;
  transition: border-color 0.3s ease;
}

.captcha-box.error {
  border-color: #ef4444;
}

.captcha-checkbox-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
}

.captcha-input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.captcha-label-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;
}

.captcha-input:checked + .captcha-label-box {
  border-color: #10b981;
  background-color: #10b981;
}

.captcha-input:checked + .captcha-label-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  flex-grow: 1;
}

.captcha-logo {
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.captcha-logo i {
  width: 24px;
  height: 24px;
}

/* Privacy Checkbox */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
  cursor: pointer;
  max-width: 90%;
}

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

.btn--full {
  width: 100%;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Success State */
.hidden {
  display: none;
}

.success-box {
  text-align: center;
  padding: 40px 20px;
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.success-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-text {
    text-align: center;
  }

  .contact-list {
    align-items: center;
  }
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  max-width: 400px;
  transform: translateY(150%); /* Hidden state */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cookie-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
}

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

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
  background: var(--text-dark);
  color: white;
  border-radius: 20px;
  white-space: nowrap;
}

.btn--small:hover {
  background: var(--primary);
}

@media (max-width: 600px) {
  .cookie-popup {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

/* --- Policy Pages Styling (privacy.html, terms.html etc) --- */
/* Цей блок стилізує всі текстові сторінки */

.pages {
  padding: 120px 0 80px; /* Top padding compenstates for fixed header */
}

.pages .container {
  max-width: 800px; /* Narrower for readability */
}

.pages h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
}

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

.pages h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.pages ul,
.pages ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.pages li {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 10px;
  position: relative;
}

.pages ul li {
  list-style: disc;
}

.pages strong {
  color: var(--text-dark);
  font-weight: 600;
}

.pages a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Table styling for policies if needed */
.pages table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.pages th,
.pages td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  text-align: left;
  font-size: 0.95rem;
}

.pages th {
  background: #f8fafc;
  color: var(--text-dark);
  font-weight: 600;
}
