/* ==========================================
   WireGuard VPS - Main Stylesheet
   Modern, Responsive Design
   ========================================== */

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

:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #00D4AA;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-gray: #F8F9FA;
    --bg-light: #F5F7FA;
    --border-color: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* === Header & Navigation === */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo strong {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(0, 102, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
}

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* === Hero Section === */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat span {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* === Device Mockup === */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mockup-screen {
    background: white;
    border-radius: 20px;
    height: 100%;
    padding: 2rem;
}

.wireguard-interface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wg-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    color: var(--success);
    font-weight: 600;
}

.status-icon {
    width: 28px;
    height: 28px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.wg-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wg-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

/* === Features Section === */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* === How It Works === */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.cta-center {
    text-align: center;
}

/* === Platforms Section === */
.platforms {
    padding: 5rem 0;
    background: var(--bg-white);
}

.platforms h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    padding: 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.platform-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* === CTA Section === */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-gray);
    transform: scale(1.05);
}

/* === FAQ Preview === */
.faq-preview {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.faq-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-keywords {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* === Platform Tabs === */
.platform-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.tab-button {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-button:hover {
    border-color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Setup Section === */
.setup-section {
    padding: 4rem 0;
}

.setup-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.steps-detailed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-detailed {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    margin-bottom: 1rem;
}

.code-block {
    background: var(--text-dark);
    color: #00ff00;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-block code {
    display: block;
    line-height: 1.8;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--success);
    margin: 1rem 0;
    font-weight: 600;
}

/* === Download Page === */
.download-section {
    padding: 4rem 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.download-card.featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 102, 255, 0.1));
    border-color: var(--primary-color);
    border-width: 3px;
}

.platform-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-version {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.download-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-info {
    display: flex;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.code-block-download {
    background: var(--text-dark);
    color: #00ff00;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: monospace;
    position: relative;
}

.copy-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.platforms-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-gray);
}

/* === Quick Start === */
.quick-start-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
}

.quick-step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

/* === Download Features === */
.download-features {
    padding: 4rem 0;
}

.download-features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-icon-small {
    font-size: 2rem;
    flex-shrink: 0;
}

/* === Requirements === */
.requirements-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.requirements-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.requirement-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

/* === Servers Page === */
.servers-info-section {
    padding: 3rem 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

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

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.servers-list-section {
    padding: 4rem 0;
}

.servers-list-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.server-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.server-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.server-card.recommended {
    border-color: var(--primary-color);
    border-width: 3px;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.server-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.server-flag {
    font-size: 3rem;
}

.server-info h3 {
    margin: 0;
    font-size: 1.5rem;
}

.server-location {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.server-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
}

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

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

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-value.excellent {
    color: var(--success);
}

.stat-value.good {
    color: var(--primary-color);
}

.stat-value.medium {
    color: var(--warning);
}

.server-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* === Server Features === */
.server-features-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.server-features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

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

/* === Choose Server === */
.choose-server-section {
    padding: 4rem 0;
}

.choose-server-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* === FAQ Page === */
.faq-section {
    padding: 4rem 0;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.faq-category-content {
    display: none;
}

.faq-category-content.active {
    display: block;
}

.faq-category-content h2 {
    margin-bottom: 2rem;
}

.faq-category-content .faq-item {
    margin-bottom: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
}

.faq-category-content .faq-question {
    cursor: pointer;
}

.faq-category-content .faq-answer ul,
.faq-category-content .faq-answer ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-category-content .faq-answer li {
    margin-bottom: 0.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-gray);
    font-weight: 600;
}

.troubleshooting-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.check-item {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.check-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-section {
    padding: 4rem 0;
    background: var(--bg-gray);
    text-align: center;
}

.support-section h2 {
    margin-bottom: 1rem;
}

.support-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* === CTA Button Enhancement === */
.cta-button {
    animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero .container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .steps { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav .btn {
        display: none;
    }
    
    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .page-header h1 { font-size: 2rem; }
    
    .platform-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
    
    .step-detailed {
        grid-template-columns: 1fr;
    }
    
    .download-grid,
    .servers-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* === Print Styles === */
@media print {
    .header, .footer, .cta-section, .btn {
        display: none;
    }
}