/* ============================================
   EV Charging Management Platform - Welcome Page
   ============================================ */

/* === Reset & Variables === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d1225;
    --bg-tertiary: #111833;
    --bg-card: rgba(17, 24, 51, 0.7);
    --bg-card-hover: rgba(25, 35, 70, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(52, 211, 153, 0.2);
    --text-primary: #eef0f4;
    --text-secondary: #8892a8;
    --text-muted: #5a6478;
    --accent-green: #34d399;
    --accent-green-dim: rgba(52, 211, 153, 0.12);
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-purple: #a78bfa;
    --gradient-green: linear-gradient(135deg, #34d399, #38bdf8);
    --gradient-blue: linear-gradient(135deg, #38bdf8, #a78bfa);
    --shadow-glow: 0 0 30px rgba(52, 211, 153, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* === Base === */
html { scroll-behavior: smooth; }

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

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-green-dim); border-radius: 3px; }

/* === Layout === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* === Section Headers === */
.section-label {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: var(--accent-green-dim);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
}

.section-label::before {
    display: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-text {
    color: var(--text-secondary);
}

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--bg-primary);
    font-weight: 800;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #5eead4;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(52, 211, 153, 0.2);
}

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

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-glass);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
}

/* === Mobile Menu === */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 12px 24px;
    transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--text-primary); }

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 222, 128, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-green-dim);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* === Hero Visual / Dashboard === */
.hero-visual { position: relative; height: 500px; }

.hero-dashboard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.hero-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hero-dashboard-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-dashboard-live {
    font-size: 0.7rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-dashboard-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 1.5s infinite;
}

.hero-dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100px;
    margin-bottom: 16px;
}

.hero-dash-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-green), rgba(74, 222, 128, 0.3));
    border-radius: 3px 3px 0 0;
    animation: bar-grow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.hero-dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-dash-stat {
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.hero-dash-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.hero-dash-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* === Floating Cards === */
.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.float-card-1 { top: 10%; right: 10%; animation-delay: 0s; }
.float-card-2 { bottom: 15%; left: -5%; animation-delay: 1s; }
.float-card-3 { top: 5%; left: 10%; animation-delay: 2s; }
.float-card-4 { bottom: 5%; right: 5%; animation-delay: 0.5s; }

.float-card-value {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.float-card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.float-card-icon {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

/* === Color Utilities === */
.fc-green { color: var(--accent-green); }
.fc-blue { color: var(--accent-blue); }
.fc-cyan { color: var(--accent-cyan); }
.fc-purple { color: var(--accent-purple); }

/* === Trust Strip === */
.trust-strip {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.trust-item i { color: var(--accent-green); font-size: 0.9rem; }

/* === Ecosystem Diagram === */
.ecosystem-diagram {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 500px;
    margin: 60px auto 0;
}

.eco-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-green-dim), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border-accent);
    line-height: 1.3;
}

.eco-center::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(1.1); }
}

.eco-node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.eco-node:hover {
    border-color: var(--accent-green);
    background: var(--bg-card-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.eco-node i {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: var(--accent-green);
}

.eco-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    white-space: normal;
    width: 200px;
    text-align: center;
    z-index: 10;
}

.eco-node:hover .eco-tooltip { display: block; }

/* === Feature Cards === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-green);
}

.feature-card h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

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

/* === White Label Section === */
.wl-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wl-devices { position: relative; height: 460px; }

.wl-device {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.wl-device-desktop { width: 340px; height: 220px; top: 0; left: 0; }
.wl-device-mobile { width: 140px; height: 260px; bottom: 20px; right: 40px; }
.wl-device-tablet { width: 200px; height: 280px; top: 60px; right: 0; }

.wl-device-header {
    height: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 4px;
}

.wl-device-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.wl-device-body { padding: 12px; }

.wl-device-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    margin-bottom: 6px;
}

.wl-device-line.short { width: 60%; }

.wl-device-block {
    height: 40px;
    background: rgba(74, 222, 128, 0.06);
    border-radius: var(--radius-sm);
    margin-top: 8px;
    border: 1px solid var(--border-accent);
}

.wl-device-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.wl-device-blocks .wl-device-block { height: 30px; }

.wl-arrow { display: flex; align-items: center; gap: 20px; margin: 40px 0; }
.wl-arrow-line { flex: 1; height: 1px; background: var(--gradient-green); }
.wl-arrow-text { font-size: 0.85rem; font-weight: 600; color: var(--accent-green); white-space: nowrap; }

.wl-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.wl-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
}

.wl-feature i {
    color: var(--accent-green);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

/* === Dashboard Mock === */
.dashboard-mock {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 60px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.dash-topbar {
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
}

.dash-topbar-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-topbar-dot:nth-child(1) { background: #ff5f57; }
.dash-topbar-dot:nth-child(2) { background: #ffbd2e; }
.dash-topbar-dot:nth-child(3) { background: #28ca42; }

.dash-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 400px;
}

.dash-sidebar {
    border-right: 1px solid var(--border-subtle);
    padding: 20px 16px;
}

.dash-sidebar-item {
    padding: 8px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-sidebar-item.active {
    background: var(--accent-green-dim);
    color: var(--accent-green);
}

.dash-sidebar-item i { width: 14px; text-align: center; font-size: 0.7rem; }

.dash-content { padding: 24px; }

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.dash-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-top: 4px;
}

.dash-stat-change {
    font-size: 0.7rem;
    color: var(--accent-green);
    margin-top: 4px;
}

.dash-chart-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    height: 200px;
    position: relative;
    overflow: hidden;
}

.dash-chart-svg { width: 100%; height: 100%; }

/* === Charger Section === */
.charger-section { background: var(--bg-secondary); }

.charger-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.charger-list {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.charger-list-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.charger-list-header span { font-size: 0.75rem; color: var(--text-muted); }

.charger-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.2s;
}

.charger-item:hover { background: rgba(255, 255, 255, 0.02); }
.charger-item:last-child { border-bottom: none; }

.charger-status { width: 8px; height: 8px; border-radius: 50%; }
.status-available { background: var(--accent-green); box-shadow: 0 0 8px rgba(74, 222, 128, 0.4); }
.status-charging { background: var(--accent-blue); box-shadow: 0 0 8px rgba(56, 189, 248, 0.4); animation: pulse-dot 1.5s infinite; }
.status-preparing { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
.status-faulted { background: #f87171; box-shadow: 0 0 8px rgba(248, 113, 113, 0.4); }
.status-offline { background: var(--text-muted); }

.charger-name { font-size: 0.85rem; font-weight: 600; }
.charger-name small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }
.charger-power { font-size: 0.8rem; font-family: var(--font-mono); color: var(--text-secondary); }

.charger-status-text {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
}

.cst-available { color: var(--accent-green); background: rgba(74, 222, 128, 0.1); }
.cst-charging { color: var(--accent-blue); background: rgba(56, 189, 248, 0.1); }
.cst-preparing { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.cst-faulted { color: #f87171; background: rgba(248, 113, 113, 0.1); }
.cst-offline { color: var(--text-muted); background: rgba(255, 255, 255, 0.05); }

.charger-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.charger-panel h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; }

.charger-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.charger-ctrl-btn {
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.charger-ctrl-btn:hover {
    background: var(--accent-green-dim);
    color: var(--accent-green);
    border-color: var(--border-accent);
}

.charger-ctrl-btn i { display: block; font-size: 1rem; margin-bottom: 4px; }

/* === Operations Grid === */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.ops-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ops-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.ops-card-visual {
    height: 120px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ops-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ops-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* === Balance Bars === */
.balance-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.balance-bar { width: 20px; border-radius: 3px 3px 0 0; }
.bb-1 { height: 60px; background: linear-gradient(to top, var(--accent-green), rgba(74, 222, 128, 0.4)); }
.bb-2 { height: 45px; background: linear-gradient(to top, var(--accent-blue), rgba(56, 189, 248, 0.4)); }
.bb-3 { height: 70px; background: linear-gradient(to top, var(--accent-green), rgba(74, 222, 128, 0.4)); }
.bb-4 { height: 35px; background: linear-gradient(to top, var(--accent-cyan), rgba(34, 211, 238, 0.4)); }
.bb-5 { height: 55px; background: linear-gradient(to top, var(--accent-blue), rgba(56, 189, 248, 0.4)); }

/* === Schedule Timeline === */
.schedule-timeline { display: flex; gap: 4px; align-items: flex-end; width: 100%; padding: 0 20px; }
.schedule-block { flex: 1; border-radius: 3px; }
.sched-off { height: 20px; background: rgba(255, 255, 255, 0.03); }
.sched-on { height: 50px; background: var(--gradient-green); opacity: 0.6; }
.sched-peak { height: 30px; background: linear-gradient(to top, #fbbf24, rgba(251, 191, 36, 0.3)); }

/* === Franchise Section === */
.franchise-section { background: var(--bg-secondary); }

.franchise-hierarchy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 60px auto;
    max-width: 600px;
}

.franchise-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    min-width: 240px;
    text-align: center;
    transition: all 0.3s ease;
}

.franchise-level:hover { border-color: var(--border-accent); }
.franchise-level i { color: var(--accent-green); }

.franchise-connector {
    width: 1px;
    height: 32px;
    background: var(--border-accent);
    position: relative;
}

.franchise-connector::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
}

/* === Revenue Cards === */
.revenue-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.revenue-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.revenue-card:hover { border-color: var(--border-accent); }

.revenue-card-value {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.revenue-card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Network Visual === */
.network-visual {
    position: relative;
    max-width: 700px;
    height: 400px;
    margin: 60px auto 0;
}

.network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.network-node {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.network-node:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: scale(1.05);
}

.network-node i { color: var(--accent-blue); margin-right: 6px; }

/* === Notification Section === */
.notif-section { background: var(--bg-secondary); }

.notif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.notif-feed {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.notif-feed-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notif-feed-header i { color: var(--accent-green); }

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.2s;
}

.notif-item:hover { background: rgba(255, 255, 255, 0.02); }
.notif-item:last-child { border-bottom: none; }

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ni-green { background: rgba(74, 222, 128, 0.1); color: var(--accent-green); }
.ni-blue { background: rgba(56, 189, 248, 0.1); color: var(--accent-blue); }
.ni-red { background: rgba(248, 113, 113, 0.1); color: #f87171; }
.ni-yellow { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }

.notif-text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }
.notif-text strong { color: var(--text-primary); font-weight: 600; }
.notif-time { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

.notif-channels { display: grid; grid-template-columns: 1fr; gap: 12px; }

.notif-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.notif-channel:hover { border-color: var(--border-accent); }

.notif-channel-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1rem;
}

.notif-channel-text h4 { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.notif-channel-text p { font-size: 0.75rem; color: var(--text-muted); }

/* === Analytics Dashboard === */
.analytics-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 60px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.analytics-topbar {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.analytics-topbar-title { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; }

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

.analytics-tab {
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
}

.analytics-tab.active {
    background: var(--accent-green-dim);
    color: var(--accent-green);
}

.analytics-body { padding: 24px; }

.analytics-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.analytics-metric {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.analytics-metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.analytics-metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.analytics-metric-change { font-size: 0.7rem; margin-top: 6px; }
.am-up { color: var(--accent-green); }
.am-neutral { color: var(--text-muted); }

.analytics-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.analytics-chart-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    min-height: 220px;
}

.analytics-chart-title { font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; }

.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 10px; }
.mini-bar { flex: 1; border-radius: 3px 3px 0 0; }

.donut-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 20px auto;
    background: conic-gradient(
        var(--accent-green) 0% 35%,
        var(--accent-blue) 35% 60%,
        var(--accent-cyan) 60% 80%,
        var(--accent-purple) 80% 100%
    );
    position: relative;
}

.donut-chart::after {
    content: '87%';
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

/* === Technology Section === */
.tech-section { background: var(--bg-secondary); }

.tech-layers {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tech-layer {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    transition: all 0.3s ease;
}

.tech-layer:hover { border-color: var(--border-accent); }

.tech-layer-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-layer-items { display: flex; flex-wrap: wrap; gap: 10px; }

.tech-layer-item {
    padding: 6px 14px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tech-layer-item:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover { border-color: var(--border-accent); }
.tech-badge i { color: var(--accent-green); }

/* === Evolution Timeline === */
.evolution-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 60px auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.evo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.evo-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-green-dim);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.evo-step h4 { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.evo-step p { font-size: 0.7rem; color: var(--text-muted); max-width: 120px; }
.evo-arrow { color: var(--accent-green); font-size: 1.2rem; padding: 0 8px; margin-top: -20px; }

/* === Support Cards === */
.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.support-card i { font-size: 1.5rem; color: var(--accent-green); margin-bottom: 16px; }
.support-card h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.support-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* === Final CTA === */
.final-cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(74, 222, 128, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 30% 60%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 auto 20px;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Footer === */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand { max-width: 260px; }

.footer-brand-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-brand p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

.footer-col h4 {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.2s;
}

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

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

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

.footer-social { display: flex; gap: 16px; }

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--accent-green);
    border-color: var(--border-accent);
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-ctas { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .wl-split { grid-template-columns: 1fr; gap: 40px; }
    .wl-devices { height: 320px; }
    .charger-grid { grid-template-columns: 1fr; }
    .notif-grid { grid-template-columns: 1fr; }
    .analytics-charts { grid-template-columns: 1fr; }
    .dash-body { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .revenue-cards { grid-template-columns: repeat(3, 1fr); }
    .analytics-metrics { grid-template-columns: repeat(2, 1fr); }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .features-grid, .ops-grid, .support-cards { grid-template-columns: 1fr; }
    .wl-features { grid-template-columns: 1fr; }
    .trust-items { gap: 20px; }
    .trust-item { font-size: 0.75rem; }
    .ecosystem-diagram { height: auto; min-height: 300px; }
    .eco-node { position: relative !important; display: inline-flex; }
    .eco-center { position: relative; transform: none; margin: 20px auto; }
    .ecosystem-nodes-mobile { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 20px; }
    .franchise-hierarchy { padding: 0 20px; }
    .franchise-level { min-width: auto; font-size: 0.8rem; padding: 12px 20px; }
    .revenue-cards { grid-template-columns: repeat(2, 1fr); }
    .tech-layer { grid-template-columns: 1fr; gap: 12px; }
    .evolution-timeline { flex-direction: column; }
    .evo-arrow { transform: rotate(90deg); }
    .network-visual { height: auto; }
    .network-node { position: relative !important; }
    .network-center { position: relative; transform: none; margin: 20px auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .analytics-metrics { grid-template-columns: 1fr 1fr; }
    .charger-controls { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding-top: 80px; min-height: auto; padding-bottom: 60px; }
    .hero-badge { font-size: 0.7rem; }
    .btn-lg { padding: 12px 24px; font-size: 0.875rem; }
    .revenue-cards { grid-template-columns: 1fr; }
    .charger-controls { grid-template-columns: 1fr 1fr; }
}
