/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* NordVPN Brand Colors */
    --primary-color: #4687FF;
    --primary-dark: #3366CC;
    --primary-light: #5A9AFF;
    --success-color: #00C853;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ===================================
   Buttons & CTAs
   =================================== */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.cta-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.cta-secondary:hover {
    background-color: #00a043;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-large {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #4687FF 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.hero-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.hero-subheadline {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.trust-icon {
    font-size: 1.25rem;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: 60px 0;
    background-color: var(--bg-white);
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    margin-bottom: 0.5rem;
}

.benefit-text {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ===================================
   Why NordVPN Section
   =================================== */
.why-nordvpn {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.why-content {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.why-text {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.testimonial {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ===================================
   Comparison Table Section
   =================================== */
.comparison {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

thead {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: var(--bg-light);
}

.positive {
    color: var(--success-color);
    font-weight: 600;
}

.negative {
    color: var(--text-light);
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step-title {
    margin-bottom: 0.5rem;
}

.step-text {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ===================================
   Trust & Security Section
   =================================== */
.trust-security {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    min-width: 140px;
}

.badge-icon {
    font-size: 2.5rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.mini-faq {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-answer {
    color: var(--text-medium);
    margin-bottom: 0;
}

.disclosure {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #4687FF 100%);
    color: var(--bg-white);
    text-align: center;
}

.final-cta-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.final-cta-subheadline {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta-guarantee {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 2rem 0;
    background-color: var(--bg-dark);
    color: var(--bg-white);
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===================================
   Sticky CTA (Mobile)
   =================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 12px 20px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.cta-sticky {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

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

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-bar {
        flex-wrap: nowrap;
    }

    .sticky-cta {
        display: none !important;
    }
}

/* ===================================
   Responsive Design - Desktop
   =================================== */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-subheadline {
        font-size: 1.25rem;
    }

    .final-cta-headline {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 40px;
    }
}

/* ===================================
   Performance Optimizations
   =================================== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .sticky-cta,
    .cta-button {
        display: none;
    }
}
