/* ===================================
   Energy Planet — Inner Pages CSS
   Shared across all feature/marketing pages
   =================================== */

:root {
    --cosmic-dark:      #0a0e27;
    --cosmic-blue:      #1a2332;
    --hydrogen-cyan:    #00d4ff;
    --hydrogen-purple:  #8b5cf6;
    --cosmic-accent:    #ff6b9d;
    --text-light:       #e0e7ff;
    --card-bg:          rgba(26, 35, 50, 0.88);
    --border-glow:      rgba(0, 212, 255, 0.28);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cosmic-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ── Animated Background ──────────────────────────────── */
.cosmic-background {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}
.stars, .stars2, .stars3 {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: transparent;
}
.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #eee, transparent);
    background-repeat: repeat; background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite; opacity: 0.4;
}
.stars2 {
    background-image:
        radial-gradient(1px 1px at 100px 120px, #fff, transparent),
        radial-gradient(1px 1px at 150px 90px, #ddd, transparent),
        radial-gradient(1px 1px at 40px 60px, #eee, transparent);
    background-repeat: repeat; background-size: 300px 300px;
    animation: twinkle 7s ease-in-out infinite; animation-delay: 1s; opacity: 0.3;
}
.stars3 {
    background-image:
        radial-gradient(1px 1px at 200px 150px, var(--hydrogen-cyan), transparent),
        radial-gradient(1px 1px at 250px 80px, var(--hydrogen-purple), transparent),
        radial-gradient(2px 2px at 180px 200px, var(--cosmic-accent), transparent);
    background-repeat: repeat; background-size: 400px 400px;
    animation: twinkle 10s ease-in-out infinite; animation-delay: 2s; opacity: 0.2;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.6; }
}

/* ── Planned In-Content Notice ────────────────────────── */
.planned-content-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px dashed rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.planned-content-notice i {
    font-size: 1.6rem;
    color: var(--cosmic-accent);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.planned-content-notice strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.planned-content-notice p {
    color: rgba(224, 231, 255, 0.75);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

/* ── Planned Feature Page Banner ──────────────────────── */
.planned-page-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(255, 107, 157, 0.12));
    border-bottom: 1px solid rgba(139, 92, 246, 0.4);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: rgba(224, 231, 255, 0.92);
    font-size: 0.92rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    line-height: 1.5;
}
.planned-page-banner i {
    color: var(--cosmic-accent);
    font-size: 1rem;
    vertical-align: middle;
}
.planned-page-banner strong {
    color: #fff;
}

/* ── Top Nav ──────────────────────────────────────────── */
.ep-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-glow);
    padding: 0.6rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
}
.ep-nav-logo img {
    height: 38px; width: auto;
    filter: drop-shadow(0 0 8px var(--hydrogen-cyan));
}
.ep-nav-links {
    display: flex; gap: 1.5rem; align-items: center;
    list-style: none;
}
.ep-nav-links a {
    color: rgba(224,231,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.ep-nav-links a:hover, .ep-nav-links a.active { color: var(--hydrogen-cyan); }
.ep-nav-cta {
    background: linear-gradient(135deg, var(--hydrogen-cyan), var(--hydrogen-purple));
    color: #fff !important; font-weight: 700;
    padding: 0.4rem 1.1rem; border-radius: 50px;
    font-size: 0.85rem !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 3px 14px rgba(0,212,255,0.3);
}
.ep-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,255,0.45) !important; }

/* ── Page Wrapper ─────────────────────────────────────── */
.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

/* ── Hero Banner ──────────────────────────────────────── */
.page-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    animation: fadeInDown 0.8s ease-out both;
}
.page-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hydrogen-cyan);
    margin-bottom: 0.6rem;
}
.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--hydrogen-cyan), var(--hydrogen-purple), var(--cosmic-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.page-hero .hero-sub {
    font-size: 1.1rem;
    color: rgba(224,231,255,0.7);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}
.btn-cta {
    background: linear-gradient(135deg, var(--hydrogen-cyan), var(--hydrogen-purple));
    color: #fff; font-weight: 700; font-size: 1rem;
    padding: 0.65rem 1.75rem; border: none; border-radius: 50px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 20px rgba(0,212,255,0.35);
    cursor: pointer;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,212,255,0.5); opacity: 0.92; color: #fff; }

/* ── Hero Feature Image ───────────────────────────────── */
.hero-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 2.5rem;
    border: 1px solid var(--border-glow);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.08);
    animation: fadeInUp 0.9s ease-out 0.1s both;
    line-height: 0;
}
.hero-image-wrap img {
    width: 100%; height: 340px; object-fit: cover;
    display: block; opacity: 0.9;
}

/* ── Content Card ─────────────────────────────────────── */
.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 40px rgba(0,212,255,0.06);
    animation: fadeInUp 0.9s ease-out 0.2s both;
}
.content-card h2 {
    color: var(--hydrogen-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.content-card p {
    color: rgba(224,231,255,0.88);
    font-size: 1.02rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}
.content-card p:last-child { margin-bottom: 0; }

/* ── Inline Image (mid-content) ───────────────────────── */
.inline-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid var(--border-glow);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    line-height: 0;
}
.inline-image-wrap img {
    width: 100%; height: 260px; object-fit: cover;
    display: block; opacity: 0.88;
}
.inline-image-wrap.half {
    float: right; width: 46%;
    margin: 0 0 1rem 1.5rem;
}
.inline-image-wrap.half img { height: 200px; }

/* ── Stats Row ────────────────────────────────────────── */
.stats-row {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
}
.stat-pill {
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    text-align: center;
    flex: 1; min-width: 140px;
}
.stat-pill .stat-num {
    display: block; font-size: 1.6rem; font-weight: 800;
    color: var(--hydrogen-cyan); line-height: 1;
}
.stat-pill .stat-lbl {
    font-size: 0.75rem; color: rgba(224,231,255,0.55);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 0.2rem;
}

/* ── Bullet List ──────────────────────────────────────── */
.ep-list {
    list-style: none; padding: 0; margin: 1rem 0;
}
.ep-list li {
    padding: 0.4rem 0 0.4rem 1.6rem;
    position: relative;
    color: rgba(224,231,255,0.85);
    font-size: 1rem;
}
.ep-list li::before {
    content: '›';
    position: absolute; left: 0;
    color: var(--hydrogen-cyan);
    font-size: 1.2rem; line-height: 1.4;
    font-weight: 700;
}

/* ── Quote / Callout ──────────────────────────────────── */
.callout {
    border-left: 3px solid var(--hydrogen-cyan);
    background: rgba(0,212,255,0.07);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: rgba(224,231,255,0.85);
    font-size: 1.02rem;
}

/* ── Subscribe Section ────────────────────────────────── */
.subscribe-section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 40px rgba(0,212,255,0.06);
    animation: fadeInUp 0.9s ease-out 0.3s both;
}
.subscribe-section h2 {
    color: var(--hydrogen-cyan);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.subscribe-section p {
    color: rgba(224,231,255,0.7);
    font-size: 0.97rem;
    margin-bottom: 1.25rem;
}
.input-group-cta {
    display: flex; gap: 0.75rem; align-items: flex-start;
    flex-wrap: wrap; justify-content: center; max-width: 560px; margin: 0 auto;
}
.email-field-wrapper { flex: 1; min-width: 220px; }
.input-icon-wrapper { position: relative; }
.input-icon {
    position: absolute; left: 0.9rem; top: 50%;
    transform: translateY(-50%);
    color: rgba(0,212,255,0.6); font-size: 1rem; pointer-events: none;
}
.form-control-cta {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(0,212,255,0.35);
    color: var(--text-light); border-radius: 50px;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    font-size: 1rem; width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control-cta::placeholder { color: rgba(224,231,255,0.4); }
.form-control-cta:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--hydrogen-cyan);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.2);
    color: var(--text-light); outline: none;
}
.form-control-cta.is-invalid {
    border-color: var(--cosmic-accent);
    box-shadow: 0 0 0 3px rgba(255,107,157,0.2);
}
.field-error {
    color: var(--cosmic-accent); font-size: 0.83rem;
    margin-top: 0.35rem; padding-left: 0.5rem; text-align: left;
}
.btn-submit { white-space: nowrap; flex-shrink: 0; }
.feedback-msg { font-size: 1rem; margin-top: 0.75rem; }
.privacy-note {
    font-size: 0.78rem; color: rgba(224,231,255,0.4);
    margin-top: 0.6rem;
}

/* ── Footer ───────────────────────────────────────────── */
.ep-footer {
    text-align: center;
    padding: 1.25rem 0 0.5rem;
    border-top: 1px solid rgba(0,212,255,0.12);
}
.ep-footer p {
    color: rgba(224,231,255,0.4);
    font-size: 0.82rem;
}
.ep-footer a { color: rgba(0,212,255,0.6); text-decoration: none; }
.ep-footer a:hover { color: var(--hydrogen-cyan); }

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero h1         { font-size: 1.7rem; }
    .hero-image-wrap img  { height: 220px; }
    .inline-image-wrap.half { float: none; width: 100%; margin: 1rem 0; }
    .content-card         { padding: 1.25rem 1rem; }
    .subscribe-section    { padding: 1.5rem 1rem; }
    .ep-nav-links         { display: none; }
    .input-group-cta      { flex-direction: column; }
    .btn-submit           { width: 100%; justify-content: center; }
}
@media (max-width: 576px) {
    .page-hero h1 { font-size: 1.4rem; }
    .page-wrapper { padding: 1rem 0.75rem 2rem; }
}
