:root {
    --primary-color: #0b2f8a;
    --primary-soft: #edf4ff;
    --secondary-color: #2086ff;
    --secondary-soft: #d9ecff;
    --accent-color: #37d67a;
    --text-color: #1e293b;
    --muted-color: #5f6f85;
    --bg-color: #ffffff;
    --light-gray: #f7faff;
    --border-color: #d9e5f6;
    --shadow-soft: 0 20px 60px rgba(12, 45, 112, 0.10);
    --shadow-card: 0 10px 30px rgba(12, 45, 112, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    margin: 0 0 1rem;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted-color);
}

section {
    padding: 84px 0;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-intro p {
    font-size: 1.1rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), rgba(32, 134, 255, 0));
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(10, 29, 72, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
}

.logo img {
    width: 34px;
    height: 34px;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-toggle {
    background-color: #f7f9fc;
    color: var(--primary-color);
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown-toggle:hover {
    background-color: #eef4ff;
}

.lang-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.lang-dropdown.open .lang-dropdown-toggle svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(10, 29, 72, 0.14);
    z-index: 101;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.lang-dropdown-menu.show {
    display: block;
}

.lang-dropdown-toggle,
.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: start;
    width: 100%;
}

.lang-dropdown-item {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 500;
}

.lang-dropdown-item:hover {
    background-color: #f7faff;
}

.lang-code {
    background-color: #eef4ff;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.lang-name {
    font-weight: 500;
}

/* Hero */
.hero-redesign {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 170, 255, 0.14), transparent 28%),
        radial-gradient(circle at 18% 75%, rgba(76, 221, 132, 0.10), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    padding: 92px 0 72px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 56px;
}

.hero-text p {
    font-size: 1.15rem;
    max-width: 640px;
    margin-bottom: 24px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(32, 134, 255, 0.16);
    box-shadow: 0 10px 30px rgba(12, 45, 112, 0.06);
    color: var(--primary-color);
    font-weight: 700;
}

.hero-kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.hero-platforms,
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-platforms {
    margin-bottom: 18px;
}

.platform-pill,
.hero-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(12, 45, 112, 0.08);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 22px rgba(12, 45, 112, 0.05);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-highlights {
    margin-bottom: 28px;
}

.store-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.store-button img {
    height: 58px;
    width: auto;
}

.hero-visual {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-orb-one {
    width: 340px;
    height: 340px;
    top: 40px;
    right: 40px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.18) 0%, rgba(0, 170, 255, 0.02) 70%, transparent 75%);
}

.hero-orb-two {
    width: 280px;
    height: 280px;
    left: 10px;
    bottom: 20px;
    background: radial-gradient(circle, rgba(76, 221, 132, 0.12) 0%, rgba(76, 221, 132, 0.02) 68%, transparent 74%);
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(217, 229, 246, 0.95);
    box-shadow: 0 18px 40px rgba(12, 45, 112, 0.09);
    color: var(--primary-color);
    font-weight: 700;
    max-width: 220px;
}

.hero-floating-card-top {
    inset-inline-start: 12px;
    top: 66px;
}

.hero-floating-card-bottom {
    inset-inline-end: 0;
    bottom: 58px;
}

.device-pair {
    position: relative;
    width: min(100%, 520px);
    min-height: 610px;
}

.device {
    position: relative;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(212, 225, 242, 0.95);
    border-radius: 42px;
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

.device img {
    width: 100%;
    border-radius: 30px;
}

.device::after {
    content: '';
    position: absolute;
    inset: auto 50% 12px auto;
    transform: translateX(50%);
    width: 88px;
    height: 5px;
    border-radius: 999px;
    background: rgba(151, 167, 191, 0.24);
}

.device-ios {
    width: min(100%, 360px);
}

.device-android {
    width: min(100%, 300px);
}

.device-front {
    position: absolute;
    right: 10px;
    top: 18px;
    z-index: 2;
}

.device-back {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    transform: rotate(-8deg);
}

.device-shadow-soft {
    box-shadow: 0 20px 55px rgba(11, 47, 138, 0.12);
}

/* Benefits */
.benefits-strip {
    padding: 26px 0 8px;
    background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefit-chip {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px 20px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

/* Story sections */
.feature-story {
    background: #ffffff;
}

.feature-story-alt,
.locations-redesign,
.how-it-works-redesign {
    background: var(--light-gray);
}

.feature-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
}

.feature-story-copy h2,
.locations-redesign h2 {
    text-align: start;
    margin-bottom: 18px;
}

.feature-story-copy p,
.locations-redesign p {
    font-size: 1.08rem;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.feature-bullets li {
    position: relative;
    padding-inline-start: 34px;
    font-weight: 500;
    color: var(--text-color);
}

.feature-bullets li::before {
    content: '✔';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #1cc0a1);
    font-size: 0.8rem;
    line-height: 1;
}

.single-device {
    display: flex;
    justify-content: center;
}

.feature-device-large {
    width: min(100%, 380px);
}

.reverse-on-desktop {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

/* How it works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 18px;
}

.step {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 30px 26px;
    border-radius: 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow {
    align-self: center;
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Locations */
.locations-redesign .feature-story-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.locations-redesign .locations-grid {
    margin-top: 28px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    text-align: start;
}

.location-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 500;
    color: var(--text-color);
    box-shadow: 0 8px 22px rgba(12, 45, 112, 0.05);
}

.more-locations {
    margin-top: 22px;
    color: var(--muted-color);
    font-style: italic;
}

/* Protocols */
.protocols-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.protocols-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.protocols-cards {
    display: grid;
    gap: 16px;
}

.protocol-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.protocol-card h3 {
    margin-bottom: 10px;
}

.protocol-card p {
    margin-bottom: 0;
}

.protocols-visuals {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocol-device {
    position: absolute;
    width: min(100%, 330px);
}

.protocol-device:first-child {
    left: 0;
    bottom: 0;
    z-index: 2;
}

.protocol-device-offset {
    inset-inline-end: 0;
    top: 0;
    z-index: 1;
}

/* Platform CTA */
.platform-cta {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    padding-top: 20px;
}

.platform-cta-box {
    padding: 42px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(32, 134, 255, 0.12), transparent 26%),
        radial-gradient(circle at bottom left, rgba(55, 214, 122, 0.10), transparent 22%),
        #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.platform-cta-intro {
    margin-bottom: 32px;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.platform-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    background: #f9fbff;
    border: 1px solid var(--border-color);
}

.platform-card h3 {
    margin-bottom: 8px;
}

.platform-card p {
    margin-bottom: 0;
}

.platform-card-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.platform-store-buttons {
    justify-content: center;
}

/* FAQ */
.faq-redesign {
    background: #fff;
    padding-top: 72px;
}

.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(12, 45, 112, 0.04);
}

.faq-item summary {
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    padding: 18px 20px;
    padding-inline-end: 54px;
    list-style: none;
    position: relative;
    color: var(--primary-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
}

/* Privacy / Support pages */
.privacy-policy {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.privacy-policy h2 {
    text-align: start;
    font-size: 1.7rem;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.privacy-policy h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-policy ul,
.privacy-policy ol {
    padding-inline-start: 22px;
}

.privacy-policy li {
    margin-bottom: 0.6rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 22px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer p {
    color: #fff;
    margin: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-layout,
    .feature-story-grid,
    .protocols-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .protocols-visuals {
        min-height: auto;
    }

    .hero-kicker,
    .hero-platforms,
    .hero-highlights {
        justify-content: center;
    }

    .device-pair {
        min-height: 560px;
        margin: 0 auto;
    }

    .feature-story-copy h2,
    .locations-redesign h2 {
        text-align: center;
    }

    .feature-story-copy,
    .locations-redesign .feature-story-copy {
        text-align: center;
    }

    .feature-bullets {
        max-width: 520px;
        margin-inline: auto;
        text-align: start;
    }

    .locations-grid {
        text-align: start;
    }

    .protocols-visuals {
        min-height: 760px;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .navbar {
        min-height: 70px;
    }

    .hero-redesign {
        padding-top: 72px;
    }

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

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .store-buttons {
        justify-content: center;
    }

    .hero-floating-card {
        display: none;
    }

    .device-pair {
        width: min(100%, 420px);
        min-height: 470px;
    }

    .device-front {
        width: 280px;
        inset-inline-end: 0;
        top: 0;
    }

    .device-back {
        width: 220px;
        left: 0;
        bottom: 0;
    }

    .device,
    .device img {
        border-radius: 28px;
    }

    .device::after {
        width: 72px;
    }

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

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .protocols-visuals {
        min-height: 560px;
    }

    .platform-cta-box {
        padding: 32px 24px;
    }

    .protocol-device,
    .protocol-device:first-child,
    .protocol-device-offset {
        width: min(100%, 280px);
    }

    .protocol-device:first-child {
        left: 12px;
        bottom: 0;
    }

    .protocol-device-offset {
        right: 12px;
        top: 0;
    }

    .footer .container {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .hero-kicker,
    .platform-pill,
    .hero-highlights span {
        font-size: 0.9rem;
    }

    .lang-dropdown-toggle {
        padding: 9px 12px;
    }

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

    .device-pair {
        min-height: 420px;
    }

    .device-front {
        width: min(100%, 250px);
    }

    .device-back {
        width: min(100%, 195px);
    }

    .feature-device-large,
    .device-ios,
    .device-android {
        width: min(100%, 320px);
    }

    .protocols-visuals {
        min-height: 480px;
    }

    .protocol-device,
    .protocol-device:first-child,
    .protocol-device-offset {
        width: min(100%, 235px);
    }

    .faq-item summary {
        font-size: 1rem;
    }
}
