@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
  ul, ol { list-style: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; }
  input, textarea, select { font: inherit; }
  h1,h2,h3,h4,h5,h6 { line-height: 1.2; }
}

@layer tokens {
  :root {
    --c-bg: #f5f6f8;
    --c-bg-2: #eef0f4;
    --c-surface: rgba(255,255,255,0.82);
    --c-surface-solid: #ffffff;
    --c-surface-glass: rgba(255,255,255,0.6);
    --c-border: rgba(30,40,80,0.10);
    --c-border-light: rgba(30,40,80,0.06);

    --c-ink: #1a1e2e;
    --c-ink-2: #3a3f55;
    --c-ink-3: #6b7190;
    --c-ink-muted: #9298b0;

    --c-primary: #2d4ef5;
    --c-primary-dark: #1a35d4;
    --c-primary-light: rgba(45,78,245,0.10);
    --c-primary-glow: rgba(45,78,245,0.22);

    --c-accent: #00c9a7;
    --c-accent-dark: #009e84;
    --c-accent-light: rgba(0,201,167,0.12);

    --c-secondary: #f0a500;
    --c-secondary-light: rgba(240,165,0,0.12);

    --c-grad-start: #1a1e2e;
    --c-grad-mid: #1e2d6b;
    --c-grad-end: #2d4ef5;

    --dot-color: rgba(45,78,245,0.08);
    --dot-size: 1.5px;
    --dot-spacing: 22px;

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;
    --sp-24: 96px;
    --sp-32: 128px;

    --shadow-xs: 0 1px 3px rgba(26,30,46,0.07), 0 1px 2px rgba(26,30,46,0.05);
    --shadow-sm: 0 2px 8px rgba(26,30,46,0.08), 0 1px 3px rgba(26,30,46,0.06);
    --shadow-md: 0 4px 16px rgba(26,30,46,0.10), 0 2px 6px rgba(26,30,46,0.07);
    --shadow-lg: 0 8px 32px rgba(26,30,46,0.12), 0 4px 12px rgba(26,30,46,0.08);
    --shadow-xl: 0 16px 48px rgba(26,30,46,0.14), 0 6px 18px rgba(26,30,46,0.08);
    --shadow-primary: 0 4px 20px rgba(45,78,245,0.25), 0 2px 8px rgba(45,78,245,0.15);
    --shadow-accent: 0 4px 20px rgba(0,201,167,0.25), 0 2px 8px rgba(0,201,167,0.15);

    --font-head: 'Urbanist', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --nav-h: 70px;
    --container: 1200px;
    --container-narrow: 800px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--c-ink);
    background-color: var(--c-bg);
    background-image: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent var(--dot-size));
    background-size: var(--dot-spacing) var(--dot-spacing);
    background-attachment: fixed;
  }

  .container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .container--narrow {
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  main { min-height: calc(100vh - var(--nav-h) - 320px); }

  .site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
  main { flex: 1; }

  section { padding-block: var(--sp-24); }

  .section-inner { padding-block: var(--sp-20); }

  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-6); }
  .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-6); }

  @media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    section { padding-block: var(--sp-16); }
  }
}

@layer components {

  /* ── NAV ── */
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(245,246,248,0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  }

  .site-nav.scrolled {
    background: rgba(245,246,248,0.96);
    box-shadow: var(--shadow-md);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
  }

  .nav-logo img, .nav-logo svg { height: 36px; width: auto; }

  .nav-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--c-ink);
    letter-spacing: -0.02em;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  .nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--c-ink-2);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--c-primary);
    background: var(--c-primary-light);
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
  }

  .lang-switcher {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    background: var(--c-surface-glass);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    padding: 3px 10px;
    backdrop-filter: blur(8px);
  }

  .lang-btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--c-ink-3);
    padding: 2px 4px;
    border-radius: var(--r-xs);
    transition: color 0.2s, background 0.2s;
  }

  .lang-btn:hover { color: var(--c-primary); }
  .lang-btn.active {
    color: var(--c-primary);
    font-weight: 700;
  }

  .lang-divider { color: var(--c-border); font-size: 0.8rem; }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--c-primary);
    color: #fff !important;
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-primary);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }

  .nav-cta:hover {
    background: var(--c-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(45,78,245,0.32);
    color: #fff !important;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    transition: background 0.2s;
  }

  .hamburger:hover { background: var(--c-primary-light); }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(245,246,248,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-6);
    z-index: 99;
    flex-direction: column;
    gap: var(--sp-2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }

  .mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--c-ink-2);
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .mobile-menu a:hover { color: var(--c-primary); background: var(--c-primary-light); }

  .mobile-menu .lang-switcher {
    align-self: flex-start;
    margin-top: var(--sp-3);
  }

  @media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1124 0%, #1a2560 45%, #1e3a8a 70%, #2d4ef5 100%);
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--c-bg));
    pointer-events: none;
  }

  .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }

  .hero-glow-1 {
    width: 500px; height: 500px;
    background: rgba(45,78,245,0.35);
    top: -100px; right: -100px;
  }

  .hero-glow-2 {
    width: 300px; height: 300px;
    background: rgba(0,201,167,0.20);
    bottom: 100px; left: 5%;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-6);
    padding-block: var(--sp-20);
  }

  .hero-content { color: #fff; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: rgba(0,201,167,0.15);
    border: 1px solid rgba(0,201,167,0.3);
    color: var(--c-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
  }

  .hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-6);
    color: #fff;
  }

  .hero-title em {
    font-style: normal;
    color: var(--c-accent);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
    max-width: 480px;
  }

  .hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s var(--ease-out);
    min-height: 48px;
    white-space: nowrap;
  }

  .btn-primary {
    background: var(--c-accent);
    color: var(--c-ink);
    box-shadow: var(--shadow-accent);
  }

  .btn-primary:hover {
    background: var(--c-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,201,167,0.38);
  }

  .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
  }

  .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
  }

  .btn-solid {
    background: var(--c-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
  }

  .btn-solid:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(45,78,245,0.38);
  }

  .btn-ghost {
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
  }

  .btn-ghost:hover {
    background: var(--c-primary-light);
    transform: translateY(-1px);
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
  }

  .hero-img-main {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1);
    aspect-ratio: 4/3;
  }

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

  .hero-float-card {
    position: absolute;
    background: var(--c-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-4) var(--sp-5);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  .hero-float-card-1 {
    bottom: -20px;
    left: -30px;
  }

  .hero-float-card-2 {
    top: -20px;
    right: -20px;
  }

  .float-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .float-icon-green { background: var(--c-accent-light); color: var(--c-accent-dark); }
  .float-icon-blue { background: var(--c-primary-light); color: var(--c-primary); }
  .float-icon-yellow { background: var(--c-secondary-light); color: var(--c-secondary); }

  .float-label { font-size: 0.72rem; color: var(--c-ink-3); font-weight: 500; }
  .float-value { font-size: 0.88rem; color: var(--c-ink); font-weight: 700; font-family: var(--font-head); }

  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: var(--sp-12); }
    .hero-visual { order: -1; }
    .hero-card-stack { max-width: 340px; }
    .hero-float-card-1 { left: -10px; }
    .hero-float-card-2 { right: -10px; }
  }

  @media (max-width: 600px) {
    .hero-actions { flex-direction: column; }
    .hero-float-card { padding: var(--sp-3); }
  }

  /* ── SECTION LABELS ── */
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: var(--sp-4);
  }

  .section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
  }

  .section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    color: var(--c-ink);
    margin-bottom: var(--sp-4);
    line-height: 1.15;
  }

  .section-title em {
    font-style: normal;
    color: var(--c-primary);
  }

  .section-desc {
    font-size: 1.05rem;
    color: var(--c-ink-2);
    line-height: 1.75;
    max-width: 560px;
  }

  .section-head { margin-bottom: var(--sp-12); }
  .section-head--center { text-align: center; }
  .section-head--center .section-label { justify-content: center; }
  .section-head--center .section-label::before { display: none; }
  .section-head--center .section-desc { margin-inline: auto; }

  /* ── CARDS ── */
  .card {
    background: var(--c-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(45,78,245,0.18);
  }

  .card-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--sp-5);
    flex-shrink: 0;
  }

  .card-icon-primary { background: var(--c-primary-light); color: var(--c-primary); }
  .card-icon-accent { background: var(--c-accent-light); color: var(--c-accent-dark); }
  .card-icon-yellow { background: var(--c-secondary-light); color: var(--c-secondary); }

  .card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.01em;
  }

  .card-text {
    font-size: 0.92rem;
    color: var(--c-ink-2);
    line-height: 1.7;
  }

  /* ── FEATURE ZIGZAG ── */
  .feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
    margin-bottom: var(--sp-20);
  }

  .feature-block:last-child { margin-bottom: 0; }

  .feature-block.reverse .feature-visual { order: 2; }
  .feature-block.reverse .feature-content { order: 1; }

  .feature-visual {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    position: relative;
  }

  .feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
  }

  .feature-visual:hover img { transform: scale(1.04); }

  .feature-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,78,245,0.15) 0%, transparent 60%);
    pointer-events: none;
  }

  .feature-content {}

  .feature-list {
    margin-top: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: 0.92rem;
    color: var(--c-ink-2);
    line-height: 1.65;
  }

  .feature-list li i {
    color: var(--c-accent-dark);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
  }

  @media (max-width: 900px) {
    .feature-block {
      grid-template-columns: 1fr;
      gap: var(--sp-8);
    }
    .feature-block.reverse .feature-visual { order: 0; }
    .feature-block.reverse .feature-content { order: 0; }
  }

  /* ── GRADIENT SECTION ── */
  .gradient-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1124 0%, #1a2560 40%, #1e3a8a 70%, #2d4ef5 100%);
    color: #fff;
    padding-block: var(--sp-24);
  }

  .gradient-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
  }

  .gradient-section-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
  }

  .gradient-section-glow-1 {
    width: 400px; height: 400px;
    background: rgba(0,201,167,0.18);
    top: -100px; right: 10%;
  }

  .gradient-section-glow-2 {
    width: 300px; height: 300px;
    background: rgba(45,78,245,0.3);
    bottom: -80px; left: 5%;
  }

  .gradient-fade-top {
    position: relative;
  }

  .gradient-fade-top::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--c-bg), transparent);
    pointer-events: none;
    z-index: 1;
  }

  /* ── TOOLS GRID ── */
  .tool-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--c-ink-2);
    box-shadow: var(--shadow-xs);
    transition: all 0.2s;
  }

  .tool-chip:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }

  .tool-chip i { font-size: 0.9rem; }

  .tools-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center;
  }

  /* ── PROCESS STEPS ── */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--sp-6);
    counter-reset: steps;
  }

  .step-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
    counter-increment: steps;
  }

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

  .step-number {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 3rem;
    color: var(--c-primary-light);
    line-height: 1;
    margin-bottom: var(--sp-4);
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .step-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-3);
  }

  .step-text {
    font-size: 0.88rem;
    color: var(--c-ink-2);
    line-height: 1.7;
  }

  /* ── FORMAT CARDS ── */
  .format-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  }

  .format-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }

  .format-card-header {
    padding: var(--sp-8);
    position: relative;
    overflow: hidden;
  }

  .format-card-header-blue {
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a35d4 100%);
    color: #fff;
  }

  .format-card-header-teal {
    background: linear-gradient(135deg, #00a389 0%, var(--c-accent) 100%);
    color: #fff;
  }

  .format-card-body {
    padding: var(--sp-8);
  }

  .format-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border-radius: var(--r-full);
    padding: 3px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
  }

  .format-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
  }

  .format-duration {
    font-size: 0.88rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  .format-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
  }

  .format-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: 0.9rem;
    color: var(--c-ink-2);
    line-height: 1.6;
  }

  .format-list li i {
    color: var(--c-accent-dark);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
  }

  /* ── CONTACT FORM ── */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--sp-12);
    align-items: start;
  }

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

  .contact-info-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding-block: var(--sp-5);
    border-bottom: 1px solid var(--c-border-light);
  }

  .contact-item:last-of-type { border-bottom: none; }

  .contact-item-icon {
    width: 44px; height: 44px;
    background: var(--c-primary-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    font-size: 1rem;
    flex-shrink: 0;
  }

  .contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-3);
    margin-bottom: 3px;
  }

  .contact-item-value {
    font-size: 0.92rem;
    color: var(--c-ink);
    font-weight: 500;
  }

  .contact-item-value a {
    color: var(--c-primary);
    transition: color 0.2s;
  }
  .contact-item-value a:hover { color: var(--c-primary-dark); }

  .form-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-10);
    box-shadow: var(--shadow-md);
  }

  .form-group {
    margin-bottom: var(--sp-5);
  }

  .form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-ink-2);
    margin-bottom: var(--sp-2);
    letter-spacing: 0.02em;
  }

  .form-input {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-bg);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 0.92rem;
    color: var(--c-ink);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    min-height: 48px;
  }

  .form-input:focus {
    outline: none;
    border-color: var(--c-primary);
    background: var(--c-surface-solid);
    box-shadow: 0 0 0 3px var(--c-primary-glow);
  }

  .form-input::placeholder { color: var(--c-ink-muted); }

  textarea.form-input {
    min-height: 130px;
    resize: vertical;
  }

  .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: 0.82rem;
    color: var(--c-ink-2);
    line-height: 1.5;
    cursor: pointer;
  }

  .form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--c-primary);
    flex-shrink: 0;
    cursor: pointer;
  }

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

  .map-container {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--sp-8);
    border: 1px solid var(--c-border);
  }

  .map-container iframe {
    width: 100%;
    height: 300px;
    display: block;
    border: none;
  }

  /* ── ABOUT PAGE ── */
  .about-hero-img {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
  }

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

  .value-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  }

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

  /* ── TOOLS PAGE ── */
  .tool-category {
    margin-bottom: var(--sp-12);
  }

  .tool-category-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-5);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  .tool-category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
  }

  .tool-detail-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    display: flex;
    gap: var(--sp-5);
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  }

  .tool-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .tool-detail-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .tool-detail-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-1);
  }

  .tool-detail-desc {
    font-size: 0.88rem;
    color: var(--c-ink-2);
    line-height: 1.65;
  }

  .tool-badge {
    display: inline-block;
    background: var(--c-accent-light);
    color: var(--c-accent-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--r-full);
    margin-top: var(--sp-2);
  }

  /* ── THANKS PAGE ── */
  .thanks-wrap {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    padding-inline: var(--sp-6);
  }

  .thanks-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-16) var(--sp-12);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 520px;
    width: 100%;
  }

  .thanks-icon {
    width: 72px; height: 72px;
    background: var(--c-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--c-accent-dark);
    margin: 0 auto var(--sp-6);
  }

  /* ── FOOTER ── */
  .site-footer {
    background: var(--c-ink);
    color: rgba(255,255,255,0.75);
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-8);
    margin-top: auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-10);
    margin-bottom: var(--sp-12);
  }

  .footer-brand {}

  .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
  }

  .footer-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
  }

  .footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 260px;
  }

  .footer-col-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--sp-5);
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--c-accent); }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-6);
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: var(--sp-4);
    flex-wrap: wrap;
  }

  .footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
  }

  .footer-legal {
    display: flex;
    gap: var(--sp-5);
  }

  .footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
  }

  .footer-legal a:hover { color: rgba(255,255,255,0.7); }

  @media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
  }

  @media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ── COOKIE BANNER ── */
  .cookie-banner {
    position: fixed;
    bottom: var(--sp-5);
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - var(--sp-10));
    max-width: 720px;
    background: var(--c-surface-solid);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-6) var(--sp-8);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transition: transform 0.4s var(--ease-out);
  }

  .cookie-banner.show {
    transform: translateX(-50%) translateY(0);
  }

  .cookie-banner-top {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
  }

  .cookie-banner-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .cookie-banner-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-2);
  }

  .cookie-banner-text {
    font-size: 0.83rem;
    color: var(--c-ink-2);
    line-height: 1.6;
  }

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

  .cookie-banner-actions {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
  }

  .cookie-btn {
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
    min-height: 38px;
    white-space: nowrap;
  }

  .cookie-btn-accept {
    background: var(--c-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
  }

  .cookie-btn-accept:hover {
    background: var(--c-primary-dark);
    transform: translateY(-1px);
  }

  .cookie-btn-reject {
    background: var(--c-bg-2);
    color: var(--c-ink-2);
    border: 1px solid var(--c-border);
  }

  .cookie-btn-reject:hover {
    background: var(--c-bg);
    color: var(--c-ink);
  }

  .cookie-btn-customize {
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
  }

  .cookie-btn-customize:hover {
    background: var(--c-primary-light);
  }

  .cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(26,30,46,0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .cookie-modal.show {
    opacity: 1;
    pointer-events: auto;
  }

  .cookie-modal-inner {
    background: var(--c-surface-solid);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
  }

  .cookie-modal-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--c-ink);
    margin-bottom: var(--sp-6);
  }

  .cookie-category {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: var(--sp-4) var(--sp-5);
    margin-bottom: var(--sp-3);
  }

  .cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-2);
  }

  .cookie-category-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-ink);
  }

  .cookie-category-desc {
    font-size: 0.8rem;
    color: var(--c-ink-3);
    line-height: 1.5;
  }

  .cookie-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
  }

  .cookie-toggle input { opacity: 0; width: 0; height: 0; }

  .cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--c-border);
    border-radius: var(--r-full);
    cursor: pointer;
    transition: background 0.2s;
  }

  .cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: var(--shadow-xs);
  }

  .cookie-toggle input:checked + .cookie-toggle-slider { background: var(--c-primary); }
  .cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(18px); }
  .cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }

  .cookie-modal-actions {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
    flex-wrap: wrap;
  }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* ── LEGAL PAGES ── */
  .legal-content {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--sp-12);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin-inline: auto;
  }

  .legal-content h2 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--c-ink);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
  }

  .legal-content h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-ink-2);
    margin-top: var(--sp-5);
    margin-bottom: var(--sp-2);
  }

  .legal-content p {
    font-size: 0.92rem;
    color: var(--c-ink-2);
    line-height: 1.8;
    margin-bottom: var(--sp-4);
  }

  .legal-content ul {
    list-style: disc;
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-4);
  }

  .legal-content ul li {
    font-size: 0.92rem;
    color: var(--c-ink-2);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
  }

  .legal-content a { color: var(--c-primary); }
  .legal-content a:hover { text-decoration: underline; }

  .legal-date {
    display: inline-block;
    background: var(--c-primary-light);
    color: var(--c-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
  }

  /* ── PAGE HEADER ── */
  .page-header {
    padding-top: calc(var(--nav-h) + var(--sp-16));
    padding-bottom: var(--sp-16);
    text-align: center;
    position: relative;
  }

  .page-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--c-bg-2) 0%, transparent 100%);
    pointer-events: none;
  }

  .page-header-content { position: relative; z-index: 1; }

  /* ── HIGHLIGHT BOX ── */
  .highlight-box {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent-light));
    border: 1px solid rgba(45,78,245,0.15);
    border-radius: var(--r-lg);
    padding: var(--sp-6) var(--sp-8);
    margin-block: var(--sp-6);
  }

  .highlight-box p {
    font-size: 1rem;
    color: var(--c-ink);
    line-height: 1.7;
  }

  /* ── TILT WRAPPER ── */
  [data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
  }

  /* ── INLINE BADGE ── */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .badge-green { background: var(--c-accent-light); color: var(--c-accent-dark); }
  .badge-blue { background: var(--c-primary-light); color: var(--c-primary); }
  .badge-yellow { background: var(--c-secondary-light); color: var(--c-secondary); }

  /* ── DIVIDER ── */
  .divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--c-border), transparent);
    margin-block: var(--sp-12);
  }

  /* ── GRADIENT FADE BETWEEN SECTIONS ── */
  .section-fade-transition {
    height: 80px;
    background: linear-gradient(to bottom, var(--c-bg), var(--c-bg-2));
    pointer-events: none;
  }

  .section-fade-transition-reverse {
    height: 80px;
    background: linear-gradient(to bottom, var(--c-bg-2), var(--c-bg));
    pointer-events: none;
  }

  /* ── UTILITIES ── */
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .mt-4 { margin-top: var(--sp-4); }
  .mt-6 { margin-top: var(--sp-6); }
  .mt-8 { margin-top: var(--sp-8); }
  .mb-4 { margin-bottom: var(--sp-4); }
  .mb-6 { margin-bottom: var(--sp-6); }
  .mb-8 { margin-bottom: var(--sp-8); }
  .color-primary { color: var(--c-primary); }
  .color-accent { color: var(--c-accent-dark); }
  .fw-700 { font-weight: 700; }
  .font-head { font-family: var(--font-head); }
  .visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
  }
  .img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .full-width-img {
    width: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .full-width-img img {
    width: 100%;
    height: auto;
    display: block;
  }
}