:root {
    --mowd-blue-light: #4be6fd;
    --mowd-blue-dark: #04499e;
    --mowd-navy: #093463;
    --mowd-accent: #f24132;
    --mowd-accent-soft: #ff6b4e;
    --mowd-teal: #00bdad;
    --text-main: #ffffff;
    --text-muted: #e3f5ff;
    --card-bg: rgba(9, 52, 99, 0.94);
    --card-bg-soft: rgba(9, 52, 99, 0.85);
    --card-border: rgba(255, 255, 255, 0.12);
}

/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, var(--mowd-blue-light), var(--mowd-blue-dark));
    color: var(--text-main);
}

body {
    line-height: 1.5;
}

/* Layout helpers */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: radial-gradient(circle at top left, rgba(75, 230, 253, 0.25), transparent 55%), radial-gradient(circle at bottom right, rgba(0, 189, 173, 0.18), transparent 60%), linear-gradient(135deg, rgba(4, 73, 158, 0.9), rgba(4, 73, 158, 0.98));
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to right, rgba(4, 73, 158, 0.94), rgba(9, 52, 99, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--mowd-accent), var(--mowd-accent-soft));
    color: #fff;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

    .main-nav a {
        text-decoration: none;
        color: var(--text-main);
        opacity: 0.85;
        padding: 0.25rem 0.5rem;
        border-radius: 999px;
        transition: background-color 0.15s ease, opacity 0.15s ease;
    }

        .main-nav a:hover {
            opacity: 1;
            background-color: rgba(255, 255, 255, 0.08);
        }

.header-cta {
    display: flex;
    align-items: center;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mowd-accent), var(--mowd-accent-soft));
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        transform: translateY(-1px);
    }

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.7);
}

    .btn-outline:hover {
        border-color: var(--mowd-accent);
    }

.btn-ghost {
    background-color: rgba(4, 73, 158, 0.2);
    color: var(--text-main);
}

    .btn-ghost:hover {
        background-color: rgba(4, 73, 158, 0.35);
    }

/* Hero */

.hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at top left, rgba(75, 230, 253, 0.35), transparent 58%), radial-gradient(circle at bottom right, rgba(0, 189, 173, 0.28), transparent 60%), linear-gradient(135deg, var(--mowd-blue-light), var(--mowd-blue-dark));
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

    .hero-copy h1 span {
        background: linear-gradient(135deg, var(--mowd-accent), var(--mowd-accent-soft));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-copy p {
    max-width: 32rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-badges {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #cfe9ff;
}

/* Phone mock */

.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.75rem;
    background: radial-gradient(circle at top, rgba(9, 52, 99, 0.9), rgba(4, 73, 158, 0.9));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.phone-screen {
    height: 100%;
    border-radius: 30px;
    background: rgba(3, 33, 71, 0.97);
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #a9c4ec;
    margin-bottom: 0.5rem;
}

.phone-card {
    margin-top: 0.5rem;
    padding: 0.8rem;
    border-radius: 16px;
    background: rgba(4, 73, 158, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

    .phone-card h3 {
        font-size: 0.95rem;
        margin: 0 0 0.25rem;
    }

    .phone-card p {
        margin: 0 0 0.5rem;
        font-size: 0.75rem;
        color: #d7e7ff;
    }

.phone-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.78rem;
}

    .phone-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.pill {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 189, 173, 0.2);
    color: #c6fff7;
}

.pill-soft {
    background: rgba(255, 232, 117, 0.25);
    color: #fff6c1;
}

.phone-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.7rem;
    text-align: center;
    color: #8fb0df;
}

/* Sections */

.section-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    max-width: 36rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features */

.feature-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(75, 230, 253, 0.18), rgba(9, 52, 99, 0.94));
    border: 1px solid var(--card-border);
    font-size: 0.95rem;
}

/* Steps */

.steps-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step {
    padding: 1.3rem;
    border-radius: 16px;
    background: var(--card-bg-soft);
    border: 1px solid var(--card-border);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--mowd-accent), var(--mowd-accent-soft));
    margin-bottom: 0.75rem;
}

/* Screenshots */

.screenshot-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.screenshot-card {
    border-radius: 18px;
    padding: 0.3rem;
    background: linear-gradient(135deg, rgba(75, 230, 253, 0.4), rgba(4, 73, 158, 0.9));
}

.screenshot-placeholder {
    border-radius: 14px;
    background: rgba(4, 73, 158, 0.95);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7e6ff;
    font-size: 0.9rem;
}

/* Pricing */

.pricing-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    position: relative;
    padding: 1.7rem 1.5rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.pricing-card-highlight {
    border-color: var(--mowd-accent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(242, 65, 50, 0.2);
    color: #ffe0d9;
}

.pricing-price {
    font-size: 1.3rem;
    margin: 0.4rem 0 0.8rem;
}

.pricing-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

    .pricing-list li::marker {
        color: var(--mowd-accent);
    }

/* FAQ */

.faq-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    padding: 1.3rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    font-size: 0.95rem;
}

/* Download */

.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    background: rgba(4, 73, 158, 0.6);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
}

.contact-form {
    padding: 1.5rem;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.form-row {
    margin-bottom: 1rem;
}

    .form-row label {
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.85rem;
        color: #d1e6ff;
    }

    .form-row input,
    .form-row textarea {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.5rem 0.6rem;
        background: rgba(3, 33, 71, 0.96);
        color: var(--text-main);
        font-family: inherit;
        font-size: 0.9rem;
    }

        .form-row input:focus,
        .form-row textarea:focus {
            outline: none;
            border-color: var(--mowd-accent);
        }

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    background: linear-gradient(to right, rgba(4, 73, 158, 0.98), rgba(9, 52, 99, 0.98));
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #c4dcff;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

    .footer-links a {
        color: #c4dcff;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #ffffff;
        }

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .main-nav {
        display: none; /* can be replaced with hamburger menu later */
    }

    .download-section,
    .contact-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

/* Legal pages (terms/privacy) */

.legal-root {
    background: #ffffff;
    color: #111827;
    min-height: 100vh;
}

.legal-main {
    padding: 3rem 0;
}

    /* Make text inside containers dark on legal pages */
    .legal-main .section-title,
    .legal-main .section-subtitle,
    .legal-main,
    .legal-main p,
    .legal-main li {
        color: #111827;
    }

/* Links on legal pages */
.legal-root a {
    color: #04499e;
}

    .legal-root a:hover {
        color: #022957;
    }