/* --- Variables & Reset --- */
:root {
  /* Colors */
  --bg-dark: #0f0c29;
  --bg-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.15);

  --accent-primary: #00f2ea; /* Neon Cyan */
  --accent-secondary: #ff0055; /* Neon Pink */

  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Layout */
  --container-width: 1280px;
  --header-height: 90px;
  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 16px;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  background-attachment: fixed; /* Parallax-like effect for bg */
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

ul {
  list-style: none;
}

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

/* --- Utilities --- */
.container,
.header__container,
.footer__container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 12, 41, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px; /* Pill shape header */
  padding: 0 30px;
  height: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.header__logo-img {
  width: 32px;
  height: 32px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__nav {
  display: none;
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }
}

.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);
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

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

.header__cta {
  display: none;
  padding: 10px 24px;
  background: var(--glass-highlight);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.header__cta:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-block;
  }
}

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

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(25px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.mobile-menu__btn {
  margin-top: 1rem;
  padding: 15px 40px;
  background: var(--accent-primary);
  color: var(--bg-dark);
  border-radius: 50px;
  font-weight: 700;
}

/* --- Main Placeholder --- */
.main {
  padding-top: 140px; /* Offset for fixed header */
  min-height: 60vh;
}

/* --- Footer --- */
.footer {
  background: rgba(0, 0, 0, 0.2);
  margin-top: 100px;
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
}

.footer__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

@media (min-width: 1200px) {
  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-img {
  width: 40px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

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

.footer__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

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

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

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

.footer__icon {
  min-width: 20px;
  color: var(--accent-primary);
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* --- UI Components (Buttons) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #00c2bb 100%);
  color: var(--bg-dark);
  box-shadow: 0 10px 20px rgba(0, 242, 234, 0.3);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 242, 234, 0.5);
}

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

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* --- Typography Utilities --- */
.text-gradient {
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.2fr 1fr;
    height: 70vh; /* Full viewport height mostly */
    min-height: 600px;
  }
}

/* Hero Content */
.hero__content {
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 234, 0.1);
  border: 1px solid rgba(0, 242, 234, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 24px;
  font-weight: 600;
}

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

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem; /* Giant Typography */
  }
}

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

.hero__desc strong {
  color: var(--text-main);
  font-weight: 600;
}

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

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

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

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

/* Background Glowing Orb */
.hero__orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    var(--accent-secondary) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0.4;
  filter: blur(60px);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: orbFloat 6s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Glass Cards */
.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-highlight);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  transition: transform 0.1s linear; /* For JS Movement */
}

/* Card Positioning */
.card-1 {
  top: 20%;
  left: 0;
}

.card-2 {
  bottom: 20%;
  right: 0;
}

.card-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  flex-direction: column;
  align-items: flex-start;
}

.card-icon {
  width: 40px;
  height: 40px;
}

.icon-cyan {
  color: var(--accent-primary);
}
.icon-pink {
  color: var(--accent-secondary);
}

.card-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.card-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Chart Mockup in Card 3 */
.chart-mockup {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 10px;
}

.chart-bar {
  width: 12px;
  background: linear-gradient(to top, var(--accent-primary), transparent);
  border-radius: 4px;
}

/* --- Section Basics --- */
.section-padding {
  padding: 100px 0;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

/* --- Bento Grid Layout --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Desktop Grid: 3 columns, auto rows */
@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(
      2,
      300px
    ); /* Fixed height rows for consistency */
  }

  /* Placing Items */
  .bento-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

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

  /* On very large screens, maybe adjust tall item logic if needed, 
       but keeping it simpler ensures robustness */
}

/* --- Bento Item Styles --- */
.bento-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Specific inner layouts */
.bento-item__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item--wide .bento-item__content {
  flex-direction: row;
  align-items: center;
}

.bento-item.centered .bento-item__content {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 15px;
}

/* Typography & Icons in Grid */
.bento-item__icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-item__icon {
  width: 30px;
  height: 30px;
  color: var(--accent-primary);
}

.bento-item__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.bento-item__desc strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Special Decor: Chips */
.bento-decoration {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
}

.chip {
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(0, 242, 234, 0.1);
  color: var(--accent-primary);
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 234, 0.2);
}

/* Special Decor: Large Icon */
.large-icon {
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-10deg);
}

.bento-visual-side {
  display: none;
}

@media (min-width: 576px) {
  .bento-visual-side {
    display: block;
    padding-left: 20px;
  }
}

/* Link Style */
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-top: 15px;
  font-size: 0.9rem;
}

.bento-link:hover {
  gap: 10px;
}

/* Circle Button */
.circle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: none;
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.circle-btn:hover {
  transform: scale(1.1);
}

/* Glow Effect Background */
.bento-item__bg-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle at top right,
    rgba(0, 242, 234, 0.15),
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* --- Timeline Layout --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* The vertical connecting line */
.timeline__line {
  position: absolute;
  left: 24px; /* Align with marker center */
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent-primary),
    var(--accent-secondary),
    transparent
  );
  z-index: 0;
  box-shadow: 0 0 15px var(--accent-primary);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Timeline Item Container */
.timeline__item {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
  z-index: 1;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline__item {
    justify-content: center;
    gap: 60px;
  }

  /* Alternating Layout for Desktop */
  .timeline__item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .timeline__item:nth-child(odd) .timeline__card {
    text-align: right;
    align-items: flex-end;
  }

  /* Shift content to sides */
  .timeline__item:nth-child(odd) {
    justify-content: flex-end;
    padding-right: 50%;
    margin-right: -30px; /* Adjust for gap */
  }

  .timeline__item:nth-child(even) {
    justify-content: flex-end; /* Because of row-reverse, this pushes it left visually */
    padding-left: 50%;
    margin-left: -30px;
  }

  /* Re-center the marker absolute relative to the item container logic? 
       Actually, simpler approach for centered line: use absolute marker */

  .timeline__item {
    /* Reset flex approach for easier absolute marker positioning on desktop */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default mobile */
  }

  .timeline__item:nth-child(odd) {
    flex-direction: row;
  }
}

/* The Glowing Marker (Number) */
.timeline__marker {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
  z-index: 2;
}

/* Desktop positioning of marker */
@media (min-width: 768px) {
  .timeline__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Adjust content width */
  .timeline__card {
    width: 45%;
  }

  .timeline__item:nth-child(odd) {
    justify-content: flex-start;
  }

  .timeline__item:nth-child(even) {
    justify-content: flex-end;
  }
}

.timeline__num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

/* The Card */
.timeline__card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); /* 32px hyper rounded */
  padding: 30px;
  flex-grow: 1;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Specific alignment inside cards for desktop odd items */
@media (min-width: 768px) {
  .timeline__item:nth-child(odd) .timeline__card {
    align-items: flex-end;
    text-align: right;
    border-right: 3px solid var(--accent-primary);
    border-left: 1px solid var(--glass-border);
  }

  .timeline__item:nth-child(even) .timeline__card {
    align-items: flex-start;
    text-align: left;
    border-left: 3px solid var(--accent-secondary);
    border-right: 1px solid var(--glass-border);
  }
}

.timeline__card:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.06);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

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

.timeline__badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-dark);
  background: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* --- Blog Section Header --- */
.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog__text {
  max-width: 600px;
}

/* --- Slider Controls --- */
.blog__controls {
  display: flex;
  gap: 15px;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  transform: scale(1.1);
}

/* --- Slider Container (Scroll Snap) --- */
.blog__slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px; /* Space for scrollbar or shadows */

  /* Hide Scrollbar visually but keep functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.blog__slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* --- Blog Card --- */
.blog-card {
  min-width: 300px;
  height: 450px;
  position: relative;
  border-radius: var(--radius-xl); /* 32px */
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-card {
    min-width: 380px;
  }
}

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

/* Card Background Image */
.blog-card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Glass Overlay Content */
.blog-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(
    to top,
    rgba(15, 12, 41, 0.95),
    rgba(15, 12, 41, 0.4)
  );
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent-primary);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.badge--pink {
  background: var(--accent-secondary);
  color: white;
}
.badge--purple {
  background: #7b2cbf;
  color: white;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.2;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: gap 0.3s ease;
}

.blog-card__link:hover {
  gap: 10px;
  color: #fff;
}

/* --- About Section Layout --- */
.about__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

@media (min-width: 992px) {
  .about__container {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

/* --- Left Side Content --- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00ff88; /* Green for trust */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.about__stats-grid {
  display: flex;
  gap: 30px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  min-width: 120px;
}

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

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

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

.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-l); /* 24px */
  overflow: hidden;
  transition: background 0.3s ease;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.accordion-header {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
}

/* State when open */
.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-header.active {
  color: var(--accent-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Quick smooth slide */
}

.accordion-body {
  padding: 0 30px 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* --- Contact Section --- */
.contact {
  position: relative;
  padding-bottom: 150px;
}

.contact__container {
  display: flex;
  justify-content: center;
}

.contact__wrapper {
  width: 100%;
  max-width: 550px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

/* Decorative Glow behind form */
.contact__wrapper::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-primary);
  filter: blur(80px);
  opacity: 0.2;
  z-index: 0;
}

.contact__header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.contact__subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* --- Form Styles --- */
.contact__form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact__form.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  position: absolute; /* Take out of flow to let Success Message show */
  top: 0;
  left: 0;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  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-muted);
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 16px 20px 16px 50px; /* Space for icon */
  background: rgba(15, 12, 41, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 50px; /* Pill shape inputs */
  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-primary);
  box-shadow: 0 0 15px rgba(0, 242, 234, 0.2);
  background: rgba(15, 12, 41, 0.8);
}

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

/* --- Custom Checkbox --- */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}

.custom-checkbox input {
  display: none; /* Hide default */
}

.checkmark {
  width: 24px;
  height: 24px;
  background: rgba(15, 12, 41, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--bg-dark);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Checked State */
.custom-checkbox input:checked + .checkmark {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.custom-checkbox input:checked + .checkmark .check-icon {
  opacity: 1;
  transform: scale(1);
}

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

/* --- Fake Captcha --- */
.captcha-box {
  background: #f9f9f9; /* Classic light captcha look or keep dark? let's keep dark consistent */
  background: rgba(
    255,
    255,
    255,
    0.9
  ); /* Light bg for contrast like real captcha */
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border: 1px solid #d3d3d3;
}

.captcha-label {
  color: #333; /* Dark text for light bg */
  font-weight: 500;
  align-items: center;
}

.captcha-mark {
  background: #fff;
  border: 2px solid #c1c1c1;
  border-radius: 4px;
  width: 28px;
  height: 28px;
}

.captcha-label input:checked + .captcha-mark {
  background: #00a800; /* Green success */
  border-color: #00a800;
}

.captcha-logo {
  width: 32px;
  opacity: 0.5;
}

/* --- Submit Button & Note --- */
.btn--full {
  width: 100%;
  justify-content: center;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Success Message --- */
.success-message {
  display: none; /* Hidden initially */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.5s ease;
}

.success-message.active {
  display: flex;
}

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

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

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

.success-message h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 350px;
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  max-width: 400px;
  width: 90%;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.cookie-content {
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-icon {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  display: flex;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex-grow: 1;
}

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

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* --- Pages Styles (Privacy, Terms, etc.) --- */
/* This styles the <section class="pages"> block */

.pages {
  padding: 180px 0 100px; /* Large top padding because of fixed header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Reading width */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #fff, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

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

.pages p {
  color: var(--text-muted);
  margin-bottom: 20px;
  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;
  padding-left: 10px;
}

.pages li::marker {
  color: var(--accent-secondary);
}

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

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

.pages a:hover {
  color: #fff;
}

/* --- Validation Errors --- */
.form-input.error {
  border-color: #ff0055 !important;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.4) !important;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}
