/* AURUM Training - Shared Styles (Premium Edition) */

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-tertiary: #1A1A1A;
    --bg-card: #1A1A1A;
    --border-subtle: #222222;
    --border-hover: #2D8659;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-muted: #6B7280;
    --accent-green: #2D8659;
    --accent-green-dark: #1f5d3f;
    --accent-green-darkest: #0d3d28;
    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

::selection {
    background-color: rgba(45, 134, 89, 0.3);
    color: #fff;
}

/* Gradients */
.gradient { background: linear-gradient(90deg, #2D8659 0%, #1f5d3f 100%); }
.gradient-dark { background: linear-gradient(135deg, #1f5d3f 0%, #0d3d28 100%); }

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    border-color: rgba(45, 134, 89, 0.4);
    background: rgba(26, 26, 26, 0.8);
    transform: translateY(-4px);
}

/* Premium buttons */
.btn-premium {
    display: inline-block;
    background: linear-gradient(90deg, #2D8659, #1f5d3f);
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.875rem 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 134, 89, 0.3);
}

.btn-premium:hover::before {
    transform: translateX(100%);
}

.btn-premium:active {
    transform: translateY(0);
}

/* Section glow effects */
.glow-section {
    position: relative;
    overflow: hidden;
}

.glow-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 134, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glow-top-right::before { top: -300px; right: -200px; }
.glow-top-left::before { top: -300px; left: -200px; }
.glow-center::before { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Dark utility classes */
.bg-dark-primary { background-color: var(--bg-primary); }
.bg-dark-secondary { background-color: var(--bg-secondary); }
.bg-dark-tertiary { background-color: var(--bg-tertiary); }
.bg-dark-card { background-color: var(--bg-card); }
.border-dark { border-color: var(--border-subtle); }
.text-dark-primary { color: var(--text-primary); }
.text-dark-secondary { color: var(--text-secondary); }
.text-dark-muted { color: var(--text-muted); }
.font-headline { font-family: 'Inter', sans-serif; }

.stat-number { font-size: 2.5rem; font-weight: 700; color: #2D8659; }

.card-dark {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
}

.section-dark-primary { background-color: var(--bg-primary); }
.section-dark-secondary { background-color: var(--bg-secondary); }
.section-dark-tertiary { background-color: var(--bg-tertiary); }

/* Divider line with green glow */
.divider-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 134, 89, 0.4), transparent);
    border: none;
    margin: 0;
}

/* Subtle noise texture overlay for sections */
.noise-overlay {
    position: relative;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Smooth link underline animation */
.link-underline {
    position: relative;
    text-decoration: none;
}
.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}
.link-underline:hover::after {
    width: 100%;
}
