/* =====================================================
   724 Döviz - Modern Finance Platform
   Main Stylesheet
   ===================================================== */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Colors */
    --primary-color: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    
    /* Secondary Colors */
    --secondary-color: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #8b5cf6;
    
    /* Accent Colors */
    --accent-gold: #f59e0b;
    --accent-gold-dark: #d97706;
    --accent-gold-light: #fbbf24;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-light: #34d399;
    --danger-color: #ef4444;
    --danger-light: #f87171;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-dark: #111827;
    
    /* Border Colors */
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;
    
    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Header Height */
    --header-height: 70px;
    --top-bar-height: 40px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --text-light: #6b7280;
    
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --bg-dark: #030712;
    
    --border-color: #374151;
    --border-light: #1f2937;
    --border-dark: #4b5563;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

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

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

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.positive {
    color: var(--success-color) !important;
}

.negative {
    color: var(--danger-color) !important;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(26, 86, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(26, 86, 219, 0.5);
    color: white;
}

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

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

/* ==================== Top Bar ==================== */
.top-bar {
    background: var(--bg-dark);
    color: #e5e7eb;
    height: var(--top-bar-height);
    font-size: 0.8125rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.update-time {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.update-time i {
    color: var(--primary-light);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--success-light);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.top-bar-right a {
    color: #e5e7eb;
    transition: color var(--transition);
}

.top-bar-right a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* ==================== Header ==================== */
.header {
    background: var(--bg-primary);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 1.25rem;
}

.logo-text {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 86, 219, 0.08);
}

.nav-link i {
    font-size: 0.875rem;
}

.nav-link .fa-chevron-down {
    font-size: 0.625rem;
    margin-left: var(--spacing-xs);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

/* ==================== Ticker ==================== */
.ticker-wrapper {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.ticker {
    overflow: hidden;
    padding: var(--spacing-sm) 0;
}

.ticker-content {
    display: flex;
    gap: var(--spacing-xl);
    animation: ticker 30s linear infinite;
}

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

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.ticker-name {
    font-weight: 600;
    color: var(--text-primary);
}

.ticker-value {
    font-family: var(--font-mono);
    font-weight: 500;
}

.ticker-change {
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f0f7ff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(26, 86, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.hero-badge i {
    color: var(--accent-gold);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Quick Converter Widget */
.hero-widget {
    position: relative;
}

.quick-converter {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.quick-converter h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quick-converter h3 i {
    color: var(--primary-color);
}

.converter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.converter-input,
.converter-select {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.converter-input label,
.converter-select label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.converter-input input,
.converter-select select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.converter-input input:focus,
.converter-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.swap-btn {
    align-self: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.swap-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.converter-result {
    background: var(--primary-gradient);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    text-align: center;
    margin-top: var(--spacing-sm);
}

.result-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-mono);
}

/* ==================== Rates Section ==================== */
.rates-section {
    background: var(--bg-primary);
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.rate-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition);
}

.rate-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.rate-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
}

.currency-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.currency-flag {
    font-size: 2rem;
}

.currency-code {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.currency-name {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.rate-badge.positive {
    background: rgba(16, 185, 129, 0.1);
}

.rate-badge.negative {
    background: rgba(239, 68, 68, 0.1);
}

.rate-card-body {
    padding: var(--spacing-md);
}

.rate-value {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.rate-current {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.rate-currency {
    font-size: 1rem;
    color: var(--text-muted);
}

.rate-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.rate-detail {
    text-align: center;
}

.rate-detail .label {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.rate-detail .value {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.rate-card-footer {
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.mini-chart {
    height: 40px;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: var(--radius-sm);
}

/* ==================== Gold Section ==================== */
.gold-section {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

[data-theme="dark"] .gold-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.gold-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
}

.gold-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.gold-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gold-card.featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
}

.gold-card.featured h3,
.gold-card.featured .gold-price,
.gold-card.featured .price-currency {
    color: white;
}

.gold-card.featured .gold-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.gold-card.featured .gold-details {
    color: rgba(255, 255, 255, 0.9);
}

.gold-card.featured .gold-change {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.gold-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto var(--spacing-md);
}

.gold-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.gold-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.price-value {
    font-size: 1.375rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.price-currency {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.gold-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.gold-change.positive {
    background: rgba(16, 185, 129, 0.1);
}

.gold-change.negative {
    background: rgba(239, 68, 68, 0.1);
}

.gold-details {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ==================== Crypto Section ==================== */
.crypto-section {
    background: var(--bg-primary);
}

.crypto-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.crypto-table {
    width: 100%;
    border-collapse: collapse;
}

.crypto-table th,
.crypto-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.crypto-table th {
    background: var(--bg-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.crypto-table tr:last-child td {
    border-bottom: none;
}

.crypto-table tr:hover {
    background: var(--bg-secondary);
}

.crypto-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.crypto-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #f7931a 0%, #ffb74d 100%);
    color: white;
}

.crypto-icon.eth {
    background: linear-gradient(135deg, #627eea 0%, #8fa8f8 100%);
    color: white;
}

.crypto-icon.bnb {
    background: linear-gradient(135deg, #f0b90b 0%, #fcd535 100%);
    color: #1e2026;
    font-size: 0.625rem;
}

.crypto-icon.xrp {
    background: linear-gradient(135deg, #23292f 0%, #4a5568 100%);
    color: white;
    font-size: 0.625rem;
}

.crypto-icon.sol {
    background: linear-gradient(135deg, #9945ff 0%, #14f195 100%);
    color: white;
    font-size: 0.625rem;
}

.crypto-name div {
    display: flex;
    flex-direction: column;
}

.crypto-name strong {
    color: var(--text-primary);
}

.crypto-name span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sparkline {
    width: 100px;
    height: 30px;
    background: linear-gradient(to right, transparent, rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-sm);
}

/* ==================== Features Section ==================== */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-lg);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== News Section ==================== */
.news-section {
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.news-meta i {
    margin-right: var(--spacing-xs);
}

.news-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--text-primary);
    transition: color var(--transition);
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.read-more:hover {
    gap: var(--spacing-sm);
}

/* ==================== Newsletter Section ==================== */
.newsletter-section {
    background: var(--primary-gradient);
    padding: var(--spacing-3xl) 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-2xl);
}

.newsletter-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 480px;
}

.newsletter-form {
    flex: 1;
    max-width: 480px;
}

.newsletter-form .form-group {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: var(--bg-secondary);
}

.form-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-sm);
}

.form-note i {
    margin-right: var(--spacing-xs);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-dark);
    color: #e5e7eb;
    padding: var(--spacing-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: #9ca3af;
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.6;
}

.footer-disclaimer i {
    color: var(--warning-color);
    margin-right: var(--spacing-xs);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ==================== Cookie Consent ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.cookie-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cookie-content p i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cookie-link {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ==================== Loading Skeleton ==================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .top-bar,
    .ticker-wrapper,
    .nav-actions,
    .newsletter-section,
    .back-to-top,
    .cookie-consent {
        display: none !important;
    }
    
    .header {
        position: static;
    }
    
    body {
        background: white;
        color: black;
    }
}
