/* Nova-EcoBin Landing Page */

:root {
    --green-dark: #1a5c38;
    --green-darker: #1b4332;
    --green-mid: #2d6a4f;
    --green-light: #52b788;
    --green-pale: #95d5b2;
    --green-bg: #d8f3dc;
    --green-lime: #a8e063;
    --green-lime-bright: #b7e550;
    --navy: #1e3a5f;
    --navy-dark: #152a45;
    --gold: #d4a843;
    --gold-light: #f0c14b;
    --white: #ffffff;
    --text-dark: #1a2e1a;
    --text-muted: #4a5d4a;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --header-h: 64px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    border-color: var(--navy);
}

.btn-lime {
    background: var(--green-lime);
    color: var(--green-darker);
    border-color: var(--green-lime);
    font-weight: 700;
}

.btn-lime:hover {
    background: var(--green-lime-bright);
}

.btn-invest-header {
    background: var(--green-dark);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
}

.btn-invest-header:hover {
    background: var(--green-darker);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 24px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
    max-width: min(240px, 42vw);
}

.brand-mark {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.brand-mark-img {
    display: block;
    width: 36px;
    height: auto;
    max-width: none;
    object-fit: cover;
    object-position: top center;
}

.brand-logo-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    object-position: left center;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--green-dark);
    background: rgba(82, 183, 136, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(216, 243, 220, 0.6) 100%),
        url('https://images.unsplash.com/photo-1532996122724-e3c354a0fad6?w=1600&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 24px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-emblem img {
    width: min(320px, 100%);
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 32px rgba(26, 92, 56, 0.2));
}

.hero-pillars {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-darker);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pillar-icon {
    font-size: 1.25rem;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--green-darker) 0%, var(--green-dark) 50%, var(--green-mid) 100%);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 0.5rem;
}

.stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
    color: var(--green-lime);
}

.stat-label {
    font-size: 0.72rem;
    opacity: 0.85;
    line-height: 1.4;
    display: block;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-light);
    margin-bottom: 0.75rem;
}

.section-tag.center,
.section-title.center {
    text-align: center;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Who We Are */
.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.who-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.who-text > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.feature-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-icon-item {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
}

.fi-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 0.5rem;
    background: var(--green-bg);
    border-radius: 50%;
    font-size: 1.25rem;
}

.who-card-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.facility-photo {
    height: 380px;
    background:
        linear-gradient(to top, rgba(30, 58, 95, 0.7) 0%, transparent 50%),
        url('https://images.unsplash.com/photo-1621451537827-9b27269c25b0?w=800&q=80') center/cover no-repeat;
}

.who-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.overlay-text {
    background: var(--navy);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    flex: 1;
}

.overlay-text h3 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.overlay-text p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.ghana-map svg {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Circular Model */
.circular-model {
    background: linear-gradient(180deg, #f8fdf9 0%, var(--white) 100%);
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cycle-svg {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.revenue-card {
    background: linear-gradient(145deg, var(--green-bg) 0%, #e8f8ec 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(82, 183, 136, 0.3);
}

.revenue-card h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-darker);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green-light);
}

.revenue-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.revenue-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rev-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.revenue-list strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.revenue-list span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Vision / Timeline */
.vision {
    background: #f4faf6;
}

.vision-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.timeline {
    position: relative;
    padding-top: 1rem;
}

.timeline-track {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--green-light) 0,
        var(--green-light) 8px,
        transparent 8px,
        transparent 16px
    );
    z-index: 0;
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.timeline-item {
    text-align: center;
    padding: 0 0.25rem;
}

.tl-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background: var(--white);
    border: 2px solid var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}

.tl-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green-mid);
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.timeline-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.35rem;
    letter-spacing: 0.04em;
}

.timeline-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.ambition-card {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.ambition-card h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--green-lime);
}

.ambition-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.ambition-globe {
    position: absolute;
    bottom: -10px;
    right: -10px;
    opacity: 0.6;
}

.ambition-globe svg {
    width: 120px;
    height: 120px;
}

/* Partnerships */
.partnerships {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid #e8f0ea;
}

.partnerships-title {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-bottom: 2.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-abbr {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.partner-logo span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    max-width: 120px;
}

/* News */
.news-section {
    background: #f8fdf9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #e8f0ea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0.5rem 0;
}

.news-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--green-darker) 0%, var(--green-dark) 60%, var(--green-mid) 100%);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding-bottom: 3rem;
}

.footer-message h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-message p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 420px;
}

.footer-app-link {
    margin-top: 1rem;
}

.footer-app-link a {
    color: var(--green-lime);
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-app-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-pillar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fp-icon {
    font-size: 1.5rem;
}

.footer-pillar strong {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
}

.footer-contact {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid .stat-item:nth-child(4),
    .stats-grid .stat-item:nth-child(5) {
        grid-column: span 1;
    }

    .vision-layout {
        grid-template-columns: 1fr;
    }

    .ambition-card {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .btn-invest-header {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 24px 3rem;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .who-grid,
    .model-grid {
        grid-template-columns: 1fr;
    }

    .feature-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-track {
        display: none;
    }

    .timeline-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .tl-icon {
        margin: 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-message p {
        max-width: none;
    }

    .footer-pillars {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-cta-wrap {
        align-items: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .feature-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-logos {
        gap: 1.5rem;
    }
}
