/* Design System & Themes */
:root {
    --transition-speed: 0.3s;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    /* Dark Theme Palette (Default) */
    --bg-main: #060b26;
    --bg-surface: #0f1638;
    --bg-surface-glass: rgba(15, 22, 56, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --primary-teal: #00b4d8;
    --primary-teal-glow: rgba(0, 180, 216, 0.25);
    --accent-cyan: #90e0ef;
    --accent-gold: #f77f00;
    --accent-gold-glow: rgba(247, 127, 0, 0.2);
    --accent-yellow: #fcbf49;
    --error-red: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.15);
    --success-green: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px 2px rgba(0, 180, 216, 0.15);
}

/* Light Theme overrides */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.75);
    --border-color: rgba(15, 22, 56, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --primary-teal: #0077b6;
    --primary-teal-glow: rgba(0, 119, 182, 0.15);
    --accent-cyan: #0096c7;
    --shadow-main: 0 10px 30px -10px rgba(15, 22, 56, 0.1);
    --shadow-glow: 0 0 20px 2px rgba(0, 119, 182, 0.08);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

/* Background Blobs */
.blob-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    transition: opacity var(--transition-speed);
}

body.light-theme .blob {
    opacity: 0.08;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-teal);
}

.blob-2 {
    top: 40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: var(--accent-gold);
}

.blob-3 {
    bottom: 5%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: var(--primary-teal);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.text-red { color: var(--error-red); }
.text-green { color: var(--success-green); }
.text-teal { color: var(--primary-teal); }
.text-gold { color: var(--accent-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color var(--transition-speed), box-shadow var(--transition-speed);
    font-size: 0.95rem;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-teal);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-teal-glow);
}

.btn-primary:hover {
    background-color: #0096c7;
    box-shadow: 0 6px 20px rgba(0, 150, 199, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-teal);
}

body.light-theme .btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Glassmorphism Cards */
.glass {
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-main);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-speed), border-color var(--transition-speed), height var(--transition-speed);
}

.main-header.scrolled {
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border-color);
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-teal);
    font-weight: 600;
}

.nav-menu {
    display: flex;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color var(--transition-speed);
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-teal);
    background-color: rgba(255, 255, 255, 0.05);
}

body.light-theme .theme-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.theme-toggle-btn .sun-icon {
    display: none;
    width: 20px;
    height: 20px;
}

.theme-toggle-btn .moon-icon {
    display: block;
    width: 20px;
    height: 20px;
}

body.light-theme .theme-toggle-btn .sun-icon {
    display: block;
}

body.light-theme .theme-toggle-btn .moon-icon {
    display: none;
}

.mobile-toggle {
    display: none;
}

/* Sections General Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-teal);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
}

.badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: var(--primary-teal-glow);
    color: var(--primary-teal);
    border: 1px solid rgba(0, 180, 216, 0.2);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-teal);
}

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

/* Hero Graphics & Floating Dashboard */
.hero-graphics {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
}

.floating-panel {
    position: absolute;
    width: 280px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    z-index: 2;
    overflow: hidden;
}

.floating-panel.p1 {
    top: 10%;
    left: 20%;
}

.floating-panel.p2 {
    bottom: 15%;
    right: 5%;
    z-index: 1;
}

.glass-chaos {
    background-color: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.panel-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.green { background-color: var(--success-green); }
.dot.red { background-color: var(--error-red); }

.panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.panel-body {
    padding: 16px;
}

.kpi-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mini-kpi {
    display: flex;
    flex-direction: column;
}

.mini-kpi .kpi-val {
    font-size: 1.2rem;
    font-weight: 700;
}

.mini-kpi .kpi-lbl {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.progress-track {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.green { background-color: var(--success-green); }

.error-cell {
    background-color: var(--error-bg);
    border: 1px dashed var(--error-red);
    color: var(--error-red);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-family: monospace;
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-align: center;
}

.error-cell.font-small {
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
}

.glowing-grid {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border: 1px solid rgba(0, 180, 216, 0.15);
    background-image: linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glow);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 6s ease-in-out infinite;
    animation-delay: 2s;
}

.pulse-slow {
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.15); opacity: 0.6; }
}

/* Solutions Section */
.solutions-section {
    background-color: rgba(255, 255, 255, 0.01);
}

.feature-card {
    padding: 32px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-wrapper.blue { background-color: rgba(0, 180, 216, 0.12); color: var(--primary-teal); }
.feature-icon-wrapper.teal { background-color: rgba(16, 185, 129, 0.12); color: var(--success-green); }
.feature-icon-wrapper.gold { background-color: rgba(247, 127, 0, 0.12); color: var(--accent-gold); }
.feature-icon-wrapper.sky { background-color: rgba(144, 224, 239, 0.12); color: var(--accent-cyan); }

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Showcase Section */
.showcase-wrapper {
    padding: 24px;
    border-radius: var(--border-radius-lg);
}

.showcase-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.showcase-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.showcase-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-teal);
}

.showcase-btn.active {
    background-color: var(--primary-teal);
    color: #ffffff;
    border-color: var(--primary-teal);
    box-shadow: 0 4px 14px var(--primary-teal-glow);
}

.screen-viewport {
    width: 100%;
    min-height: 480px;
    background-color: #030712;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.screen-content {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 24px;
    overflow-y: auto;
}

.screen-content.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* Chaos View / Spreadsheet Mockup */
.spreadsheet-mockup {
    background-color: #ffffff;
    color: #1e293b;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.spreadsheet-header {
    background-color: #f1f5f9;
    border-bottom: 1px solid #cbd5e1;
    padding: 12px 16px;
}

.sheet-title {
    font-family: monospace;
    font-weight: bold;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
}

.sheet-tabs {
    display: flex;
    gap: 4px;
}

.sheet-tabs .tab {
    font-size: 0.75rem;
    padding: 6px 12px;
    background-color: #e2e8f0;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: 500;
}

.sheet-tabs .tab.active {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-bottom-color: transparent;
    font-weight: 600;
}

.spreadsheet-grid {
    overflow-x: auto;
    flex-grow: 1;
}

.spreadsheet-grid table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
}

.spreadsheet-grid th, .spreadsheet-grid td {
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    text-align: left;
}

.spreadsheet-grid th {
    background-color: #f1f5f9;
    text-align: center;
    font-weight: bold;
}

.spreadsheet-grid .row-num {
    background-color: #f1f5f9;
    text-align: center;
    font-weight: bold;
    width: 30px;
}

.spreadsheet-grid .header-cell {
    background-color: #e2e8f0;
    font-weight: bold;
}

.highlight-error {
    background-color: #fee2e2 !important;
    color: #ef4444;
    font-weight: bold;
    border: 1px dashed #ef4444 !important;
}

.pill-red { background-color: #fecaca; color: #dc2626; padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600;}
.pill-yellow { background-color: #fef3c7; color: #d97706; padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600;}
.pill-grey { background-color: #e2e8f0; color: #475569; padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600;}

.spreadsheet-footer-bar {
    background-color: #fffbeb;
    border-top: 1px solid #fef3c7;
    padding: 10px 16px;
    font-size: 0.75rem;
    color: #b45309;
}

/* Clarity Dashboard */
.clarity-dashboard {
    display: flex;
    height: 100%;
    background-color: #0b0f19;
    color: #e2e8f0;
    border-radius: var(--border-radius-sm);
}

.dashboard-sidebar {
    width: 200px;
    background-color: #070a13;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-brand {
    font-weight: 800;
    color: var(--primary-teal);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu .menu-item {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.sidebar-menu .menu-item.active,
.sidebar-menu .menu-item:hover {
    background-color: rgba(0, 180, 216, 0.1);
    color: #ffffff;
}

.m-icon {
    width: 16px;
    height: 16px;
}

.dashboard-body {
    flex-grow: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.dash-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--success-green);
    background-color: var(--success-bg);
    padding: 4px 8px;
    border-radius: 12px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: inline-block;
    animation: dot-pulse 1.5s infinite alternate;
}

@keyframes dot-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.kpi-card-inner {
    background-color: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.kpi-card-inner.font-highlight {
    border-color: rgba(0, 180, 216, 0.2);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.05);
}

.kpi-title {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-val {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 4px 0;
}

.kpi-change {
    font-size: 0.65rem;
}

.charts-section {
    gap: 20px;
}

.chart-box {
    background-color: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

.bar-chart-visual {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 140px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 25%;
}

.bar-group .bars {
    display: flex;
    gap: 4px;
    height: 100px;
    align-items: flex-end;
    width: 100%;
    justify-content: center;
}

.bar {
    width: 16px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.bar:hover {
    transform: scaleY(1.05);
}

.bar:hover::after {
    content: attr(data-val);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
}

.bar-budgeted { background-color: #3b82f6; }
.bar-actual { background-color: var(--primary-teal); }

.bar-group .bar-label {
    font-size: 0.65rem;
    color: #94a3b8;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.65rem;
}

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

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.budgeted { background-color: #3b82f6; }
.legend-dot.actual { background-color: var(--primary-teal); }

.audit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.02);
}

.audit-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 6px;
}

.audit-item.success .audit-status-dot { background-color: var(--success-green); }
.audit-item.warning .audit-status-dot { background-color: var(--accent-gold); }

.audit-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.audit-title {
    font-size: 0.75rem;
    font-weight: 600;
}

.audit-desc {
    font-size: 0.65rem;
    color: #94a3b8;
}

.audit-time {
    font-size: 0.6rem;
    color: #475569;
}

/* Services Section */
.services-section {
    background-color: var(--bg-main);
}

.service-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
}

.service-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    margin-top: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.service-features li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '→';
    color: var(--primary-teal);
    font-weight: bold;
}

/* Pricing Packages Section */
.packages-grid {
    align-items: stretch;
}

.package-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.package-card.featured {
    border-color: var(--primary-teal);
    position: relative;
    box-shadow: var(--shadow-glow);
    background-color: rgba(0, 180, 216, 0.05);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-cyan));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 30px;
}

.package-header {
    margin-bottom: 28px;
}

.package-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.package-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.package-price .period {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.package-body {
    flex-grow: 1;
    margin-bottom: 32px;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.package-features li::before {
    content: '✓';
    color: var(--primary-teal);
    font-weight: bold;
    flex-shrink: 0;
}

.package-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.4;
}

.package-features li.disabled::before {
    content: '×';
    color: var(--error-red);
}

.package-footer .btn {
    width: 100%;
}

/* ROI Calculator Section */
.roi-section .glass-panel {
    padding: 56px;
    border-radius: var(--border-radius-lg);
    background-color: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
}

.roi-inputs {
    padding-right: 32px;
}

.roi-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
}

.range-val {
    color: var(--primary-teal);
    font-weight: 700;
}

/* Custom Sliders */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background var(--transition-speed);
}

body.light-theme .slider {
    background: rgba(0, 0, 0, 0.08);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
    transition: transform 0.1s;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.25);
}

.roi-outputs {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.output-block {
    display: flex;
    flex-direction: column;
}

.output-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.output-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 4px 0;
}

.output-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.calculator-cta {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-text {
    font-size: 0.9rem;
}

/* Contact & Form Section */
.contact-info {
    padding-right: 40px;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-teal-glow);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.detail-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-container {
    padding: 40px;
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s, background-color var(--transition-speed);
}

body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background-color: rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background-color: rgba(255, 255, 255, 0.05);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
    background-color: #ffffff;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.error-msg {
    display: none;
    color: var(--error-red);
    font-size: 0.75rem;
    margin-top: 6px;
}

.form-group.invalid input,
.form-group.invalid select {
    border-color: var(--error-red);
}

.form-group.invalid .error-msg {
    display: block;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 0;
}

.form-success.active {
    display: flex;
}

#lead-form.hidden {
    display: none;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--success-bg);
    color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Footer Section */
.main-footer {
    background-color: #030712;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    color: #94a3b8;
}

.footer-grid {
    margin-bottom: 56px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-desc {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

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

.footer-links ul a {
    font-size: 0.88rem;
}

.footer-links ul a:hover {
    color: #ffffff;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.5;
}

.disclaimer-text a {
    color: var(--primary-teal);
}

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

/* Responsive Rules */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 56px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .visual-card-wrapper {
        margin: 0 auto;
    }

    /* Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-main);
        z-index: 90;
        padding: 40px 24px;
        flex-direction: column;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: transform var(--transition-speed), opacity var(--transition-speed);
        transform-origin: left center;
    }
    
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); }
    
    .btn-nav-cta {
        display: none;
    }

    /* Showcase Section responsive details */
    .showcase-wrapper {
        padding: 12px;
    }
    .clarity-dashboard {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
    }
    .sidebar-menu {
        flex-direction: row;
        gap: 4px;
    }
    .sidebar-menu .menu-item {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    /* ROI & Savings layout */
    .roi-section .glass-panel {
        padding: 32px 24px;
    }
    .roi-inputs {
        padding-right: 0;
    }
    .roi-outputs {
        padding: 24px;
    }
    
    /* Contact details spacing */
    .contact-info {
        padding-right: 0;
    }
    .contact-form-container {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: center;
    }
    .hero-actions {
        flex-direction: column;
    }
    .showcase-controls {
        flex-direction: column;
    }
    .showcase-btn {
        width: 100%;
    }
    .sidebar-menu {
        display: none;
    }
}
