:root {
    --indigo: #2d3436;
    --indigo-soft: #3b4250;
    --coral: #ff7675;
    --coral-soft: #ff9f92;
    --bg: #f9fbff;
    --bg-soft: #f4f6ff;
    --white: #ffffff;
    --text-main: #1f2430;
    --text-dim: #5f6680;
    --border-subtle: rgba(13, 16, 35, 0.06);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 7vw;
    background: rgba(249, 251, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 16, 35, 0.04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), #ff6b9d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-logo-text span:last-child {
    color: var(--coral);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    font-size: 0.95rem;
}

.nav-links a {
    color: var(--text-dim);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-login {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.btn-primary,
.btn-ghost,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral), #ff6b9d);
    color: #fff;
    box-shadow: 0 10px 28px rgba(255, 118, 117, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 118, 117, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    color: var(--indigo);
    border-color: rgba(13, 16, 35, 0.06);
}

.btn-ghost:hover {
    background: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--indigo);
    border-color: rgba(13, 16, 35, 0.18);
}

.btn-outline:hover {
    background: #fff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    padding: 70px 7vw 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-blob::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    background: radial-gradient(circle at top right, #ffe5ec 0, rgba(255, 229, 236, 0.8) 30%, rgba(255, 229, 236, 0) 60%);
    z-index: -1;
}

.hero-blob::after {
    content: "";
    position: absolute;
    inset: auto -160px -200px auto;
    background: radial-gradient(circle at bottom right, #e0f2ff 0, rgba(224, 242, 255, 0.9) 32%, rgba(224, 242, 255, 0) 68%);
    z-index: -1;
}

.hero-content {
    padding-right: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 118, 117, 0.09);
    color: var(--coral);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.3vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

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

.hero p {
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.hero-meta i {
    color: var(--coral);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 360px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.hero-status {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(52, 211, 153, 0.12);
    color: #059669;
    font-weight: 600;
    font-size: 0.75rem;
}

.hero-route {
    list-style: none;
    margin-bottom: 14px;
}

.hero-route li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-local { background: #22c55e; }
.dot-hop { background: #6366f1; }
.dot-exit { background: var(--coral); }

.latency {
    color: var(--text-dim);
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.trust-bar {
    padding: 18px 7vw 8px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 6px;
    font-size: 0.8rem;
}

.trust-logos span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 16, 35, 0.04);
}

.section {
    padding: 70px 7vw;
}

.section-light {
    background: linear-gradient(180deg, #f9fbff 0, #ffffff 100%);
}

.section-dark {
    background: radial-gradient(circle at top left, #3b4250 0, #151827 55%, #0b0f1a 100%);
    color: #e5e7eb;
}

.section-blob-soft {
    background: radial-gradient(circle at top left, #ffe5ec 0, rgba(255, 229, 236, 0.4) 30%, transparent 60%),
                radial-gradient(circle at bottom right, #e0f2ff 0, rgba(224, 242, 255, 0.5) 30%, transparent 65%);
}

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

.section-heading h2 {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--text-dim);
}

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

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-subtle);
}

.section-dark .card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.24);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #fff;
}

.card-icon.proxy { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.card-icon.vpn { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.card-icon.security { background: linear-gradient(135deg, #22c55e, #a3e635); }

.card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.card-list {
    list-style: none;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.card-list i {
    color: var(--coral);
}

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

.step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid var(--border-subtle);
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 118, 117, 0.12);
    color: var(--coral);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.step p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.map-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.map-text p {
    color: #cbd5f5;
    margin-top: 6px;
}

.map-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.map-number {
    font-size: 1.6rem;
    font-weight: 700;
}

.map-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.map-visual {
    position: relative;
    min-height: 220px;
}

.map-bg {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(circle at top, #4b5563 0, #020617 70%);
    opacity: 0.95;
}

.map-pins {
    position: absolute;
    inset: 16px;
}

.pin {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--coral);
    box-shadow: 0 0 0 6px rgba(255, 118, 117, 0.25);
}

.pin-eu { top: 28%; left: 46%; }
.pin-us { top: 40%; left: 28%; }
.pin-asia { top: 38%; left: 68%; }
.pin-sa { top: 60%; left: 34%; }

.zigzag {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.zigzag-item {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
    align-items: center;
}

.zigzag-item.reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.zigzag-item.reverse .zigzag-text {
    order: 2;
}

.zigzag-item.reverse .zigzag-image {
    order: 1;
}

.zigzag-text h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.zigzag-text p {
    color: var(--text-dim);
    margin-bottom: 12px;
}

.mockup {
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    font-size: 0.85rem;
}

.mockup-dark {
    background: #050816;
    color: #e5e7eb;
}

.mockup-light {
    background: #f5f7ff;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.mockup-title {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.mockup-list {
    list-style: none;
}

.mockup-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.mockup-list li:last-child {
    border-bottom: none;
}

.badge-success {
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 0.75rem;
}

#partners {
    padding-top: 60px;
    padding-bottom: 60px;
}

.partner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 32px;
}

.partner.reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.partner.reverse .partner-text {
    order: 2;
}

.partner.reverse .partner-image {
    order: 1;
}

.partner-text h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.partner-text p {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.partner-meta {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.partner-meta i {
    color: var(--coral);
}

.partner-image {
    border-radius: var(--radius-xl);
    min-height: 190px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pricing-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px 20px 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.pricing-card.featured {
    border-color: rgba(255, 118, 117, 0.5);
    box-shadow: 0 20px 48px rgba(255, 118, 117, 0.22);
    transform: translateY(-4px);
}

.pricing-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.price span {
    font-size: 1.6rem;
    font-weight: 700;
}

.price-note {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.pricing-card ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pricing-card i {
    color: var(--coral);
}

.testimonials {
    padding-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.9rem;
}

.testimonial-meta {
    margin-top: 10px;
}

.testimonial-meta .name {
    display: block;
    font-weight: 600;
}

.testimonial-meta .role {
    font-size: 0.8rem;
    color: #9ca3af;
}

.newsletter {
    text-align: center;
}

.newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-inner p {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.newsletter-form input {
    padding: 11px 14px;
    min-width: 220px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.6);
    outline: none;
}

.footer {
    background: #050816;
    color: #e5e7eb;
    padding: 34px 7vw 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 28px;
    font-size: 0.9rem;
}

.footer p {
    color: #9ca3af;
}

.footer h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer ul {
    list-style: none;
    font-size: 0.85rem;
}

.footer li {
    margin-bottom: 4px;
}

.footer a {
    color: #d1d5db;
}

.footer a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 10px;
    font-size: 1rem;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #6b7280;
}

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 48px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 26px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

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

    .map-wrapper,
    .zigzag-item,
    .zigzag-item.reverse,
    .partner,
    .partner.reverse,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .partner.reverse .partner-text,
    .partner.reverse .partner-image,
    .zigzag-item.reverse .zigzag-text,
    .zigzag-item.reverse .zigzag-image {
        order: initial;
    }
}

@media (max-width: 640px) {
    .nav {
        padding-inline: 5vw;
    }

    .section {
        padding-inline: 5vw;
        padding-block: 54px;
    }

    .hero {
        padding-inline: 5vw;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        flex-direction: column;
    }

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