:root {
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.2);
    --secondary: #0ea5e9;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-muted: #475569;
    --light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 35px 60px -15px rgba(37, 99, 235, 0.15);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Anuphan', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    height: 90px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.05);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 10px 20px var(--primary-glow);
    transition: var(--transition);
}

/* Hero */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: var(--dark);
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--dark-muted);
    margin-bottom: 3.5rem;
    max-width: 550px;
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    padding: 1.4rem 3.5rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.hero-visual {
    position: relative;
    z-index: 10;
}

.hero-img-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 15px solid var(--white);
}

.hero-img-box img {
    width: 100%;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 1.8rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    animation: floating 6s ease-in-out infinite;
}

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

/* Sections */
.section {
    padding: 120px 0;
}

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

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.feature-item {
    background: var(--light);
    padding: 4rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.fa-charging-station {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { filter: drop-shadow(0 0 0px var(--accent)); }
    50% { filter: drop-shadow(0 0 10px var(--accent)); }
    100% { filter: drop-shadow(0 0 0px var(--accent)); }
}

/* Gallery */
.gallery-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.gallery-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 500px;
    box-shadow: var(--shadow-md);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.gallery-box:hover img {
    transform: scale(1.05);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--white);
}

/* Meeting Point */
.meeting-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.meeting-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 10px solid var(--white);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.meeting-image-box:hover {
    transform: rotate(0deg) scale(1.02);
}

.meeting-image-box img {
    width: 100%;
    display: block;
}

.meeting-info-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.meeting-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.meeting-step:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.meeting-step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.meeting-step p {
    color: var(--dark-muted);
}

@media (max-width: 992px) {
    .meeting-layout { grid-template-columns: 1fr; gap: 3rem; }
    .meeting-image-box { transform: none; }
}

/* Map */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-lg);
    height: 600px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 120px 0 60px;
    color: var(--white);
    border-radius: 80px 80px 0 0;
    margin-top: 100px;
    text-align: center;
}

.btn-contact {
    background: var(--white);
    color: var(--dark);
    padding: 1.5rem 3rem;
    border-radius: 25px;
    font-weight: 900;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: var(--white);
}

/* Mobile */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 1000;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 3.5rem; }
    .hero-content p { margin: 0 auto 3rem; }
    .hero-btns { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-layout { grid-template-columns: 1fr; }
    .gallery-box { height: 350px; }
    .nav-links { display: none; }
    .mobile-call-bar { display: block; }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
