@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page: #f5f6f7;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #475467;
    --line: #e4e7ec;
    --accent: #4f46e5;
    --accent-light: #eef2ff;
}

body {
    font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--page);
    color: var(--ink);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(245, 246, 247, 0.85);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    z-index: 10;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo h1 {
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav-pill {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}

/* Hero */
.hero {
    padding: clamp(4rem, 12vw, 7.5rem) 0;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero h2 {
    font-size: clamp(2.6rem, 6vw, 3.8rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 1.5rem 0 1rem;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 40ch;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.hero-card span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-card p {
    font-size: 1rem;
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-card-list li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--accent);
    display: inline-block;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.5rem;
}

.button-primary,
.button-ghost {
    border-radius: 999px;
    padding: 0.85rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.button-primary:hover {
    transform: translateY(-2px);
}

.button-ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.button-ghost:hover {
    transform: translateY(-2px);
}

/* Apps */
.apps {
    padding: 4.5rem 0 5.5rem;
}

.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.section-heading h3 {
    font-size: 1.6rem;
    letter-spacing: -0.01em;
}

.section-heading p {
    color: var(--muted);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.app-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.app-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--accent-light);
    color: var(--accent);
    display: grid;
    place-items: center;
}

.app-icon svg {
    width: 2.25rem;
    height: 2.25rem;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-icon svg [fill] {
    fill: currentColor;
    stroke: none;
}

.app-card h4 {
    font-size: 1.25rem;
}

.app-card p {
    color: var(--muted);
    flex: 1;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.app-store-link {
    background: var(--ink);
    color: var(--surface);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.privacy-link {
    font-size: 0.9rem;
    color: var(--muted);
}

.coming-soon-badge {
    border: 1px dashed var(--line);
    color: var(--muted);
    padding: 0.65rem 1rem;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.footer-section p,
.footer-section a {
    color: var(--ink);
}

.footer-bottom {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .hero-card {
        padding: 1.75rem;
    }

    .footer-content {
        flex-direction: column;
    }
}