:root {
    --primary: #2869d8;
    --primary-dark: #174d9e;
    --primary-soft: #eaf2ff;

    --background: #f4f7ff;
    --surface: #ffffff;

    --text: #142b4a;
    --text-soft: #5d6b7e;

    --green: #167557;
    --green-soft: #e9f7ef;

    --border: #d8e2f0;

    --shadow:
        0 20px 50px rgba(25, 65, 120, 0.12);

    --radius: 24px;
}


/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}


img {
    max-width: 100%;
}


a {
    text-decoration: none;
}


h1,
h2,
h3 {
    color: var(--text);

    font-weight: 700;
    letter-spacing: -0.025em;
}


h1 {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.04;
}


h1 span {
    color: var(--primary);
}


h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}


h3 {
    font-size: 1.25rem;
}


.narrow {
    max-width: 1080px;
}


/* =========================
   NAVBAR
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(244, 247, 255, 0.92);

    border-bottom:
        1px solid rgba(216, 226, 240, 0.8);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


.navbar {
    min-height: 76px;
}


.navbar-brand {
    color: var(--primary);

    font-size: 1.2rem;
    white-space: nowrap;
}


.navbar-brand:hover {
    color: var(--primary-dark);
}


.brand-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;

    box-shadow:
        0 4px 12px rgba(40, 105, 216, 0.18);
}


.nav-link {
    color: var(--text);

    font-weight: 500;
}


.nav-link:hover {
    color: var(--primary);
}


/* =========================
   BUTTONS
========================= */

.btn {
    padding: 0.75rem 1.25rem;

    border-radius: 14px;

    font-weight: 600;
}


.btn-lg {
    padding: 0.95rem 1.45rem;
}


.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}


.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}


.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;

    background: var(--primary);
    border-color: var(--primary);
}


/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0 100px;

    overflow: hidden;
}


.eyebrow {
    display: inline-block;

    margin-bottom: 1rem;

    color: var(--primary);

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.hero-description,
.section-description {
    color: var(--text-soft);

    font-size: 1.18rem;
}


.hero-description {
    max-width: 650px;

    margin-top: 1.5rem;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 0.8rem;

    margin-top: 2rem;
}


.hero-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 1.2rem;

    margin-top: 1.5rem;

    color: var(--text-soft);

    font-size: 0.92rem;
    font-weight: 500;
}


.phone-showcase {
    position: relative;
}


.phone-showcase::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 50%;
    left: 50%;

    width: 440px;
    height: 440px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(40, 105, 216, 0.17),
            rgba(40, 105, 216, 0)
        );

    border-radius: 50%;
}


.app-screen {
    width: min(100%, 340px);

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 28px;

    box-shadow: var(--shadow);
}


.hero-screen {
    width: min(100%, 390px);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}


.section-white {
    background: var(--surface);
}


.section-heading {
    max-width: 760px;

    margin: 0 auto;
}


.section-heading > p {
    color: var(--text-soft);

    font-size: 1.1rem;
}


/* =========================
   FEATURE CARDS
========================= */

.feature-card {
    padding: 2rem;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}


.feature-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 1.4rem;

    background: var(--primary-soft);
    color: var(--primary);

    border-radius: 16px;

    font-size: 1.1rem;
    font-weight: 800;
}


.feature-card p {
    margin-bottom: 0;

    color: var(--text-soft);
}


/* =========================
   CHECK LIST
========================= */

.simple-check-list {
    padding: 0;
    margin: 2rem 0 0;

    list-style: none;
}


.simple-check-list li {
    position: relative;

    padding-left: 2rem;
    margin-bottom: 1rem;

    font-weight: 500;
}


.simple-check-list li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--green);

    font-weight: 800;
}


.support-text {
    color: var(--text-soft);
}


/* =========================
   PRIVACY
========================= */

.privacy-section {
    background: var(--primary-soft);
}


.trust-card {
    padding: 1.7rem;

    background: rgba(255, 255, 255, 0.85);

    border: 1px solid var(--border);
    border-radius: 20px;
}


.trust-card p {
    margin-bottom: 0;

    color: var(--text-soft);
}


.trust-symbol {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;

    padding: 0 0.7rem;
    margin-bottom: 1.2rem;

    background: var(--green-soft);
    color: var(--green);

    border-radius: 12px;

    font-weight: 800;
}


/* =========================
   OPEN SOURCE
========================= */

.open-source-box {
    padding: clamp(2rem, 5vw, 4rem);

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: 30px;
}


.open-source-box p {
    color: var(--text-soft);

    font-size: 1.05rem;
}


/* =========================
   DOWNLOAD
========================= */

.download-section {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1755b4,
            #2f75df
        );
}


.download-section h2 {
    color: #ffffff;
}


.eyebrow-light {
    color: #dbe9ff;
}


.download-description {
    max-width: 650px;

    margin: 1rem auto 2rem;

    color: #e7efff;

    font-size: 1.1rem;
}


.download-button {
    padding-left: 2rem;
    padding-right: 2rem;

    color: var(--primary);
}


.download-button:hover {
    color: var(--primary-dark);
}


.download-details {
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 0.6rem;

    margin-top: 1.2rem;

    color: #dce9ff;

    font-size: 0.92rem;
}


.installation-note {
    max-width: 700px;

    margin: 2.5rem auto 1.5rem;
    padding: 1.5rem;

    background:
        rgba(255, 255, 255, 0.1);

    border:
        1px solid rgba(255, 255, 255, 0.2);

    border-radius: 18px;

    text-align: left;
}


.installation-note strong {
    display: block;

    margin-bottom: 0.7rem;

    color: #ffffff;
}


.installation-note p {
    color: #e7efff;
}


.release-link {
    color: #ffffff;

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 4px;
}


.release-link:hover {
    color: #ffffff;

    opacity: 0.85;
}


/* =========================
   DEVELOPER
========================= */

.developer-box {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 2rem;

    align-items: center;

    padding:
        clamp(2rem, 5vw, 3.5rem);

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: 30px;
}


.developer-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 110px;
    height: 110px;

    flex-shrink: 0;

    background: var(--primary);
    color: #ffffff;

    border-radius: 50%;

    font-size: 2.5rem;
    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(40, 105, 216, 0.2);
}


.developer-box p {
    color: var(--text-soft);
}


.developer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 0.75rem;

    margin-top: 1.5rem;
}


.text-link {
    color: var(--primary);

    font-weight: 700;
}


.text-link:hover {
    color: var(--primary-dark);
}


/* =========================
   FAQ
========================= */

.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-border-radius: 18px;
    --bs-accordion-inner-border-radius: 18px;
}


.accordion-item {
    overflow: hidden;

    margin-bottom: 0.8rem;

    border:
        1px solid var(--border) !important;

    border-radius:
        18px !important;
}


.accordion-button {
    padding: 1.3rem 1.5rem;

    color: var(--text);

    font-weight: 600;
}


.accordion-button:not(.collapsed) {
    color: var(--primary);

    background: var(--primary-soft);

    box-shadow: none;
}


.accordion-button:focus {
    box-shadow: none;
}


.accordion-body {
    padding: 1.5rem;

    color: var(--text-soft);
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 60px 0 30px;

    background: #10243e;
    color: #dce5f0;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 2rem;
}


.footer-brand {
    display: flex;

    align-items: center;

    gap: 0.75rem;
}


.footer-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;
}


.footer-content strong {
    color: #ffffff;

    font-size: 1.1rem;
}


.footer-content p {
    margin-top: 0.7rem;
    margin-bottom: 0;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;

    align-items: flex-start;

    gap: 1.5rem;
}


.footer-links a {
    color: #dce5f0;
}


.footer-links a:hover {
    color: #ffffff;
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 1rem;

    padding-top: 2rem;
    margin-top: 2rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    color: #aebed0;

    font-size: 0.9rem;
}


/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 991.98px) {

    .navbar-collapse {
        padding: 1rem 0 1.5rem;
    }


    .navbar-nav {
        align-items: stretch !important;
    }


    .navbar-nav .btn {
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }


    .hero {
        padding: 65px 0 80px;
    }


    .hero .row {
        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions,
    .hero-trust {
        justify-content: center;
    }


    .hero-screen {
        margin-top: 1rem;
    }


    .section {
        padding: 75px 0;
    }
}


/* =========================
   RESPONSIVE - MOBILE
========================= */

@media (max-width: 767.98px) {

    .developer-box {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .developer-avatar {
        margin: 0 auto;
    }


    .developer-links {
        justify-content: center;
    }


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


    .footer-links {
        margin-top: 0.5rem;
    }
}


/* =========================
   RESPONSIVE - SMALL MOBILE
========================= */

@media (max-width: 575.98px) {

    .hero {
        padding-top: 50px;
    }


    .brand-icon {
        width: 34px;
        height: 34px;
    }


    .navbar-brand {
        font-size: 1rem;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-actions .btn {
        width: 100%;
    }


    .hero-trust {
        gap: 0.7rem 1rem;
    }


    .app-screen,
    .hero-screen {
        width: min(100%, 310px);

        border-radius: 22px;
    }


    .section {
        padding: 60px 0;
    }


    .feature-card,
    .trust-card {
        padding: 1.5rem;
    }


    .download-button {
        width: 100%;
    }


    .developer-links {
        flex-direction: column;
    }


    .developer-links .btn {
        width: 100%;
    }


    .footer-links {
        flex-direction: column;

        gap: 0.8rem;
    }
}


/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;
        animation: none !important;
    }
}