:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Navbar ── */
.fn-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.fn-navbar.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.fn-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.fn-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.fn-brand i {
    color: var(--accent);
    font-size: 1.125rem;
}

.fn-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.fn-nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: all 0.15s;
}

.fn-nav-links a:hover {
    color: var(--accent);
    background: rgba(20, 184, 166, 0.06);
}

.fn-nav-links a.active {
    color: var(--accent);
    background: rgba(20, 184, 166, 0.08);
}

.fn-btn-download {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.fn-btn-download:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* ── Hero ── */
.fn-hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2744 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fn-hero::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(20, 184, 166, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.fn-hero .container {
    position: relative;
    z-index: 1;
}

.fn-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.fn-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 650px;
}

.fn-hero h1 span {
    color: var(--accent);
}

.fn-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.fn-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fn-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.fn-btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.fn-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.fn-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.fn-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.fn-hero-phone {
    width: 260px;
    height: 520px;
    background: var(--primary-light);
    border-radius: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.fn-hero-phone .phone-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(20, 184, 166, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.fn-hero-phone .phone-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.fn-hero-phone .phone-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 500;
}

.fn-hero-phone .phone-amount {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.fn-hero-phone .phone-badge {
    position: absolute;
    bottom: 40px;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

/* ── Section shared ── */
.fn-section {
    padding: 5rem 0;
}

.fn-section-alt {
    background: var(--bg);
}

.fn-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.fn-section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.fn-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.fn-section-desc {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Features ── */
.fn-feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.25s;
    height: 100%;
}

.fn-feature-card:hover {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.fn-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.fn-feature-card h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.fn-feature-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* ── How it Works ── */
.fn-step {
    text-align: center;
    padding: 1.5rem;
}

.fn-step-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.fn-step h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.fn-step p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* ── Stats ── */
.fn-stats {
    background: var(--primary);
    padding: 3.5rem 0;
}

.fn-stat {
    text-align: center;
}

.fn-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
}

.fn-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* ── CTA ── */
.fn-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2744 100%);
    color: #fff;
    text-align: center;
}

.fn-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.fn-cta p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin: 0 auto 2rem;
}

.fn-cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fn-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.fn-store-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.fn-store-btn i {
    font-size: 1.5rem;
}

.fn-store-btn .store-text {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.fn-store-btn .store-name {
    font-size: 1rem;
    font-weight: 600;
}

/* ── Footer ── */
.fn-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.5);
    padding: 3.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fn-footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.fn-footer-brand i {
    color: var(--accent);
}

.fn-footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 320px;
}

.fn-footer h6 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.fn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fn-footer-links li {
    margin-bottom: 0.5rem;
}

.fn-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.fn-footer-links a:hover {
    color: var(--accent);
}

.fn-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
}

.fn-footer-contact i {
    color: var(--accent);
    width: 16px;
    text-align: center;
    font-size: 0.8125rem;
}

.fn-footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.fn-footer-contact a:hover {
    color: var(--accent);
}

.fn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.fn-footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.fn-footer-social {
    display: flex;
    gap: 0.75rem;
}

.fn-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s;
}

.fn-footer-social a:hover {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent);
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .fn-hero {
        padding: 7rem 0 3.5rem;
    }

    .fn-hero h1 {
        font-size: 2.25rem;
    }

    .fn-hero-visual {
        display: none;
    }

    .fn-section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .fn-hero h1 {
        font-size: 1.875rem;
    }

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

    .fn-section {
        padding: 3.5rem 0;
    }

    .fn-stat-value {
        font-size: 1.75rem;
    }

    .fn-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Legal page shared styles ── */
.legal-content {
    flex: 1;
    padding: 7rem 0 4rem;
}

.legal-content .page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.legal-content .page-meta {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-content .prose {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.legal-content .prose h1,
.legal-content .prose h2,
.legal-content .prose h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.legal-content .prose h1 {
    font-size: 1.5rem;
}

.legal-content .prose h2 {
    font-size: 1.25rem;
}

.legal-content .prose h3 {
    font-size: 1.125rem;
}

.legal-content .prose p {
    margin-bottom: 1rem;
}

.legal-content .prose ul,
.legal-content .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content .prose li {
    margin-bottom: 0.375rem;
}

.legal-content .prose a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.legal-content .prose a:hover {
    text-decoration: underline;
}

.legal-content .prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.legal-content .prose th,
.legal-content .prose td {
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    text-align: left;
}

.legal-content .prose th {
    background: var(--bg);
    font-weight: 600;
    color: var(--primary);
}

.legal-content .prose blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(20, 184, 166, 0.04);
    border-radius: 0 8px 8px 0;
    color: var(--muted);
    font-style: italic;
}

.legal-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    margin-top: 64px;
}

.legal-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--accent);
    background: rgba(20, 184, 166, 0.08);
}
