/* APEX THEME ENGINE - GLOBAL DESIGN SYSTEM */
:root {
    --bg: #020202;
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-hover: rgba(255, 255, 255, 0.05);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.15);
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --secondary: #10b981;
    --sidebar-bg: rgba(0, 0, 0, 0.4);
    --card-shadow: rgba(0, 0, 0, 0.6);
    --danger: #ef4444;
    --success: #10b981;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme='light'] {
    --bg: #f8fafc;
    --text-main: #0f172a;
    --text-dim: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.95);
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.08);
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    --secondary: #059669;
    --sidebar-bg: rgba(255, 255, 255, 0.6);
    --card-shadow: rgba(15, 23, 42, 0.05);
}

[data-theme='pink'] {
    --bg: #fff1f2;
    --text-main: #881337;
    --text-dim: #be123c;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(225, 29, 72, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.95);
    --primary: #e11d48;
    --primary-glow: rgba(225, 29, 72, 0.1);
    --primary-gradient: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
    --secondary: #db2777;
    --sidebar-bg: rgba(255, 241, 242, 0.8);
    --card-shadow: rgba(225, 29, 72, 0.05);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

/* SCROLLBAR & SELECTION */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
::selection {
    background: var(--primary);
    color: #fff;
}

/* BACKGROUND GRIDS & BLOBS */
.radial-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.6;
    transition: transform 0.2s ease-out;
}
.radial-blob-1 { top: -200px; left: -200px; }
.radial-blob-2 { bottom: -200px; right: -200px; }

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(2, 2, 2, 0.8);
    transition: background 0.3s;
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-image {
    height: 34px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: transform 0.2s;
}

.logo-text:hover .logo-image {
    transform: scale(1.08);
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--glass-hover);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* HERO WIDGET SHOWCASE */
.hero-widget {
    position: relative;
    width: 100%;
}

.widget-container {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 40px 100px var(--card-shadow);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.widget-browser-dots {
    display: flex;
    gap: 6px;
}

.widget-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.widget-dot:nth-child(1) { background: #ef4444; }
.widget-dot:nth-child(2) { background: #f59e0b; }
.widget-dot:nth-child(3) { background: #10b981; }

.widget-badge {
    background: var(--primary-glow);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.widget-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.widget-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.widget-card h4 {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.widget-score {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

/* MARQUEE RUNNER */
.marquee-section {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.1);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
}

.marquee-track {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 4rem;
    animation: marquee-run 25s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* GLASS CARD FEATURE GRID */
.features {
    padding: 10rem 0 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

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

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* PORTFOLIO / CASE STUDIES */
.portfolio {
    padding: 5rem 0;
}

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

.portfolio-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px var(--card-shadow);
}

.portfolio-card.border-cyan:hover { border-color: #06b6d4; box-shadow: 0 20px 45px rgba(6, 182, 212, 0.15); }
.portfolio-card.border-emerald:hover { border-color: #10b981; box-shadow: 0 20px 45px rgba(16, 185, 201, 0.15); }
.portfolio-card.border-purple:hover { border-color: #a855f7; box-shadow: 0 20px 45px rgba(168, 85, 247, 0.15); }

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.portfolio-client-info h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.portfolio-client-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-score-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portfolio-card.border-cyan .portfolio-score-badge { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.portfolio-card.border-emerald .portfolio-score-badge { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.portfolio-card.border-purple .portfolio-score-badge { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.portfolio-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.portfolio-metrics {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.portfolio-metric-col {
    text-align: left;
}

.portfolio-metric-col span {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.portfolio-metric-col h5 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.portfolio-card.border-cyan .portfolio-metric-col h5 { color: #06b6d4; }
.portfolio-card.border-emerald .portfolio-metric-col h5 { color: #10b981; }
.portfolio-card.border-purple .portfolio-metric-col h5 { color: #a855f7; }

/* REVIEWS / TESTIMONIALS */
.reviews {
    padding: 5rem 0;
    position: relative;
}

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

.review-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: border-color 0.3s, transform 0.3s;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.review-quote {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); }
.avatar-2 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.avatar-3 { background: linear-gradient(135deg, #a855f7 0%, #db2777 100%); }

.reviewer-meta h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.reviewer-meta p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.verified-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 4px;
}

/* DRAG-TO-COMPARE SLIDER */
.comparison {
    padding: 5rem 0;
}

.slider-outer {
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    padding: 1rem;
    box-shadow: 0 30px 60px var(--card-shadow);
}

.comparison-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.comp-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comp-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.comp-before {
    z-index: 2;
    width: 50%;
    border-right: 2px solid var(--primary);
}

.comp-after {
    z-index: 1;
}

.comp-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary);
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-circle {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid #020202;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-glow);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.comp-handle:hover .comp-circle {
    transform: scale(1.1);
}

.comp-badge {
    position: absolute;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
}

.comp-badge.before-label {
    top: 20px;
    left: 20px;
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
}

.comp-badge.after-label {
    top: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
}

.comp-score {
    position: absolute;
    bottom: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    z-index: 4;
}

.comp-score.before-score {
    left: 20px;
    background: rgba(0,0,0,0.8);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-score.after-score {
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.comp-footer-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.comp-stat-card {
    text-align: center;
}

.comp-stat-card p {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.comp-stat-card h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

/* THE APEX METHOD TIMELINE */
.process {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: 0;
    left: 20px;
    width: 42px;
    height: 42px;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* LIVE AUDIT SIMULATOR */
.audit-simulator {
    padding: 5rem 0;
    position: relative;
}

.audit-container {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.audit-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 40px 80px var(--card-shadow);
}

.audit-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.audit-card p.audit-subtitle {
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 3rem;
}

.audit-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.audit-input-group {
    position: relative;
}

.audit-input-group span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.audit-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 16px 16px 44px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.audit-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.audit-button {
    width: 100%;
    height: 100%;
}

/* TERMINAL OUTPUT LOGGER */
.audit-terminal {
    display: none;
    background: #050505;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #10b981;
    margin-top: 2rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.audit-terminal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    color: rgba(16, 185, 129, 0.5);
}

.terminal-logs {
    height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.terminal-log-line {
    opacity: 0;
    transform: translateY(4px);
    animation: terminal-line-in 0.4s forwards;
}

/* SIMULATOR COMPARISON SCREEN */
.audit-results-screen {
    display: none;
    animation: fade-in-up 0.5s forwards;
}

.audit-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.audit-results-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.results-score-dial {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
}

.dial-bad {
    border: 8px solid rgba(239, 68, 68, 0.1);
    border-top-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.dial-good {
    border: 8px solid rgba(16, 185, 129, 0.1);
    border-top-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

/* FAQ ACCORDION */
.faq {
    padding: 5rem 0 10rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer p {
    padding: 0 2rem 1.8rem 2rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

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

/* ELITE FOOTER */
footer {
    padding: 8rem 0 4rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

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

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

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-col ul a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
}

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

.footer-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 700;
}

.footer-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 101;
    width: 0%;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    color: #fff;
}

/* ANIMATIONS */
@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--secondary); }
    50% { transform: scale(1.2); opacity: 0.6; box-shadow: 0 0 20px var(--secondary); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--secondary); }
}

@keyframes marquee-run {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes terminal-line-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .section-header h2 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav .nav-container {
        padding: 0 1.5rem;
    }
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .features {
        padding: 6rem 0 3rem 0;
    }
    .comparison-wrapper {
        height: 350px;
    }
    .comp-footer-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-number {
        left: 0;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .audit-card {
        padding: 2.5rem 1.5rem;
    }
    .audit-form-grid {
        grid-template-columns: 1fr;
    }
    .audit-results-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
