/* ========================================
   GENCY - Model Management Platform
   Luxurious & Clean Design System
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */

:root {
    /* Color Palette - Beige Brown & Dark Theme */
    --primary-bg: #1a1815;
    --secondary-bg: #252218;
    --tertiary-bg: #2f2c25;
    --card-bg: #232017;
    --overlay-bg: rgba(26, 24, 21, 0.95);
    
    /* Text Colors */
    --text-primary: #f5f3f0;
    --text-secondary: #c7c4bf;
    --text-muted: #9b9690;
    --text-disabled: #6b6860;
    
    /* Beige Brown Accents */
    --accent-gold: #D2B48C;
    --accent-gold-light: #E8D4B0;
    --accent-gold-hover: #C19A6B;
    --accent-gold-dark: #A0845C;
    
    /* Additional Brown Shades */
    --brown-light: #C9B399;
    --brown-medium: #A89178;
    --brown-dark: #8B7355;
    
    /* Status Colors */
    --success: #4CAF50;
    --success-light: #81C784;
    --warning: #FF9800;
    --warning-light: #FFB74D;
    --error: #F44336;
    --error-light: #E57373;
    --info: #2196F3;
    --info-light: #64B5F6;
    
    /* Border & Shadow */
    --border-color: #3a3530;
    --border-light: #4a453e;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    
    /* 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: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-normal: 250ms ease-out;
    --transition-slow: 350ms ease-out;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Navbar height offset */
}

body.no-padding-top {
    padding-top: 0;
}

/* Selection */
::selection {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

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

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

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

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

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

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

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

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

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

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

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

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

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Spacing Utilities */
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--card-bg);
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
    z-index: 1001;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.navbar-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.navbar-link:hover {
    color: var(--accent-gold);
    background: rgba(210, 180, 140, 0.1);
}

.navbar-link.active {
    color: var(--accent-gold);
    background: rgba(210, 180, 140, 0.15);
}

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

.navbar-username {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
        padding: 0 var(--space-md);
    }

    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: var(--space-lg);
        transform: translateY(-100vh);
        transition: transform var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
    }
    
    .navbar-link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
    }
    
    .navbar-user {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }
    
    .navbar-username {
        text-align: center;
    }
}

/* Legacy support for old class names */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent-gold);
    background: rgba(210, 180, 140, 0.1);
}

.nav-link.active {
    color: var(--accent-gold);
    background: rgba(210, 180, 140, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: var(--space-lg);
        transform: translateY(-100vh);
        transition: transform var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
    }
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.card-header {
    margin-bottom: var(--space-lg);
}

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

.card-description {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.card-body {
    margin-bottom: var(--space-lg);
}

.card-footer {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    justify-content: flex-end;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.1);
    background: var(--tertiary-bg);
}

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

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

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
}

/* File Upload */
.form-file {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.form-file input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-file-label {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background: var(--secondary-bg);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-align: center;
    transition: all var(--transition-fast);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-file:hover .form-file-label {
    border-color: var(--accent-gold);
    background: var(--tertiary-bg);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: var(--primary-bg);
    box-shadow: 0 4px 16px rgba(210, 180, 140, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    box-shadow: 0 6px 24px rgba(210, 180, 140, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--tertiary-bg);
    border-color: var(--border-light);
}

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

.btn-ghost:hover:not(:disabled) {
    background: rgba(210, 180, 140, 0.1);
    border-color: var(--accent-gold-light);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-error {
    background: var(--error);
    color: white;
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    min-height: 36px;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    min-height: 56px;
}

/* Button Loading State */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--success);
    color: var(--success-light);
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: var(--warning);
    color: var(--warning-light);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border-color: var(--error);
    color: var(--error-light);
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--info);
    color: var(--info-light);
}

/* Alert Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    line-height: 1;
}

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

.badge-secondary {
    background: var(--secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

.badge-error {
    background: var(--error);
    color: white;
}

.badge-info {
    background: var(--info);
    color: white;
}

.badge-featured {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--primary-bg);
    box-shadow: 0 2px 8px rgba(210, 180, 140, 0.3);
}

/* ========================================
   PROGRESS STEPS
   ======================================== */

.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-lg);
}

.progress-step {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--border-color);
    margin: 0 var(--space-md);
}

.progress-step.active {
    color: var(--accent-gold);
}

.progress-step.completed {
    color: var(--success);
}

.progress-step.active::after,
.progress-step.completed::after {
    background: var(--accent-gold);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
    font-weight: 600;
    font-size: 0.8rem;
}

.progress-step.active .step-number {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-bg);
}

.progress-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

/* ========================================
   PHOTO UPLOAD
   ======================================== */

.photo-upload-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.photo-upload-box {
    aspect-ratio: 3/4;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.photo-upload-box:hover {
    border-color: var(--accent-gold);
    background: var(--tertiary-bg);
}

.photo-upload-box.has-image {
    border-style: solid;
    border-color: var(--accent-gold);
}

.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.photo-remove:hover {
    background: var(--error);
}

/* ========================================
   CAMERA
   ======================================== */

.camera-container {
    background: var(--secondary-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.camera-video {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    background: var(--primary-bg);
}

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

/* ========================================
   INTEREST CARDS
   ======================================== */

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.interest-card {
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.interest-card:hover {
    border-color: var(--accent-gold);
    background: var(--tertiary-bg);
}

.interest-card.selected {
    border-color: var(--accent-gold);
    background: rgba(210, 180, 140, 0.1);
}

.interest-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.interest-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.interest-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* ========================================
   STATISTICS
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

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

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ========================================
   SUCCESS SCREEN
   ======================================== */

.success-screen {
    display: none;
    text-align: center;
    padding: var(--space-3xl);
}

.success-screen.active {
    display: block;
}

.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), var(--success-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2xl);
    font-size: 3rem;
    color: white;
    animation: successPulse 2s ease-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.pagination .btn {
    min-width: 48px;
    height: 48px;
    padding: 0;
}

.pagination-info {
    color: var(--text-secondary);
    padding: 0 var(--space-md);
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .navbar-container, .nav-container {
        padding: 0 var(--space-md);
    }
    
    .card {
        padding: var(--space-lg);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 60px; /* Navbar height on mobile */
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .navbar-container, .nav-container {
        padding: 0 var(--space-sm);
        height: 60px;
    }
    
    .navbar-logo, .nav-logo {
        font-size: 1.5rem;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .card {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: var(--space-sm);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--space-sm);
    }
    
    .progress-step {
        min-width: max-content;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .photo-upload-container {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .interest-card {
        padding: var(--space-md);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
        min-height: 44px;
        width: 100%;
    }
    
    .btn-lg {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .btn-sm {
        min-height: 38px;
        font-size: 0.75rem;
    }
    
    /* Form elemek */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--space-sm);
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    /* Grid rendszer */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Tables */
    table {
        font-size: 0.85rem;
    }
    
    /* Modals */
    .modal-content {
        margin: var(--space-sm);
        max-height: calc(100vh - 2rem);
    }
    
    h1 {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    h3 {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    /* Mobile card stacking */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Mobile friendly tables */
    table {
        font-size: 0.85rem;
    }
    
    .form-group {
        margin-bottom: var(--space-md);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 var(--space-xs);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .photo-upload-container {
        grid-template-columns: 1fr;
    }
    
    .camera-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-logo, .nav-logo {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .card {
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
    }
    
    h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .btn {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .form-navigation {
        flex-direction: column-reverse;
        gap: var(--space-xs);
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .btn-block {
        width: 100%;
    }
    
    .grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

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

.pointer-events-none {
    pointer-events: none;
}

.user-select-none {
    user-select: none;
}

.overflow-hidden {
    overflow: hidden;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.btn-block {
    width: 100%;
    display: block;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

.fw-light {
    font-weight: 300;
}

.fw-normal {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }
.gap-4 { gap: var(--space-lg); }
.gap-5 { gap: var(--space-xl); }

/* Dark theme optimizations */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--primary-bg);
        color: var(--text-primary);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #666;
        --text-secondary: #ddd;
    }
}

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

/* Print styles */
@media print {
    .navbar,
    .navbar-container,
    .nav-container,
    .btn,
    .camera-container {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.6s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--secondary-bg) 0%,
        var(--tertiary-bg) 50%,
        var(--secondary-bg) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Custom container padding variable */
:root {
    --container-padding: var(--space-lg);
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: var(--space-sm);
    }
}