/* ============================================
   GoldHarvester Pro - Public Pages Style
   Dark tech theme with gold accents
   ============================================ */

:root {
    --bg-dark: #0b0f1a;
    --bg-card: #111827;
    --bg-card-hover: #1a2234;
    --gold: #d4a843;
    --gold-light: #f0d78c;
    --gold-dark: #a67c2e;
    --text-primary: #e8eaed;
    --text-secondary: #9ca3af;
    --border-color: #1f2937;
    --gradient-gold: linear-gradient(135deg, #d4a843, #f0d78c);
}

* { box-sizing: border-box; }

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

/* Navbar */
#mainNav {
    background: rgba(11, 15, 26, .92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 67, .15);
    padding: .8rem 0;
    transition: background .3s;
}
#mainNav .navbar-brand { font-size: 1.25rem; letter-spacing: .5px; }
#mainNav .nav-link {
    color: var(--text-secondary) !important;
    font-size: .9rem; font-weight: 500;
    padding: .5rem 1rem !important;
    transition: color .2s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--gold) !important; }

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex; align-items: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,168,67,.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(37,99,235,.06) 0%, transparent 50%),
        var(--bg-dark);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a843' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.hero-title {
    font-size: 3.2rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 1.2rem;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
    font-size: 1.15rem; color: var(--text-secondary);
    max-width: 540px; line-height: 1.8; margin-bottom: 2rem;
}
.btn-gold {
    background: var(--gradient-gold);
    color: #1a1a1a; font-weight: 700;
    border: none; padding: .75rem 2.2rem;
    border-radius: 8px; font-size: 1rem;
    transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,168,67,.35);
    color: #1a1a1a;
}
.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold); font-weight: 600;
    padding: .7rem 2rem; border-radius: 8px;
    background: transparent; transition: all .2s;
}
.btn-outline-gold:hover {
    background: var(--gold); color: #1a1a1a;
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all .3s;
    height: 100%;
}
.feature-card:hover {
    border-color: rgba(212,168,67,.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.feature-icon {
    width: 56px; height: 56px;
    background: rgba(212,168,67,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem; color: var(--gold);
}
.feature-card h5 { color: var(--text-primary); font-weight: 700; margin-bottom: .6rem; }
.feature-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.7; margin: 0; }

/* Section styling */
.section-dark {
    padding: 80px 0;
    background: var(--bg-dark);
}
.section-darker {
    padding: 80px 0;
    background: #070a12;
}
.section-title {
    font-size: 2rem; font-weight: 700;
    margin-bottom: .5rem;
}
.section-title .gold { color: var(--gold); }
.section-desc {
    color: var(--text-secondary);
    font-size: 1rem; margin-bottom: 3rem;
}

/* Page header for sub pages */
.page-header {
    padding-top: 120px; padding-bottom: 40px;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212,168,67,.06) 0%, transparent 50%),
        var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 { font-size: 2.4rem; font-weight: 800; }
.page-header p { color: var(--text-secondary); }

/* Content card */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Media items */
.media-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}
.media-item img {
    width: 100%; height: auto;
    display: block;
}
.media-item video {
    width: 100%; height: auto;
    display: block;
}

/* Contact */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}
.contact-icon {
    font-size: 3rem; color: var(--gold);
    margin-bottom: 1rem;
}

/* Stats */
.stat-number {
    font-size: 2.5rem; font-weight: 800;
    color: var(--gold);
}
.stat-label {
    color: var(--text-secondary);
    font-size: .85rem; text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-dark, .section-darker { padding: 50px 0; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #2d3238; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3d4248; }

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