:root {
    --bg: #0a0a14;
    --text: #f4f4f7;
    --muted: #9ea0b3;
    --card: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --red-1: #a82828;
    --red-2: #5c0000;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
  }

  body::before {
    content: ""; position: fixed; top: -20%; left: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(168,40,40,0.35), transparent 60%);
    filter: blur(80px); z-index: -1;
    animation: float 18s ease-in-out infinite;
  }
  body::after {
    content: ""; position: fixed; bottom: -20%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(168,40,40,0.35), transparent 60%);
    filter: blur(80px); z-index: -1;
    animation: float 18s ease-in-out infinite reverse;
  }
  @keyframes float {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px,-30px) scale(1.1); }
  }

  .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

  header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(10,10,20,0.6); border-bottom: 1px solid var(--border);
  }
  nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; }
  .logo {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem;
    letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit;
  }
  .logo-mark {
    width: 44px; height: 38px; display: block;
    filter: drop-shadow(0 8px 18px rgba(168,40,40,0.5));
    transition: transform 0.25s ease;
  }
  .logo:hover .logo-mark { transform: rotate(-4deg) scale(1.05); }
  .logo span { background: linear-gradient(135deg,#fff,#ffc5b9); -webkit-background-clip:text; background-clip:text; color:transparent; }

  .nav-menu { display: flex; gap: 28px; list-style: none; margin: 0 auto; }
  .nav-menu li a {
    color: var(--muted); font-size: 0.95rem; font-weight: 500;
    text-decoration: none; transition: color 0.2s; padding-bottom: 2px;
  }
  .nav-menu li a:hover { color: var(--text); }
  .nav-menu li a.active { color: var(--text); border-bottom: 1px solid rgba(168,40,40,0.7); }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    cursor: pointer;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  @media (max-width: 760px) {
    nav { position: relative; flex-wrap: wrap; }
    .nav-toggle { display: flex; }
    .nav-menu {
      display: none;
      flex-direction: column;
      gap: 0;
      width: 100%;
      order: 10;
      margin: 0;
      padding: 8px 0 12px;
      border-top: 1px solid var(--border);
    }
    header.nav-open .nav-menu { display: flex; }
    .nav-menu li a {
      display: block;
      padding: 14px 4px;
      font-size: 1rem;
    }
    .nav-menu li a.active { border-bottom: 0; color: var(--text); }
  }
.lang-switch {
    display: inline-flex; background: var(--card);
    border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 2px;
  }
  .lang-switch button {
    background: transparent; border: 0; color: var(--muted);
    font-family: inherit; font-weight: 600; font-size: 0.8rem;
    padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all 0.2s;
  }
  .lang-switch button:hover { color: var(--text); }
  .lang-switch button.active {
    background: linear-gradient(135deg, var(--red-1), var(--red-2));
    color: white; box-shadow: 0 4px 14px rgba(168,40,40,0.5);
  }

  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 4.6vw, 3rem);
    font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0;
  }
  .page-hero p.sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.936rem, 2.08vw, 1.56rem);
    font-weight: 400; letter-spacing: -0.02em; line-height: 1.1;
    margin: 4px 0 0;
    background: linear-gradient(135deg, #ff8a80, #a82828);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    max-width: none; white-space: nowrap;
  }
  @media (max-width: 720px) { .page-hero p.sub { white-space: normal; } }

  .use-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 80px;
    align-items: start;
  }
  @media (max-width: 900px) {
    .use-case-grid { grid-template-columns: 1fr; }
  }

  .use-case-col {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 26px 32px;
    position: relative;
    overflow: hidden;
  }
  .use-case-col::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a82828, #ff8a80);
  }
  .use-case-col h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }

  .uc-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
  .uc-item {
    padding: 18px 18px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s;
  }
  .uc-item:hover { border-color: rgba(168,40,40,0.45); }
  .uc-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 11px;
  }
  .uc-ico {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }
  .uc-ico svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke-width: 2;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .uc-item p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
  }
  .uc-item .uc-tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffb3a8;
    background: rgba(168,40,40,0.15);
    border: 1px solid rgba(168,40,40,0.3);
    padding: 3px 8px;
    border-radius: 999px;
  }

  .uc-cta {
    grid-column: 1 / -1;
    justify-self: center;
    width: fit-content;
    max-width: 760px;
    margin-top: 4px;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
  }
  .uc-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a82828, #ff8a80);
  }
  .uc-cta h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
  }
  .uc-cta p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
  }

  footer {
    border-top: 1px solid var(--border); padding: 20px 0;
    text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: auto;
  }
