/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors - Professional Gold Theme */
    --primary: #FFD700;
    --primary-dark: #D4AF37;
    --primary-light: #FFF9C4;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #3B82F6;
    --accent-light: #60a5fa;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06b6d4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --dark: #020617;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #1d4ed8 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 10px 30px rgba(255, 215, 0, 0.15);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-preloader: 9999;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--light);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== 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);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--gray-900);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ===== UPDATED PAGE HERO STYLES ===== */
.page-hero {
    padding: 5rem 0 3.5rem;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(26, 26, 46, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.08"><path d="M0,0 L100,0 L100,100 Z" fill="%23FFD700"/><path d="M0,100 L100,0 L100,100 Z" fill="%23D4AF37"/><circle cx="20" cy="20" r="10" fill="%23FFD700" opacity="0.3"/><circle cx="80" cy="80" r="15" fill="%23D4AF37" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: 80px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 1rem 0;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Hero animations */
.hero-title.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-description.slide-in {
    animation: slideInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== UPDATED HEADER STYLES ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: var(--z-fixed);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #475569;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.nav-link:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}

.nav-link.active {
    color: #0f172a;
    font-weight: 600;
    background: rgba(255, 215, 0, 0.08);
    position: relative;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #FFD700;
    border-radius: 2px;
}

/* Auth Dropdown */
.auth-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-logged-in,
.admin-logged-in {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 100%);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.user-logged-in:hover,
.admin-logged-in:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
}

.user-logged-in i,
.admin-logged-in i {
    font-size: 1rem;
}

.logout-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #EF4444;
    color: white;
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
}

.dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i:last-child {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    width: 16px;
    color: #64748b;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.05);
    color: #0f172a;
    padding-left: 1.25rem;
}

.dropdown-item:hover i {
    color: #FFD700;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.25rem 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: var(--z-modal);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 100%);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.mobile-logo i {
    color: #FFD700;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-close:hover {
    color: white;
}

.mobile-nav {
    flex: 1;
    padding: 1.5rem;
    list-style: none;
    overflow-y: auto;
}

.mobile-nav li {
    margin-bottom: 0.25rem;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #475569;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 215, 0, 0.08);
    color: #0f172a;
}

.mobile-nav .divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 1rem 0;
}

/* ===== UPDATED FOOTER STYLES ===== */
.main-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,215,0,0.03)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.footer-top {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: #FFD700;
}

.footer-logo h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.tagline {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFD700;
    color: #0f172a;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFD700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.75rem;
    color: #FFD700;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #FFD700;
    font-size: 1.125rem;
    margin-top: 2px;
    width: 16px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: white;
    font-size: 0.95rem;
}

.contact-item p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.newsletter-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.newsletter-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.newsletter-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0 0.75rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.input-group input::placeholder {
    color: #64748b;
}

.btn-newsletter {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #0f172a;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.form-note {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.copyright {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: #64748b;
    max-width: 400px;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #94a3b8;
    font-size: 0.75rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-links-bottom a:hover {
    color: #FFD700;
}

.footer-links-bottom span {
    color: #475569;
    font-size: 0.75rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-title {
    color: #94a3b8;
    font-size: 0.75rem;
    white-space: nowrap;
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.payment-icons i:hover {
    color: #FFD700;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease;
}

.preloader-inner {
    text-align: center;
}

.loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-bar {
    display: inline-block;
    width: 8px;
    height: 40px;
    background: #FFD700;
    animation: loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    margin: 0 3px;
}

.loader-bar:nth-child(1) {
    animation-delay: -0.24s;
}

.loader-bar:nth-child(2) {
    animation-delay: -0.12s;
}

.loader-bar:nth-child(3) {
    animation-delay: 0s;
}

.loader-bar:nth-child(4) {
    animation-delay: 0.12s;
}

.loader-bar:nth-child(5) {
    animation-delay: 0.24s;
}

@keyframes loader {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
        background: #D4AF37;
    }
    100% {
        transform: scale(1);
    }
}

.preloader-inner p {
    color: white;
    margin-top: var(--space-lg);
    font-size: 1rem;
}

.preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #0f172a;
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    
    min-height: calc(100vh - 400px);
    width: 100%;
    overflow-x: hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in {
    animation: slideInRight 0.6s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ===== CONTAINER FIXES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Override for specific pages if needed */
.registration-section .container,
.page-hero .container {
    max-width: 1400px;
}

/* Prevent any weird width issues */
img, video {
    max-width: 100%;
    height: auto;
}

/* ===== PAGE SPECIFIC CLASSES ===== */

/* Register page specific fixes */
body.register-page {
    overflow-x: hidden;
}


.register-page .registration-section {
    padding: 2rem 0 4rem;
}

.register-page .container {
    max-width: 1400px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Hero section for register page */
.register-page .page-hero {
    margin-top: 80px;
    padding: 4rem 0 3rem;
    width: 100%;
}

/* ===== STEP PROGRESS BAR ===== */
.step-progress-container {
    margin-bottom: 3rem;
}

.step-progress {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.step-progress-bar {
    position: absolute;
    top: 25px;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #D4AF37 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
    z-index: 1;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    border-color: #FFD700;
    color: #0f172a;
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.1);
}

.step.completed .step-number {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.step.active .step-label {
    color: #0f172a;
}

/* ===== REGISTRATION FORM STEPS ===== */
.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.step-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-header p {
    color: #64748b;
    margin: 0;
    font-size: 1.125rem;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Improved Form Elements */
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.form-group label i {
    color: #FFD700;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Password Input Styles */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3.5rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #64748b;
}

.password-strength {
    margin-top: 0.5rem;
    display: none;
}

.password-strength.show {
    display: block;
}

.strength-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 0.25rem;
}

.strength-segment {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.strength-segment.active {
    background: #10B981;
}

.strength-text {
    color: #64748b;
    font-size: 0.75rem;
}

.password-match {
    margin-top: 0.5rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.password-match.show {
    display: flex;
}

.password-match i {
    font-size: 0.875rem;
}

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn-prev,
.btn-next {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
}

.btn-prev {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-prev:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-next {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #0f172a;
    border: none;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.btn-submit {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Review Section */
.review-summary {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.review-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.review-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.review-value {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
}

/* Side Panel */
.side-panel {
    position: sticky;
    top: 100px;
    align-self: start;
}

.progress-summary,
.quick-tips,
.support-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.progress-summary h4,
.quick-tips h4,
.support-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.progress-stat {
    text-align: center;
}

.progress-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.25rem;
}

.progress-stat .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item i {
    color: #10B981;
    font-size: 0.875rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.support-card {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
}

.support-card h4 {
    color: white;
}

.support-card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.support-card .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.support-card .btn-outline:hover {
    background: white;
    color: #0f172a;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .registration-wrapper {
        grid-template-columns: 1fr;
        max-width: 900px;
    }
    
    .side-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .progress-summary,
    .quick-tips,
    .support-card {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-details {
        grid-template-columns: 1fr;
    }
    
    .step-indicators {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .step {
        flex: 0 0 auto;
    }
    
    /* Updated hero responsive */
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .registration-wrapper {
        gap: 2rem;
    }
    
    .side-panel {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-progress-container {
        margin-bottom: 2rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
    }
    
    /* Updated hero responsive */
    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .step-progress-bar,
    .step-progress::before {
        display: none;
    }
    
    .step-indicators {
        justify-content: space-around;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    /* Updated hero responsive */
    .page-hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* ===== DEBUG FIXES (Can be removed later) ===== */
/* These ensure consistent spacing across all pages */
body {
    overflow-x: hidden;
}



.register-page .page-hero {
    margin-top: 80px;
}

.register-page .registration-section .container {
    max-width: 1400px !important;
}

img, video {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

/* ===== ADDITIONAL PAGE-SPECIFIC HERO STYLES ===== */
body.register-page .page-hero {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(26, 26, 46, 0.98) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M0,0 L100,0 L0,100 Z" fill="%23FFD700"/><circle cx="70" cy="30" r="20" fill="%23D4AF37" opacity="0.2"/></svg>');
    background-size: cover;
}

body.login-page .page-hero {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.96) 0%, 
        rgba(26, 26, 46, 0.96) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M50,0 C77.614,0 100,22.386 100,50 C100,77.614 77.614,100 50,100 C22.386,100 0,77.614 0,50 C0,22.386 22.386,0 50,0 Z" fill="%23FFD700"/></svg>');
    background-size: cover;
}