/* ============================================================
   PAKADOM.FR — Design System & Styles
   Concept: "Liquid Interface" — Fluid, aquatic, premium
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  /* Colors */
  --deep-navy: #091B2F;
  --navy: #0F2847;
  --royal-blue: #1652F0;
  --blue: #2B6BF2;
  --sky-blue: #5B9CF6;
  --ice-blue: #C8E0FF;
  --ice: #EDF5FF;
  --frost: #F5F9FF;

  --coral: #FF5A3C;
  --coral-light: #FF7E66;
  --coral-dark: #E04428;

  --white: #FFFFFF;
  --off-white: #FAFBFD;
  --gray-100: #F0F2F5;
  --gray-200: #E1E5EB;
  --gray-300: #C4CAD4;
  --gray-400: #8F99A8;
  --gray-500: #5E6978;
  --gray-600: #3D4654;
  --gray-700: #252D38;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(9, 27, 47, 0.06);
  --shadow-md: 0 4px 20px rgba(9, 27, 47, 0.08);
  --shadow-lg: 0 8px 40px rgba(9, 27, 47, 0.12);
  --shadow-xl: 0 16px 64px rgba(9, 27, 47, 0.16);
  --shadow-coral: 0 8px 32px rgba(255, 90, 60, 0.3);
  --shadow-blue: 0 8px 32px rgba(22, 82, 240, 0.25);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out-quart);
  --transition-base: 400ms var(--ease-out-expo);
  --transition-slow: 600ms var(--ease-out-expo);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  max-width: 65ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

section {
  position: relative;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}

.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 90, 60, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--white);
  color: var(--deep-navy);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
}

.btn--secondary:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--blue {
  background: var(--royal-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn--blue:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(22, 82, 240, 0.35);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1.05rem 2.5rem;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
}

/* Liquid ripple on buttons */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(9, 27, 47, 0.06);
  padding: var(--space-sm) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  transition: color var(--transition-fast);
  z-index: 1001;
}

.nav--scrolled .nav__logo {
  color: var(--deep-navy);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav--scrolled .nav__link {
  color: var(--gray-500);
}

.nav__link:hover,
.nav--scrolled .nav__link:hover {
  color: var(--deep-navy);
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav--scrolled .nav__toggle span {
  background: var(--deep-navy);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--space-5xl) 0 var(--space-4xl);
  background: linear-gradient(165deg, var(--deep-navy) 0%, var(--navy) 40%, #0D3166 100%);
  position: relative;
  overflow: hidden;
}

/* Animated water caustics overlay */
.hero__caustics {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, var(--sky-blue), transparent),
    radial-gradient(ellipse 500px 300px at 80% 30%, var(--royal-blue), transparent),
    radial-gradient(ellipse 400px 400px at 50% 80%, var(--sky-blue), transparent);
  animation: caustics 8s ease-in-out infinite alternate;
}

@keyframes caustics {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(-10px, 15px); }
  66% { transform: scale(0.98) translate(15px, -10px); }
  100% { transform: scale(1.03) translate(-5px, 5px); }
}

/* Floating bubbles */
.hero__bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91, 156, 246, 0.2), rgba(91, 156, 246, 0.05));
  border: 1px solid rgba(91, 156, 246, 0.1);
  animation: float-up linear infinite;
}

.bubble:nth-child(1) { width: 20px; height: 20px; left: 10%; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 14px; height: 14px; left: 25%; animation-duration: 15s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 28px; height: 28px; left: 45%; animation-duration: 10s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 16px; height: 16px; left: 60%; animation-duration: 14s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 22px; height: 22px; left: 75%; animation-duration: 11s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 12px; height: 12px; left: 90%; animation-duration: 16s; animation-delay: 5s; }
.bubble:nth-child(7) { width: 18px; height: 18px; left: 35%; animation-duration: 13s; animation-delay: 7s; }
.bubble:nth-child(8) { width: 24px; height: 24px; left: 55%; animation-duration: 9s; animation-delay: 6s; }

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-110vh) scale(0.5);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__text {
  color: var(--white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ice-blue);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero__title span {
  display: block;
}

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

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero locker illustration */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.locker-illustration {
  width: 100%;
  max-width: 420px;
  position: relative;
}

.locker-svg {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
}

/* Glow behind locker */
.locker-illustration::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22, 82, 240, 0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Hero wave divider */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- SECTION GENERIC --- */
.section {
  padding: var(--space-5xl) 0;
}

.section--gray {
  background: var(--frost);
}

.section--dark {
  background: var(--deep-navy);
  color: var(--white);
}

.section--blue {
  background: linear-gradient(165deg, var(--navy), var(--deep-navy));
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--royal-blue);
  margin-bottom: var(--space-md);
}

.section--dark .section__label,
.section--blue .section__label {
  color: var(--sky-blue);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section--dark .section__title,
.section--blue .section__title {
  color: var(--white);
}

.section__description {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__description {
  color: rgba(255, 255, 255, 0.6);
}

/* --- VALUE PROPOSITIONS --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
  background: var(--royal-blue);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--royal-blue);
  transition: color var(--transition-fast);
}

.value-card:hover .value-card__icon svg {
  color: var(--white);
}

.value-card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.value-card__text {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- HOW IT WORKS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.67% + 26px);
  right: calc(16.67% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--royal-blue), var(--sky-blue), var(--coral));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all var(--transition-base);
}

.step__number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.step:hover .step__number::before {
  opacity: 1;
}

.step__number svg {
  width: 44px;
  height: 44px;
  color: var(--royal-blue);
}

.step__digit {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 32px;
  height: 32px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(255, 90, 60, 0.3);
}

.step__title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.step__text {
  color: var(--gray-400);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- FEATURES SECTION --- */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.features-split--reverse {
  direction: rtl;
}

.features-split--reverse > * {
  direction: ltr;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.feature-item:hover {
  background: var(--frost);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon svg {
  width: 24px;
  height: 24px;
  color: var(--royal-blue);
}

.feature-item__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item__text {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Feature visual / Phone mockup */
.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--deep-navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--royal-blue), var(--navy));
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  color: var(--white);
  text-align: center;
}

.phone-mockup__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--deep-navy);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__quote {
  font-size: 1.5rem;
  color: var(--ice-blue);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-navy);
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Stars */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.stars svg {
  width: 16px;
  height: 16px;
  color: #FFB800;
}

/* --- B2B TEASER --- */
.b2b-teaser {
  background: linear-gradient(165deg, var(--navy), var(--deep-navy));
  position: relative;
  overflow: hidden;
}

.b2b-teaser__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 2px 2px, var(--white) 1px, transparent 1px);
  background-size: 40px 40px;
}

.b2b-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.b2b-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stat {
  text-align: left;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--coral);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.b2b-visual {
  display: flex;
  justify-content: center;
}

.building-illustration {
  width: 100%;
  max-width: 400px;
}

/* --- BLOG PREVIEW --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--royal-blue), var(--sky-blue));
  position: relative;
  overflow: hidden;
}

.blog-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1));
}

.blog-card__tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--white);
  color: var(--royal-blue);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 1;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card__excerpt {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--gray-300);
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--royal-blue), #1040C0);
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 20% 80%, rgba(91, 156, 246, 0.3), transparent),
    radial-gradient(ellipse 400px 400px at 80% 20%, rgba(255, 90, 60, 0.15), transparent);
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
}

.cta-section .btn--primary {
  background: var(--white);
  color: var(--royal-blue);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--primary:hover {
  background: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* --- FOOTER --- */
.footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- WAVE DIVIDERS --- */
.wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--flip {
  transform: rotate(180deg);
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal--scale.reveal--visible {
  transform: scale(1);
}

/* --- COPROPRIETE PAGE --- */
.page-hero {
  padding: calc(var(--space-5xl) + 80px) 0 var(--space-4xl);
  background: linear-gradient(165deg, var(--deep-navy), var(--navy));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 2px 2px, var(--white) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Form styles */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-navy);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--deep-navy);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(22, 82, 240, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-300);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__submit {
  margin-top: var(--space-md);
}

/* Benefits grid for B2B */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.benefit-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benefit-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--royal-blue);
}

.benefit-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.benefit-card__text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .locker-illustration {
    max-width: 300px;
  }

  .values-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

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

  .b2b-stats {
    justify-items: center;
  }

  .stat {
    text-align: center;
  }

  .b2b-visual {
    order: -1;
  }

  .features-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .features-split--reverse {
    direction: ltr;
  }

  .feature-visual {
    order: -1;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
    gap: var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav__links--open {
    right: 0;
  }

  .nav__links .nav__link {
    color: var(--gray-600);
    font-size: 1.1rem;
  }

  .nav__links .nav__cta .btn {
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 27, 47, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav__overlay--visible {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--space-5xl) + 20px) 0 var(--space-3xl);
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .locker-illustration {
    max-width: 220px;
  }

  .values-grid,
  .steps,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section__header {
    margin-bottom: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  .b2b-stats {
    grid-template-columns: 1fr 1fr;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-mockup__screen {
    border-radius: 24px;
  }

  .phone-mockup__notch {
    width: 100px;
    height: 24px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .b2b-stats {
    grid-template-columns: 1fr;
  }
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
  padding: 0.75rem 0;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.breadcrumbs__item:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--gray-300);
}

.breadcrumbs__item a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.breadcrumbs__item a:hover {
  color: var(--royal-blue);
}

.breadcrumbs__item--current span {
  color: var(--gray-600);
  font-weight: 500;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--royal-blue);
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--royal-blue);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 0.9rem;
}

.faq-item__answer a {
  color: var(--royal-blue);
}

/* --- RELATED PAGES --- */
.related-pages {
  padding: var(--space-3xl) 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.related-pages__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  color: var(--deep-navy);
}

.related-pages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.related-pages__link {
  display: block;
  padding: 1.25rem;
  background: var(--frost);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  text-decoration: none;
  transition: all var(--transition-base);
}

.related-pages__link:hover {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.related-pages__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-navy);
  margin-bottom: 0.25rem;
}

.related-pages__desc {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* --- ARTICLE CONTENT --- */
.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-navy);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep-navy);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content a {
  color: var(--royal-blue);
  text-decoration: underline;
  text-decoration-color: rgba(22, 82, 240, 0.3);
  transition: text-decoration-color var(--transition-fast);
}

.article-content a:hover {
  text-decoration-color: var(--royal-blue);
}

.article-content ul, .article-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content table {
  margin: 1.5rem 0;
}

.article-content blockquote {
  margin: 2rem 0;
}

/* Blog card meta with multiple spans */
.blog-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-300);
}

/* Section blue for stats */
.section--blue {
  background: linear-gradient(165deg, var(--navy), var(--deep-navy));
  color: var(--white);
}

/* Container narrow */
.container--narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* How step responsive */
@media (max-width: 768px) {
  .how-step {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .how-step > div:first-child {
    order: 0 !important;
  }
  .how-step img {
    max-width: 200px !important;
    margin: 0 auto;
  }
}

/* --- UTILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- PRINT --- */
@media print {
  .nav, .hero__bubbles, .hero__caustics, .footer__social {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    background: none;
    color: #000;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__title, .section__title, h2 {
    color: #000;
  }
}
