:root {
    --bg-dark: #050b14;
    --bg-panel: #0b1624;
    --bg-glass: rgba(255,255,255,0.05);

    --electric-blue: #3db5ff;
    --solar-gold: #ffcc33;
    --energy-cyan: #00ffe1;

    --text-main: #e9f1ff;
    --text-muted: #9fb3c8;

    --radius: 16px;
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #081428, var(--bg-dark));
    color: var(--text-main);
    font-family: Inter, system-ui, sans-serif;
}

/* -------- 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: 760px;
    margin: 20px auto 36px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* BUTTON */
.cta-btn {
    margin-top: 24px;
    padding: 14px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--electric-blue), var(--energy-cyan));
    color: #00111c;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

/* SECTIONS */
.section {
    max-width: 1200px;
    margin: auto;
    padding: 90px 24px;
}

.section-light {
    background: linear-gradient(180deg, var(--bg-panel), var(--bg-dark));
}

.section-title {
    text-align: center;
    color: var(--solar-gold);
    margin-bottom: 40px;
}

/* CARDS */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.border-card {
    text-align: center;
    border: 1px solid rgba(255,204,51,0.4);
}

.border-card p {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--energy-cyan);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 30px;
}

/* TABLE */
table {
    border-collapse: collapse;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* INPUTS */
.input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: var(--text-main);
}

.input:focus {
    outline: none;
    border-color: var(--electric-blue);
}

/* SELECT */
select.input {
    appearance: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)),
        url("data:image/svg+xml;utf8,<svg fill='%23ffcc33' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* RESULTS HIDDEN INITIALLY */
#results {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: 0.6s ease;
}

#results.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* FOOTER */
.footer {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* -------- RESULT CARDS (HIGHLIGHTED) -------- */
.border-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 36px 24px;
    background:
        radial-gradient(circle at top, rgba(255,204,51,0.15), transparent 60%),
        var(--bg-glass);
}

.border-card::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        transparent,
        rgba(255,204,51,0.4),
        transparent 60%
    );
    animation: spinGlow 10s linear infinite;
    opacity: 0.5;
}

.border-card > * {
    position: relative;
    z-index: 1;
}

@keyframes spinGlow {
    to {
        transform: rotate(360deg);
    }
}

  .faq-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  position: relative;   /* prevents overlay issues */
  z-index: 1;
  }
  
  .faq-card p a {
  color: var(--solar-gold);   /* highlight link */
  text-decoration: underline;
  cursor: pointer;
  position: relative;
  z-index: 2;                 /* ensures link is above card layers */
}

.faq-card h3 { color: var(--solar-gold); }
.faq-card p { color: var(--text-muted); }
