/* --- GLOBAL VARS & RESET --- */
:root {
  /* Palette: Soft Clay Style */
  --bg-body: #f0f2f5; /* Very light grey-blue */
  --surface: #ffffff;
  --primary: #2d5bff; /* Vivid Ultramarine */
  --primary-dark: #1a3ecc;
  --accent: #ff6b6b; /* Soft Coral */
  --text-dark: #1a1c29;
  --text-grey: #6e7585;

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

  /* Shapes */
  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 12px;
  --header-height: 90px;

  /* Claymorphism Shadows (The Secret Sauce) */
  --shadow-soft: 10px 10px 20px rgba(174, 174, 192, 0.4),
    -10px -10px 20px #ffffff;
  --shadow-float: 20px 20px 60px rgba(174, 174, 192, 0.5),
    -20px -20px 60px #ffffff;
  --shadow-inner: inset 5px 5px 10px rgba(166, 171, 189, 0.2),
    inset -5px -5px 10px rgba(255, 255, 255, 0.7);

  --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy feel */
}

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

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

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

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header__capsule {
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 100px; /* Capsule shape */
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(45, 91, 255, 0.4);
}

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

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

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

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

.header__link:hover,
.header__link.active {
  color: var(--primary);
}

/* Claymorphism Dot Indicator for Active Link */
.header__link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.header__cta {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(45, 91, 255, 0.3);
  transition: var(--transition);
}

.header__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(45, 91, 255, 0.4);
  background: var(--primary-dark);
}

.icon--btn {
  width: 18px;
  height: 18px;
}

/* Custom Burger (Dots style) */
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-body);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-inner);
}

.burger-dots {
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

.burger-dots::before,
.burger-dots::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

.burger-dots::before {
  top: -6px;
}
.burger-dots::after {
  top: 6px;
}

/* --- STAGE 2: FOOTER (Card Style) --- */
.footer {
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-float); /* Big floating effect */
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 2px dashed #e5e8f0;
}

.footer__logo-lg {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--text-grey);
  max-width: 320px;
  font-size: 1.05rem;
}

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

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--text-grey);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--text-grey);
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: #e8edff;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa0b1;
  font-size: 0.9rem;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.footer__socials a:hover {
  transform: translateY(-4px);
  color: var(--primary);
  box-shadow: 5px 5px 15px rgba(45, 91, 255, 0.2), -5px -5px 15px #fff;
}

/* --- PAGE STYLES (Legal) --- */
.pages {
  padding: 160px 0 100px;
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

.pages p,
.pages li {
  color: var(--text-grey);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
  .header__burger {
    display: flex;
  }

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

@media (max-width: 768px) {
  .footer__card {
    padding: 30px;
    border-radius: 24px;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header {
    top: 10px;
    padding: 0 10px;
  }
  .header__capsule {
    padding: 10px 16px;
  }

  /* Mobile Menu Style */
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: var(--surface);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-float);
    z-index: 999;
    align-items: flex-start;
  }

  .header__list {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  .header__cta {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .header__burger.active .burger-dots {
    background: transparent;
  }
  .header__burger.active .burger-dots::before {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .header__burger.active .burger-dots::after {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* --- STAGE 3: HERO SECTION --- */
.hero {
  position: relative;
  padding-top: 180px; /* Space for floating header */
  padding-bottom: 100px;
  overflow: hidden;
  min-height: 100vh; /* Full screen feel */
  display: flex;
  align-items: center;
}

/* Background gradient spot */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(45, 91, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  filter: blur(60px);
}

.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: #e8edff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero__title {
  font-family: var(--font-head);
  font-size: 4rem; /* Big Typography */
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

/* Underline decoration */
.hero__title .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(45, 91, 255, 0.15);
  z-index: -1;
  transform: skewX(-10deg);
}

.hero__text {
  font-size: 1.25rem;
  color: var(--text-grey);
  margin-bottom: 40px;
  max-width: 500px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(45, 91, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(45, 91, 255, 0.4);
}

.btn--secondary {
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:hover {
  transform: translateY(-4px);
  color: var(--primary);
}

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

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

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

.stat-label {
  font-size: 0.9rem;
  color: var(--text-grey);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #dadce5;
}

/* -- Right Visual (Claymorphism) -- */
.hero__visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* For 3D effect */
}

/* Background amorphous blob */
.visual-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #e0e7ff 0%, #f5f7fa 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  animation: blobMorph 8s ease-in-out infinite alternate;
}

@keyframes blobMorph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* The Main Phone/Interface Card */
.clay-phone {
  width: 340px;
  height: 520px;
  background: var(--surface);
  border-radius: 40px;
  box-shadow: var(--shadow-float);
  border: 4px solid white;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: transform 0.1s ease-out; /* Smooth JS movement */
}

.phone-header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.phone-cam {
  width: 40px;
  height: 6px;
  background: #e5e8f0;
  border-radius: 10px;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Chat Bubbles */
.chat-bubble {
  padding: 12px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  max-width: 85%;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.chat-bubble.left {
  background: white;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.right {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 5px 5px 15px rgba(45, 91, 255, 0.3);
}

.chat-bubble.highlight-bubble {
  background: #e0ffe4; /* Light Green */
  color: #008a2e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Floating Coin Notification */
.floating-coin {
  position: absolute;
  bottom: 60px;
  right: -40px;
  background: white;
  padding: 12px 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  box-shadow: var(--shadow-float);
  animation: float 4s ease-in-out infinite;
}

/* Small Floating Cards */
.clay-card-sm {
  position: absolute;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3;
  transition: transform 0.1s ease-out;
}

.clay-card-sm .icon-box {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.clay-card-sm .icon-box svg {
  width: 16px;
  height: 16px;
}

.card-1 {
  top: 100px;
  left: -40px;
}
.card-2 {
  bottom: 80px;
  left: -60px;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 3rem;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__badge {
    margin: 0 auto 24px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    height: 500px;
    margin-top: 40px;
  }
  .clay-phone {
    width: 280px;
    height: 450px;
    margin: 0 auto;
  }
  .floating-coin {
    right: -10px;
  }
  .card-1 {
    left: 10%;
  }
  .card-2 {
    left: 5%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
  }
  .hero__title {
    font-size: 2.4rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }
  .hero__stats {
    flex-direction: column;
    gap: 15px;
  }

  /* Disable complex parallax on mobile for performance */
  .hero__visual {
    pointer-events: none;
  }
}

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

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

.tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(45, 91, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

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

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

.text--highlight {
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* --- CLAY CARDS GRID --- */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.clay-card {
  background: var(--surface);
  border-radius: 30px; /* Hyper-rounded */
  padding: 40px 30px;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.6);

  /* Claymorphism Effect: Outer Shadow + Inner Light */
  box-shadow: 20px 20px 60px rgba(174, 174, 192, 0.4), -20px -20px 60px #ffffff,
    inset 0 0 0 rgba(255, 255, 255, 0); /* Prepared for hover */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clay-card:hover {
  transform: translateY(-15px);
  /* Deeper shadow on lift */
  box-shadow: 25px 25px 70px rgba(174, 174, 192, 0.5), -25px -25px 70px #ffffff;
}

/* Icons styling */
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

/* Icon Colors */
.icon-blue {
  background: linear-gradient(135deg, #2d5bff, #6b8cff);
}
.icon-purple {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
}
.icon-green {
  background: linear-gradient(135deg, #00b09b, #96c93d);
}
.icon-orange {
  background: linear-gradient(135deg, #f2994a, #f2c94c);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.card-text {
  font-size: 1rem;
  color: var(--text-grey);
  margin-bottom: 30px;
  flex-grow: 1; /* Pushes link to bottom */
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.card-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.card-link:hover svg {
  transform: translateX(5px);
}

/* Scroll Animation Initial State */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .clay-card {
    padding: 30px 20px;
  }
}

/* --- INTEGRATION SECTION --- */
.integration {
  padding: 100px 0;
  overflow: hidden; /* Hide decorative line overflow */
}

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

/* -- Text Column -- */
.integration__features {
  margin: 30px 0;
}

.integration__features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
}

.check-icon {
  color: var(--primary);
  background: #e8edff;
  border-radius: 50%;
  padding: 3px;
  width: 24px;
  height: 24px;
}

.mt-30 {
  margin-top: 30px;
}

/* -- Visual Column (Asymmetric Steps) -- */
.integration__visual {
  position: relative;
  height: 600px;
  display: flex;
  flex-direction: column;
}

/* Connecting Line */
.steps-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.clay-step {
  background: var(--surface);
  border-radius: 30px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 380px;
  position: absolute;
  /* Clay shadow */
  box-shadow: 10px 10px 30px rgba(174, 174, 192, 0.3), -10px -10px 30px #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.clay-step:hover {
  transform: scale(1.05);
  z-index: 10;
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(45, 91, 255, 0.2); /* Faded number */
  border: 2px solid rgba(45, 91, 255, 0.1);
  border-radius: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.step-info p {
  font-size: 0.9rem;
  color: var(--text-grey);
  line-height: 1.4;
}

/* Positioning for Asymmetry */
.step-1 {
  top: 20px;
  left: 0;
  z-index: 1;
}

.step-2 {
  top: 200px;
  right: 0; /* Shifted to right */
  z-index: 2;
  background: #fafbff; /* Slightly different tone */
}

.step-3 {
  bottom: 40px;
  left: 40px; /* Shifted back left */
  z-index: 3;
}

/* "No Code" Badge on Step 2 */
.step-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 12px;
  transform: rotate(10deg);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .integration__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .integration__visual {
    height: 500px;
    align-items: center;
  }

  .clay-step {
    position: relative; /* Stack them vertically on mobile */
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 20px;
    width: 100%;
  }

  .steps-line {
    display: none;
  } /* Hide complex line on mobile */
}

/* --- BLOG SECTION --- */
.blog {
  padding: 100px 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
}

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

.blog-card {
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Clay Shadow */
  box-shadow: 15px 15px 40px rgba(174, 174, 192, 0.2), -15px -15px 40px #ffffff;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 20px 20px 50px rgba(174, 174, 192, 0.3), -20px -20px 50px #ffffff;
}

/* Image Area with Glass Effect */
.blog-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e8edff; /* Fallback color */
}

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

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

/* Glassmorphism Badge */
.glass-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.25); /* Semi-transparent white */
  backdrop-filter: blur(12px); /* Blur effect */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.glass-tag .category {
  color: var(--primary);
  position: relative;
  padding-left: 12px;
}

.glass-tag .category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* Content Area */
.blog-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.blog-title a {
  color: var(--text-dark);
  transition: color 0.3s;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--text-grey);
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.read-more:hover svg {
  transform: translate(3px, -3px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- FAQ SECTION --- */
.faq {
  padding: 100px 0;
}

.faq__container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

/* -- Left Side -- */
.faq__header {
  position: sticky;
  top: 120px; /* Stick when scrolling */
}

.support-badge {
  margin-top: 40px;
  background: var(--surface);
  padding: 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 300px;
}

.avatars {
  display: flex;
  padding-left: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -15px;
  background-size: cover;
}

/* Simulated avatars with colors */
.c1 {
  background: #ff9a9e;
}
.c2 {
  background: #a18cd1;
}
.c3 {
  background: #84fab0;
}

.support-text p {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 2px;
}

.support-text a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

/* -- Right Side (Accordion) -- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clay-accordion {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 10px 10px 20px rgba(174, 174, 192, 0.2), -10px -10px 20px #ffffff;
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.clay-accordion:hover {
  box-shadow: 15px 15px 30px rgba(174, 174, 192, 0.25), -15px -15px 30px #ffffff;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.question {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-right: 20px;
}

.icon-wrap {
  width: 36px;
  height: 36px;
  background: #e8edff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
}

/* Active State */
.clay-accordion.active .icon-wrap {
  background: var(--primary);
  color: white;
  transform: rotate(45deg); /* Plus becomes X (or minimal rotate) */
}

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

.content-inner {
  padding: 0 30px 30px;
  color: var(--text-grey);
  line-height: 1.6;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .faq__container {
    grid-template-columns: 1fr;
  }

  .faq__header {
    position: static;
    margin-bottom: 40px;
    text-align: center;
  }

  .support-badge {
    margin: 30px auto 0;
  }
}

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

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

/* Info Side */
.contact__direct {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.direct-item .icon-box {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.direct-item .label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-grey);
  margin-bottom: 4px;
}

.direct-item .value {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Form Side */
.clay-form {
  background: var(--surface);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  min-height: 500px;
}

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

/* Input Fields (Pressed Clay Effect) */
.input-group {
  margin-bottom: 20px;
  position: relative;
}

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

.input-wrapper {
  position: relative;
}

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

.clay-form input {
  width: 100%;
  padding: 16px 20px 16px 50px; /* Space for icon */
  border-radius: 16px;
  border: none;
  background: #f0f2f5;
  /* Inset Shadow for "Pressed" look */
  box-shadow: inset 5px 5px 10px rgba(166, 171, 189, 0.2),
    inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.clay-form input:focus {
  box-shadow: inset 2px 2px 5px rgba(166, 171, 189, 0.2),
    inset -2px -2px 5px rgba(255, 255, 255, 0.8), 0 0 0 2px var(--primary); /* Focus ring */
}

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

.input-group.error input {
  box-shadow: inset 2px 2px 5px rgba(255, 77, 77, 0.1),
    inset -2px -2px 5px rgba(255, 77, 77, 0.1), 0 0 0 1px #ff4d4d;
}

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

/* Custom Captcha */
.captcha-box {
  background: #f9fafc;
  border: 1px solid #dce2f0;
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c7d6;
  border-radius: 4px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.captcha-checkbox .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #c1c7d6;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.captcha-checkbox .check-mark {
  display: none;
  color: #00b09b;
  width: 20px;
  height: 20px;
}

/* Captcha States */
.captcha-box.loading .spinner {
  display: block;
}
.captcha-box.checked .spinner {
  display: none;
}
.captcha-box.checked .check-mark {
  display: block;
}
.captcha-box.checked .captcha-checkbox {
  border-color: transparent;
}

.captcha-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  flex-grow: 1;
}
.captcha-logo {
  height: 28px;
  opacity: 0.7;
}

/* Privacy Checkbox */
.privacy-check {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  cursor: pointer;
  align-items: flex-start;
}

.privacy-check input {
  display: none;
}

.privacy-check .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #c1c7d6;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.privacy-check input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.privacy-check input:checked + .checkmark::after {
  content: "✔";
  color: white;
  font-size: 12px;
}

.privacy-text {
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.4;
}
.privacy-text a {
  color: var(--primary);
  text-decoration: underline;
}

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

/* Success State */
.form-success {
  display: none; /* Hidden initially */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 400px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #00b09b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0, 176, 155, 0.4);
}
.success-icon svg {
  width: 40px;
  height: 40px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
  max-width: 400px;
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-float);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(150%); /* Hidden */
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.cookie-content {
  display: flex;
  gap: 15px;
  align-items: center;
}
.cookie-icon {
  color: var(--primary);
}
.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-grey);
}
.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}
.btn--sm {
  padding: 8px 20px;
  font-size: 0.9rem;
  align-self: flex-end;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__form-wrapper {
    order: -1;
  } /* Form first on mobile */
}
