/* Atlas Reserve Bank - Premium Banking Design System */
/* Professional, visually stunning design inspired by top-tier banks */

:root {
    /* Premium Color Palette */
    --primary-gold: #d4af37;
    --primary-gold-light: #e6c866;
    --primary-gold-dark: #b8941f;
    --navy-dark: #1a2332;
    --navy-medium: #2d3748;
    --navy-light: #4a5568;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-overlay: rgba(26, 35, 50, 0.9);
    
    /* Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-light: #ffffff;
    --text-muted: #a0aec0;
    
    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Market Ticker */
.market-ticker-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    border-bottom: 1px solid var(--primary-gold);
    z-index: 1001;
    height: 40px;
    overflow: hidden;
}

.ticker-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 120s linear infinite;
    gap: var(--space-2xl);
}

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

.ticker-item {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.ticker-price {
    font-weight: 600;
}

.ticker-price.positive {
    color: var(--success);
}

.ticker-price.negative {
    color: var(--error);
}

.ticker-change {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
}

.logo .bank-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

.logo .bank-tagline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.language-selector,
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:hover,
.theme-toggle:hover {
    border-color: var(--primary-gold);
    background: var(--bg-tertiary);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
}

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

.btn-secondary:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: var(--space-sm) var(--space-lg);
}

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

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 120px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('atlas_reserve_bank_wall_realistic.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
}

.hero-text {
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Actions */
.quick-actions {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.action-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.action-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.action-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Services Section */
.services-section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.service-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.service-features {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.service-features span {
    background: var(--bg-secondary);
    color: var(--primary-gold);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Market Overview */
.market-overview {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.market-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.market-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-align: center;
}

.market-data {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--bg-secondary);
}

.market-item:last-child {
    border-bottom: none;
}

.market-item span:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.market-item span:last-child {
    font-weight: 600;
    font-size: 0.875rem;
}

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

.negative {
    color: var(--error);
}

/* Cards Section */
.cards-section {
    padding: var(--space-3xl) 0;
}

.cards-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
    align-items: center;
}

.card-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.card-display:hover {
    transform: scale(1.05);
}

.card-visual {
    margin-bottom: var(--space-xl);
}

.card-mock {
    width: 350px;
    height: 220px;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    font-family: 'Courier New', monospace;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.card-mock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.card-mock.debit {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.card-mock.credit {
    background: linear-gradient(135deg, var(--primary-gold-dark) 0%, var(--primary-gold) 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-bank {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-type {
    font-size: 0.625rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.card-number {
    font-size: 1.25rem;
    letter-spacing: 3px;
    text-align: center;
    margin: var(--space-lg) 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-name {
    font-size: 0.75rem;
    font-weight: 600;
}

.card-exp {
    font-size: 0.75rem;
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.card-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Testimonials */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.testimonial-content {
    margin-bottom: var(--space-xl);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
}

.footer-contact p {
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: var(--space-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 1000;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.ai-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.ai-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-header {
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

.ai-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assistant-contact {
    width: 100%;
    text-align: center;
}

.assistant-contact small {
    color: var(--primary-gold);
    font-size: 0.75rem;
    opacity: 0.8;
}

.ai-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.ai-messages {
    flex: 1;
    padding: var(--space-lg);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ai-message {
    max-width: 80%;
}

.ai-message.bot {
    align-self: flex-start;
}

.ai-message.user {
    align-self: flex-end;
}

.message-content {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.4;
}

.ai-message.bot .message-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.ai-message.user .message-content {
    background: var(--primary-gold);
    color: white;
}

.ai-input {
    padding: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    gap: var(--space-sm);
}

.ai-input input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.ai-input input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.ai-input button {
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-gold);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.ai-input button:hover {
    background: var(--primary-gold-dark);
}

/* Biometric Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.biometric-modal {
    padding: var(--space-2xl);
    text-align: center;
}

.biometric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.biometric-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.biometric-scanner {
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto var(--space-xl);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scanner-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.scanner-line {
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    position: absolute;
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% { top: 0; opacity: 1; }
    50% { top: 50%; opacity: 0.5; }
    100% { top: 100%; opacity: 1; }
}

.scanner-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    z-index: 1;
}

.biometric-instruction {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.biometric-progress {
    margin-bottom: var(--space-xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--primary-gold);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.biometric-alternatives {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navigation,
    .header-controls .cta-buttons {
        display: none;
    }
    
    .navigation.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: var(--shadow-lg);
    }
    
    .navigation.mobile-active .nav-menu {
        flex-direction: column;
        padding: var(--space-lg);
    }
    
    .hero {
        margin-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .actions-grid,
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-showcase,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .ai-chat {
        width: 300px;
        height: 400px;
    }
    
    .card-mock {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .ai-assistant {
        bottom: var(--space-md);
        right: var(--space-md);
    }
    
    .ai-chat {
        width: calc(100vw - 2rem);
        right: -280px;
    }
}

/* Print Styles */
@media print {
    .header,
    .ai-assistant,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
*:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* Professional Video Player Styles */
.video-guide {
    position: relative;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-guide.welcome-video {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.video-guide video {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    background: #000;
    object-fit: cover;
}

.video-description {
    padding: var(--space-xl);
    background: var(--bg-primary);
    border-top: 1px solid var(--primary-gold);
}

.video-description h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: var(--space-md);
    text-align: center;
}

.video-description p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    text-align: center;
    line-height: 1.6;
}

.video-description ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl) 0;
}

.video-description li {
    position: relative;
    padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: var(--space-sm);
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1rem;
}

.video-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.video-actions .btn {
    min-width: 180px;
    padding: var(--space-md) var(--space-lg);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    border: none;
    color: var(--navy-dark);
    box-shadow: var(--shadow-md);
}

.video-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-gold) 100%);
}

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

.video-actions .btn-outline:hover {
    background: var(--primary-gold);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Dark mode video styles */
[data-theme="dark"] .video-guide {
    background: var(--surface-color);
}

[data-theme="dark"] .video-description {
    background: var(--surface-color);
    border-top-color: var(--primary-color);
}

[data-theme="dark"] .video-description h4 {
    color: var(--text-color);
}

[data-theme="dark"] .video-description p {
    color: var(--text-secondary);
}

[data-theme="dark"] .video-description li {
    color: var(--text-color);
}

[data-theme="dark"] .video-actions .btn-primary {
    color: var(--navy-dark);
}

[data-theme="dark"] .video-actions .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .video-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--navy-dark);
}

/* Responsive video styles */
@media (max-width: 768px) {
    .video-guide video {
        height: 250px;
    }
    
    .video-description {
        padding: var(--space-lg);
    }
    
    .video-description h4 {
        font-size: 1.25rem;
    }
    
    .video-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .video-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .video-guide video {
        height: 200px;
    }
    
    .video-description {
        padding: var(--space-md);
    }
    
    .video-description h4 {
        font-size: 1.1rem;
    }
    
    .video-description p {
        font-size: 0.9rem;
    }
    
    .video-description li {
        font-size: 0.85rem;
        padding-left: var(--space-lg);
    }
}

