/* ===============================
   ULTRA PREMIUM ENERGY UI CSS
   Author: ElectraSolar
   =============================== */

/* -------- ROOT COLORS -------- */
:root {
    --bg-dark: #050b14;
    --bg-panel: #0b1624;
    --bg-glass: rgba(255,255,255,0.04);

    --electric-blue: #3db5ff;
    --solar-gold: #ffcc33;
    --energy-cyan: #00ffe1;

    --text-main: #e9f1ff;
    --text-muted: #9fb3c8;

    --glow-blue: 0 0 30px rgba(61,181,255,0.45);
    --glow-gold: 0 0 30px rgba(255,204,51,0.35);

    --radius: 18px;
    --radius-sm: 12px;

    --transition: all 0.35s ease;
}

/* -------- RESET -------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #081428 0%, var(--bg-dark) 60%);
    color: var(--text-main);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
}

/* -------- LINKS -------- */
a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--solar-gold);
}

/* -------- HEADER -------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(5,11,20,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--solar-gold);
    text-shadow: var(--glow-gold);
}

nav a {
    margin-left: 28px;
    font-weight: 500;
    color: var(--text-main);
}

nav a:hover {
    color: var(--energy-cyan);
    text-shadow: var(--glow-blue);
}

/* -------- HERO -------- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background:
        radial-gradient(circle at 30% 30%, rgba(61,181,255,0.15), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(255,204,51,0.12), transparent 40%);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, var(--electric-blue), var(--solar-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    max-width: 1000px;
    margin: 6px auto;   /* very small vertical spacing */
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.5;   /* keeps text readable */
}

/* -------- CTA BUTTON -------- */
.cta-btn {
    display: inline-block;
    padding: 16px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--electric-blue), var(--energy-cyan));
    color: #00111c;
    font-weight: 700;
    box-shadow: var(--glow-blue);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 45px rgba(61,181,255,0.8);
}

/* -------- SECTIONS -------- */
.section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 24px;
}

.section-light {
    background: linear-gradient(180deg, var(--bg-panel), #050b14);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--solar-gold);
    text-shadow: var(--glow-gold);
}

.section-sub-title {
    text-align: center;
    font-size: 1.2rem;   /* smaller than title */
    margin-top: -35px;   /* pulls it closer to the title */
    margin-bottom: 40px;
    color: rgba(255, 215, 120, 0.8); /* softer gold variant */
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* -------- TRUST BAR -------- */
.trust {
    padding: 26px;
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(61,181,255,0.12), transparent);
    font-style: italic;
    color: var(--energy-cyan);
	font-size: 1.75rem;
}

/* -------- GRID -------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* -------- CARDS -------- */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
	  cursor: pointer;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(61,181,255,0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-blue);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--electric-blue);
}

.card p {
    color: var(--text-muted);
}

/* -------- BORDER CARD (PRODUCTS) -------- */
.border-card {
    border: 1px solid rgba(255,204,51,0.3);
}

.border-card:hover {
    box-shadow: var(--glow-gold);
}

.link {
    display: inline-block;
    margin-top: 14px;
    color: var(--solar-gold);
    font-weight: 600;
}

/* -------- ARTICLES -------- */
.article-list {
    max-width: 820px;
    margin: auto;
    list-style: none;
}

.article-list li {
    margin-bottom: 18px;
}

.article-list a {
    font-size: 1.05rem;
}

/* -------- FOOTER -------- */
.footer {
    padding: 80px 24px 40px;
    background: #02070f;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 40px;
}

.footer h4 {
    margin-bottom: 14px;
    color: var(--solar-gold);
}

.footer p, 
.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--electric-blue);
}

.footer-copy {
    margin-top: 40px;
    text-align: center;
    color: #6b8099;
    font-size: 0.9rem;
}

/* -------- REVEAL ANIMATION -------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: 0.9s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
    transition: 0.7s ease;
}

/* -------- MOBILE -------- */
@media (max-width: 768px) {
    nav a {
        margin-left: 18px;
    }

    .hero {
        min-height: 80vh;
    }
}
