/* From Command Line to Cloud — minimal CSS for S3 + CloudFront site */
:root{
  --bg:#061F44;         /* deep navy */
  --bg-alt:#0E2C5F;
  --text:#EAF2FF;       /* light text */
  --muted:#BFD4FF;
  --accent:#409CFF;     /* blue accent */
  --card:#0E2C5F;       /* card background */
  --ink:#0B1426;        /* darkest */
  --white:#fff;
}

* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--ink) 100%);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

.container{ width:min(1100px, 92vw); margin:0 auto; }

/* Header */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(6,31,68,0.85);
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.header-flex{
  display:flex; align-items:center; justify-content:space-between; padding:14px 0;
}
.brand{ color:var(--white); font-weight:800; letter-spacing:.3px; text-decoration:none; }

/* Menu button (hidden on desktop) */
.menu-btn{
  display:none; appearance:none; border:1px solid rgba(255,255,255,0.25);
  background:transparent; color:var(--white); border-radius:10px; padding:8px 10px;
}
.menu-bars{ display:inline-block; width:20px; height:2px; background:var(--white); position:relative; }
.menu-bars::before, .menu-bars::after{
  content:""; position:absolute; left:0; width:20px; height:2px; background:var(--white);
}
.menu-bars::before{ top:-6px; }
.menu-bars::after{ top:6px; }

/* Nav */
.nav{ display:flex; align-items:center; gap:14px; }
.nav-link{ color:var(--muted); text-decoration:none; }
.nav .cta{ color:var(--white); padding:8px 14px; border:1px solid rgba(255,255,255,0.25); border-radius:10px; }
.nav .install{ white-space:nowrap; } /* keeps 'Install The APP' intact */

/* Hero */
.hero{ padding:72px 0 48px; }
.hero-grid{ display:grid; gap:32px; grid-template-columns:1.3fr 1fr; align-items:center; }
.hero h1{ font-size: clamp(28px, 3vw + 12px, 48px); line-height:1.1; margin:0 0 12px; }
.hero .sub{ color:var(--muted); font-size:clamp(15px,1.1vw + 10px,20px); margin:0 0 20px; }
.actions{ display:flex; gap:12px; }
.btn{ display:inline-block; padding:12px 16px; border-radius:10px; text-decoration:none; font-weight:600; transition:transform .05s ease; }
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--accent); color:var(--ink); }
.btn-ghost{ border:1px solid rgba(255,255,255,0.2); color:var(--white); }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }
.hero-art img{ width:100%; height:auto; border-radius:16px; box-shadow:0 10px 40px rgba(0,0,0,.35); }

/* Sections */
.section{ padding:56px 0; }
.section.alt{ background: linear-gradient(180deg, var(--bg-alt) 0%, var(--ink) 100%); }
.section h2{ margin:0 0 16px; font-size:28px; }
.two-col{ display:grid; gap:24px; grid-template-columns:1.2fr 1fr; align-items:start; }
.card{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:18px 18px; }
.card h3{ margin:0 0 8px; }

/* Learn grid */
.learn-grid{ list-style:none; padding:0; margin:14px 0 0; display:grid; gap:14px; }
.learn-grid li{ background:rgba(255,255,255,0.05); border-left:3px solid var(--accent); padding:12px 14px; border-radius:8px; }

/* Signup form */
.signup-form{ display:grid; gap:10px; max-width:440px; }
.signup-form label{ font-weight:600; }
.signup-form input{
  background:#071836; border:1px solid rgba(255,255,255,0.15); border-radius:10px;
  color:var(--white); padding:12px 12px; outline:none;
}
.signup-form input:focus{ border-color: var(--accent); box-shadow:0 0 0 3px rgba(64,156,255,.25); }
.signup-form.is-submitting input{ opacity:.9; }
.fineprint{ color:var(--muted); font-size:13px; margin-top:6px; }
.status{ margin-top:8px; font-size:0.95rem; color: var(--muted); min-height:1.4em; }
.status.success{ color: #03c988; }   /* greenish */
.status.error{ color: #ff6b6b; }     /* red */

/* Footer */
.site-footer{ padding:28px 0; border-top:1px solid rgba(255,255,255,0.06); }
.footer-grid{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.foot-brand{ color:var(--muted); }
.foot-links a{ color:var(--muted); text-decoration:none; margin-left:16px; }

/* Responsive */
@media (max-width: 900px){
  .hero-grid, .two-col{ grid-template-columns:1fr; }
  .hero{ padding-top:48px; }

  /* Mobile nav behavior */
  .menu-btn{ display:block; }
  .nav{
    display:none;
    position:absolute; right:0; top:100%;
    background: rgba(6,31,68,0.98);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:12px;
    padding:10px;
    width:min(92vw, 320px);
    flex-direction:column; align-items:stretch; gap:8px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
  }
  .nav.open{ display:flex; }
  .nav-link{ padding:10px 12px; border-radius:8px; color:var(--white); }
  .nav-link:hover{ background:rgba(255,255,255,0.06); }
  .nav .cta{ text-align:center; }
}

