:root {
      --bg: #120b07;
      --bg-2: #1d120c;
      --card: rgba(255,255,255,0.06);
      --line: rgba(255,255,255,0.12);
      --text: #fff8f4;
      --muted: #d2c1b8;
      --accent: #f0b300;
      --accent-2: #df3a10;
      --accent-3: #b80f12;
      --shadow: 0 20px 60px rgba(0,0,0,.35);
      --radius: 24px;
      --max: 1180px;
      --whatsapp: #25D366;
      --accent-soft: #ffe09a;
      --accent-text: #ffe8a3;
      --highlight-text: #fff1e8;
      --button-text: #231206;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 85% 10%, rgba(240,179,0,.17), transparent 22%),
        radial-gradient(circle at 10% 90%, rgba(184,15,18,.12), transparent 28%),
        linear-gradient(180deg, var(--bg), #070403 70%);
    }

    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

    .nav {
      position: sticky; top: 0; z-index: 30;
      backdrop-filter: blur(14px);
      background: rgba(18,11,7,.82);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      min-height: 88px; gap: 18px;
    }
    .brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
    .brand img { width: 62px; height: 62px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }
    .brand-text { min-width: 0; }
    .brand-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
    .brand-title span { color: var(--accent); }
    .brand-sub { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .menu-wrap { display: flex; align-items: center; gap: 14px; }
    .menu { display: flex; gap: 22px; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
    .menu a:hover { color: white; }

    .lang-switch {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px; border-radius: 999px; border: 1px solid var(--line);
      background: rgba(255,255,255,.04);
    }
    .lang-switch button {
      border: 0; cursor: pointer; padding: 10px 14px; border-radius: 999px;
      background: transparent; color: var(--muted); font-weight: 700; font-size: .82rem;
      transition: .2s ease;
    }
    .lang-switch button.active {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: var(--button-text);
    }

    .toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
    .theme-switch {
      display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
      padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line);
      background: rgba(255,255,255,.04);
    }
    .theme-chip {
      width: 22px; height: 22px; border-radius: 999px; cursor: pointer;
      border: 2px solid rgba(255,255,255,.18); padding: 0; transition: .2s ease;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
    }
    .theme-chip:hover { transform: scale(1.08); }
    .theme-chip.active {
      border-color: white; transform: scale(1.08);
      box-shadow: 0 0 0 3px rgba(255,255,255,.18), inset 0 0 0 1px rgba(0,0,0,.08);
    }

    .hero { padding: 72px 0 48px; }
    .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; }
    .badge {
      display: inline-flex; padding: 10px 14px; border-radius: 999px;
      border: 1px solid rgba(240,179,0,.28);
      background: rgba(240,179,0,.09);
      color: var(--accent-text); font-size: .88rem; margin-bottom: 18px;
    }
    h1 {
      margin: 0; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: .98;
      letter-spacing: -.05em; max-width: 820px;
    }
    .lead {
      margin: 22px 0 0; max-width: 760px; color: var(--muted);
      font-size: 1.08rem; line-height: 1.9;
    }
    .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
    .btn {
      padding: 15px 22px; border-radius: 18px; font-weight: 700;
      border: 1px solid transparent; transition: .22s ease;
      display: inline-flex; align-items: center; justify-content: center; text-align: center;
    }
    .btn-primary { background: linear-gradient(135deg, var(--accent), #ffd95e); color: #231206; box-shadow: var(--shadow); }
    .btn-primary:hover { transform: translateY(-2px); }
    .btn-secondary { border-color: var(--line); background: rgba(255,255,255,.03); color: white; }
    .btn-secondary:hover { background: rgba(255,255,255,.06); }
    .btn-whatsapp { background: linear-gradient(135deg, #2ae071, #5af191); color: #062611; box-shadow: var(--shadow); }

    .hero-side, .card, .download-box, .contact-card, .highlight, .color-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }
    .hero-side { padding: 28px; }
    .eyebrow { color: var(--muted); font-size: .88rem; }
    .hero-side h3 { margin: 10px 0 10px; font-size: 1.7rem; letter-spacing: -.03em; }
    .hero-side p { margin: 0; color: var(--muted); line-height: 1.8; }
    .highlights { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .highlight { padding: 18px; font-size: .95rem; color: #fff1e8; }

    section { padding: 38px 0; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
    .kicker { color: var(--accent-soft); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; }
    h2 { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.05em; }
    .section-copy { max-width: 540px; color: var(--muted); line-height: 1.8; }

    .about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
    .about-text { color: var(--muted); line-height: 1.95; font-size: 1.04rem; }

    .grid-2, .grid-3 { display: grid; gap: 18px; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .card { padding: 28px; }
    .card-tag {
      display: inline-block; margin-bottom: 14px; padding: 7px 10px; border-radius: 999px;
      border: 1px solid rgba(240,179,0,.2); background: rgba(240,179,0,.08);
      color: var(--accent-text); font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 700;
    }
    .card h3 { margin: 0 0 14px; font-size: 1.5rem; letter-spacing: -.03em; }
    .card p { margin: 0; color: var(--muted); line-height: 1.85; }
    .num { color: var(--accent-text); font-weight: 700; margin-bottom: 18px; }

    .download-wrap {
      padding: 34px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow);
    }
    .download-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: center; }
    .download-box { padding: 24px; }
    .test-row {
      display: flex; justify-content: space-between; align-items: center;
      background: rgba(255,255,255,.04); border-radius: 16px; padding: 14px 16px; margin-top: 12px; color: #fff0e4;
    }
    .test-row strong { color: white; }
    .stack { display: grid; gap: 12px; margin-top: 16px; }

    .colors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
    .color-card { padding: 22px; }
    .palette { display: flex; gap: 10px; margin: 16px 0; }
    .swatch { height: 42px; flex: 1; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); }
    .color-card h3 { margin: 0; font-size: 1.15rem; }
    .color-card p { margin: 0; color: var(--muted); line-height: 1.75; font-size: .95rem; }
    .codes { color: var(--text); font-size: .85rem; line-height: 1.8; }

    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .contact-card { padding: 26px; }
    .contact-card h3 { margin: 10px 0 8px; font-size: 1.3rem; }
    .contact-card p { color: var(--muted); line-height: 1.85; }
    .contact-card a.mail { color: white; text-decoration: underline; text-underline-offset: 4px; }

    .floating-wa {
      position: fixed; right: 18px; bottom: 18px; z-index: 40;
      width: 60px; height: 60px; border-radius: 999px; display: grid; place-items: center;
      background: var(--whatsapp); color: white; box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: 28px;
    }

    footer {
      padding: 28px 0 40px; color: var(--muted); border-top: 1px solid var(--line);
      margin-top: 24px; text-align: center; font-size: .95rem;
    }

    .modal-backdrop {
      position: fixed; inset: 0; background: rgba(0,0,0,.58); display: none;
      align-items: center; justify-content: center; padding: 18px; z-index: 60;
    }
    .modal-backdrop.open { display: flex; }
    .modal {
      width: min(760px, 100%); max-height: 92vh; overflow: auto;
      background: var(--bg-2); color: var(--text); border: 1px solid var(--line);
      border-radius: 28px; box-shadow: var(--shadow); padding: 26px;
    }
    .modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom: 18px; }
    .modal-head h3 { margin:0; font-size:1.6rem; letter-spacing:-.03em; }
    .modal-close {
      width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
      background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; font-size: 1.1rem;
    }
    .form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .field { display:grid; gap:8px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: var(--muted); font-size: .92rem; }
    .field input, .field textarea {
      width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 15px;
      background: rgba(255,255,255,.05); color: var(--text); font: inherit;
    }
    .field textarea { min-height: 150px; resize: vertical; }
    .form-note { color: var(--muted); font-size: .92rem; line-height:1.7; margin-top: 14px; }

    @media (max-width: 1100px) {
      .nav-inner { align-items: flex-start; padding: 14px 0; }
      .menu-wrap { flex-direction: column; align-items: flex-end; }
      .menu { justify-content: flex-end; gap: 16px; font-size: .9rem; }
      .toolbar { justify-content: flex-end; }
    }

    @media (max-width: 960px) {
      .hero-grid, .about-grid, .download-grid, .contact-grid, .grid-3, .grid-2, .colors-grid { grid-template-columns: 1fr; }
      .section-head { flex-direction: column; align-items: start; }
      .hero { padding-top: 48px; }
      .menu { display: none; }
      .nav-inner { align-items: center; }
      .menu-wrap { flex-direction: row; }
    }

    @media (max-width: 640px) {
      .container { width: min(var(--max), calc(100% - 20px)); }
      .form-grid { grid-template-columns: 1fr; }
      .toolbar { width: 100%; justify-content: flex-end; }
      .theme-switch { width: 100%; justify-content: center; }
      .hero, section { padding-top: 28px; padding-bottom: 28px; }
      .hero-side, .card, .download-box, .contact-card, .highlight, .download-wrap, .color-card { padding: 20px; }
      .actions { flex-direction: column; }
      .btn { width: 100%; }
      .highlights { grid-template-columns: 1fr; }
      .lang-switch button { padding: 9px 12px; }
      .brand img { width: 52px; height: 52px; }
      .brand-title { font-size: 1.05rem; }
      .brand-sub { font-size: .72rem; }
      .floating-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
    }