/* ============================================
   VOLCANO EXECUTOR - PERFECT DESIGN v3.0
   Pixel-Perfect, Typography-Obsessed
   ============================================ */

:root {
    --primary: #ff4500;
    --primary-dark: #cc3700;
    --primary-light: #ff6b35;
    --accent: #ffa500;
    --bg: #0a0a0a;
    --bg-sec: #111111;
    --bg-card: #181818;
    --text: #f5f5f5;
    --text-muted: #9ca3af;
    --border: #2a2a2a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

/* ============================================
   ANIMATED BACKGROUND - MINIMAL & CLEAN
   ============================================ */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 15% 25%, rgba(255, 69, 0, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 75%, rgba(255, 107, 53, 0.02) 0%, transparent 50%),
                var(--bg);
}

.volcano-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: float-clean 30s infinite ease-in-out;
    filter: blur(60px);
}

.volcano-particle:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -100px;
}

.volcano-particle:nth-child(2) {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -150px;
    animation-delay: 10s;
}

.volcano-particle:nth-child(3) {
    width: 350px;
    height: 350px;
    bottom: -150px;
    left: 30%;
    animation-delay: 20s;
}

@keyframes float-clean {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    50% { transform: translate(20px, -30px); opacity: 0.6; }
}

/* ============================================
   HEADER & HERO - CLEAN & SPACIOUS
   ============================================ */
.hero {
    background: linear-gradient(180deg, rgba(26, 5, 0, 0.2) 0%, transparent 100%);
    padding: 60px 24px 120px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-container {
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

.main-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(255, 69, 0, 0.4));
    transition: transform 0.4s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .sep {
    margin: 0 10px;
    opacity: 0.5;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin: 48px 0;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-item strong {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* CTA */
.cta-container {
    margin-top: 56px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    padding: 20px 48px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 69, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 69, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    z-index: 1;
}

.btn-text strong {
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.btn-text small {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.btn-icon {
    flex-shrink: 0;
    z-index: 1;
}

/* Trust Badges */
.trust-badges {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 13px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.badge:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255, 69, 0, 0); }
}

.pulse {
    animation: pulse 3s infinite;
}

/* Social Buttons */
.social-buttons {
    margin: 40px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-social {
    border: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.fb { background: #3b5998; }
.tw { background: #1da1f2; }
.li { background: #0077b5; }
.pin { background: #bd081c; }
.rd { background: #ff4500; }

/* ============================================
   MAIN CONTENT - PERFECT SPACING
   ============================================ */
.content {
    background: var(--bg-sec);
    margin-top: -80px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 80px 56px;
    box-shadow: var(--shadow-lg);
}

.intro-block {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 64px;
}

.intro-text {
    font-size: 1.075rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 80px 0 32px 0;
    padding-left: 24px;
    border-left: 4px solid var(--primary);
    letter-spacing: -0.3px;
}

h3 {
    color: var(--primary-light);
    font-size: 1.4rem;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 1.025rem;
    line-height: 1.75;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.feature-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(255, 69, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin: 16px 0 12px 0;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.65;
    margin: 0;
}

/* Steps */
.steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 28px 28px 28px 88px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.steps li:hover {
    background: rgba(24, 24, 24, 0.8);
    transform: translateX(4px);
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.steps li strong {
    color: var(--primary-light);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 8px;
}

/* Content Images */
.content-image {
    margin: 64px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.content-image figcaption {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Warning & Info Boxes */
.warning-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 40px 0;
}

.warning-box strong {
    color: var(--warning);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 12px;
}

.warning-box a {
    color: var(--warning);
    text-decoration: underline;
}

.info-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid #3b82f6;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 40px 0;
}

.info-box strong {
    color: #3b82f6;
    font-size: 1.05rem;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(24, 24, 24, 0.8);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

tbody tr {
    transition: background 0.2s;
}

tbody tr:hover {
    background: rgba(255, 69, 0, 0.05);
}

tbody tr:last-child td {
    border-bottom: none;
}

code {
    background: rgba(255, 69, 0, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--primary-light);
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.92em;
    font-weight: 500;
}

/* Accordion */
.accordion {
    margin: 40px 0;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(255, 69, 0, 0.5);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 24px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 69, 0, 0.05);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary);
    font-weight: 300;
}

.accordion-header.active {
    background: rgba(255, 69, 0, 0.08);
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 0 28px 28px 28px;
}

.accordion-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.accordion-content ul, .accordion-content ol {
    margin-left: 24px;
    margin-top: 12px;
}

.accordion-content li {
    margin-bottom: 10px;
    color: var(--text);
}

.accordion-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Changelog */
.changelog-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: var(--radius-md);
    margin: 48px 0;
}

.log-entry {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.log-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.log-entry.current {
    border: 2px solid var(--primary);
    padding: 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 69, 0, 0.05);
}

.version-badge {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.date {
    display: inline-block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.log-entry strong {
    display: block;
    color: var(--primary-light);
    font-size: 1.4rem;
    margin: 12px 0 16px 0;
    font-weight: 700;
}

.log-entry ul {
    margin-left: 24px;
    margin-top: 12px;
}

.log-entry li {
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.7;
}

/* Internal Links */
.internal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 48px 0;
    padding: 0;
    list-style: none;
}

.internal-links li a {
    display: block;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.internal-links li a:hover {
    background: rgba(255, 69, 0, 0.08);
    border-color: var(--primary);
    transform: translateX(4px);
}

/* Comparison Table */
.comparison-table {
    margin: 64px 0;
}

.comparison-table h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 32px;
    color: #ffffff;
}

.comparison-table tbody td:nth-child(2) {
    background: rgba(16, 185, 129, 0.05);
    font-weight: 600;
}

/* Bottom Share */
.bottom-share {
    margin-top: 80px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.bottom-share h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.bottom-share p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg);
    margin-top: 96px;
    padding: 64px 24px 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-img {
    max-width: 110px;
    margin-bottom: 16px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-stats {
    font-size: 13px;
    opacity: 0.7;
}

.footer-content h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-content ul {
    list-style: none;
}

.footer-content ul li {
    margin-bottom: 12px;
}

.footer-content ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.footer-content ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px !important;
    opacity: 0.7;
    line-height: 1.7;
    max-width: 900px;
    margin: 16px auto 0 auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FIXES - Quick Links & Social Buttons
   ============================================ */

/* Internal Links - Fixed sizing */
.internal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 48px 0;
    padding: 0;
    list-style: none;
}

.internal-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 15px;
    height: 100%;
    min-height: 60px;
}

.internal-links li a:hover {
    background: rgba(255, 69, 0, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.15);
}

.link-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

/* Bottom Share Social Buttons - Fixed */
.bottom-share .social-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bottom-share .btn-social {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.bottom-share .btn-social:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.bottom-share .btn-social svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }

    .stats-bar {
        gap: 32px;
        flex-wrap: wrap;
    }

    .stat-item strong {
        font-size: 1.6rem;
    }
    
    .content {
        padding: 56px 28px;
        margin-top: -60px;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps li {
        padding-left: 76px;
    }

    .steps li::before {
        left: 24px;
    }

    .social-buttons {
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 130px;
    }
    
    h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .stats-bar {
        flex-direction: column;
        gap: 24px;
    }

    .content {
        padding: 48px 20px;
    }
    
    .btn-social {
        width: 42px;
        height: 42px;
    }

    .accordion-header {
        padding: 20px 22px;
        font-size: 0.98rem;
    }

    table {
        font-size: 13px;
    }

    th, td {
        padding: 14px 12px;
    }
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: var(--primary);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    
    .internal-links {
        grid-template-columns: 1fr;
    }
    
    .bottom-share .social-buttons {
        gap: 12px;
    }
    
    .bottom-share .btn-social {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    
    .internal-links li a {
        padding: 16px 20px;
        font-size: 14px;
        min-height: 56px;
    }
    
    .link-icon {
        font-size: 18px;
    }
    
    .bottom-share .btn-social {
        width: 44px;
        height: 44px;
    }
    
    .bottom-share .btn-social svg {
        width: 20px;
        height: 20px;
    }
}
