/* Palm VPN — Landing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0;
}

:root {
    --bg: #f4f5f7;
    --card: #ffffff;
    --border: #e5e7eb;
    --border2: #d1d5db;
    --accent: #16a34a;
    --adim: rgba(22, 163, 74, 0.08);
    --ab: rgba(22, 163, 74, 0.25);
    --text: #111827;
    --t2: #6b7280;
    --t3: #9ca3af;
    --t4: #d1d5db;
    --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --mono: "JetBrains Mono", monospace;
    --r: 10px;
    --r2: 7px;
    --sh: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --sh2: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --max: 1080px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    word-break: break-word;
}

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

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background: var(--adim);
    border: 1px solid var(--ab);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.brand-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
}
.brand-name span {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--r2);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.1s;
    white-space: nowrap;
}

.btn svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
    flex-shrink: 0;
}

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

.btn-primary:hover {
    background: #15803d;
    border-color: #15803d;
}

.btn-ghost {
    background: var(--card);
    color: var(--t2);
    border-color: var(--border);
    cursor: not-allowed;
    opacity: 0.85;
    position: relative;
}

.btn-ghost .soon {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--t3);
    margin-left: 2px;
}

.btn-outline {
    background: var(--card);
    color: var(--accent);
    border-color: var(--ab);
}

.btn-outline:hover {
    background: var(--adim);
}

/* ── Hero ── */
.hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 64px 20px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--adim);
    border: 1px solid var(--ab);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero-badge svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-lead {
    font-size: 16px;
    color: var(--t2);
    max-width: 440px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--t2);
}

.meta-item strong {
    color: var(--text);
    font-weight: 600;
}

.meta-item svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
    color: var(--accent);
}

/* Hero visual card */
.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--sh2);
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.hero-price {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--t3);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 14px;
}

.stat-box .label {
    font-size: 11px;
    color: var(--t3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.stat-box .value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-box .value small {
    font-size: 12px;
    font-weight: 500;
    color: var(--t2);
}

/* ── Sections ── */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px 64px;
}

.section-head {
    text-align: center;
    margin-bottom: 36px;
}

.section-head h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-head p {
    color: var(--t2);
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px;
    box-shadow: var(--sh);
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.feature:hover {
    border-color: var(--ab);
    box-shadow: var(--sh2);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--adim);
    border: 1px solid var(--ab);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 14px;
}

.feature-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
}

.feature h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature p {
    font-size: 13px;
    color: var(--t2);
    line-height: 1.55;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px;
    position: relative;
}

.step-num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--t3);
    margin-bottom: 12px;
}

.step h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step h3 svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
    color: var(--accent);
}

.step p {
    font-size: 13px;
    color: var(--t2);
    line-height: 1.55;
}

/* Pricing */
.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    box-shadow: var(--sh2);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.pricing-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-left p {
    color: var(--t2);
    font-size: 14px;
    margin-bottom: 16px;
    max-width: 420px;
}

.pricing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--t2);
}

.tag svg {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    color: var(--accent);
}

.pricing-right {
    text-align: right;
}

.price-from {
    font-size: 12px;
    color: var(--t3);
    margin-bottom: 4px;
}

.price-main {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-main span {
    font-size: 16px;
    font-weight: 500;
    color: var(--t2);
}

.price-note {
    font-size: 12px;
    color: var(--t3);
    margin-top: 6px;
}

/* CTA band */
.cta-band {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--sh);
}

.cta-band h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-band p {
    color: var(--t2);
    margin-bottom: 22px;
    font-size: 14px;
}

.cta-band .hero-cta {
    justify-content: center;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 20px;
    margin-top: 16px;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    font-size: 13px;
    color: var(--t2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--text);
}
.footer-links svg {
    width: 13px;
    height: 13px;
    stroke-width: 1.8;
}

.footer-copy {
    font-size: 12px;
    color: var(--t3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        gap: 32px;
    }

    .hero-card {
        order: -1;
    }

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

@media (max-width: 600px) {
    .header-inner {
        padding: 0 14px;
    }

    .btn span.hide-sm {
        display: none;
    }

    .hero {
        padding: 32px 14px 28px;
    }

    .section {
        padding: 0 14px 48px;
    }

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

    .pricing-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .pricing-right {
        text-align: left;
    }

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

/* Tablet: keep pricing card stacked earlier so price doesn't get squeezed */
@media (max-width: 760px) {
    .pricing-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .pricing-right {
        text-align: left;
    }
}

/* Small phones */
@media (max-width: 420px) {
    html {
        font-size: 13px;
    }

    .header-inner {
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }

    .btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 5px;
    }

    .btn-ghost .soon {
        display: none;
    }

    .brand-name {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .hero-meta {
        gap: 12px 16px;
    }

    .hero-card {
        padding: 18px;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-box {
        padding: 12px;
    }

    .stat-box .value {
        font-size: 16px;
    }

    .price-main {
        font-size: 30px;
    }

    .cta-band {
        padding: 28px 18px;
    }

    .pricing-card {
        padding: 18px;
    }

    .step h3,
    .feature h3 {
        font-size: 13px;
    }
}

/* Very narrow phones */
@media (max-width: 340px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .header-actions .btn span:not(.soon) {
        white-space: normal;
    }

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

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