/**
 * ZOUESCX Capital - Premium Minimalist Design
 * Elegant, Clean, Professional
 */

/* =====================================================
   CSS Variables - Refined Color Palette
   ===================================================== */
:root {
    /* Primary Colors - Sophisticated Dark */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-glass: rgba(20, 20, 20, 0.4);
    
    /* Accent - Refined Gold */
    --gold: #d4af37;
    --gold-light: #f3cf55;
    --gold-dark: #aa8c2c;
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    --gradient-glow: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);

    /* Text Colors */
    --text-white: #ffffff;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Borders */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    
    /* Status */
    --success: #22c55e;
    --danger: #ef4444;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 6px;
    --space-md: 12px;
    --space-lg: 20px;
    --space-xl: 28px;
    --space-2xl: 40px;
    --space-3xl: 56px;
    --space-4xl: 72px;
    --space-5xl: 88px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.02) 0%, transparent 25%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; }
h5 { font-size: 0.9375rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--gold);
}

/* =====================================================
   Layout
   ===================================================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1440px;
}

.section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-lg) 0;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* =====================================================
   Utilities
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-gold { color: var(--gold); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =====================================================
   Cards
   ===================================================== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.75rem;
}

/* =====================================================
   Form Elements
   ===================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label.required::after {
    content: ' *';
    color: var(--gold);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 48px;
}

/* =====================================================
   Badges
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
}

.badge-primary {
    background: rgba(201, 169, 98, 0.15);
    color: var(--gold);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* =====================================================
   Alerts
   ===================================================== */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.alert-info {
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.2);
    color: var(--gold);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* =====================================================
   Section Headers
   ===================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* =====================================================
   Divider
   ===================================================== */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--space-xl) 0;
}

/* =====================================================
   Page Loader
   ===================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   Scroll Progress
   ===================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    z-index: 10001;
}

/* =====================================================
   Back to Top
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* =====================================================
   Animations
   ===================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

[data-animate="fadeInLeft"] { transform: translateX(-20px); }
[data-animate="fadeInRight"] { transform: translateX(20px); }
[data-animate="fadeInUp"] { transform: translateY(20px); }

[data-animate="fadeInLeft"].animated,
[data-animate="fadeInRight"].animated,
[data-animate="fadeInUp"].animated {
    transform: none;
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* =====================================================
   Breadcrumb
   ===================================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--gold);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* =====================================================
   Page Banner
   ===================================================== */
.page-banner {
    padding: var(--space-4xl) 0 var(--space-2xl);
    border-bottom: 1px solid var(--border-light);
}

.page-banner-content {
    text-align: center;
}

.page-banner-title {
    margin-bottom: var(--space-sm);
}

.page-banner-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-lg); }
    .section { padding: var(--space-3xl) 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
}

@media (max-width: 480px) {
    .btn { padding: 12px 24px; }
    .btn-lg { padding: 14px 28px; }
}
