:root {
    --homepage-ink: #163046;
    --homepage-ink-soft: #506479;
    --homepage-line: rgba(22, 48, 70, 0.1);
    --homepage-surface: rgba(255, 255, 255, 0.82);
    --homepage-surface-strong: rgba(255, 255, 255, 0.94);
    --homepage-accent: #2767d8;
    --homepage-accent-soft: #dfeaff;
    --homepage-sage: #d9ece3;
    --homepage-peach: #f7e6d7;
    --homepage-shadow: 0 24px 80px rgba(20, 42, 66, 0.08);
}

.homepage-body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(217, 236, 227, 0.8), transparent 32%),
        radial-gradient(circle at top right, rgba(223, 234, 255, 0.9), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7f4 54%, #f9fafb 100%);
    color: var(--homepage-ink);
}

.homepage-body .navbar {
    background: rgba(248, 251, 255, 0.72);
    border-bottom: 1px solid rgba(22, 48, 70, 0.08);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.homepage-nav-container {
    gap: 1.5rem;
    min-height: 78px;
}

.homepage-nav-panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.homepage-nav-menu {
    gap: 0.5rem;
}

.homepage-nav-menu .nav-link {
    color: var(--homepage-ink-soft);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.homepage-nav-menu .nav-link:hover {
    color: var(--homepage-ink);
    background: rgba(255, 255, 255, 0.7);
}

.nav-utility {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem;
    border: 1px solid rgba(22, 48, 70, 0.1);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
}

.language-button {
    border: 0;
    background: transparent;
    color: var(--homepage-ink-soft);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-button:hover,
.language-button.is-active {
    color: var(--homepage-ink);
    background: white;
    transform: translateY(-1px);
}

.nav-store-button,
.primary-button,
.secondary-button,
.text-link,
.footer-links a {
    text-decoration: none;
}

.nav-store-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    background: var(--homepage-ink);
    color: white;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.nav-store-button:hover,
.primary-button:hover {
    color: white;
    background: #0f2334;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 35, 52, 0.18);
}

.homepage-main {
    position: relative;
    overflow: hidden;
}

.hero-v2 {
    position: relative;
    padding: 7.5rem 1.5rem 3rem;
}

.hero-backdrop {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.85;
    pointer-events: none;
}

.hero-backdrop-one {
    top: 5rem;
    left: -8rem;
    width: 20rem;
    height: 20rem;
    background: rgba(217, 236, 227, 0.8);
}

.hero-backdrop-two {
    top: 1rem;
    right: -6rem;
    width: 24rem;
    height: 24rem;
    background: rgba(223, 234, 255, 0.9);
}

.hero-container-v2,
.home-section,
.homepage-footer-inner {
    width: min(1140px, calc(100vw - 2rem));
    margin: 0 auto;
}

.hero-container-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-copy,
.hero-visual,
.privacy-panel,
.final-cta-card,
.step-card,
.benefit-card-v2,
.feature-visual,
.privacy-card {
    position: relative;
    z-index: 1;
}

.hero-eyebrow,
.section-eyebrow {
    margin: 0 0 1rem;
    color: var(--homepage-accent);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title-v2,
.section-title-v2 {
    margin: 0;
    color: var(--homepage-ink);
    letter-spacing: -0.05em;
}

.hero-title-v2 {
    max-width: 12ch;
    font-size: clamp(2.9rem, 6vw, 5.45rem);
    line-height: 0.94;
}

.hero-title-v2::first-line {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero-lead,
.final-cta-text,
.privacy-lead,
.feature-copy p,
.step-card p,
.benefit-card-v2 p,
.privacy-card p {
    color: var(--homepage-ink-soft);
    line-height: 1.7;
}

.hero-lead {
    max-width: 40rem;
    margin: 1.5rem 0 0;
    font-size: 1.08rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(22, 48, 70, 0.08);
    color: var(--homepage-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-actions,
.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 48, 70, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--homepage-ink);
    font-weight: 700;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.secondary-button:hover {
    color: var(--homepage-ink);
    background: white;
    border-color: rgba(22, 48, 70, 0.18);
    transform: translateY(-2px);
}

.hero-visual {
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.hero-device,
.feature-visual {
    width: min(100%, 460px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 251, 0.92));
    border: 1px solid rgba(22, 48, 70, 0.08);
    border-radius: 2.25rem;
    box-shadow: var(--homepage-shadow);
}

.hero-device {
    padding: 1rem;
    transform: rotate(-4deg);
}

.hero-device-image,
.feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.55rem;
}

.hero-floating-card {
    position: absolute;
    max-width: 220px;
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(22, 48, 70, 0.08);
    box-shadow: 0 18px 38px rgba(20, 42, 66, 0.08);
    backdrop-filter: blur(10px);
}

.hero-floating-card-top {
    top: 2rem;
    left: 0;
}

.hero-floating-card-bottom {
    right: 0;
    bottom: 1.25rem;
}

.floating-card-label {
    margin: 0 0 0.35rem;
    color: var(--homepage-ink);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-card-text {
    margin: 0;
    color: var(--homepage-ink-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.home-section {
    padding: 2rem 0 1.5rem;
}

.section-heading {
    max-width: 44rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.section-title-v2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
}

.steps-grid,
.benefits-grid-v2,
.privacy-grid {
    display: grid;
    gap: 1rem;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid-v2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.benefit-card-v2,
.privacy-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--homepage-line);
    background: var(--homepage-surface);
    box-shadow: 0 16px 40px rgba(20, 42, 66, 0.04);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--homepage-accent-soft);
    color: var(--homepage-accent);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.step-card h3,
.benefit-card-v2 h3,
.feature-copy h3,
.privacy-card h3 {
    margin: 0 0 0.75rem;
    color: var(--homepage-ink);
    font-size: 1.2rem;
    line-height: 1.2;
}

.step-card p,
.benefit-card-v2 p,
.privacy-card p,
.feature-copy p {
    margin: 0;
}

.section-features {
    padding-top: 2.5rem;
}

.feature-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
}

.feature-spotlight + .feature-spotlight {
    margin-top: 2rem;
}

.feature-spotlight-reverse .feature-copy {
    order: 2;
}

.feature-spotlight-reverse .feature-visual {
    order: 1;
}

.feature-copy {
    padding: 1.75rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(22, 48, 70, 0.08);
}

.feature-list-v2 {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.feature-list-v2 li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--homepage-ink);
    font-weight: 600;
}

.feature-list-v2 li + li {
    margin-top: 0.8rem;
}

.feature-list-v2 li::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--homepage-accent);
}

.feature-visual {
    padding: 1rem;
}

.feature-visual-soft {
    background: linear-gradient(180deg, rgba(223, 234, 255, 0.92), rgba(255, 255, 255, 0.96));
}

.feature-visual-warm {
    background: linear-gradient(180deg, rgba(247, 230, 215, 0.88), rgba(255, 255, 255, 0.96));
}

.privacy-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(243, 248, 246, 0.94));
    border: 1px solid rgba(22, 48, 70, 0.08);
    box-shadow: var(--homepage-shadow);
}

.text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    color: var(--homepage-accent);
    font-weight: 800;
}

.text-link:hover {
    color: #184eb3;
}

.privacy-grid {
    grid-template-columns: 1fr;
}

.privacy-card {
    background: var(--homepage-surface-strong);
}

.section-final-cta {
    padding-bottom: 3rem;
}

.final-cta-card {
    padding: 2rem;
    text-align: center;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 245, 251, 0.9));
    border: 1px solid rgba(22, 48, 70, 0.08);
    box-shadow: var(--homepage-shadow);
}

.final-cta-text {
    max-width: 36rem;
    margin: 1rem auto 0;
}

.homepage-footer {
    background: transparent;
    margin: 0;
    padding: 0 0 2rem;
    color: var(--homepage-ink);
}

.homepage-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(22, 48, 70, 0.08);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 40px rgba(20, 42, 66, 0.05);
}

.footer-brand p {
    margin: 0.4rem 0 0;
    color: var(--homepage-ink-soft);
    max-width: 28rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--homepage-ink);
    font-weight: 700;
}

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

@media (max-width: 980px) {
    .hero-container-v2,
    .feature-spotlight,
    .privacy-panel {
        grid-template-columns: 1fr;
    }

    .hero-title-v2 {
        max-width: none;
    }

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

    .hero-floating-card {
        position: static;
        max-width: none;
        width: 100%;
    }

    .feature-spotlight-reverse .feature-copy,
    .feature-spotlight-reverse .feature-visual {
        order: initial;
    }

    .steps-grid,
    .benefits-grid-v2 {
        grid-template-columns: 1fr;
    }

    .homepage-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .homepage-nav-container {
        align-items: flex-start;
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .homepage-nav-panel {
        position: relative;
        width: 100%;
        margin-left: 0;
    }

    .nav-toggle {
        margin-left: auto;
        z-index: 2;
    }

    .homepage-nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.25rem;
        margin-top: 3.75rem;
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(22, 48, 70, 0.08);
        box-shadow: 0 20px 48px rgba(20, 42, 66, 0.12);
    }

    .homepage-nav-menu.active {
        display: flex;
    }

    .nav-utility {
        position: absolute;
        top: 0;
        right: 3.25rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.65rem;
    }

    .nav-store-button {
        min-height: 42px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .hero-v2 {
        padding-top: 6.75rem;
    }

    .hero-container-v2,
    .home-section,
    .homepage-footer-inner {
        width: min(1140px, calc(100vw - 1.4rem));
    }

    .hero-title-v2 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .hero-actions,
    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .feature-copy,
    .privacy-panel,
    .final-cta-card,
    .step-card,
    .benefit-card-v2,
    .privacy-card {
        padding: 1.25rem;
    }
}

@media (max-width: 560px) {
    .language-switcher {
        padding: 0.24rem;
    }

    .language-button {
        padding: 0.35rem 0.52rem;
        font-size: 0.75rem;
    }

    .hero-chip {
        width: 100%;
        justify-content: center;
    }
}
