/* ===== ACHUTAVERSE — BASE DESIGN SYSTEM ===== */

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

/* ===== DESIGN TOKENS ===== */
:root {
    /* Backgrounds */
    --bg: #0A0F1C;
    --bg-alt: #1B2A4A;
    --bg-card: #111827;
    --bg-input: #1E293B;

    /* Brand */
    --gold: #C9A84C;
    --gold-hover: #D4B85C;
    --gold-dim: rgba(201,168,76,0.08);
    --gold-border: rgba(201,168,76,0.15);

    /* Text */
    --white: #FFFFFF;
    --gray: #94A3B8;
    --gray-light: #CBD5E1;
    --gray-dark: #475569;

    /* Utility */
    --green: #22C55E;
    --green-dim: rgba(34,197,94,0.1);
    --red: #EF4444;
    --red-dim: rgba(239,68,68,0.1);
    --blue: #3B82F6;

    /* Typography */
    --font-heading: 'Syne', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

h2 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 640px;
    line-height: 1.7;
}

.section-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
    opacity: 0.4;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Simple static nav (for inner pages) */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,15,28,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    padding: 14px 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO ===== */
.logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
}

.logo span { color: var(--gold); }

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
    background: var(--gold);
    color: var(--bg) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

.nav .back {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.nav .back:hover { color: var(--gold); }

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--bg);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.buy-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-alt);
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand span { color: var(--gold); }

.footer-info {
    font-size: 0.8rem;
    color: var(--gray-dark);
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* Simple footer (for inner pages) */
.footer-simple {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-simple p {
    font-size: 0.8rem;
    color: var(--gray-dark);
}

.footer-simple a {
    color: var(--gold);
    text-decoration: none;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }

    .section-headline { font-size: clamp(1.3rem, 3vw, 2rem); }

    .btn-primary, .btn-secondary { padding: 14px 28px; font-size: 0.9rem; }

    .footer .container { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .section-headline { font-size: 1.25rem; }
}

/* ===== PRINT ===== */
@media print {
    body { background: #fff; color: #333; }
    h1 { color: #000; }
    h2 { color: #333; }
    .navbar, .nav, .whatsapp-float, .footer { display: none; }
}
