@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(30, 30, 30, 0.4);
    /* Subtler Gold Palette */
    --gold-primary: #C5A065;
    --gold-light: #E0C895;
    --gold-dark: #8F7240;
    /* Stealth Wealth Aesthetic (Platinum/Silver) */
    --stealth-silver: #E5E4E2;
    --stealth-gradient-start: #ffffff;
    --stealth-gradient-end: #b0c4de;
    /* Neon Blue Palette */
    --neon-blue: #00f3ff;
    --neon-blue-dark: #00a8cc;
    --neon-blue-shadow: rgba(0, 243, 255, 0.4);

    --text-main: #F5F5F5;
    --text-muted: #A0A0A0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.text-gold {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    /* Slightly squarer for classy look */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon {
    width: 1.4em;
    height: 1.4em;
    fill: currentColor;
    flex-shrink: 0;
    transform: translateY(1px);
    /* Lowered slightly to align with text */
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue-dark), var(--neon-blue));
    color: #000;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-shadow);
    text-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--neon-blue-shadow), 0 0 5px var(--neon-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    /* Vertical center */
    position: relative;
    /* Context for absolute centering */
    /* Desktop: Logo and Brand follow natural flow on left. Nav Links absolute center. */
}

.nav-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    /* Slightly larger for serif readability */
    color: var(--text-main);
    z-index: 2;
    letter-spacing: 0.5px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 15px;
    /* Spacing between logo and brand text */
}

.nav-logo-img {
    height: 60px;
    /* Desktop size */
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Absolute Center for Desktop Links */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-cta-btn {
    margin-left: auto;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.small-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}



/* Mobile Sticky Button Default */
.mobile-sticky-btn {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) scale(2);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px) scale(2);
    }
}

/* Procedural grid alternative if image fails */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.text-left {
    text-align: left;
}

.subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 8px;
    /* Slightly sharper styling */
    transition: var(--transition);
    height: 100%;
    /* Ensure full height in grid */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    /* Prevent grid blowout */
}

.glass:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    line-height: 1;
}

.card h3 {
    font-size: 1.35rem;
    /* Reduced to fit better */
    margin-bottom: 15px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Handle extreme cases gracefully */
}

@media (max-width: 768px) {
    .card h3 {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}



.card p {
    color: var(--text-muted);
}

.highlight {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.4), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Advantage Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.content-side {
    flex: 1;
}

.visual-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-list {
    margin-top: 40px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.check-icon {
    color: var(--gold-primary);
    font-size: 1.2rem;
    padding-top: 2px;
}

.feature-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.feature-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Chart Visual */
.chart-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.chart-image:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.center-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: var(--text-muted);
}

.accordion-body p {
    padding-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    margin-bottom: 15px;
    color: var(--gold-primary);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: #555;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .split-layout {
        flex-direction: column;
        gap: 40px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-container .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        transform: none;
        /* Reset desktop centering */
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--glass-border);
        align-items: center;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-container .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hidden-mobile,
    .hide-on-mobile {
        display: none !important;
    }

    .nav-container {
        justify-content: space-between;
        /* Logo Left, Hamburger Right */
        position: relative;
        /* Context for brand centering */
    }

    /* Mobile: Logo naturally left */
    .logo {
        position: static;
        transform: none;
        left: auto;
        margin-right: 0;
    }

    /* Mobile: Brand absolute center */
    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        text-align: center;
    }

    .nav-logo-img {
        height: 70px;
        /* Increased further to fit well */
        width: auto;
    }

    .navbar {
        padding: 10px 0;
        /* Adjust padding to accommodate larger logo */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        padding-top: 120px;
        /* More space for logo header */
        padding-bottom: 80px;
        /* Space for sticky button */
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile Sticky Button */
    .mobile-sticky-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        z-index: 2000;
        text-align: center;
        box-shadow: 0 0 20px var(--neon-blue-shadow);
        animation: pulse-neon 2s infinite;
        background: linear-gradient(135deg, var(--neon-blue-dark), var(--neon-blue));
        color: #000;
        border: 1px solid var(--neon-blue);
        text-shadow: none;
    }

    .mobile-sticky-btn:hover,
    .mobile-sticky-btn:active {
        transform: translateX(-50%) translateY(-2px);
    }
}

@keyframes pulse-neon {
    0% {
        box-shadow: 0 0 15px var(--neon-blue-shadow);
    }

    50% {
        box-shadow: 0 0 25px var(--neon-blue-shadow), 0 0 10px var(--neon-blue);
    }

    100% {
        box-shadow: 0 0 15px var(--neon-blue-shadow);
    }
}

/* Visual Refinements */
.text-teal {
    color: #4df0ff;
    /* Light blue/green teal */
    text-shadow: 0 0 10px rgba(77, 240, 255, 0.4);
}

.hero-graphic {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.6));
}

.chart-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 2s ease-out forwards;
}

.arrow-head,
.glow-point {
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.5s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Tone down glass effects for specific sections */
#whygold .glass,
#results .glass {
    border-color: rgba(255, 255, 255, 0.03);
    /* Much subtler border */
    background: rgba(30, 30, 30, 0.2);
    /* More transparent background */
    box-shadow: none;
    /* Remove default shadow for cleaner look */
}

/* Reduce Result Stats Text Size */
.stat-number {
    font-size: 2.5rem;
    /* Reduced from 3.5rem */
}

.stat-label {
    font-size: 0.9rem;
    /* Slightly smaller label too */
    opacity: 0.8;
}

/* Stealth Wealth Overrides */
.subtitle,
.check-icon,
.accordion-header::after,
.footer-links h4 {
    color: var(--stealth-silver) !important;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--stealth-silver);
    background: linear-gradient(135deg, var(--stealth-gradient-start), var(--stealth-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stealth Text Effect */
/* Stealth Text Effect (Static & Low-Key) */
.stealth-effect {
    color: var(--stealth-silver);
    font-weight: 700;
    font-family: var(--font-serif);
    letter-spacing: 2px;
    opacity: 0.9;
    /* Slightly muted */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    /* Very subtle glow */
}

@keyframes stealthShine {
    to {
        background-position: 200% center;
    }
}