/* Custom CSS Variables for Aero Glassmorphism Theme */
:root {
    --bg-cosmic: #030712;
    --bg-cosmic-alt: #0a0e29;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 242, 254, 0.4);
    --glass-blur: blur(20px);
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-primary: #00f2fe;
    --color-secondary: #9b51e0;
    --color-accent: #4facfe;
    --color-white: #ffffff;
    --color-alert-bg: rgba(239, 68, 68, 0.05);
    --color-alert-border: rgba(239, 68, 68, 0.2);

    --font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-cosmic);
    color: var(--color-text-main);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}
.orb-1 {
    top: 5%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--color-primary);
}
.orb-2 {
    top: 40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: var(--color-secondary);
}
.orb-3 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--color-accent);
}

/* Scannable Containers */
.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.mini-layout {
    max-width: 840px;
}

/* Header UI Elements */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.header-container {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    height: 50px;
    text-decoration: none;
}
.nav-logo {
    height: 100%;
    width: auto;
}
.desktop-nav {
    display: flex;
    gap: 2rem;
}
.desktop-nav a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}
.desktop-nav a:hover {
    color: var(--color-primary);
}
.desktop-nav a:hover::after {
    width: 100%;
}

/* Responsive Menu Hamburguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Link List Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(25px);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}
.mobile-nav-overlay.active {
    transform: translateX(0);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.mobile-nav a {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.mobile-nav a:hover {
    color: var(--color-primary);
}

/* Hero Interface Design */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}
.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-center: center;
}
.hero-content {
    max-width: 900px;
    text-align: center;
}
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-white) 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Glassmorphism Structural Cards */
.glass-section {
    padding: 100px 0;
    position: relative;
}
.alternate-bg {
    background-color: rgba(10, 14, 41, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 30px 60px rgba(0, 242, 254, 0.1);
    transform: translateY(-4px);
}

/* Typography elements */
.section-title-block {
    margin-bottom: 3.5rem;
}
h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}
.title-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}
.title-line.center {
    margin: 0 auto;
}
p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.section-intro {
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
}
.highlight-text {
    color: var(--color-primary);
    font-weight: 600;
}

/* Production-Ready Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--bg-cosmic);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
    border: none;
}
.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Layout Grids */
.grid-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: start;
}
.content-blocks, .layout-subsections, .pros-cons-container, .choices-container {
    margin-top: 3rem;
}

/* Elegant Tables Structure */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 4rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}
th {
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.01);
}
td {
    color: var(--color-text-main);
    font-size: 1rem;
}
tr:last-child td {
    border-bottom: none;
}
tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Interactive Rating Badges */
.rating-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(155, 81, 224, 0.15);
    border: 1px solid var(--color-secondary);
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 700;
}
.rating-badge.high {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--color-primary);
}

/* Premium Figure Showcase */
.glass-figure {
    margin: 4rem 0;
    text-align: center;
}
.figure-image-wrapper {
    border-radius: 24px;
    padding: 6px;
    background: linear-gradient(135deg, var(--glass-border), transparent);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    display: inline-block;
    width: 100%;
}
.glass-figure img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    transition: var(--transition-smooth);
}
.glass-figure:hover img {
    transform: scale(1.015);
}
figcaption {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
}
.no-margin {
    margin: 0;
}

/* Lists and Steps Presentation */
.custom-steps {
    list-style: none;
    counter-reset: step-counter;
}
.custom-steps li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}
.custom-steps li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(155, 81, 224, 0.3);
}
.custom-steps span {
    color: var(--color-text-main);
    font-size: 1.05rem;
    padding-top: 3px;
}
.note-box {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 16px 16px 0;
}
.note-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Bullet Lists Layout */
ul {
    list-style: none;
}
ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}
ul li::before {
    content: '✦';
    position: absolute;
    left: 0.25rem;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* Pro & Con Specific styling */
.pro-card ul li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}
.con-card ul li::before {
    content: '✕';
    color: #ef4444;
    font-weight: bold;
}

/* Alert Specific Boxes */
.warning-bg .alert-card {
    background: var(--color-alert-bg);
    border: 1px solid var(--color-alert-border);
}
.warning-bg .alert-card h2 {
    color: #f87171;
}

/* Sub-sections Card Elements */
.sub-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

/* Accordion UI Interfaces */
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.accordion-item {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
}
.accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: var(--color-white);
    transition: var(--transition-smooth);
}
.accordion-trigger h3 {
    font-size: 1.15rem;
    font-weight: 600;
    padding-right: 1.5rem;
    line-height: 1.4;
}
.icon-indicator {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.icon-indicator::before, .icon-indicator::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}
.icon-indicator::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}
.icon-indicator::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}
.accordion-item[aria-expanded="true"] .icon-indicator::after,
.accordion-trigger[aria-expanded="true"] .icon-indicator::after {
    transform: rotate(90deg);
    opacity: 0;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.accordion-content p {
    padding: 0 2rem 2rem 2rem;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

/* Footer Section */
.main-footer {
    background: #02050c;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.footer-logo {
    height: 60px;
}
.disclaimer {
    max-width: 700px;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}
.copyright {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Native JavaScript Reveal Animations Styling */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1920px) {
    /* Fluid structure scale defaults for ultra-wide displays */
}

@media (max-width: 1600px) {
    h1 { font-size: 3.25rem; }
}

@media (max-width: 1440px) {
    .section-container { max-width: 1140px; }
}

@media (max-width: 1366px) {
    h1 { font-size: 3rem; }
    .glass-card { padding: 2.5rem; }
}

@media (max-width: 1280px) {
    .section-container { max-width: 1024px; }
}

@media (max-width: 1024px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .figure-column {
        order: -1;
    }
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    .glass-figure { margin: 3rem 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .glass-card { padding: 2rem; }
    .hero-section { padding-top: 140px; padding-bottom: 80px; }
    .glass-section { padding: 60px 0; }
    th, td { padding: 1rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero-cta-group { flex-direction: column; width: 100%; gap: 1rem; }
    .btn { width: 100%; }
    .section-container { padding: 0 1.25rem; }
    .accordion-trigger { padding: 1.5rem; }
    .accordion-content p { padding: 0 1.5rem 1.5rem 1.5rem; }
}

@media (max-width: 390px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
}

@media (max-width: 375px) {
    /* Precision structural compression */
    th, td { padding: 0.75rem 0.5rem; font-size: 0.85rem; }
}

@media (max-width: 360px) {
    /* Extreme small screen support check: No horizontal scroll guaranteed */
    html, body {
        overflow-x: hidden;
    }
}