/* Basic reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #101828; background: #ffffff; }

/* Colors */
:root {
  --violet: #9F7BFF;
  --bg: #ffffff;
  --subtle: #f4f5f7;
  --text: #101828;
  --muted: #475467;
}

/* Layout helpers */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.9); backdrop-filter: saturate(120%) blur(6px); border-bottom: 1px solid #eef0f3; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 36px; height: 36px; display: grid; place-items: center; background: var(--violet); color: #fff; border-radius: 10px; font-size: 20px; }
.brand-text .title { font-weight: 700; line-height: 1; }
.brand-text .subtitle { font-size: 12px; color: var(--muted); }

.nav a { margin-left: 16px; text-decoration: none; color: #344054; font-weight: 600; }
.nav a:hover { color: var(--violet); }

/* Hero */
.hero { padding: 64px 0; background: linear-gradient(180deg, #fff 0%, #faf7ff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: 40px; margin: 0 0 12px; }
.hero-copy p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 20px; }
.cta-group { display: flex; gap: 12px; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary[aria-disabled="true"] { opacity: .7; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--violet); border: 2px solid var(--violet); }

.phone-mockup { width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 9/19; border-radius: 28px; border: 10px solid #222; background: #000; position: relative; }
.phone-mockup .screen { position: absolute; inset: 10px; border-radius: 18px; background: linear-gradient(180deg, #222, #111); }

/* Sections */
.features { padding: 56px 0; }
.features h2, .screens h2, .download h2, .contact h2 { margin-top: 0; }
.grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid #eef0f3; border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.screens { padding: 56px 0; background: #fcfcfe; }
.screens-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screen-card { border: 2px dashed #d0d5dd; border-radius: 12px; padding: 40px 16px; text-align: center; color: #667085; background: #fff; }
.hint { color: #667085; margin-top: 8px; }

.download { padding: 56px 0; text-align: center; }
.contact { padding: 56px 0; }
.legal { color: #667085; }

/* Policy page */
.policy { padding: 40px 20px; max-width: 780px; }
.policy h1 { margin-top: 0; }
.policy p { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav { display: none; }
  .hero-copy h1 { font-size: 32px; }
  .grid { grid-template-columns: 1fr; }
}
