@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Root Variables --- */
:root {
    --bg-dark: #0A0A0A;
    --deep-black: #050505;
    
    /* Premium Metallic Gold Palette */
    --gold-1: #8A6623;   /* Shadow */
    --gold-2: #D4AF37;   /* Mid */
    --gold-3: #F7EF8A;   /* Highlight */
    --gold-4: #EDC967;   /* Warm */
    
    --gold-gradient: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 25%, var(--gold-3) 50%, var(--gold-2) 75%, var(--gold-1) 100%);
    --gold-text-gradient: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

ul, li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle texture overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3column%3Efilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-attachment: fixed;
    opacity: 0.98;
}

a {
    text-decoration: none !important;
    color: var(--white);
    transition: var(--transition-fast);
}

/* --- Decorative Graphical Elements --- */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.blob-1 { top: -200px; left: -200px; animation: float 20s infinite alternate; }
.blob-2 { bottom: 20%; right: -100px; animation: float 15s infinite alternate-reverse; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

/* --- Utility Classes --- */
.text-gold { 
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.gold-gradient-bg {
    background: var(--gold-gradient);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn-gold {
    position: relative;
    background: var(--gold-gradient);
    color: #222;
    padding: 14px 34px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid transparent; /* Match border size for alignment */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-gold:hover::before { left: 100%; }
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid var(--gold-2);
    background: transparent;
    color: var(--gold-3);
    padding: 14px 34px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--gold-gradient);
    color: #222;
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 15px 8%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Navbar.logo span removed as logo is now an image */

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold-3);
}

.mobile-menu-btn {
    display: none;
    color: var(--gold-3);
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 10% 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-home {
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('../images/trading_hero.png');
}

.hero-plans {
    background-image: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)), url('../images/wealth_growth.png');
}

.hero-contact {
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('../images/institutional_support.png');
}

/* Mesh Gradient Effect for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 175, 55, 0.05) 0, transparent 50%);
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: #aaa;
    max-width: 700px;
    margin-bottom: 45px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

/* --- Graphical Cards --- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
    position: relative;
    padding: 40px;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-slow);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold-2);
}

.card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: var(--gold-gradient);
    opacity: 0.1;
    filter: blur(30px);
}

/* --- Section Dividers --- */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px; height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 2px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Pulse Animation --- */
@keyframes pulse-glow {
    0% { transform: scale(1); text-shadow: var(--gold-glow); }
    50% { transform: scale(1.05); text-shadow: 0 0 30px rgba(212, 175, 55, 0.6); }
    100% { transform: scale(1); text-shadow: var(--gold-glow); }
}

.pulse {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* --- Ticker Animation --- */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pair {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Plans Page Components --- */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.roi-large {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 15px 0;
    text-shadow: var(--gold-glow);
}

/* --- Timeline Path (Team Level Income) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 2px; height: 100%;
    background: var(--gold-gradient);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    border-radius: 15px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content { margin-left: auto; text-align: left; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; text-align: right; }

.timeline-dot {
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 16px;
    background: var(--gold-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--gold-glow);
}

/* --- Milestone Roadmap (Rank Rewards) --- */
.roadmap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 0;
}

.milestone {
    flex: 1;
    min-width: 280px;
    position: relative;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border-top: 4px solid var(--gold-2);
}

.rank-badge {
    width: 60px; height: 60px;
    margin: -60px auto 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    box-shadow: var(--gold-glow);
}

.rank-badge svg { width: 30px; height: 30px; stroke: #222; }

/* --- Responsive Plans --- */
@media (max-width: 768px) {
    html, body { position: relative; overflow-x: hidden; width: 100%; }
    nav { padding: 15px 20px; width: 100% !important; left: 0 !important; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; margin-right: 0; }
    .grid-3, .grid-5 { grid-template-columns: 1fr; }
    
    /* Timeline Mobile */
    .timeline::before { left: 20px; }
    .timeline-item { justify-content: flex-start; padding-left: 45px; }
    .timeline-content { width: 100%; text-align: left !important; }
    .timeline-dot { left: 20px; }
    
    .hero h1 { font-size: 2rem; max-width: 100%; padding: 0 10px; }
    .hero p { font-size: 1rem; padding: 0 20px; }
    .section-title { font-size: 1.8rem; }
    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .btn-gold, .btn-outline {
        width: 100%;
        max-width: 310px;
        font-size: 0.9rem;
    }
    .market-ticker { max-width: 100vw; overflow: hidden; }
}

/* --- Premium Form Components --- */
.form-card {
    max-width: 500px;
    margin: 40px auto;
    padding: 50px;
    border-radius: 30px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input {
    accent-color: var(--gold-2);
    width: 18px;
    height: 18px;
}

.auth-links {
    margin-top: 25px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.auth-links a { color: var(--gold-2); }
.auth-links a:hover { color: var(--gold-3); text-decoration: underline !important; }

/* --- Responsive Auth --- */
@media (max-width: 500px) {
    .form-card { padding: 30px 20px; margin: 40px 15px; }
}
