:root {
    /* Color Palette - Professional Corporate */
    --primary: #0f62fe; /* Strong corporate blue */
    --primary-hover: #0353e9;
    --secondary: #001d6c; /* Deep navy */
    --bg-color: #ffffff;
    --bg-light: #f4f7fb; /* Light grayish blue for sections */
    --bg-dark: #0f172a; /* Slate 900 for footer/dark sections */
    
    --text-main: #1e293b; /* Slate 800 */
    --text-muted: #475569; /* Slate 600 */
    --text-muted-light: #94a3b8; /* Slate 400 for dark backgrounds */
    
    --border-color: #e2e8f0; /* Slate 200 */
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --container-width: 1140px;
    --transition: all 0.25s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html, body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    line-height: 1.25;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: #ffffff !important;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white p {
    color: #ffffff;
}

.text-muted-light {
    color: var(--text-muted-light) !important;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.section-subtitle.max-w {
    max-width: 800px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-block, .btn-text {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff !important;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background-color: var(--bg-light);
}

.btn-text {
    background-color: transparent;
    color: var(--text-main) !important;
    padding: 12px 16px;
}
.btn-text:hover {
    color: var(--primary) !important;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.shadow-btn {
    box-shadow: 0 4px 14px 0 rgba(15, 98, 254, 0.39);
}
.shadow-btn:hover {
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.5);
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}
.logo span {
    color: var(--primary);
}
.logo svg {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(15, 98, 254, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.pricing-card.highlight {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted-light);
    font-size: 1.1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.period {
    color: var(--text-muted);
    font-size: 1rem;
}

.sub-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -20px;
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.features-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.guarantee {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted-light);
    margin-top: 1rem;
}

/* Steps Section */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.step-card {
    flex: 1;
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}
.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    margin-top: 56px;
}

/* Features Content */
.content-split {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.content-split.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-hover img {
    transition: transform 0.5s ease;
}
.image-hover:hover img {
    transform: translateY(-10px);
}

.content-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.icon-box svg {
    width: 20px;
    height: 20px;
}

.feature-row p {
    color: var(--text-muted);
    font-size: 1.05rem;
    padding-top: 8px;
}

.text-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Protocol / Dark Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #60a5fa;
}
.stat-icon svg { width: 24px; height: 24px; }

.stat-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stat-item p {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

/* FAQ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.faq-question .icon svg {
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-question .icon svg {
    transform: rotate(180deg);
}
.faq-item.active .faq-question {
    border-bottom: 1px solid var(--border-color);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
}

.wireguard-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--text-muted-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .content-split { gap: 3rem; }
}

@media (max-width: 768px) {
    .hero-container, .content-split, .content-split.reverse {
        flex-direction: column;
        text-align: center;
    }
    .hero-actions, .trust-indicators {
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .hero-actions a {
        width: 100%;
        box-sizing: border-box;
    }
    .trust-indicators { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .nav-content.mobile-open { flex-wrap: wrap; }
    .mobile-open .nav-links { display: flex; flex-direction: column; width: 100%; text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); gap: 1.5rem; }
    .mobile-open .nav-actions { display: flex; flex-direction: column; width: 100%; text-align: center; padding-bottom: 1rem; margin-top: 1rem;}
    
    .pricing-grid, .stats-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-connector { 
        width: 2px; height: 40px; 
        margin: -10px auto; 
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    
    .feature-row {
        flex-direction: column;
        align-items: center;
    }
    .section-title.text-left { text-align: center; }
    .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}
.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- Professional Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-delay-100 { transition-delay: 100ms; }
.anim-delay-200 { transition-delay: 200ms; }
.anim-delay-300 { transition-delay: 300ms; }
