/* ================================================================
   GenOSys™ Splash Page — splash.css
   Colors derived from main.css :root design tokens
   ================================================================ */

@import './energy-counter.css';

/* ── Design tokens ── */
:root {
    --primary-color: #009b4a;
    --on-primary-color: #ffffff;
    --secondary-color: #191919;
    --on-secondary-color: #e0e0e0;
    --background-color: #e0e0e0;
    --surface-color: #ffffff;
    --on-surface-color: #000000;
    --divider-color: rgba(0, 0, 0, 0.12);
    --error-color: #b00020;
    --warning-color: #ff7300;

    --nav-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .14);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .18);
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.75rem;
}

/* ── Reset / base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-color);
    color: var(--on-surface-color);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

sup {
    font-size: 0.55em;
    vertical-align: super;
    line-height: 0;
}

/* ── Utility ── */
.text-primary {
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), color var(--transition),
        border-color var(--transition), box-shadow var(--transition),
        transform var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--on-primary-color);
    border-color: var(--primary-color);
}

.btn--primary:hover {
    background: #007d3c;
    border-color: #007d3c;
}

.btn--on-primary {
    background: var(--on-primary-color);
    color: var(--primary-color);
    border-color: var(--on-primary-color);
}

.btn--on-primary:hover {
    background: var(--background-color);
    border-color: var(--background-color);
}

.btn--outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn--outline:hover {
    background: rgba(0, 155, 74, 0.08);
}

.btn--ghost {
    background: transparent;
    color: var(--on-primary-color);
    border-color: rgba(255, 255, 255, .5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--on-primary-color);
}

.btn--lg {
    padding: 14px 32px;
    font-size: var(--text-base);
    border-radius: var(--radius-sm);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--secondary-color);
    height: var(--nav-height);
    transition: box-shadow var(--transition);
}

.nav--scrolled {
    box-shadow: var(--shadow-md);
}

.nav__inner {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    gap: 32px;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 24px;
}

.nav__logo {
    flex-shrink: 0;
}

.nav__logo-img {
    display: block;
    height: 32px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav__links a {
    color: var(--on-secondary-color);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.85;
    transition: opacity var(--transition), color var(--transition);
}

.nav__links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.nav__actions {
    flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 52px;
    height: 52px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.nav__hamburger span {
    display: block;
    height: 3px;
    background: var(--on-secondary-color);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.is-open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: var(--secondary-color);
    padding: 0 24px;
    border-top: 1px solid transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease, border-color 300ms ease;
}

.nav__drawer.is-open {
    max-height: 400px;
    padding: 16px 24px 24px;
    border-top-color: rgba(255, 255, 255, .08);
}

.nav__drawer a {
    color: var(--on-secondary-color);
    padding: 10px 0;
    font-size: var(--text-base);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav__drawer a:last-child {
    border-bottom: none;
    margin-top: 8px;
}

/* ================================================================
   SECTIONS — shared
   ================================================================ */
.section {
    padding-block: 100px;
}

.section--light {
    background: var(--surface-color);
}

.section--dark {
    background: var(--secondary-color);
    color: var(--on-secondary-color);
}

.section--accent {
    background: var(--primary-color);
    color: var(--on-primary-color);
}

.section-eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, .65);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--on-surface-color);
    margin-bottom: 24px;
}

.section-title--light {
    color: var(--on-secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* ── fade-in animation ── */
.step,
.edge__card,
.support__text,
.who__badge,
.ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.step.in-view,
.edge__card.in-view,
.support__text.in-view,
.who__badge.in-view,
.ready.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Subtle grid overlay */
.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 155, 74, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 155, 74, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
    pointer-events: none;
}

/* Green radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(0, 155, 74, .22) 0%, transparent 72%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-block: 48px;
}

.hero__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero__headline {
    font-size: clamp(var(--text-3xl), 7vw, var(--text-5xl));
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--on-secondary-color);
    margin-bottom: 24px;
}

.hero__logo {
    display: inline-block;
    height: clamp(48px, 9vw, 100px);
    width: auto;
    margin-top: 12px;
    vertical-align: middle;
}

.hero__sub {
    font-size: clamp(var(--text-base), 2vw, var(--text-lg));
    color: rgba(224, 224, 224, .75);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll hint arrow */
.hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero__scroll-hint span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, .4);
    border-bottom: 2px solid rgba(255, 255, 255, .4);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: .6;
    }

    50% {
        transform: rotate(45deg) translateY(6px);
        opacity: 1;
    }
}

/* ================================================================
   LOCAL VIDEO
   ================================================================ */
.local-video-section .section-header {
    margin-bottom: 48px;
}

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrap video {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

/* ================================================================
   HOW IT WORKS — steps
   ================================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    list-style: none;
    counter-reset: steps;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px;
    background: var(--background-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--divider-color);
    transition-delay: calc(var(--i, 0) * 100ms);
}

.step:nth-child(1) {
    --i: 0;
}

.step:nth-child(2) {
    --i: 1;
}

.step:nth-child(3) {
    --i: 2;
}

.step:hover {
    border-color: rgba(0, 155, 74, .3);
    box-shadow: var(--shadow-md);
}

.step__number {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    opacity: 0.7;
}

.step__icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.step__title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--on-surface-color);
}

.step__body {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, .6);
    line-height: 1.75;
}

/* ================================================================
   THE EDGE
   ================================================================ */
.edge {
    display: block;
    max-width: 720px;
    margin-inline: auto;
}

.edge__text p {
    color: rgba(224, 224, 224, .8);
    margin-bottom: 16px;
    line-height: 1.75;
}

.edge__sub-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--on-secondary-color);
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.9;
}

.edge__text .btn {
    margin-top: 12px;
}

.edge__card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edge__stat {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.edge__stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.03em;
}

.edge__stat-value small {
    font-size: 0.5em;
    font-weight: 600;
    opacity: 0.8;
}

.edge__stat-label {
    font-size: var(--text-sm);
    color: rgba(224, 224, 224, .6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.edge__divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

/* ================================================================
   SUPPORT (We'll Be With You)
   ================================================================ */
.support {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: center;
}

.support__visual {
    flex-shrink: 0;
}

.support__icon-wrap {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 155, 74, .08);
    border-radius: 50%;
    color: var(--primary-color);
}

.support__icon-wrap svg {
    width: 100px;
    height: 100px;
}

.support__text p {
    color: rgba(0, 0, 0, .65);
    line-height: 1.75;
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, .7);
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask-size: 12px;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* ================================================================
   ARE YOU READY
   ================================================================ */
.ready {
    text-align: center;
    max-width: 1500px;
    margin-inline: auto;
}

.ready__title {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.ready__sub {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ready__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 1024px;
    margin-inline: auto auto;
}

.ready__list {
    margin-inline: auto;
}

.ready__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .9);
}

.ready__list li::before {
    content: '→';
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    flex-shrink: 0;
}

/* ================================================================
   WHO WE ARE
   ================================================================ */
.who {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: start;
}

.who__text p {
    color: rgba(0, 0, 0, .65);
    line-height: 1.75;
    margin-bottom: 16px;
}

.who__brands {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.who__brands li {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip {
    display: inline-block;
    background: rgba(0, 155, 74, .12);
    color: var(--primary-color);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.who__reach {
    font-size: var(--text-sm);
    color: rgba(0, 0, 0, .5);
    margin-top: 8px !important;
}

.who__reach strong {
    color: var(--primary-color);
    font-weight: 700;
}

.who__badge-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who__badge {
    background: var(--background-color);
    border: 1px solid var(--divider-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    min-width: 200px;
    transition-delay: calc(var(--bi, 0) * 80ms);
}

.who__badge:nth-child(1) {
    --bi: 0;
}

.who__badge:nth-child(2) {
    --bi: 1;
}

.who__badge:nth-child(3) {
    --bi: 2;
}

.who__badge-num {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    line-height: 1;
}

.who__badge-num small {
    font-size: 0.55em;
    font-weight: 600;
}

.who__badge-label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, .5);
    margin-top: 6px;
    font-weight: 500;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact__text p {
    color: rgba(224, 224, 224, .7);
    line-height: 1.75;
    margin-top: 4px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(224, 224, 224, .7);
}

.form-field input,
.form-field textarea {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: inherit;
    font-size: var(--text-base);
    color: var(--on-secondary-color);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, .3);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, .09);
}

.form-field--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-field--checkbox label {
    font-size: var(--text-sm);
    text-transform: none;
    letter-spacing: 0;
    color: rgba(224, 224, 224, .65);
    cursor: pointer;
}

.form-field--checkbox label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: #0f0f0f;
    padding-block: 40px;
    color: rgba(255, 255, 255, .5);
}

.footer__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__logo {
    flex-shrink: 0;
}

.footer__logo-img {
    display: block;
    height: 28px;
    width: auto;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-left: auto;
}

.footer__links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .5);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__copy {
    width: 100%;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, .3);
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__legal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding-top: 12px;
    font-size: var(--text-xs);
}

.footer__legal span {
    color: rgba(255, 255, 255, .2);
}

.footer__legal a {
    color: rgba(255, 255, 255, .4);
    transition: color var(--transition);
    white-space: nowrap;
}

.footer__legal a:hover {
    color: var(--primary-color);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .edge {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .edge__visual {
        order: -1;
        max-width: 400px;
        margin-inline: auto;
    }

    .edge__card {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .edge__stat {
        flex: 1;
        min-width: 140px;
    }

    .edge__divider {
        display: none;
    }

    .support {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .support__visual {
        margin-inline: auto;
    }

    .who {
        grid-template-columns: 1fr;
    }

    .who__badge-wrap {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .who__badge {
        flex: 1;
        min-width: 160px;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        max-width: 640px;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .section {
        padding-block: 64px;
    }

    .nav__links {
        display: none;
    }

    .nav__actions {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__drawer {
        display: flex;
    }

    .hero__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        margin-left: 0;
    }

    .edge__card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ready__title {
        font-size: var(--text-3xl);
    }
}

gos-energy-power-counter {
    position: relative;
    color: black;
    z-index: 100;
    margin: auto;
}