/* ══════════════════════════════════════════════
   Auslink EVcharge — Global Styles (Light Theme)
   ══════════════════════════════════════════════ */

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

:root {
    --bg: #ffffff;
    --bg-alt: #f6f6f6;
    --bg-card: #ffffff;
    --text: #0a0a0a;
    --text-secondary: #666666;
    --accent: #00a844;
    --accent-hover: #00c04e;
    --accent-light: rgba(0, 168, 68, 0.08);
    --border: rgba(0,0,0,0.08);
    --font: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── NAVIGATION ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 48px; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.nav-logo {
    font-family: var(--font);
    font-weight: 700; font-size: 1.25rem;
    color: var(--text); text-decoration: none;
}
.nav-logo .ev { color: var(--accent); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.875rem; font-weight: 400; letter-spacing: 0.02em;
    transition: color 0.25s; position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--accent); border-radius: 1px;
}
.nav-cta {
    background: var(--text); color: var(--bg);
    padding: 10px 24px; border-radius: 6px;
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* Mobile toggle */
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
}
.nav-toggle span {
    display: block; width: 100%; height: 2px; background: var(--text);
    position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 24px; flex-direction: column; gap: 4px; z-index: 99;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px); opacity: 0;
    transition: all 0.3s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a {
    color: var(--text); text-decoration: none;
    font-size: 1.1rem; font-weight: 500;
    padding: 14px 16px; border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--bg-alt); }
.mobile-menu .mobile-cta {
    margin-top: 12px; background: var(--text); color: #fff;
    text-align: center; border-radius: 8px; font-weight: 600;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block;
    background: var(--text); color: var(--bg);
    padding: 16px 40px; border-radius: 6px;
    font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer; font-family: var(--font);
}
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-ghost {
    display: inline-block;
    background: transparent; color: var(--text);
    padding: 16px 40px; border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 0.95rem; font-weight: 500;
    text-decoration: none; transition: all 0.3s;
}
.btn-ghost:hover { border-color: rgba(0,0,0,0.2); background: var(--bg-alt); }

/* ── SECTIONS ── */
.section { padding: 140px 48px; }
.section-alt { background: var(--bg-alt); }
.section-tag {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700; line-height: 1.15;
    letter-spacing: -0.025em; max-width: 700px;
}
.section-desc {
    margin-top: 20px; font-size: 1.05rem; line-height: 1.7;
    color: var(--text-secondary); max-width: 520px;
}

/* ── PAGE HERO (for inner pages) ── */
.page-hero {
    padding: 160px 48px 80px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -0.03em; max-width: 700px;
}
.page-hero p {
    margin-top: 20px; font-size: 1.1rem; line-height: 1.7;
    color: var(--text-secondary); max-width: 560px;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 140px 48px; text-align: center;
    position: relative; overflow: hidden;
    background: var(--text); color: var(--bg);
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0,168,68,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700; letter-spacing: -0.025em;
    margin-bottom: 20px; position: relative;
}
.cta-section p {
    color: rgba(255,255,255,0.6); font-size: 1.05rem;
    margin-bottom: 40px; position: relative;
}
.cta-section .btn-primary {
    background: var(--accent); color: #fff; position: relative;
}
.cta-section .btn-primary:hover { background: var(--accent-hover); }

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 48px 40px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: start;
    gap: 48px; flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-secondary); margin-bottom: 16px;
}
.footer-col a {
    display: block; color: var(--text); text-decoration: none;
    font-size: 0.9rem; margin-bottom: 10px; transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--text-secondary); font-size: 0.8rem; }
.footer-bottom a { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; transition: color 0.25s; }
.footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 24px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
    0% { transform: translateY(0); }
    100% { transform: translateY(96px); }
}
.anim-fade { opacity: 0; animation: fadeUp 0.8s forwards; }
.anim-fade:nth-child(1) { animation-delay: 0.2s; }
.anim-fade:nth-child(2) { animation-delay: 0.4s; }
.anim-fade:nth-child(3) { animation-delay: 0.6s; }
.anim-fade:nth-child(4) { animation-delay: 0.8s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .section { padding: 80px 24px; }
    .page-hero { padding: 120px 24px 60px; }
    .cta-section { padding: 80px 24px; }
    footer { padding: 40px 24px 32px; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
