/* =========================================
   KRAKETECH™ LLP — FINAL CLEAN CSS (PRO)
========================================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES */
:root {
    --bg-1: #05070d;
    --bg-2: #0b1020;
    --bg-3: #121826;
    --gold: #d4af37;
    --gold-2: #f5d76e;
    --gold-soft: rgba(212, 175, 55, 0.16);
    --text: #f5f7fb;
    --muted: #b6bfd1;
    --border: rgba(212, 175, 55, 0.18);
    --card-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --max: 1180px;
}

/* BODY */
body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(212, 175, 55, 0.10), transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 16%),
        linear-gradient(180deg, #03050a 0%, #070b14 38%, #02040a 100%);
    line-height: 1.7;
}

/* LINKS */
a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   HEADER (NEW SYSTEM — CLEAN)
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 5, 10, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--gold-2);
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
}

.brand span {
    font-size: 0.7em;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--gold-2);
    background: rgba(212, 175, 55, 0.08);
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    color: var(--gold-2);
    cursor: pointer;
}

/* =========================================
   HERO
========================================= */
.page-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 110px 20px 90px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 22px;
    background: linear-gradient(90deg, #fff6cf 0%, #f5d76e 38%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtext {
    max-width: 860px;
    margin: 0 auto 18px;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    min-width: 180px;
    padding: 14px 24px;
    margin: 12px 8px 0;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: all 0.28s ease;
    text-align: center;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #111;
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.22);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.30);
}

.btn-outline {
    background: transparent;
    color: var(--gold-2);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.08);
}

/* =========================================
   SECTIONS
========================================= */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 20px;
}

.section h2 {
    text-align: center;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    margin-bottom: 34px;
    color: var(--gold-2);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
}

/* CARDS */
.card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
        linear-gradient(145deg, rgba(11,16,32,0.92), rgba(5,7,13,0.96));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.28s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.35);
}

.card h3 {
    color: var(--gold-2);
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

/* =========================================
   CTA SECTION
========================================= */
.section.alt {
    text-align: center;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    margin-top: 30px;
    padding: 46px 20px;
    background: rgba(3, 5, 10, 0.92);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-brand {
    color: var(--gold-2);
    font-weight: 800;
}

.footer-grid a {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--gold-2);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    color: var(--muted);
}

/* =========================================
   UTILITIES
========================================= */
.muted {
    color: var(--muted);
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 900px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 12px;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .page-hero {
        padding: 80px 18px 70px;
    }

    .page-hero h1 {
        font-size: 2.1rem;
    }

    .section {
        padding: 54px 18px;
    }
}

@media (max-width: 560px) {
    .brand {
        font-size: 1.1rem;
    }
}