/* ============================================================
   RelayPro — Stylesheet
   2026 · Bwiser B.V.
   ============================================================ */

@layer reset, base, layout, components, sections, animations;

/* ============================================================
   RESET
   ============================================================ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100dvh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
  ul, ol { list-style: none; }
  details summary { cursor: pointer; }
  details summary::-webkit-details-marker { display: none; }
  details summary::marker { content: ''; }
}

/* ============================================================
   BASE — Variables, Typography
   ============================================================ */
@layer base {
  :root {
    /* Blues (RelayPro brand) */
    --blue-50:  #F0F4F8;
    --blue-100: #D9E2EC;
    --blue-200: #BCCCDC;
    --blue-300: #9FB3C8;
    --blue-400: #6B8AAD;
    --blue-500: #1B3A5C;
    --blue-600: #17324F;
    --blue-700: #132942;
    --blue-800: #0F2035;
    --blue-900: #0A1628;

    /* Surfaces */
    --surface-dark:    #060810;
    --surface-darker:  #030408;
    --surface-mid:     #0D1018;
    --surface-light:   #F5F7FA;
    --surface-lighter: #FAFBFC;
    --surface-white:   #FFFFFF;

    /* Text */
    --text-primary:    #121520;
    --text-secondary:  #4A4E5A;
    --text-muted:      #7C808A;
    --text-light:      #DEE0E5;
    --text-lighter:    #A0A4AC;

    /* Accents */
    --accent-500: #2E75B6;
    --accent-400: #4A8EC8;
    --red-500:  #E74C3C;
    --red-100:  #FDEDEC;
    --red-bg:   rgba(231, 76, 60, 0.08);
    --green-500: #27AE60;
    --green-400: #34D399;

    /* Fonts */
    --font-display: 'Sora', system-ui, -apple-system, sans-serif;
    --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono:    'Fira Code', ui-monospace, 'Cascadia Code', monospace;

    /* Sizes */
    --container: 1200px;
    --container-narrow: 800px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 9rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.5s;
  }

  body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--surface-white);
  }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
    letter-spacing: -0.02em;
  }

  h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
  h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
  h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

  p { max-width: 65ch; }
  strong { font-weight: 600; }

  .text--red { color: var(--red-500); }
  .text--blue { color: var(--blue-500); }
  .text--green { color: var(--green-500); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }

  .container--narrow { max-width: var(--container-narrow); }

  .section {
    padding-block: var(--space-3xl);
    position: relative;
    overflow: hidden;
  }

  .section--light { background: var(--surface-white); }
  .section--subtle { background: var(--surface-light); }

  .section--dark {
    background: var(--surface-dark);
    color: var(--text-light);
  }

  .section--terminal {
    background: var(--surface-darker);
    color: var(--text-light);
  }

  .section--cta {
    background: var(--surface-dark);
    color: var(--text-light);
  }

  .section__header {
    max-width: 720px;
    margin-bottom: var(--space-xl);
  }

  .section__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: var(--space-sm);
  }

  .section__label--light { color: var(--blue-400); }

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

  .section__title--light { color: var(--surface-white); }

  .section__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 60ch;
  }

  .section--dark .section__subtitle { color: var(--text-lighter); }
}

/* ============================================================
   COMPONENTS — Buttons, Badges, Cards
   ============================================================ */
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
  }

  .btn--primary {
    background: var(--blue-500);
    color: #fff;
    border-color: var(--blue-500);
  }
  .btn--primary:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(27, 58, 92, 0.35);
  }

  .btn--ghost {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
  }
  .btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
  }

  .btn--outline {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
  }
  .btn--outline:hover {
    border-color: var(--blue-500);
    color: var(--blue-600);
  }

  .btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
  .btn--lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }
  .btn--full { width: 100%; }

  .badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: rgba(27, 58, 92, 0.1);
    color: var(--blue-400);
    border: 1px solid rgba(27, 58, 92, 0.2);
    margin-bottom: var(--space-md);
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
@layer sections {

  /* ================================
     NAVIGATION
     ================================ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s var(--ease-out);
  }

  .nav--scrolled {
    background: rgba(6, 8, 16, 0.92);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(27, 58, 92, 0.15);
  }

  .nav__container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--surface-white);
    flex-shrink: 0;
  }

  .nav__logo-accent { color: var(--blue-400); }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
  }

  .nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-lighter);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
  }

  .nav__link:hover {
    color: var(--surface-white);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav__cta { flex-shrink: 0; }

  .nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    padding: 6px;
  }

  .nav__toggle-bar {
    display: block;
    height: 2px;
    background: var(--surface-white);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
  }

  .nav__toggle--open .nav__toggle-bar:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
  }
  .nav__toggle--open .nav__toggle-bar:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
  }

  /* ---- Language Switcher ---- */
  .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
  .lang-switch__option {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
  }
  .lang-switch__option:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }
  .lang-switch__option--active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
  }
  .lang-switch__flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
  }

  @media (max-width: 900px) {
    .nav__links {
      display: none;
      position: absolute;
      top: 100%; left: 0; right: 0;
      flex-direction: column;
      background: rgba(6, 8, 16, 0.97);
      backdrop-filter: blur(16px);
      padding: 1rem 1.5rem 1.5rem;
      border-bottom: 1px solid rgba(27, 58, 92, 0.15);
    }
    .nav__links--open { display: flex; }
    .nav__link { padding: 0.75rem 0; width: 100%; }
    .nav__link.callpro-cta-link { width: auto; align-self: flex-start; padding: 0.5rem 1rem; margin-left: 0; margin-top: 0.25rem; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .lang-switch {
      margin: 1rem 0 0;
      padding: 1rem 0 0;
      border-left: none;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      justify-content: center;
    }
  }

  /* ================================
     HERO
     ================================ */
  .hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--surface-dark);
    color: var(--surface-white);
    overflow: hidden;
    padding-top: 5rem;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero__grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(27, 58, 92, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(27, 58, 92, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black, transparent);
  }

  .hero__glow {
    position: absolute;
    width: 600px; height: 600px;
    top: -100px; right: -100px;
    background: radial-gradient(circle, rgba(27, 58, 92, 0.12) 0%, transparent 70%);
    border-radius: 50%;
  }

  .hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding-block: var(--space-xl);
  }

  .hero__title { color: var(--surface-white); }
  .hero__title-line { display: block; }
  .hero__accent { color: var(--blue-300); }

  .hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-lighter);
    margin-top: var(--space-md);
    max-width: 50ch;
  }

  .hero__ctas {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
  }

  .hero__proof {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero__proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero__proof-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--blue-300);
  }

  .hero__proof-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .hero__proof-divider {
    width: 1px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
  }

  @media (max-width: 900px) {
    .hero__container { grid-template-columns: 1fr; text-align: left; }
    .hero__visual { display: none; }
    .hero__proof { gap: var(--space-md); }
    .hero { min-height: auto; padding-block: 8rem 4rem; }
  }

  /* ---- Dashboard Mockup ---- */
  .dashboard {
    background: var(--surface-mid);
    border: 1px solid rgba(27, 58, 92, 0.2);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(27, 58, 92, 0.1);
    transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
    transition: transform 0.6s var(--ease-out);
  }

  .dashboard:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
  }

  .dashboard__header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dashboard__dot { width: 10px; height: 10px; border-radius: 50%; }
  .dashboard__dot--red { background: #FF5F57; }
  .dashboard__dot--yellow { background: #FEBC2E; }
  .dashboard__dot--green { background: #28C840; }

  .dashboard__title {
    margin-left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .dashboard__rows { padding: 0.5rem 0; }

  .dashboard__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.4s var(--ease-out);
  }

  .dashboard--animate .dashboard__row {
    opacity: 1;
    transform: translateX(0);
  }

  .dashboard--animate .dashboard__row[data-delay="0"] { transition-delay: 0.2s; }
  .dashboard--animate .dashboard__row[data-delay="1"] { transition-delay: 0.4s; }
  .dashboard--animate .dashboard__row[data-delay="2"] { transition-delay: 0.6s; }
  .dashboard--animate .dashboard__row[data-delay="3"] { transition-delay: 0.8s; }
  .dashboard--animate .dashboard__row[data-delay="4"] { transition-delay: 1.0s; }

  .dashboard__row-icon {
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(27, 58, 92, 0.15);
    color: var(--blue-300);
  }

  .dashboard__row--highlight .dashboard__row-icon {
    background: rgba(39, 174, 96, 0.15);
    color: var(--green-400);
  }

  .dashboard__row-text {
    flex: 1;
    color: var(--text-light);
  }

  .dashboard__row-value {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(27, 58, 92, 0.12);
    color: var(--blue-300);
  }

  .dashboard__row--highlight .dashboard__row-value {
    background: rgba(39, 174, 96, 0.12);
    color: var(--green-400);
  }

  .dashboard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
    font-size: 0.82rem;
    color: var(--text-muted);
  }

  .dashboard__footer-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .dashboard__footer-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--blue-300);
  }

  /* ================================
     PROBLEEM — Stats, Pain Cards
     ================================ */
  .pain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }

  .pain-card {
    background: var(--surface-lighter);
    border: 1px solid rgba(231, 76, 60, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.3s;
  }

  .pain-card:hover {
    border-color: rgba(231, 76, 60, 0.25);
  }

  .pain-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .pain-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .pain-card__text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
  }

  .solution-box {
    max-width: 540px;
    margin-inline: auto;
    background: var(--surface-lighter);
    border: 1px solid rgba(27, 58, 92, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
  }

  .solution-box__title {
    color: var(--blue-500);
    margin-bottom: 0.5rem;
  }

  .solution-box__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-inline: auto;
  }

  /* ================================
     HOE HET WERKT — Steps
     ================================ */
  .steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: var(--space-lg);
  }

  .step {
    flex: 1;
    text-align: center;
    padding: var(--space-md);
  }

  .step__number {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blue-400);
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
  }

  .step__icon {
    width: 56px; height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(27, 58, 92, 0.12);
    border: 1px solid rgba(27, 58, 92, 0.18);
    color: var(--blue-300);
  }

  .step__icon svg { width: 28px; height: 28px; }

  .step__title {
    color: var(--surface-white);
    margin-bottom: 0.5rem;
  }

  .step__text {
    font-size: 0.92rem;
    color: var(--text-lighter);
    max-width: 30ch;
    margin-inline: auto;
    line-height: 1.6;
  }

  .step__connector {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 58, 92, 0.35), transparent);
    margin-top: 5.5rem;
    flex-shrink: 0;
  }

  @media (max-width: 768px) {
    .steps { flex-direction: column; gap: var(--space-md); }
    .step__connector {
      width: 1px; height: 40px;
      background: linear-gradient(180deg, transparent, rgba(27, 58, 92, 0.35), transparent);
      margin: 0 auto;
    }
  }

  /* ================================
     FEATURES
     ================================ */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .feature {
    padding: var(--space-lg);
    background: var(--surface-lighter);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .feature:hover {
    border-color: rgba(27, 58, 92, 0.2);
    box-shadow: 0 8px 32px rgba(27, 58, 92, 0.06);
  }

  .feature__icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    margin-bottom: var(--space-sm);
  }

  .feature__icon svg { width: 32px; height: 32px; }

  .feature__title {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }

  .feature__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  @media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

  /* ================================
     INTEGRATIONS
     ================================ */
  .integrations-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    max-width: 860px;
    margin-inline: auto;
  }

  .integrations-card__title {
    font-size: 1.4rem;
    color: var(--surface-white);
    margin-bottom: var(--space-sm);
  }

  .integrations-card__text {
    font-size: 1rem;
    color: var(--text-lighter);
    margin-inline: auto;
    line-height: 1.7;
  }

  .integrations-card__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: rgba(27, 58, 92, 0.15);
    color: var(--blue-300);
    margin-bottom: var(--space-md);
  }

  /* ================================
     CALLOUT (Cross-sell)
     ================================ */
  .callout {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg) var(--space-xl);
    background: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.15);
    border-radius: var(--radius-lg);
    max-width: 860px;
    margin-inline: auto;
  }

  .callout__icon {
    width: 56px; height: 56px;
    flex-shrink: 0;
    color: var(--green-500);
  }

  .callout__icon svg { width: 48px; height: 48px; }

  .callout__title {
    color: var(--surface-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .callout__text {
    color: var(--text-lighter);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 55ch;
  }

  .callout__text--muted {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.75rem;
  }

  @media (max-width: 640px) {
    .callout { flex-direction: column; gap: var(--space-sm); padding: var(--space-md); }
  }

  /* ================================
     USE CASES
     ================================ */
  .usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .usecase {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color 0.3s;
  }

  .usecase:hover { border-color: rgba(255, 255, 255, 0.12); }

  .usecase--flagship {
    grid-column: 1 / -1;
    background: rgba(27, 58, 92, 0.06);
    border-color: rgba(27, 58, 92, 0.2);
    padding: var(--space-lg);
  }

  .usecase--flagship:hover { border-color: rgba(27, 58, 92, 0.35); }

  .usecase__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue-400);
    margin-bottom: 0.5rem;
  }

  .usecase__title {
    font-size: 1.15rem;
    color: var(--surface-white);
    margin-bottom: 0.15rem;
  }

  .usecase--flagship .usecase__title { font-size: 1.4rem; }

  .usecase__type {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
  }

  .usecase__text {
    font-size: 0.9rem;
    color: var(--text-lighter);
    line-height: 1.6;
    max-width: none;
  }

  .usecase--flagship .usecase__text { font-size: 0.95rem; }

  .usecase__clients {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
  }

  .usecase__client {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
  }

  @media (max-width: 900px) { .usecases-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .usecases-grid { grid-template-columns: 1fr; } }

  /* ================================
     SECURITY
     ================================ */
  .privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .privacy-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--surface-lighter);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-md);
    transition: border-color 0.3s;
  }

  .privacy-card:hover { border-color: rgba(27, 58, 92, 0.2); }

  .privacy-card__icon {
    width: 48px; height: 48px;
    margin: 0 auto var(--space-sm);
    color: var(--blue-500);
  }

  .privacy-card__icon svg { width: 40px; height: 40px; }
  .privacy-card__title { margin-bottom: 0.5rem; }

  .privacy-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-inline: auto;
  }

  @media (max-width: 900px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .privacy-grid { grid-template-columns: 1fr; } }

  /* ================================
     PRO ECOSYSTEEM
     ================================ */
  .eco-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  .eco-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color 0.3s, background 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .eco-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
  }

  .eco-card--active {
    border-color: rgba(27, 58, 92, 0.4);
    background: rgba(27, 58, 92, 0.08);
  }

  .eco-card--active:hover {
    border-color: rgba(27, 58, 92, 0.6);
    background: rgba(27, 58, 92, 0.12);
  }

  .eco-card__color {
    width: 32px; height: 4px;
    border-radius: 2px;
    background: var(--eco-color);
    margin-bottom: var(--space-sm);
  }

  .eco-card__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--surface-white);
    margin-bottom: 0.15rem;
  }

  .eco-card__type {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
  }

  .eco-card__desc {
    font-size: 0.82rem;
    color: var(--text-lighter);
    line-height: 1.55;
    flex: 1;
  }

  .eco-card__clients {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
  }

  .eco-card__client {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
  }

  .eco-card:hover .eco-card__client {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-lighter);
  }

  .eco-card__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--blue-300);
    background: rgba(27, 58, 92, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
  }

  @media (max-width: 1024px) { .eco-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 640px) { .eco-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 420px) { .eco-grid { grid-template-columns: 1fr; } }

  /* ================================
     PRICING
     ================================ */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
  }

  .pricing-card {
    background: var(--surface-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .pricing-card:hover { border-color: rgba(0, 0, 0, 0.15); }

  .pricing-card--featured {
    border-color: var(--blue-500);
    box-shadow: 0 12px 40px rgba(27, 58, 92, 0.12);
    transform: scale(1.03);
  }

  .pricing-card--featured:hover {
    border-color: var(--blue-500);
    box-shadow: 0 16px 56px rgba(27, 58, 92, 0.18);
  }

  .pricing-card__badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    background: var(--blue-500);
    color: #fff;
    border-radius: 100px;
  }

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

  .pricing-card__name {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
  }

  .pricing-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
  }

  .pricing-card__price {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .pricing-card__amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
  }

  .pricing-card__period {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
  }

  .pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-lg);
  }

  .pricing-card__features li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
  }

  .pricing-card__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--blue-500);
    font-weight: 700;
    font-size: 0.85rem;
  }

  @media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .pricing-card--featured { transform: none; }
  }

  /* ================================
     FAQ
     ================================ */
  .faq-list {
    display: flex;
    flex-direction: column;
  }

  .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s;
    list-style: none;
  }

  .faq-item__question:hover { color: var(--blue-600); }

  .faq-item__icon {
    width: 24px; height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s var(--ease-out);
  }

  .faq-item__icon::before,
  .faq-item__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
  }

  .faq-item__icon::before {
    width: 14px; height: 2px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }

  .faq-item__icon::after {
    width: 2px; height: 14px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease-out);
  }

  .faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }

  .faq-item__answer { padding-bottom: 1.25rem; }

  .faq-item__answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  /* ================================
     CTA / CONTACT
     ================================ */
  .cta-content { text-align: center; }

  .cta__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--surface-white);
    margin-bottom: var(--space-sm);
  }

  .cta__text {
    font-size: 1.1rem;
    color: var(--text-lighter);
    margin-inline: auto;
    margin-bottom: var(--space-xl);
  }

  .cta-form {
    max-width: 560px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
  }

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

  @media (max-width: 540px) { .cta-form__row { grid-template-columns: 1fr; } }

  .cta-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
  }

  .cta-form__optional {
    font-weight: 400;
    color: var(--text-muted);
  }

  .cta-form__input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--surface-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
  }

  .cta-form__input::placeholder { color: var(--text-muted); }

  .cta-form__input:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.2);
  }

  .cta-form__textarea { resize: vertical; min-height: 80px; }
  .cta-form .btn { margin-top: var(--space-xs); }

  .cta-form__hp {
    position: absolute;
    left: -9999px; top: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .cta-form__feedback {
    text-align: center;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    min-height: 1.5em;
  }

  .cta-form__feedback--success { color: var(--green-400); }
  .cta-form__feedback--error { color: var(--red-500); }

  .cta-alt {
    margin-top: var(--space-lg);
    font-size: 0.92rem;
    color: var(--text-muted);
  }

  .cta-alt a {
    color: var(--blue-300);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .cta-alt a:hover { color: var(--blue-200); }

  .cta-alt__phone {
    font-family: var(--font-mono);
    font-weight: 500;
  }

  /* ================================
     FOOTER
     ================================ */
  .footer {
    background: var(--surface-darker);
    color: var(--text-muted);
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid rgba(27, 58, 92, 0.1);
  }

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

  .footer__logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-light);
    display: block;
    margin-bottom: var(--space-sm);
  }

  .footer__logo-accent { color: var(--blue-300); }

  .footer__tagline {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
  }

  .footer__heading {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-lighter);
    margin-bottom: var(--space-sm);
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer__links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
  }

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

  .footer__company {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
  }

  .footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  @media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
    .footer__bottom { flex-direction: column; }
  }

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
@layer animations {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  }

  .revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
  .reveal:nth-child(4) { transition-delay: 0.24s; }
  .reveal:nth-child(5) { transition-delay: 0.32s; }
  .reveal:nth-child(6) { transition-delay: 0.4s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .dashboard__row { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
  }

  @media print {
    .nav, .hero__bg, .hero__visual { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .section { padding: 2rem 0; break-inside: avoid; }
    body { color: #000; background: #fff; }
  }
}

/* ============================================================
   CALLPRO PAGE — Dedicated /callpro/ page components
   ============================================================ */

/* ---- CallPro Badge ---- */
.callpro-badge {
  background: rgba(46, 117, 182, 0.1);
  color: var(--accent-400);
  border-color: rgba(46, 117, 182, 0.2);
}

/* ---- CallPro Detail Grid (monitoring section) ---- */
.callpro-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .callpro-detail-grid { grid-template-columns: 1fr; }
}

/* ---- CallPro Check List ---- */
.callpro-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-md);
  list-style: none;
}

.callpro-check-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.55;
}

.callpro-check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .callpro-check-list li { font-size: 0.85rem; padding-left: 1.25rem; }
}

/* ---- Agent Monitor Mockup ---- */
.callpro-monitor-mockup {
  background: var(--surface-mid);
  border: 1px solid rgba(27, 58, 92, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.callpro-monitor-mockup__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.callpro-monitor-mockup__label {
  margin-left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue-300);
  font-weight: 500;
}

.callpro-monitor-mockup__body { padding: 1.25rem; }

.callpro-monitor-mockup__agents-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.callpro-monitor-mockup__agent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.82rem;
}

.callpro-monitor-mockup__agent + .callpro-monitor-mockup__agent {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.callpro-monitor-mockup__agent-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.callpro-monitor-mockup__agent-status--call { background: #4ADE80; box-shadow: 0 0 6px rgba(74, 222, 128, 0.4); }
.callpro-monitor-mockup__agent-status--ready { background: var(--blue-300); }
.callpro-monitor-mockup__agent-status--wrap { background: #FBBF24; }

.callpro-monitor-mockup__agent-name {
  font-weight: 600;
  color: var(--text-light);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.callpro-monitor-mockup__agent-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.callpro-monitor-mockup__agent-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.callpro-monitor-mockup__agent-badge--active { color: #4ADE80; background: rgba(74, 222, 128, 0.12); }
.callpro-monitor-mockup__agent-badge--ready { color: var(--blue-300); background: rgba(27, 58, 92, 0.15); }
.callpro-monitor-mockup__agent-badge--wrap { color: #FBBF24; background: rgba(251, 191, 36, 0.12); }

.callpro-monitor-mockup__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.75rem 0;
}

.callpro-monitor-mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.callpro-monitor-mockup__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-300);
  letter-spacing: -0.02em;
}

.callpro-monitor-mockup__stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}

/* ---- Dialing Mode Cards ---- */
.callpro-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.callpro-mode-card {
  padding: var(--space-lg);
  background: var(--surface-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.callpro-mode-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

.callpro-mode-card--featured {
  border-color: var(--blue-500);
  box-shadow: 0 12px 40px rgba(27, 58, 92, 0.12);
}

.callpro-mode-card--featured:hover {
  border-color: var(--blue-500);
  box-shadow: 0 16px 56px rgba(27, 58, 92, 0.18);
}

.callpro-mode-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  background: var(--blue-500);
  color: #fff;
  border-radius: 100px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.callpro-mode-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.callpro-mode-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) {
  .callpro-modes-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .callpro-mode-card--featured { box-shadow: 0 8px 24px rgba(27, 58, 92, 0.1); }
}

/* ---- CallPro Responsive (monitor mockup) ---- */
@media (max-width: 640px) {
  .callpro-monitor-mockup__agent { flex-wrap: wrap; gap: 0.25rem; }
  .callpro-monitor-mockup__agent-name { flex: 1 1 auto; min-width: 80px; }
}

/* ---- CallPro Nav Link ---- */
.nav__link.callpro-cta-link {
  color: #2E75B6;
  background: rgba(46, 117, 182, 0.12);
  border: 1px solid rgba(46, 117, 182, 0.25);
  border-radius: var(--radius-full, 100px);
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  margin-left: 0.25rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav__link.callpro-cta-link:hover {
  color: #fff;
  background: rgba(46, 117, 182, 0.3);
  border-color: rgba(46, 117, 182, 0.5);
}
