:root {
    --bg:         #07080a;
    --bg2:        #0d0f14;
    --panel:      #12141a;
    --border:     rgba(255,255,255,0.06);
    --border-h:   rgba(255,255,255,0.12);
    --gold:       #C9A84C;
    --gold-light: #E8C87A;
    --gold-glow:  rgba(201,168,76,0.18);
    --gold-dim:   rgba(201,168,76,0.08);
    --white:      #F0EDE8;
    --muted:      #8A919E;
    --sub:        #404550;
    --meta:       #1877F2;
    --meta-dim:   rgba(24,119,242,0.12);
    --google:     #4285F4;
    --google-dim: rgba(66,133,244,0.12);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }

  /* ── GRAIN OVERLAY ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
  }

  /* ── AMBIENT GLOW ── */
  .ambient {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  }
  .ambient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.07;
  }
  .ambient-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #C9A84C, transparent 70%);
    top: -200px; left: 50%; transform: translateX(-50%);
    animation: float1 12s ease-in-out infinite;
  }
  .ambient-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1877F2, transparent 70%);
    bottom: 100px; left: -100px; opacity: 0.05;
    animation: float2 15s ease-in-out infinite;
  }
  .ambient-orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #4285F4, transparent 70%);
    bottom: 0; right: -50px; opacity: 0.04;
    animation: float3 18s ease-in-out infinite;
  }

  @keyframes float1 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-30px)} }
  @keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
  @keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(20px)} }

  /* ── LAYOUT ── */
  .page {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: 100vh;
    padding: 60px 24px;
    gap: 0;
  }

  /* ── HEADER ── */
  .header {
    text-align: center; margin-bottom: 64px;
    animation: fadeDown 0.8s cubic-bezier(0.16,1,0.3,1) both;
  }

  .logo-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.8;
  }
  .logo-eyebrow::before, .logo-eyebrow::after {
    content: ''; width: 28px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
  }
  .logo-eyebrow::after { transform: scaleX(-1); }

  .logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 8vw, 88px);
    font-weight: 700; line-height: 0.95;
    letter-spacing: -2px;
    color: var(--white);
    position: relative; display: inline-block;
  }
  .logo-gold { color: var(--gold); }

  .tagline {
    margin-top: 20px; font-size: 14px; font-weight: 400;
    color: var(--muted); letter-spacing: 0.3px; line-height: 1.6;
  }
  .tagline strong { color: var(--white); font-weight: 600; }

  /* ── DIVIDER ── */
  .divider {
    display: flex; align-items: center; gap: 12px;
    width: 100%; max-width: 800px; margin-bottom: 40px;
    animation: fadeUp 0.8s 0.2s cubic-bezier(0.16,1,0.3,1) both;
  }
  .divider-line { flex: 1; height: 1px; background: var(--border); }
  .divider-label {
    font-size: 9px; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--sub); white-space: nowrap;
  }

  /* ── CARDS GRID ── */
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%; max-width: 800px;
    animation: fadeUp 0.8s 0.35s cubic-bezier(0.16,1,0.3,1) both;
  }

  .card {
    position: relative; overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px 32px;
    cursor: pointer;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; gap: 0;
    transition: border-color 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
    group: true;
  }

  /* Card glow on hover */
  .card::before {
    content: ''; position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.4s;
    border-radius: inherit; pointer-events: none;
  }
  .card-meta::before { background: radial-gradient(ellipse at 30% 0%, rgba(24,119,242,0.12), transparent 70%); }
  .card-google::before { background: radial-gradient(ellipse at 30% 0%, rgba(66,133,244,0.1), transparent 70%); }

  .card-meta:hover { border-color: rgba(24,119,242,0.35); transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(24,119,242,0.1); }
  .card-google:hover { border-color: rgba(66,133,244,0.35); transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(66,133,244,0.1); }
  .card:hover::before { opacity: 1; }

  /* Background grid pattern */
  .card::after {
    content: ''; position: absolute;
    inset: 0; pointer-events: none; opacity: 0.03;
    background-image:
      linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 70%);
  }

  /* Platform badge */
  .card-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 10px 5px 7px;
    border-radius: 8px; width: fit-content;
    font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
    margin-bottom: 28px; position: relative; z-index: 1;
    transition: all 0.2s;
  }
  .card-meta .card-badge {
    background: var(--meta-dim); border: 1px solid rgba(24,119,242,0.2);
    color: #60a5fa;
  }
  .card-google .card-badge {
    background: var(--google-dim); border: 1px solid rgba(66,133,244,0.2);
    color: #7fb3f8;
  }
  .card-badge svg { flex-shrink: 0; }

  /* Platform icon */
  .card-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; position: relative; z-index: 1;
    flex-shrink: 0;
  }
  .card-meta .card-icon {
    background: linear-gradient(135deg, rgba(24,119,242,0.2), rgba(24,119,242,0.08));
    border: 1px solid rgba(24,119,242,0.25);
  }
  .card-google .card-icon {
    background: linear-gradient(135deg, rgba(66,133,244,0.2), rgba(66,133,244,0.08));
    border: 1px solid rgba(66,133,244,0.25);
  }

  .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px; font-weight: 700;
    letter-spacing: -0.5px; line-height: 1.1;
    margin-bottom: 10px; position: relative; z-index: 1;
    color: var(--white);
  }

  .card-desc {
    font-size: 13px; font-weight: 400;
    color: var(--muted); line-height: 1.65;
    margin-bottom: 28px; flex: 1; position: relative; z-index: 1;
  }

  /* Feature pills */
  .card-features {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 28px; position: relative; z-index: 1;
  }
  .pill {
    font-size: 10px; font-weight: 600; letter-spacing: 0.3px;
    padding: 4px 10px; border-radius: 100px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    color: var(--muted); white-space: nowrap;
  }

  /* CTA row */
  .card-cta {
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 1;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .cta-label {
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .card-meta .cta-label { color: #60a5fa; }
  .card-google .cta-label { color: #7fb3f8; }

  .cta-arrow {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    flex-shrink: 0;
  }
  .card-meta .cta-arrow { background: rgba(24,119,242,0.12); border: 1px solid rgba(24,119,242,0.2); color: #60a5fa; }
  .card-google .cta-arrow { background: rgba(66,133,244,0.1); border: 1px solid rgba(66,133,244,0.2); color: #7fb3f8; }
  .card:hover .cta-arrow { transform: translateX(4px); }
  .card-meta:hover .cta-arrow { background: rgba(24,119,242,0.2); border-color: rgba(24,119,242,0.4); }
  .card-google:hover .cta-arrow { background: rgba(66,133,244,0.18); border-color: rgba(66,133,244,0.4); }

  /* ── FOOTER ── */
  .footer {
    margin-top: 48px; text-align: center;
    animation: fadeUp 0.8s 0.5s cubic-bezier(0.16,1,0.3,1) both;
  }
  .footer-inner {
    display: flex; align-items: center; justify-content: center; gap: 24px;
    flex-wrap: wrap;
  }
  .footer-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--sub);
  }
  .footer-item svg { opacity: 0.5; }
  .footer-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--sub); opacity: 0.4; }
  .footer-copy {
    margin-top: 16px; font-size: 11px; color: var(--sub);
    font-family: 'JetBrains Mono', monospace;
  }
  .footer-copy em { color: var(--gold); opacity: 0.7; font-style: normal; }

  /* ── ANIMATIONS ── */
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 640px) {
    .cards { grid-template-columns: 1fr; max-width: 420px; }
    .header { margin-bottom: 44px; }
    .card { padding: 28px 24px 24px; }
    .card-title { font-size: 22px; }
  }