/* ============================================
   ADBLOCK GUIDE - MODERN CSS STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --accent-primary: #8b5cf6;
    --accent-secondary: #6366f1;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

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

/* Links */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    text-decoration: none;
    color: white;
}

.btn-install {
    background: var(--success);
    color: white;
    padding: 12px 24px;
}

.btn-install:hover {
    background: #0d9668;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Floating Cards */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 1.2rem;
}

.card-1 {
    top: 25%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 8%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ============================================
   WHY ADBLOCK SECTION
   ============================================ */

.why-section {
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
}

.warning-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
}

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

.warning-content h4 {
    color: var(--warning);
    margin-bottom: 8px;
}

.warning-content p {
    color: var(--text-secondary);
}

/* ============================================
   PLATFORM SECTION
   ============================================ */

.platforms-section {
    background: var(--bg-primary);
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.platform-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-secondary);
}

.platform-tab:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.platform-tab.active {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.platform-icon {
    font-size: 2rem;
}

.platform-name {
    font-weight: 600;
}

/* Platform Content */
.platform-content {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

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

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

.platform-header {
    text-align: center;
    margin-bottom: 40px;
}

.platform-header h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.platform-header p {
    color: var(--text-secondary);
}

/* Browser Selector */
.browser-selector {
    margin-bottom: 32px;
}

.browser-selector h4 {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.browser-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.browser-tab {
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.browser-tab:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

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

/* Browser Content */
.browser-content {
    display: none;
}

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

/* Badges */
.recommendation-badge,
.warning-badge,
.info-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.recommendation-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.warning-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.info-badge {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Info Box */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.info-box h4 {
    color: var(--info);
    margin-bottom: 8px;
}

.info-box p {
    color: var(--text-secondary);
}

.info-box.highlight {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.info-box.highlight h4 {
    color: var(--accent-primary);
}

/* Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-content p:last-child {
    margin-bottom: 0;
}

.step-visual {
    margin-top: 16px;
}

.mock-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0060df;
    color: white;
    border-radius: 4px;
    font-weight: 600;
}

/* Permissions Info */
.permissions-info {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: 12px;
}

.permissions-info ul {
    margin: 8px 0 8px 20px;
    color: var(--text-secondary);
}

.safe-note {
    color: var(--success) !important;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Success Box */
.success-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: 12px;
}

.success-box p {
    color: var(--success);
    margin: 0;
}

/* Extensions List */
.extensions-list {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: 12px;
}

.extensions-list ul {
    list-style: none;
    margin-top: 8px;
}

.extensions-list li {
    padding: 6px 0;
    color: var(--text-secondary);
}

/* Info Note */
.info-note {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    margin-top: 12px;
}

.info-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Pro Tip Box */
.pro-tip-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 32px;
}

.pro-tip-box h4 {
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.pro-tip-box ul {
    margin-left: 20px;
    color: var(--text-secondary);
}

.pro-tip-box li {
    padding: 4px 0;
}

/* ============================================
   TROUBLESHOOTING SECTION
   ============================================ */

.troubleshooting-section {
    background: var(--bg-secondary);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    background: var(--bg-glass);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 0 24px 24px;
    color: var(--text-secondary);
}

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

.accordion-content ol,
.accordion-content ul {
    margin-left: 20px;
    margin-top: 8px;
}

.accordion-content li {
    padding: 8px 0;
}

.accordion-content p {
    margin-bottom: 12px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-links h4,
.footer-resources h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-resources ul {
    list-style: none;
}

.footer-links li,
.footer-resources li {
    padding: 8px 0;
}

.footer-links a,
.footer-resources a {
    color: var(--text-secondary);
}

.footer-links a:hover,
.footer-resources a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .floating-card {
        display: none;
    }
    
    .platform-tabs {
        gap: 12px;
    }
    
    .platform-tab {
        padding: 16px 24px;
    }
    
    .platform-content {
        padding: 24px;
    }
    
    .browser-tabs {
        flex-direction: column;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
