/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS (Style: Aztec Jungle & Gold)
   ========================================================================== */
:root {
    --bg-main: #070c08;
    --bg-darker: #040705;
    --bg-card: #0d1610;
    --bg-card-hover: #142218;
    
    --color-gold-light: #fff3b0;
    --color-gold-primary: #d1a126;
    --color-gold-dark: #9a6f09;
    --color-jungle-neon: #00ff87;
    --color-jungle-deep: #004629;
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --font-heading: 'Cinzel', 'Georgia', serif;
    --font-body: 'Montserrat', 'Arial', sans-serif;
    
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 255, 135, 0.05);
    --border-radius-m: 8px;
    --border-radius-l: 16px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-primary), var(--color-jungle-neon));
}

.text-center-desktop h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.4rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

strong {
    color: var(--color-gold-light);
    font-weight: 600;
}

em {
    color: var(--color-jungle-neon);
    font-style: normal;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.max-w-900 { max-width: 900px; }
.max-w-800 { max-width: 800px; }
.max-w-700 { max-width: 700px; }

.section-padding {
    padding: 7rem 0;
}

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

.alignment-top-desktop {
    align-items: start;
}

.dark-bg { background-color: var(--bg-darker); }
.pattern-bg {
    background-color: var(--bg-main);
    background-image: radial-gradient(var(--bg-card) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 7, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(209, 161, 38, 0.15);
    transition: padding 0.3s var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.logo-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-gold-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: var(--border-radius-m);
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-dark));
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(209, 161, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 161, 38, 0.5);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-primary));
}

.btn-secondary {
    background: rgba(0, 255, 137, 0.1);
    color: var(--color-jungle-neon);
    border: 1px solid rgba(0, 255, 137, 0.4);
}

.btn-secondary:hover {
    background: var(--color-jungle-neon);
    color: var(--bg-darker);
    box-shadow: 0 0 15px rgba(0, 255, 137, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 11rem;
    padding-bottom: 4rem;
    background-color: var(--bg-darker);
    overflow: hidden;
}

.hero-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(209, 161, 38, 0.1);
    border: 1px solid rgba(209, 161, 38, 0.3);
    color: var(--color-gold-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-visual-break {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(209, 161, 38, 0.2);
    border-bottom: 1px solid rgba(209, 161, 38, 0.2);
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    will-change: transform;
}

/* ==========================================================================
   SECTION INNER BASICS
   ========================================================================== */
.section-header {
    margin-bottom: 2.5rem;
}

.section-tagline {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-jungle-neon);
    margin-bottom: 0.5rem;
}

.section-tagline.orange {
    color: #ff7a00;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

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

/* ==========================================================================
   DATA TABLES (Responsive, custom styled)
   ========================================================================== */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 3.5rem;
    border-radius: var(--border-radius-l);
    border: 1px solid rgba(209, 161, 38, 0.15);
    box-shadow: var(--shadow-premium);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    text-align: left;
    min-width: 600px;
}

th, td {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

th {
    background-color: rgba(4, 7, 5, 0.6);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold-primary);
    border-bottom: 2px solid rgba(209, 161, 38, 0.3);
}

tbody tr:hover {
    background-color: var(--bg-card-hover);
}

.rating-table th {
    background-color: rgba(209, 161, 38, 0.05);
}

.score-cell {
    color: var(--color-jungle-neon);
    white-space: nowrap;
}

/* ==========================================================================
   MEDIA / FIGURES
   ========================================================================== */
.media-container {
    position: relative;
    border-radius: var(--border-radius-l);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-premium);
    margin: 3.5rem 0;
}

.responsive-media-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

.media-container:hover .responsive-media-img {
    transform: scale(1.02);
}

figcaption {
    padding: 1rem 1.5rem;
    background-color: var(--bg-card);
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   CARDS & PROCEDURES STEPS GRID
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.step-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-m);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 135, 0.2);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(209, 161, 38, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

/* Blocks Gap Layouts */
.content-blocks-gap {
    margin-top: 3.5rem;
}

.interactive-list-box, .procedure-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-l);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gold-border { border-top: 4px solid var(--color-gold-primary); }
.green-border { border-top: 4px solid var(--color-jungle-neon); }

/* ==========================================================================
   LISTS STYLING
   ========================================================================== */
.styled-list {
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.styled-list li:last-child {
    margin-bottom: 0;
}

.styled-list.ordered {
    counter-reset: custom-counter;
}

.styled-list.ordered li {
    counter-increment: custom-counter;
}

.styled-list.ordered li::before {
    content: counter(custom-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-gold-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.styled-list.unordered li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-jungle-neon);
    font-size: 0.9rem;
}

.styled-list.positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-jungle-neon);
    font-weight: bold;
}

.styled-list.negative li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ff4a4a;
    font-weight: bold;
}

.styled-list.basic li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* ==========================================================================
   PROS AND CONS BOXES
   ========================================================================== */
.pros-cons-container {
    gap: 2rem;
    margin-top: 3rem;
}

.pros-box, .cons-box {
    padding: 2.5rem;
    border-radius: var(--border-radius-l);
    background-color: rgba(13, 22, 16, 0.4);
}

.pros-box { border: 1px solid rgba(0, 255, 135, 0.15); }
.cons-box { border: 1px solid rgba(255, 74, 74, 0.15); }

/* ==========================================================================
   BLOCKQUOTES & ALERT BOXES
   ========================================================================== */
.warning-blockquote {
    border-left: 4px solid var(--color-gold-primary);
    background-color: rgba(209, 161, 38, 0.05);
    padding: 2rem;
    border-radius: 0 var(--border-radius-m) var(--border-radius-m) 0;
    margin: 3rem 0;
}

.warning-blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-light);
}

.alert-box-luxury {
    background: linear-gradient(145deg, #16120d, #0d0905);
    border: 1px solid rgba(255, 122, 0, 0.2);
    padding: 3.5rem;
    border-radius: var(--border-radius-l);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

/* ==========================================================================
   VISUAL SPECIALTIES
   ========================================================================== */
.visual-deco-block {
    display: flex;
    justify-content: center;
}

.gold-glowing-card {
    background: linear-gradient(135deg, var(--bg-card), #1b160d);
    border: 1px solid rgba(209, 161, 38, 0.3);
    padding: 3rem;
    border-radius: var(--border-radius-l);
    box-shadow: 0 0 40px rgba(209, 161, 38, 0.1);
    width: 100%;
    max-width: 420px;
}

.gold-glowing-card h3 {
    border-bottom: 1px solid rgba(209, 161, 38, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.gold-glowing-card ul {
    list-style: none;
}

.gold-glowing-card li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.gold-glowing-card li::before {
    content: '🛡️';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.target-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-l);
    border: 1px solid rgba(255,255,255,0.03);
}

.target-card.suitable { border-left: 4px solid var(--color-jungle-neon); }
.target-card.alternative { border-left: 4px solid #ffaa00; }

.conclusion-cta {
    margin-top: 3rem;
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.accordion-wrapper {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-m);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.icon-indicator {
    position: relative;
    width: 16px;
    height: 16px;
}

.icon-indicator::before, .icon-indicator::after {
    content: '';
    position: absolute;
    background-color: var(--color-gold-primary);
    transition: transform 0.3s ease;
}

/* Horizontal line */
.icon-indicator::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.icon-indicator::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.accordion-item.active {
    border-color: rgba(209, 161, 38, 0.3);
}

.accordion-item.active .accordion-header h3 {
    color: var(--color-gold-primary);
}

.accordion-item.active .icon-indicator::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
    padding-bottom: 2rem;
}

/* ==========================================================================
   REVEAL ON SCROLL ANIMATIONS
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
    will-change: transform, opacity;
}

[data-reveal="bottom"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

/* Dynamic delays via JS injection or generic fallbacks */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(209, 161, 38, 0.15);
    padding: 5rem 0 2rem 0;
}

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

.footer-brand-column .footer-logo {
    margin-bottom: 1.5rem;
}

.footer-brand-column p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-column h4, .footer-legal-column h4 {
    color: var(--color-gold-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--text-light);
}

.footer-legal-column p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-two-columns {
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-legal-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .alignment-center-mobile {
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        border-bottom: 1px solid rgba(209, 161, 38, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--transition-smooth);
    }
    
    .nav-menu.active {
        max-height: 400px;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        align-items: center;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-visual-break {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-legal-column {
        grid-column: span 1;
    }
    
    .alert-box-luxury {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    .section-padding {
        padding: 4.5rem 0;
    }
    table {
        font-size: 0.9rem;
    }
    th, td {
        padding: 1rem;
    }
}