/* LeonWatt — Marketing Site */
/* Clean, professional B2B energy platform */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #00f2c3;
    --dark: #0f172a;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo-img { height: 36px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}
.nav-link:hover { color: var(--primary); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.nav-cta:hover { background: var(--primary-dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding-top: 20px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: background .2s;
}
.dropdown-item:hover { background: var(--bg-alt); color: var(--primary); }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: .3s;
}

/* ===== HERO ===== */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2744 100%);
    text-align: center;
    color: #fff;
}
.hero-container { max-width: 800px; margin: 0 auto; }
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 20px;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}
.btn-hero-primary {
    padding: 14px 32px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,242,195,.3); }
.btn-hero-secondary {
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: border-color .2s;
}
.btn-hero-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}
.hero-stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -.5px;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 100px 0;
    background: var(--bg);
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
.solution-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .3s, transform .3s;
}
.solution-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
    transform: translateY(-4px);
}
.solution-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}
.solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.solution-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
}
.solution-features {
    list-style: none;
    padding: 0;
}
.solution-features li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}
.solution-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== SECTORS ===== */
.sectors {
    padding: 100px 0;
    background: var(--bg-alt);
}
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.sector-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: box-shadow .3s;
    cursor: pointer;
}
.sector-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.sector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.sector-icon { font-size: 28px; }
.sector-savings-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.sector-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.sector-cnae {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.sector-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.sector-metrics {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.metric { flex: 1; }
.metric-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.metric-label {
    font-size: 12px;
    color: var(--text-muted);
}
.sector-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color .2s;
}
.sector-link::after {
    content: '';
    position: absolute;
    inset: 0;
}
.sector-link:hover { color: var(--primary-dark); }

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg);
}
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}
.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 24px;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--text-muted);
}
.step-arrow {
    font-size: 28px;
    color: var(--primary);
    margin-top: 32px;
    font-weight: 300;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo { height: 32px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; }
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
/* ===== SHARED: PAGE HERO (subpages) ===== */
.page-hero {
    padding: 140px 24px 60px;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2744 100%);
    text-align: center;
    color: #fff;
}
.page-hero .container { max-width: 900px; margin: 0 auto; }
.page-hero-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.page-hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -.5px;
}
.page-hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.page-hero-stat { text-align: center; }
.page-hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}
.page-hero-stat-label {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===== SHARED: BREADCRUMB ===== */
.breadcrumb {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 8px; }

/* ===== SHARED: DATA TABLES ===== */
.table-wrapper { overflow-x: auto; margin: 24px 0; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.data-table th {
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .3px;
    border-bottom: 2px solid var(--border);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f1f5f9; }
.data-table .highlight-cell {
    color: var(--primary);
    font-weight: 700;
}

/* ===== SHARED: INFO CARDS ===== */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}
.info-card-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}
.info-card-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== SHARED: CALLOUT BOX ===== */
.callout-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
}
.callout-box strong { color: var(--primary-dark); }

/* ===== SHARED: SECTION CONTENT ===== */
.content-section {
    padding: 100px 0;
}
.content-section:nth-child(even) { background: var(--bg-alt); }
.content-section-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.content-section-text p { margin-bottom: 16px; }

/* ===== SHARED: CTA SECTION ===== */
.page-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2744 100%);
    text-align: center;
    color: #fff;
}
.page-cta .section-title { color: #fff; }
.page-cta .section-subtitle { color: #94a3b8; }
.page-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-value { font-size: 24px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .solutions-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-title { font-size: 28px; }
    .page-hero-title { font-size: 28px; }
    .page-hero-stats { gap: 20px; }
    .page-hero-stat-value { font-size: 22px; }
    .info-card-grid { grid-template-columns: repeat(2, 1fr); }
    .page-cta-actions { flex-direction: column; align-items: center; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-toggle { display: block; }
    .dropdown-menu { position: static; box-shadow: none; border: none; padding-top: 8px; border-radius: 0; }
    .dropdown-menu.open { display: block; }
}
