/* ===================================
   Surfshark — Mode C Service Styles
   Cloned from surfshark.net design
   =================================== */

:root {
    --teal: #1EBFBF;
    --teal-light: #e6f9f9;
    --cta-red: #FA3556;
    --cta-red-hover: #e0243f;
    --dark: #16191C;
    --text-body: #1E2327;
    --text-secondary: #6b7280;
    --bg-light: #F9F9F9;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --green: #00B065;
    --radius-xl: 48px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-weight: 600; font-size: 16px;
    border-radius: 100px; padding: 14px 32px; text-decoration: none;
    transition: all 0.2s ease; cursor: pointer; border: none;
}
.btn-cta { background: var(--cta-red); color: #fff; }
.btn-cta:hover { background: var(--cta-red-hover); transform: translateY(-1px); }
.btn-cta-nav { background: var(--cta-red); color: #fff; padding: 10px 24px; font-size: 14px; }
.btn-cta-nav:hover { background: var(--cta-red-hover); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2a2d31; }
.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); height: 72px;
}
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { flex-shrink: 0; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-menu a { text-decoration: none; color: var(--text-body); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--teal); }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    margin-top: 72px; padding: 80px 0 0;
    background: var(--teal);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1; min-width: 0; padding-bottom: 80px; }
.hero-text h1 { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--dark); margin-bottom: 20px; }
.hero-highlight { display: block; }
.hero-description { font-size: 18px; color: rgba(22,25,28,0.8); margin-bottom: 32px; max-width: 480px; }
.hero-trial { margin-top: 16px; font-size: 14px; color: rgba(22,25,28,0.7); }
.hero-trial::before { content: '🛡️ '; }
.hero-image { flex: 0 0 50%; max-width: 580px; }
.hero-image img { width: 100%; height: auto; display: block; }

/* ── Press Bar ───────────────────────────────────────────────── */
.press-bar { padding: 40px 0; border-bottom: 1px solid var(--border); }
.press-logos { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.press-logos img { height: 24px; opacity: 0.5; filter: grayscale(100%); transition: opacity 0.3s; }
.press-logos img:hover { opacity: 0.8; }

/* ── Section common ──────────────────────────────────────────── */
.section-title { font-size: 40px; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-badge { text-align: center; margin-bottom: 24px; }
.section-badge span { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 100px; padding: 8px 20px; font-size: 14px; font-weight: 600; color: var(--dark); }

/* ── Features ────────────────────────────────────────────────── */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { border-radius: var(--radius-lg); padding: 48px 40px; }
.feature-card-dark { background: var(--dark); color: #fff; }
.feature-card-dark h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.feature-card-dark p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; }
.feature-card-teal { background: var(--teal); color: var(--dark); }
.feature-card-teal h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.feature-card-teal p { color: rgba(22,25,28,0.7); font-size: 16px; line-height: 1.6; }
.feature-card-light { background: var(--bg-light); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.feature-stat { font-size: 56px; font-weight: 800; color: var(--dark); line-height: 1; }
.feature-stat-label { font-size: 16px; color: var(--text-secondary); margin-top: 8px; }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs-section { padding: 0 0 80px; }
.tabs-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; justify-content: center; }
.tab-btn { background: none; border: none; border-bottom: 3px solid transparent; padding: 16px 24px; font-size: 15px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-family: var(--font); margin-bottom: -2px; }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-btn:hover { color: var(--dark); }
.tab-content { display: none; text-align: center; max-width: 700px; margin: 0 auto; font-size: 17px; color: var(--text-secondary); line-height: 1.7; }
.tab-content.active { display: block; }

/* ── Security ────────────────────────────────────────────────── */
.security-section { padding: 80px 0; background: var(--bg-light); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.security-card { border-radius: var(--radius-lg); padding: 48px 40px; }
.security-card-dark { background: var(--dark); color: #fff; }
.security-card-dark h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.security-card-dark p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: var(--bg-white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.pricing-card h3 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 16px; }
.price { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.price span { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
.price-per-month { font-size: 14px; color: var(--green); font-weight: 600; margin-bottom: 24px; }
.pricing-popular { border-color: var(--cta-red); }
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--cta-red); color: #fff; padding: 4px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; }
.pricing-trial { text-align: center; margin-top: 32px; font-size: 15px; color: var(--text-secondary); }

/* ── Servers ──────────────────────────────────────────────────── */
.servers { padding: 80px 0; background: var(--bg-light); }
.servers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.server-card { display: flex; align-items: center; gap: 16px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; transition: box-shadow 0.2s; }
.server-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.server-flag { font-size: 28px; }
.server-info { flex: 1; }
.server-info h4 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.server-stats { display: flex; gap: 16px; font-size: 12px; color: var(--text-secondary); }
.server-stats i { color: var(--teal); margin-right: 4px; }
.server-status { font-size: 12px; font-weight: 600; color: var(--green); }

/* ── Referral ────────────────────────────────────────────────── */
.referral { padding: 80px 0; }
.referral-content { background: var(--teal); border-radius: var(--radius-xl); padding: 64px 48px; text-align: center; }
.referral-icon { font-size: 48px; margin-bottom: 24px; }
.referral-content h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.referral-content p { font-size: 17px; color: rgba(22,25,28,0.8); max-width: 560px; margin: 0 auto 32px; }

/* ── How It Works ────────────────────────────────────────────── */
.how-it-works { padding: 80px 0; background: var(--bg-light); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; position: relative; }
.step-number { position: absolute; top: 16px; right: 20px; font-size: 48px; font-weight: 800; color: var(--bg-light); }
.step-icon { font-size: 40px; color: var(--teal); margin-bottom: 20px; }
.step-card h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.quick-faq { padding: 80px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 24px 0; font-size: 17px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--text-secondary); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 24px; font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ── Download ────────────────────────────────────────────────── */
.download-section { padding: 80px 0; background: var(--bg-light); }
.download-cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dl-card { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 16px; text-decoration: none; color: var(--dark); transition: box-shadow 0.2s, transform 0.2s; }
.dl-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.dl-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.dl-icon svg { width: 40px; height: 40px; }
.dl-card h3 { font-size: 16px; font-weight: 600; }
.dl-ver { font-size: 12px; color: var(--text-secondary); text-align: center; }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-section { padding: 80px 0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.cta-content p { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--dark); color: #fff; padding: 64px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; margin-top: 16px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo span { font-size: 20px; font-weight: 800; color: #fff; }
.footer-section h4 { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-section ul a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ── SEO Block ───────────────────────────────────────────────── */
.seo-block { padding: 24px 0 32px; }
.seo-block-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.seo-block-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 1px; margin-bottom: 12px; }
.seo-block-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.seo-block-links li a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; transition: color 0.2s; }
.seo-block-links li a:hover { color: rgba(255,255,255,0.5); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 36px; }
    .section-title { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .download-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .nav-menu { display: none; }
    .btn-cta-nav { display: none; }

    .hero { padding: 40px 0 0; }
    .hero-inner { flex-direction: column; gap: 32px; }
    .hero-text { padding-bottom: 0; text-align: center; }
    .hero-text h1 { font-size: 32px; }
    .hero-description { margin: 0 auto 24px; }
    .hero-image { max-width: 100%; }

    .press-logos { justify-content: center; gap: 24px; }
    .press-logos img { height: 18px; }

    .features-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .steps-grid { grid-template-columns: 1fr; }
    .download-cards-grid { grid-template-columns: repeat(2, 1fr); }

    .tabs-nav { overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
    .tab-btn { white-space: nowrap; padding: 12px 16px; font-size: 13px; }

    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .referral-content { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 28px; }
    .section-title { font-size: 26px; }
    .feature-stat { font-size: 40px; }
    .download-cards-grid { grid-template-columns: 1fr; }
}
