/* ============================================
   GoldHarvester Pro - Premium Dark Theme
   Inspired by ValeryTrading, XAUBOT, Forex Fury
   ============================================ */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-dark: #06090f;
    --bg-darker: #040710;
    --bg-card: rgba(17, 24, 43, .7);
    --bg-card-solid: #111827;
    --bg-card-hover: #1a2234;
    --gold: #d4a843;
    --gold-light: #f0d78c;
    --gold-dark: #a67c2e;
    --gold-glow: rgba(212, 168, 67, .15);
    --cyan: #70f0d6;
    --cyan-glow: rgba(112, 240, 214, .1);
    --text-primary: #e8eaed;
    --text-secondary: #8b95a5;
    --text-sec: #8b95a5;
    --border-color: rgba(255, 255, 255, .06);
    --border-glow: rgba(212, 168, 67, .2);
    --gradient-gold: linear-gradient(135deg, #d4a843, #f0d78c);
    --gradient-hero: linear-gradient(135deg, rgba(212,168,67,.06) 0%, transparent 40%, rgba(112,240,214,.04) 100%);
    --glass: rgba(255, 255, 255, .03);
    --glass-border: rgba(255, 255, 255, .08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-card: 0 4px 24px rgba(0,0,0,.3);
    --shadow-glow: 0 0 40px rgba(212,168,67,.08);
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Scroll Animation ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ---- Gold text ---- */
.gold { color: var(--gold); }

/* ============ NAVBAR ============ */
#mainNav {
    background: rgba(6, 9, 15, .8) !important;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    padding: .7rem 0;
    transition: var(--transition);
    z-index: 1050;
}
#mainNav.scrolled {
    background: rgba(6, 9, 15, .95) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
    border-bottom-color: var(--border-glow);
}
#mainNav .navbar-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .3px;
}
#mainNav .nav-link {
    color: var(--text-secondary) !important;
    font-size: .85rem;
    font-weight: 500;
    padding: .5rem .85rem !important;
    transition: var(--transition);
    position: relative;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--gradient-gold);
    transition: width .3s, left .3s;
    border-radius: 1px;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 60%; left: 20%;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--gold) !important; }

/* ============ HERO ============ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(212,168,67,.07) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 80%, rgba(112,240,214,.04) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(99,102,241,.03) 0%, transparent 50%);
    animation: heroBgRotate 30s linear infinite;
}
@keyframes heroBgRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a843' fill-opacity='0.015'%3E%3Cpath d='M40 40h2v2h-2v-2zm20-20h2v2h-2v-2zM0 40h2v2H0v-2zm40-40h2v2h-2v-2zm20 60h2v2h-2v-2zM0 0h2v2H0V0zm60 20h2v2h-2v-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .8;
    pointer-events: none;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ---- Hero Stat Cards ---- */
.hero-stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hero-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity .3s;
}
.hero-stat-card:hover {
    border-color: var(--border-glow);
    background: rgba(212,168,67,.04);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.hero-stat-card:hover::before { opacity: 1; }

/* ---- Buttons ---- */
.btn-gold {
    background: var(--gradient-gold);
    color: #0a0a0a;
    font-weight: 700;
    border: none;
    padding: .8rem 2.4rem;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: .3px;
}
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,168,67,.4);
    color: #0a0a0a;
}
.btn-gold:hover::before { left: 100%; }

.btn-outline-gold {
    border: 1.5px solid rgba(212,168,67,.5);
    color: var(--gold);
    font-weight: 600;
    padding: .75rem 2.2rem;
    border-radius: var(--radius-sm);
    background: transparent;
    transition: var(--transition);
    font-size: .95rem;
}
.btn-outline-gold:hover {
    background: rgba(212,168,67,.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212,168,67,.15);
}

/* ============ SECTIONS ============ */
.section-dark {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}
.section-darker {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* ---- Section Divider Glow ---- */
.section-darker::before,
.section-dark + .section-darker::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,.15), transparent);
}

/* ---- Page Header ---- */
.page-header {
    padding-top: 130px;
    padding-bottom: 50px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(212,168,67,.05) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 30%, rgba(112,240,214,.03) 0%, transparent 50%);
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,.15), transparent);
}
.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    position: relative;
    letter-spacing: -.01em;
}
.page-header p {
    color: var(--text-secondary);
    position: relative;
    font-size: .95rem;
}

/* ============ CARDS ============ */
/* ---- Glass Card ---- */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.content-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
}
.content-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

/* ---- Feature Card ---- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(ellipse at 50% 0%, rgba(212,168,67,.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .4s;
}
.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.3), var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px; height: 56px;
    background: rgba(212,168,67,.08);
    border: 1px solid rgba(212,168,67,.12);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: var(--gold);
    transition: var(--transition);
    position: relative;
}
.feature-card:hover .feature-icon {
    background: rgba(212,168,67,.12);
    box-shadow: 0 0 20px rgba(212,168,67,.15);
}
.feature-card h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: .6rem;
    font-size: 1.05rem;
    position: relative;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.75;
    margin: 0;
    position: relative;
}

/* ============ COUNTER STATS ============ */
.counter-section {
    padding: 60px 0;
    background: var(--bg-darker);
    position: relative;
}
.counter-section::before,
.counter-section::after {
    content: '';
    position: absolute;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,.12), transparent);
}
.counter-section::before { top: 0; }
.counter-section::after { bottom: 0; }

.counter-item {
    text-align: center;
    padding: 1rem;
}
.counter-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.counter-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.counter-label {
    color: var(--text-secondary);
    font-size: .85rem;
    margin-top: .3rem;
    font-weight: 500;
    letter-spacing: .5px;
}

/* ============ STEPS ============ */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}
.step-number {
    width: 64px; height: 64px;
    background: rgba(212,168,67,.08);
    border: 2px solid rgba(212,168,67,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    transition: var(--transition);
}
.step-card:hover .step-number {
    background: rgba(212,168,67,.12);
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212,168,67,.2);
    transform: scale(1.1);
}
.step-card h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.step-card p {
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.7;
    margin: 0;
}
.step-connector {
    position: absolute;
    top: 45px; right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, rgba(212,168,67,.3), rgba(212,168,67,.05));
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px; left: 20px;
    font-size: 4rem;
    color: rgba(212,168,67,.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.testimonial-text {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-style: italic;
    position: relative;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    color: #0a0a0a;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: .9rem;
}
.testimonial-role {
    font-size: .78rem;
    color: var(--text-secondary);
}

/* ============ COMPARISON TABLE ============ */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .9rem;
}
.compare-table thead th {
    background: rgba(212,168,67,.06);
    color: var(--gold);
    font-weight: 700;
    padding: 1rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid var(--border-color);
}
.compare-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.compare-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}
.compare-table td:first-child {
    color: var(--text-primary);
    font-weight: 600;
}
.compare-table tbody tr:hover td {
    background: rgba(212,168,67,.03);
}
.compare-check { color: var(--gold); font-size: 1.1rem; }
.compare-x { color: #555; font-size: .9rem; }

/* ============ CONTACT ============ */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity .3s;
}
.contact-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.contact-card:hover::before { opacity: 1; }
.contact-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* ============ STATS ============ */
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: var(--text-secondary);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============ MEDIA ============ */
.media-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}
.media-item:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}
.media-item img, .media-item video {
    width: 100%; height: auto; display: block;
}

/* ============ PRICING ============ */
.badge-tag {
    position: absolute;
    top: -10px; right: -10px;
    background: var(--gold);
    color: #0b0f1a;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(212,168,67,.3);
}
.badge-tag.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}
.badge-tag.lifetime {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff;
}
.border-gold { border: 2px solid var(--gold) !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: .95rem; }
    .section-dark, .section-darker { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }
    .counter-number { font-size: 2.2rem; }
    .step-connector { display: none; }
    .page-header { padding-top: 110px; padding-bottom: 35px; }
    .page-header h1 { font-size: 2rem; }
    .compare-table { font-size: .8rem; }
    .compare-table td, .compare-table th { padding: .6rem .5rem; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: rgba(212,168,67,.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(212,168,67,.35); }

/* ============ SELECTION ============ */
::selection {
    background: rgba(212,168,67,.25);
    color: var(--text-primary);
}

/* ============ UTILITIES ============ */
.text-gold { color: var(--gold) !important; }
.bg-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Flash messages */
.public-flash {
    position: fixed; top: 80px; right: 20px;
    z-index: 9999; min-width: 300px;
}
