/* UltraVPN Landing — nuansa hijau/teal seperti ultravpn.my.id */
.landing-page {
    --lp: #0d9488;
    --lp-dark: #0d9488;
    --lp-deep: #0f766e;
    --lp-soft: #ccfbf1;
    --lp-glow: rgba(13, 148, 136, 0.1);
    --lp-text: #0d9488;
    --landing-divider: color-mix(in srgb, var(--border) 18%, transparent);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.landing-page .theme-toggle:hover {
    border-color: var(--lp);
    color: var(--lp-text);
}

.landing-container {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.landing-nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    transition: color 0.15s, background 0.15s;
}

.landing-nav a:hover {
    color: var(--lp-text);
    background: var(--lp-glow);
}

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

.landing-header-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.landing-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-input);
    cursor: pointer;
}

.landing-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 1px;
}

.landing-mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    flex-basis: 100%;
    order: 10;
    padding: 4px 0 8px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.landing-mobile-nav a {
    padding: 12px 14px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
}

.landing-mobile-nav a:hover {
    background: var(--surface-active);
    color: var(--text);
}

/* Buttons */
.landing-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: filter 0.15s, background 0.15s, border-color 0.15s;
}

.landing-page .btn-primary {
    background: var(--lp-dark);
    color: #fff;
}

.landing-page .btn-primary:hover {
    background: var(--lp-deep);
}

.landing-page .btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

html[data-theme="light"] .landing-page .btn-ghost {
    border-color: var(--lp-dark);
    color: var(--lp-dark);
}

.landing-page .btn-ghost:hover {
    border-color: var(--lp);
    color: var(--lp-text);
    background: var(--lp-glow);
}

.landing-page .btn-lg { padding: 13px 22px; font-size: 0.95rem; }

/* Hero */
.landing-hero {
    padding: 48px 0 56px;
    background: linear-gradient(160deg, var(--lp-glow) 0%, var(--bg) 50%);
    border-bottom: none;
    position: relative;
}

.landing-hero::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--landing-divider) 18%,
        var(--landing-divider) 82%,
        transparent 100%
    );
}

html[data-theme="light"] .landing-hero {
    background: linear-gradient(160deg, #f0fdfa 0%, #fff 55%);
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.landing-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lp-glow);
    border: 1px solid color-mix(in srgb, var(--lp) 35%, transparent);
    color: var(--lp-text);
    font-size: 0.8rem;
    font-weight: 600;
}

html[data-theme="light"] .landing-eyebrow {
    background: var(--lp-soft);
    color: var(--lp-deep);
    border-color: color-mix(in srgb, var(--lp-dark) 25%, transparent);
}

.landing-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    line-height: 1.18;
    margin-bottom: 14px;
    font-weight: 800;
    color: var(--lp-dark);
}

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

html[data-theme="light"] .landing-hero h1 span {
    color: var(--lp-deep);
}

.landing-lead {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 22px;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-hero-banner img {
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
}

/* Sections */
.landing-section {
    padding: 52px 0;
    position: relative;
}

.landing-section + .landing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--landing-divider) 18%,
        var(--landing-divider) 82%,
        transparent 100%
    );
}

.landing-section-alt {
    background: color-mix(in srgb, var(--text) 1.5%, var(--bg));
}

.landing-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 32px;
}

.landing-section-head h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--lp-dark);
}

.landing-title {
    color: var(--lp-dark);
}

.landing-section-head p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Protocol cards */
.landing-protocol-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-protocol-card {
    position: relative;
    padding: 26px 22px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.landing-protocol-card.featured {
    border-color: color-mix(in srgb, var(--success) 45%, var(--border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--success) 12%, transparent);
}

.landing-protocol-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--success) 15%, transparent);
    color: var(--success);
}

.landing-protocol-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.landing-protocol-icon.l2tp {
    background: var(--lp-glow);
    color: var(--lp-text);
}

html[data-theme="light"] .landing-protocol-icon.l2tp {
    background: var(--lp-soft);
    color: var(--lp-deep);
}

.landing-protocol-icon.wg {
    background: color-mix(in srgb, var(--success) 15%, transparent);
    color: var(--success);
}

.landing-protocol-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.landing-protocol-card > p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.landing-protocol-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

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

.landing-feature {
    padding: 20px 16px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.landing-feature h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: var(--lp-text);
}

html[data-theme="light"] .landing-feature h3 {
    color: var(--lp-dark);
}

.landing-feature p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0;
}

/* Pricing */
.landing-pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 260px));
    gap: 16px;
    justify-content: center;
    margin-bottom: 14px;
}

.landing-pricing-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.landing-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.landing-service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 22px;
}

.landing-service-card.featured {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent);
}

.landing-service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    padding: 4px 8px;
    border-radius: 999px;
}

.landing-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.landing-service-icon.remote {
    background: color-mix(in srgb, var(--primary) 16%, transparent);
    color: var(--primary);
}

.landing-service-icon.speedtest {
    background: color-mix(in srgb, #3b82f6 16%, transparent);
    color: #60a5fa;
}

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

.landing-service-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.landing-service-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.landing-price-card {
    padding: 22px 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
}

.landing-price-card.highlight {
    border-color: var(--lp);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lp) 25%, transparent);
}

.landing-price-card h3 {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.landing-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--lp-text);
    margin-bottom: 4px;
}

html[data-theme="light"] .landing-price {
    color: var(--lp-dark);
}

.landing-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.landing-price-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.landing-price-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Testimonials */
.landing-testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.landing-testimonials blockquote {
    margin: 0;
    padding: 20px 18px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.landing-testimonials p {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.landing-testimonials footer {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* CTA */
.landing-cta {
    padding: 48px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--lp-glow), color-mix(in srgb, var(--lp) 6%, transparent));
    border-top: 1px solid var(--border);
}

.landing-cta h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin-bottom: 8px;
    font-weight: 700;
}

.landing-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Footer */
.landing-footer {
    padding: 36px 0 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    gap: 24px;
    margin-bottom: 20px;
}

.landing-brand-footer { margin-bottom: 8px; }

.landing-footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    max-width: 300px;
    margin: 0;
}

.landing-footer h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.landing-footer a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 0;
    font-size: 0.88rem;
}

.landing-footer a:hover { color: var(--lp-text); }

.landing-footer-copy {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
    .landing-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .landing-hero-banner { order: -1; }
    .landing-hero-banner img { max-width: 320px; }
    .landing-features-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-testimonials { grid-template-columns: 1fr; }
    .landing-footer-grid { grid-template-columns: 1fr; }
}

body.landing-menu-open { overflow: hidden; }

@media (max-width: 768px) {
    .landing-nav,
    .landing-header-actions { display: none; }
    .landing-header-mobile { display: flex; }
    .landing-header-mobile .theme-toggle { display: inline-flex; }
    .landing-menu-btn { display: flex; }
    .landing-mobile-nav:not([hidden]) { display: flex; }
    .landing-protocol-grid { grid-template-columns: 1fr; }
    .landing-services-grid { grid-template-columns: 1fr; }
    .landing-pricing-cards--3 { grid-template-columns: 1fr; }
    .landing-hero { padding: 36px 0 44px; }
    .landing-hero-actions .btn { flex: 1 1 100%; }
    .landing-hero-copy { text-align: center; }
    .landing-lead { margin-left: auto; margin-right: auto; }
    .landing-hero-actions { justify-content: center; }
}
