/* ==========================================
   TRON STYLE - NECTEC EV Solar Charging
   ========================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(10, 15, 30, 0.85);
    --neon-cyan: #00f0ff;
    --neon-blue: #0066ff;
    --neon-purple: #8b5cf6;
    --neon-green: #00ff88;
    --neon-orange: #ff6a00;
    --neon-solar: #ffcc00;
    --text-primary: #e0e8ff;
    --text-secondary: #8892b0;
    --text-dim: #4a5568;
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-blue: 0 0 20px rgba(0, 102, 255, 0.3), 0 0 40px rgba(0, 102, 255, 0.1);
    --glow-text: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
    --border-glow: 1px solid rgba(0, 240, 255, 0.15);
    --font-display: 'Orbitron', sans-serif;
    --font-thai: 'Kanit', sans-serif;
    --font-mono: 'Rajdhani', monospace;
    --section-padding: clamp(60px, 10vw, 120px);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 3px;
}

body {
    font-family: var(--font-thai);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: var(--glow-text);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 240, 255, 0.1);
    border-top: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader-ring-inner {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    border-bottom: 2px solid var(--neon-blue);
    border-radius: 50%;
    animation: spin 0.6s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--neon-cyan);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.logo-text .accent {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Dropdown Menu (Desktop) --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.05);
    z-index: 1001;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    position: relative;
}

.dropdown-item::before {
    content: '›';
    position: absolute;
    left: 10px;
    opacity: 0;
    color: var(--neon-cyan);
    transition: all 0.25s ease;
    transform: translateX(-4px);
}

.dropdown-item:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.06);
    padding-left: 28px;
    text-shadow: var(--glow-text);
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* --- Dropdown Menu (Mobile) --- */
.mobile-dropdown {
    width: 100%;
    text-align: center;
}

.mobile-dropdown-toggle {
    cursor: pointer;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.mobile-dropdown-menu.active {
    display: flex;
}

.mobile-dropdown-item {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.mobile-dropdown-item:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--neon-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 4px var(--neon-cyan);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-link:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(5, 5, 16, 0.85) 0%,
            rgba(5, 5, 16, 0.4) 50%,
            rgba(5, 5, 16, 0.7) 100%);
    z-index: 2;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--neon-cyan);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease 0.3s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(36px, 7vw, 80px);
    color: var(--text-primary);
    animation: fadeInUp 1s ease both;
}

.title-line:nth-child(1) {
    animation-delay: 0.5s;
}

.title-line:nth-child(2) {
    animation-delay: 0.7s;
}

.title-line:nth-child(3) {
    animation-delay: 0.9s;
}

.accent-line {
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(0, 240, 255, 0.2);
    -webkit-text-stroke: 1px rgba(0, 240, 255, 0.3);
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1.1s both;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s ease 1.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.5);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 30px;
    }

    50% {
        opacity: 1;
        height: 40px;
    }
}

.hero-scroll-indicator span {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--text-dim);
}

/* Floating data */
.floating-data {
    position: absolute;
    z-index: 5;
    padding: 12px 20px;
    background: rgba(5, 5, 16, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: floatData 6s ease-in-out infinite;
}

.fd-1 {
    top: 20%;
    right: 8%;
    animation-delay: 0s;
}

.fd-2 {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.fd-3 {
    top: 75%;
    right: 12%;
    animation-delay: 4s;
}

@keyframes floatData {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fd-label {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.fd-value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.fd-value small {
    font-size: 11px;
    color: var(--text-secondary);
}

.fd-online {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* --- Sections --- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0.3;
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0.3;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-number {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--neon-cyan);
    opacity: 0.6;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-thai);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: var(--text-primary);
}

.section-line {
    width: 80px;
    height: 2px;
    background: var(--neon-cyan);
    margin-top: 16px;
    box-shadow: 0 0 10px var(--neon-cyan);
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--neon-cyan);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.card-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.card-content h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Glow card */
.glow-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.08);
}

.glow-card:hover::before {
    opacity: 0.6;
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.stat-ring svg {
    transform: rotate(-90deg);
}

.stat-ring-bg {
    fill: none;
    stroke: rgba(0, 240, 255, 0.08);
    stroke-width: 4;
}

.stat-ring-fill {
    fill: none;
    stroke: var(--neon-cyan);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    filter: drop-shadow(0 0 6px var(--neon-cyan));
    transition: stroke-dashoffset 2s ease;
}

.stat-ring-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.stat-label {
    font-family: var(--font-thai);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.stat-sublabel {
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Stats Summary */
.stats-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-icon {
    font-size: 24px;
}

.summary-value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.summary-label {
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.summary-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 240, 255, 0.15);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 240, 255, 0.05);
    position: absolute;
    top: 16px;
    right: 24px;
}

.feature-icon-wrap {
    margin-bottom: 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 12px;
    color: var(--neon-cyan);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tags span {
    padding: 4px 12px;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--neon-cyan);
}

/* --- Data Section --- */
.data-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.data-chart-container {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-header h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-dot.solar {
    background: var(--neon-solar);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.legend-dot.charger {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.chart-area {
    position: relative;
    height: 280px;
    display: flex;
}

.chart-bars {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-left: 40px;
    gap: 16px;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.bar-label {
    font-family: var(--font-thai);
    font-size: 12px;
    color: var(--text-dim);
    order: 1;
    text-align: center;
}

.bar-container {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 220px;
    width: 100%;
    justify-content: center;
}

.bar {
    width: 36px;
    height: 0;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1.5s ease;
    cursor: pointer;
}

.bar.animated {
    height: var(--bar-height);
}

.bar-solar {
    background: linear-gradient(to top, rgba(255, 204, 0, 0.3), var(--neon-solar));
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

.bar-charger {
    background: linear-gradient(to top, rgba(0, 240, 255, 0.3), var(--neon-cyan));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.bar-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    background: rgba(5, 5, 16, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 10px;
    color: var(--neon-cyan);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bar:hover .bar-tooltip {
    opacity: 1;
}

.chart-y-axis {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
}

.chart-y-axis span {
    font-family: var(--font-display);
    font-size: 9px;
    color: var(--text-dim);
    text-align: right;
}

/* Data Table */
.data-table-container {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.data-table-container h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.data-table td {
    padding: 14px 8px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 240, 255, 0.04);
}

.data-table .val {
    font-family: var(--font-mono);
    font-weight: 600;
    text-align: right;
}

.data-table .val.accent {
    color: var(--neon-cyan);
}

.data-table .val.solar {
    color: var(--neon-solar);
}

.data-table .total-row {
    border-top: 1px solid rgba(0, 240, 255, 0.15);
}

.data-table .total-row td {
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: none;
}

.data-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 16px;
    background: rgba(0, 240, 255, 0.03);
    border-left: 2px solid var(--neon-cyan);
    border-radius: 0 8px 8px 0;
}

.note-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.data-note p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Usage Section --- */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.usage-card {
    padding: 32px 24px;
    text-align: center;
}

.usage-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.usage-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
    margin-bottom: 8px;
}

.usage-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.usage-bar {
    height: 4px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.usage-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    transition: width 2s ease;
}

.usage-bar-fill.animated {
    width: var(--fill);
}

/* --- Location Section --- */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-address {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.location-pin {
    font-size: 28px;
    flex-shrink: 0;
}

.location-address h3 {
    font-family: var(--font-thai);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.location-address p {
    font-size: 14px;
    color: var(--text-secondary);
}

.address-detail {
    margin-top: 12px;
    font-size: 13px !important;
    color: var(--text-dim) !important;
    line-height: 1.6;
}

.location-coords {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.coord {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coord-label {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.coord-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text);
}

.location-btn {
    margin-top: 8px;
}

.location-map-frame {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.map-tron-overlay {
    width: 100%;
    height: 100%;
}

#mapCanvas {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
#contact {
    position: relative;
    padding: 80px 0 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-cyan), transparent);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-dim);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--neon-green);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse 2s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .data-content {
        grid-template-columns: 1fr;
    }

    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .floating-data {
        display: none;
    }

    .stats-summary {
        flex-direction: column;
        gap: 16px;
    }

    .summary-divider {
        width: 40px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        max-width: 280px;
    }

    .stats-grid,
    .usage-grid {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .chart-bars {
        padding-left: 30px;
    }

    .bar {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .data-chart-container,
    .data-table-container {
        padding: 20px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reveal Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].revealed {
    opacity: 1;
    transform: translateY(0);
}