:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #b45309;
    --accent-light: #d97706;
    --accent-gold: #fcc419;
    --text: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #94a3b8;
    --bg: #0f172a;
    --surface: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-glow: rgba(252, 196, 25, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(180, 83, 9, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 41, 59, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(180, 83, 9, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 23, 42, 1) 0px, transparent 50%);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: white;
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Glassmorphism Helper */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Boxed Layout Container */
.main-box {
    max-width: 1400px;
    margin: 8rem auto 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
}

/* Premium Header - Floating Glass */
header {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    right: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
}

header.scrolled {
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(180, 83, 9, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--glass-glow);
}

/* Hero Section - Boxed Glass */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
    border-radius: 40px;
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)), url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.hero h1 {
    font-size: 5rem;
    background: linear-gradient(to right, #ffffff 30%, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Bento Grid Glass */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 2rem;
}

.bento-item {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

/* Timeline Glass */
.timeline::before {
    background: var(--glass-border);
}

.timeline-dot {
    background: var(--accent-gold);
    border: 4px solid var(--primary);
    box-shadow: 0 0 15px var(--accent-gold);
}

/* FAQ Accordion Glass */
.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.faq-header {
    color: white;
}

.faq-body {
    color: var(--text-muted);
}

/* Footer Premium Glass */
footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    color: white;
    padding: 8rem 0 4rem;
}

footer::before {
    display: none; /* Removed the gradient bar for cleaner look */
}

.footer-col h4 {
    color: var(--accent-gold);
}

.footer-links li {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.text-accent { color: var(--accent-gold); }
.bg-surface { background: transparent; }

/* Grid display helper */
.grid {
    display: grid;
}

/* Timeline structure */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    color: white;
}

.timeline-item h3 { color: white; }
.timeline-item p { color: rgba(255,255,255,0.7); }

.timeline-item:nth-child(odd) { left: 0; padding-right: 3rem; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 3rem; }

.timeline-dot {
    position: absolute;
    top: 0;
    left: 100%;
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--primary);
    box-shadow: 0 0 15px var(--accent-gold);
}

.timeline-item:nth-child(even) .timeline-dot { left: 0; }

/* Left-aligned Timeline (for sidebar layouts/mobile) */
.timeline-left::before { left: 20px; }
.timeline-left .timeline-item { width: 100%; text-align: left !important; padding-left: 50px !important; padding-right: 0 !important; left: 0 !important; }
.timeline-left .timeline-dot { left: 20px !important; }

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: white;
}

.faq-body {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    color: white;
    padding: 8rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

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

.copyright {
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Input placeholder colors */
::placeholder {
    color: rgba(255,255,255,0.3) !important;
}

input, textarea, select {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    header { top: 0; left: 0; right: 0; border-radius: 0; }
    .main-box { margin: 0; padding: 0 1rem; }
    .hero { border-radius: 0; margin-top: 80px; min-height: 70vh; }
    .hero h1 { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item.large, .bento-item.tall, .bento-item.wide { grid-column: span 1; grid-row: span 1; }
    .grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .nav-links { display: none; }
    .header-actions { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--glass-border);
        gap: 1.5rem;
    }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; text-align: left !important; padding-left: 50px !important; padding-right: 0 !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 20px !important; }
}
