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

:root {
    --primary-color: #013531;
    --primary-light: #014d47;
    --primary-dark: #001f1c;
    --primary-glow: rgba(1, 53, 49, 0.5);
    --gold-color: #D4AF37;
    --gold-light: #E5C158;
    --gold-dark: #B8941F;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-glow-strong: rgba(212, 175, 55, 0.5);
    --bg-dark: #0a0f0e;
    --bg-darker: #050808;
    --bg-card: #0f1615;
    --bg-card-hover: #141c1b;
    --text-light: #e8e8e8;
    --text-muted: #a0a0a0;
    --text-dark: #7a7a7a;
    --white: #ffffff;
    --border-color: rgba(1, 53, 49, 0.4);
    --border-color-subtle: rgba(1, 53, 49, 0.25);
    --border-gold: rgba(212, 175, 55, 0.35);
    --border-gold-subtle: rgba(212, 175, 55, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(1, 53, 49, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Light Theme Variables */
:root[data-theme="light"] {
    --bg-dark: #f5f5f5;
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f9f9f9;
    --text-light: #1a1a1a;
    --text-muted: #666666;
    --text-dark: #999999;
    --border-color: rgba(1, 53, 49, 0.15);
    --border-gold: rgba(212, 175, 55, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(1, 53, 49, 0.15);
}

/* Red Secret Theme Variables - Dark (Pomegranate Colors) */
:root[data-theme="red"] {
    --primary-color: #9A0609;
    --primary-light: #DE828B;
    --primary-dark: #5B1119;
    --primary-glow: rgba(154, 6, 9, 0.5);
    --gold-color: #DE828B;
    --gold-light: #F9C9A9;
    --gold-dark: #9A0609;
    --gold-glow: rgba(222, 130, 139, 0.4);
    --gold-glow-strong: rgba(222, 130, 139, 0.5);
    --bg-dark: #1a0a0b;
    --bg-darker: #0f0506;
    --bg-card: #221011;
    --bg-card-hover: #2a1315;
    --text-light: #f5e8e9;
    --text-muted: #c4a0a4;
    --text-dark: #8b6e71;
    --white: #ffffff;
    --border-color: rgba(154, 6, 9, 0.4);
    --border-color-subtle: rgba(154, 6, 9, 0.25);
    --border-gold: rgba(222, 130, 139, 0.35);
    --border-gold-subtle: rgba(222, 130, 139, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(154, 6, 9, 0.4);
    --shadow-gold: 0 0 20px rgba(222, 130, 139, 0.3);
}

/* Red Secret Theme Variables - Light (Pomegranate Colors with Accent Background) */
:root[data-theme="red-light"] {
    --primary-color: #9A0609;
    --primary-light: #DE828B;
    --primary-dark: #5B1119;
    --primary-glow: rgba(154, 6, 9, 0.3);
    --gold-color: #DE828B;
    --gold-light: #F9C9A9;
    --gold-dark: #9A0609;
    --gold-glow: rgba(222, 130, 139, 0.3);
    --gold-glow-strong: rgba(222, 130, 139, 0.4);
    --bg-dark: #F9C9A9;
    --bg-darker: #F9C9A9;
    --bg-card: #F5E8E9;
    --bg-card-hover: #DE828B;
    --text-light: #1a0a0b;
    --text-muted: #5B1119;
    --text-dark: #8b6e71;
    --white: #ffffff;
    --border-color: rgba(154, 6, 9, 0.2);
    --border-color-subtle: rgba(154, 6, 9, 0.1);
    --border-gold: rgba(222, 130, 139, 0.3);
    --border-gold-subtle: rgba(222, 130, 139, 0.15);
    --shadow: 0 4px 6px -1px rgba(154, 6, 9, 0.1), 0 2px 4px -1px rgba(154, 6, 9, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(154, 6, 9, 0.15), 0 4px 6px -2px rgba(154, 6, 9, 0.1);
    --shadow-glow: 0 0 20px rgba(154, 6, 9, 0.2);
    --shadow-gold: 0 0 20px rgba(222, 130, 139, 0.2);
}

/* Purple Theme Variables - TEST DEPLOYMENT */
:root[data-theme="purple"] {
    --primary-color: #6B46C1;
    --primary-light: #9F7AEA;
    --primary-dark: #553C9A;
    --primary-glow: rgba(107, 70, 193, 0.5);
    --gold-color: #F6AD55;
    --gold-light: #FBD38D;
    --gold-dark: #ED8936;
    --gold-glow: rgba(246, 173, 85, 0.4);
    --gold-glow-strong: rgba(246, 173, 85, 0.5);
    --bg-dark: #1A0B2E;
    --bg-darker: #120720;
    --bg-card: #2D1B4E;
    --bg-card-hover: #3A2563;
    --text-light: #F7FAFC;
    --text-muted: #CBD5E0;
    --text-dark: #A0AEC0;
    --white: #ffffff;
    --border-color: rgba(107, 70, 193, 0.4);
    --border-color-subtle: rgba(107, 70, 193, 0.25);
    --border-gold: rgba(246, 173, 85, 0.35);
    --border-gold-subtle: rgba(246, 173, 85, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(107, 70, 193, 0.3);
    --shadow-gold: 0 0 20px rgba(246, 173, 85, 0.2);
}

/* Light Cherry Theme Variables */
:root[data-theme="light-cherry"] {
    --primary-color: #A22020;
    --primary-light: #A22020CC;
    --primary-dark: #A2202088;
    --primary-glow: rgba(162, 32, 32, 0.5);
    --gold-color: #461632;
    --gold-light: #461632CC;
    --gold-dark: #46163288;
    --gold-glow: rgba(70, 22, 50, 0.4);
    --gold-glow-strong: rgba(70, 22, 50, 0.5);
    --bg-dark: #D2D5D2;
    --bg-darker: #D2D5D2DD;
    --bg-card: #D2D5D2EE;
    --bg-card-hover: #D2D5D2FF;
    --text-light: #150404;
    --text-muted: #150404AA;
    --text-dark: #15040477;
    --white: #ffffff;
    --border-color: rgba(162, 32, 32, 0.4);
    --border-color-subtle: rgba(162, 32, 32, 0.25);
    --border-gold: rgba(70, 22, 50, 0.35);
    --border-gold-subtle: rgba(70, 22, 50, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(162, 32, 32, 0.3);
    --shadow-gold: 0 0 20px rgba(70, 22, 50, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 14, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
    opacity: 0.6;
    pointer-events: none;
}

[data-theme="light"] .navbar {
    background: rgba(245, 245, 245, 0.9);
}

[data-theme="red"] .navbar {
    background: rgba(26, 10, 11, 0.85);
}

[data-theme="red"] .navbar::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
}

[data-theme="red-light"] .navbar {
    background: rgba(249, 201, 169, 0.9);
}

[data-theme="purple"] .navbar {
    background: rgba(26, 11, 46, 0.85);
}

[data-theme="purple"] .navbar::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
}

[data-theme="light-cherry"] .navbar {
    background: rgba(210, 213, 210, 0.9);
}

[data-theme="light-cherry"] .navbar::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
}

[data-theme="red-light"] .navbar::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0.75rem 40px;
    gap: 1.5rem;
    max-width: none;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logo Selector */
.logo-selector-wrapper {
    position: relative;
}

.logo-selector-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: var(--text-light);
    font-family: inherit;
}

.logo-selector-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--border-gold-subtle);
}

.logo-selector-icon {
    font-size: 1rem;
}

.logo-selector-label {
    font-weight: 500;
}

.logo-selector-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-selector-dropdown.active {
    display: flex;
}

.logo-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.logo-option:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-subtle);
}

.logo-option.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
}

.logo-preview {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Dark themes: Use accent color */
/* Default dark theme - accent (gold) */
.logo-preview {
    filter: brightness(0) saturate(100%) invert(72%) sepia(88%) saturate(1352%) hue-rotate(3deg) brightness(95%) contrast(87%);
}

[data-theme="red"] .logo-preview {
    /* Red dark theme - accent (dusty rose) */
    filter: brightness(0) saturate(100%) invert(72%) sepia(15%) saturate(700%) hue-rotate(340deg) brightness(115%) contrast(90%);
}

[data-theme="purple"] .logo-preview {
    /* Purple theme - accent (orange/gold) */
    filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(600%) hue-rotate(340deg) brightness(100%) contrast(95%);
}

[data-theme="light-cherry"] .logo-preview {
    /* Light cherry theme - accent (dark burgundy) */
    filter: brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(2000%) hue-rotate(320deg) brightness(40%) contrast(120%);
}

/* Theme Selector */
.theme-selector-wrapper {
    position: relative;
}

.theme-selector-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: var(--text-light);
    font-family: inherit;
}

.theme-selector-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--border-gold-subtle);
}

.theme-selector-icon {
    font-size: 1rem;
}

.theme-selector-label {
    font-weight: 500;
}

.theme-selector-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 150px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

.theme-selector-dropdown.active {
    display: flex;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    color: var(--text-light);
    font-size: 0.875rem;
}

.theme-option:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-subtle);
}

.theme-option.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.theme-option-icon {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.theme-upload-option {
    border-top: 1px solid var(--border-color-subtle);
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.theme-option.custom-theme {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
}

/* Light themes: Use primary color */
[data-theme="light"] .logo-preview {
    /* Light theme - primary (teal) */
    filter: brightness(0) saturate(100%) invert(15%) sepia(98%) saturate(1200%) hue-rotate(140deg) brightness(95%) contrast(95%);
}

[data-theme="red-light"] .logo-preview {
    /* Red light theme - primary (red) */
    filter: brightness(0) saturate(100%) invert(12%) sepia(100%) saturate(4000%) hue-rotate(0deg) brightness(65%) contrast(125%);
}

.logo-option span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.logo-upload-option {
    border-top: 1px solid var(--border-color-subtle);
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

.logo-upload-icon {
    font-size: 1rem;
}

.logo-option.custom-logo {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
}

.logo-option.custom-logo .logo-preview {
    filter: none;
}

/* Custom Theme Modal */
.custom-theme-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.custom-theme-modal.active {
    display: flex;
}

.custom-theme-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    margin: auto;
    position: relative;
}

.custom-theme-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-subtle);
}

.custom-theme-modal-header h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.5rem;
}

.custom-theme-modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-theme-modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-light);
}

.custom-theme-modal-body {
    padding: 1.5rem;
}

.custom-theme-info {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.color-picker-group {
    margin-bottom: 1.5rem;
}

.color-picker-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.color-picker-label > span:first-child {
    font-weight: 600;
    font-size: 0.9375rem;
}

.color-description {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.color-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-picker {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
}

.color-text-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.color-text-input:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.copy-color-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-color-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.theme-code-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-subtle);
}

.theme-code-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.theme-code-actions {
    display: flex;
    gap: 0.5rem;
}

.paste-code-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.paste-code-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.copy-all-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.copy-all-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.theme-code-output {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    resize: vertical;
}

.theme-code-output:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.theme-code-error {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 6px;
    color: #fca5a5;
    font-size: 0.8125rem;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
}

.theme-code-error strong {
    color: #f87171;
    display: block;
    margin-bottom: 0.5rem;
}

.custom-theme-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color-subtle);
}

/* Logo Upload Modal */
.logo-upload-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.logo-upload-modal.active {
    display: flex;
}

.logo-upload-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    margin: auto;
    position: relative;
}

.logo-upload-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color-subtle);
}

.logo-upload-modal-header h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.5rem;
}

.logo-upload-modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.logo-upload-modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-light);
}

.logo-upload-modal-body {
    padding: 1.5rem;
}

.logo-upload-info {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.logo-upload-info strong {
    color: var(--text-light);
}

.logo-upload-area {
    margin-bottom: 1.5rem;
}

.logo-upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-darker);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.logo-upload-dropzone:hover {
    border-color: var(--gold-color);
    background: var(--bg-card-hover);
}

.logo-upload-dropzone.dragover {
    border-color: var(--gold-color);
    background: rgba(212, 175, 55, 0.1);
}


.logo-upload-dropzone-text {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.logo-upload-dropzone-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.logo-upload-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-subtle);
}

.logo-upload-preview p {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.logo-upload-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    padding: 1rem;
    background: var(--bg-darker);
}

.logo-upload-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color-subtle);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-subtle);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--text-light);
    position: relative;
}

.theme-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-color);
    color: var(--gold-color);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--border-gold-subtle);
}

/* Active state for theme buttons */
.theme-toggle.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-color);
    box-shadow: 0 0 10px var(--border-gold-subtle);
}

/* Red theme button styles */
.red-theme-toggle:hover {
    background: rgba(222, 130, 139, 0.1);
    border-color: var(--gold-color);
}

.red-theme-toggle.active {
    background: rgba(222, 130, 139, 0.2);
    border-color: var(--gold-color);
    box-shadow: 0 0 10px var(--border-gold);
}

/* Active states for specific themes */
[data-theme="dark"] #theme-dark.active {
    background: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] #theme-light.active {
    background: rgba(212, 175, 55, 0.2);
}

[data-theme="red"] #theme-red.active {
    background: rgba(222, 130, 139, 0.25);
}

[data-theme="red-light"] #theme-red-light.active {
    background: rgba(222, 130, 139, 0.25);
}

[data-theme="purple"] #theme-purple.active {
    background: rgba(159, 122, 234, 0.25);
}

.purple-theme-toggle:hover {
    background: rgba(159, 122, 234, 0.1);
    border-color: var(--gold-color);
}

.purple-theme-toggle.active {
    background: rgba(159, 122, 234, 0.2);
    border-color: var(--gold-color);
    box-shadow: 0 0 10px var(--border-gold);
}

.nav-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo-symbol {
    height: 2.5rem;
    width: auto;
    opacity: 1;
}

/* SVG Color Control Classes */
/* For SVGs loaded as <img>, we use CSS mask-image to apply colors */
/* SVG color control via CSS color property (works with currentColor in inline SVGs) */
.svg-accent {
    color: var(--gold-color);
}

.svg-primary {
    color: var(--primary-color);
}

.svg-white {
    color: #ffffff;
}

/* In light theme, white SVGs should be dark */
:root[data-theme="light"] .svg-white {
    color: var(--text-light);
}

/* Red theme SVG colors */
[data-theme="red"] .svg-accent,
[data-theme="red-light"] .svg-accent {
    color: #DE828B; /* Dusty rose */
}

[data-theme="red"] .svg-primary,
[data-theme="red-light"] .svg-primary {
    color: #9A0609; /* Vibrant red */
}

[data-theme="red"] .svg-white,
[data-theme="red-light"] .svg-white {
    color: #ffffff;
}

.svg-black {
    color: #000000;
}

/* For img-based SVGs (like logo), keep using filters */
img.svg-accent {
    color: transparent;
    filter: brightness(0) saturate(100%) invert(72%) sepia(88%) saturate(1352%) hue-rotate(3deg) brightness(95%) contrast(87%);
}

img.svg-primary {
    color: transparent;
    filter: brightness(0) saturate(100%) invert(15%) sepia(98%) saturate(1200%) hue-rotate(140deg) brightness(95%) contrast(95%);
}

img.svg-white {
    color: transparent;
    filter: brightness(0) invert(1);
}

:root[data-theme="light"] img.svg-white {
    filter: none;
}

[data-theme="red"] img.svg-accent,
[data-theme="red-light"] img.svg-accent {
    filter: brightness(0) saturate(100%) invert(72%) sepia(15%) saturate(700%) hue-rotate(340deg) brightness(115%) contrast(90%);
}

[data-theme="red"] img.svg-primary,
[data-theme="red-light"] img.svg-primary {
    filter: brightness(0) saturate(100%) invert(12%) sepia(100%) saturate(4000%) hue-rotate(0deg) brightness(65%) contrast(125%);
}

[data-theme="red"] img.svg-white,
[data-theme="red-light"] img.svg-white {
    filter: brightness(0) invert(1);
}

/* Purple theme SVG colors */
[data-theme="purple"] .svg-accent,
[data-theme="purple"] img.svg-accent {
    color: #F6AD55;
    filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(600%) hue-rotate(340deg) brightness(100%) contrast(95%);
}

[data-theme="purple"] .svg-primary,
[data-theme="purple"] img.svg-primary {
    color: #6B46C1;
    filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(2000%) hue-rotate(240deg) brightness(90%) contrast(90%);
}

[data-theme="purple"] .svg-white,
[data-theme="purple"] img.svg-white {
    color: #ffffff;
    filter: brightness(0) invert(1);
}

[data-theme="light-cherry"] .svg-accent,
[data-theme="light-cherry"] img.svg-accent {
    color: #461632;
    filter: brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(2000%) hue-rotate(320deg) brightness(40%) contrast(120%);
}

[data-theme="light-cherry"] .svg-primary,
[data-theme="light-cherry"] img.svg-primary {
    color: #A22020;
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(5000%) hue-rotate(0deg) brightness(60%) contrast(120%);
}

[data-theme="light-cherry"] .svg-white,
[data-theme="light-cherry"] img.svg-white {
    color: #150404;
    filter: brightness(0) saturate(100%) invert(5%) sepia(5%) saturate(5%) hue-rotate(0deg) brightness(5%) contrast(100%);
}

/* Raster logos (PNG/JPEG) - no filters, display as-is with proper sizing */
.logo-raster {
    filter: none !important;
    object-fit: contain;
}

/* Ensure raster logos match SVG logo sizing in different contexts */
.logo-symbol.logo-raster,
[data-logo-src].logo-raster {
    height: 2.5rem;
    width: auto;
}

.philosophy-symbol.logo-raster {
    height: clamp(180px, 30vw, 300px);
    width: auto;
}

.footer-symbol.logo-raster {
    height: 4rem;
    width: auto;
}

.vendor-header-symbol.logo-raster {
    height: clamp(80px, 15vw, 150px);
    width: auto;
}

/* Floating pomegranate raster logos */
.pomegranate-float .logo-raster {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-menu a:hover {
    color: var(--gold-color);
    text-shadow: 0 0 10px var(--border-gold-subtle);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-color), var(--gold-light));
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--gold-glow);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 40px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: float 20s infinite ease-in-out;
    --js-x: 0px;
    --js-y: 0px;
    will-change: transform;
}

[data-theme="red-light"] .abstract-shape {
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
    opacity: 0.35;
}

[data-theme="red-light"] .shape-1 {
    opacity: 0.65;
    background: var(--primary-color);
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--gold-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 0.5s;
    opacity: 0.4;
    filter: blur(60px);
}

[data-theme="red-light"] .shape-2 {
    opacity: 0.6;
    background: var(--primary-color);
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: 50%;
    right: 10%;
    animation-delay: 1s;
    opacity: 0.35;
}

[data-theme="red-light"] .shape-3 {
    opacity: 0.65;
    background: var(--primary-color);
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--gold-light);
    bottom: 20%;
    left: 15%;
    animation-delay: 1.5s;
    opacity: 0.35;
}

[data-theme="red-light"] .shape-4 {
    opacity: 0.6;
    background: var(--primary-color);
}

@keyframes float {
    0%, 100% {
        transform: translate3d(var(--js-x, 0px), var(--js-y, 0px), 0) translate(0, 0) scale(1);
    }
    33% {
        transform: translate3d(var(--js-x, 0px), var(--js-y, 0px), 0) translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate3d(var(--js-x, 0px), var(--js-y, 0px), 0) translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 0 10px var(--primary-glow);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    letter-spacing: -0.05em;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
    display: block;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 40px var(--primary-glow);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
}

.hero-cta {
    margin-top: 3rem;
}

.btn {
    padding: 1.25rem 2.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--gold-glow-strong), 0 0 20px var(--gold-glow), var(--shadow-lg);
    color: var(--bg-dark);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-color), var(--border-gold-subtle), transparent);
    box-shadow: 0 0 10px var(--gold-glow);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* Story Section */
.story {
    padding: 150px 0;
    position: relative;
    background: var(--bg-darker);
}

.story-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 200px;
    position: relative;
}

.story-block:last-child {
    margin-bottom: 0;
}

.block-2 {
    direction: rtl;
}

.block-2 > * {
    direction: ltr;
}

.story-text {
    position: relative;
    z-index: 1;
}

.story-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0.75;
    text-shadow: 0 0 8px var(--primary-glow);
}

.story-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.story-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    max-width: 500px;
}

.story-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    width: 100%;
    height: 100%;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.visual-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
    transform: rotate(-2deg);
    box-shadow: var(--shadow-lg), 0 0 60px var(--primary-glow), 0 0 30px var(--primary-glow);
}

.visual-2 {
    background: linear-gradient(45deg, var(--gold-color) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 0 100%);
    transform: rotate(3deg);
    box-shadow: var(--shadow-lg), 0 0 70px var(--gold-glow-strong), 0 0 40px var(--gold-glow);
}

.visual-3 {
    background: linear-gradient(225deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--gold-color) 100%);
    clip-path: polygon(0 15%, 85% 0, 100% 100%, 0 85%);
    transform: rotate(-1deg);
    box-shadow: var(--shadow-lg), 0 0 60px var(--primary-glow);
}

/* Philosophy Section */
.philosophy {
    padding: clamp(100px, 15vh, 200px) 0;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.philosophy-shape {
    position: absolute;
    opacity: 0.18;
    will-change: transform;
}

.philosophy-shape.shape-t1 {
    width: clamp(300px, 50vw, 700px);
    height: clamp(300px, 50vw, 700px);
    background: linear-gradient(135deg, var(--gold-color) 0%, var(--primary-color) 100%);
    top: clamp(-175px, -25vw, -350px);
    left: clamp(-175px, -25vw, -350px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphRotate1 20s infinite ease-in-out, sweep1 25s infinite linear;
    opacity: 0.2;
    filter: blur(40px);
}

.philosophy-shape.shape-t2 {
    width: clamp(250px, 40vw, 600px);
    height: clamp(250px, 40vw, 600px);
    background: linear-gradient(225deg, var(--primary-light) 0%, var(--gold-light) 100%);
    bottom: clamp(-125px, -20vw, -300px);
    right: clamp(-125px, -20vw, -300px);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: morphRotate2 18s infinite ease-in-out reverse, sweep2 30s infinite linear reverse;
    animation-delay: -5s;
}

[data-theme="red-light"] .philosophy-shape.shape-t2 {
    background: linear-gradient(225deg, var(--primary-light) 0%, var(--gold-color) 100%);
}

.philosophy-shape.shape-t3 {
    width: clamp(200px, 35vw, 500px);
    height: clamp(200px, 35vw, 500px);
    background: linear-gradient(45deg, var(--gold-color) 0%, var(--primary-light) 50%, var(--gold-light) 100%);
    top: 50%;
    left: 50%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: morphRotate3 15s infinite ease-in-out, sweep3 22s infinite linear;
    animation-delay: -2s;
}

[data-theme="red-light"] .philosophy-shape.shape-t3 {
    background: linear-gradient(45deg, var(--gold-color) 0%, var(--primary-light) 50%, var(--gold-color) 100%);
}

.philosophy-content {
    max-width: clamp(800px, 90vw, 1200px);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 1;
}

.philosophy-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin: 0 auto clamp(1rem, 3vh, 2rem);
}

.philosophy-logo {
    width: clamp(200px, 40vw, 500px);
    height: auto;
    display: block;
    transform: translateX(clamp(-5px, -1vw, -10px)); /* Compensate for Bon offset to visually center */
}

.philosophy-symbol {
    height: clamp(180px, 30vw, 300px);
    width: auto;
    opacity: 1;
}

.philosophy-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: clamp(2rem, 6vh, 5rem);
    line-height: 1.6;
}

.philosophy-stats {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 8vw, 100px);
    margin-top: clamp(2rem, 8vh, 80px);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px var(--primary-glow), 0 0 15px var(--primary-glow);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

/* Download Section */
.download {
    padding: 200px 0;
    position: relative;
    background: var(--primary-color);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.download-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    --js-x: 0px;
    --js-y: 0px;
    will-change: transform;
}

.shape-d1 {
    width: 800px;
    height: 800px;
    background: var(--gold-color);
    top: -300px;
    right: -300px;
    animation: float 25s infinite ease-in-out;
    --js-x: 0px;
    --js-y: 0px;
    opacity: 0.3;
}

.shape-d2 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    bottom: -200px;
    left: -200px;
    animation: float 20s infinite ease-in-out reverse;
    --js-x: 0px;
    --js-y: 0px;
}

/* Transformation Section */
.transformation {
    padding: 250px 0;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transformation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.transformation-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(1, 53, 49, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pomegranate-float {
    position: absolute;
    opacity: 0.6;
    will-change: transform;
    background: transparent;
    /* Add these to prevent filter rendering artifacts on mobile */
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow: hidden;
}

.pomegranate-float img,
.pomegranate-float svg {
    background: transparent !important;
    display: block;
    /* Add these to prevent border artifacts */
    outline: none;
    border: none;
    /* Force GPU acceleration and prevent rendering artifacts */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Red-light theme: Increase opacity and ensure visibility */
[data-theme="red-light"] .pomegranate-float {
    opacity: 0.85;
}

/* Red-light theme: Change white pomegranate to primary color for visibility */
[data-theme="red-light"] .pomegranate-4 .svg-white {
    color: #9A0609 !important;
}

/* Red-light theme: Change accent pomegranates to primary color for better contrast */
[data-theme="red-light"] .pomegranate-1 .svg-accent,
[data-theme="red-light"] .pomegranate-3 .svg-accent,
[data-theme="red-light"] .pomegranate-6 .svg-accent {
    color: #9A0609 !important;
}

.pomegranate-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
    /* Additional fixes for mobile filter rendering */
    outline: none;
    border: none;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Prevent subpixel rendering issues */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.pomegranate-1 {
    width: clamp(120px, 15vw, 200px);
    height: clamp(120px, 15vw, 200px);
    top: 10%;
    left: 5%;
    animation: float-pomegranate 20s infinite ease-in-out;
    animation-delay: 0s;
}

.pomegranate-2 {
    width: clamp(100px, 12vw, 160px);
    height: clamp(100px, 12vw, 160px);
    top: 60%;
    right: 8%;
    animation: float-pomegranate 25s infinite ease-in-out;
    animation-delay: -5s;
}

.pomegranate-3 {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    top: 30%;
    right: 15%;
    animation: float-pomegranate 18s infinite ease-in-out;
    animation-delay: -10s;
}

.pomegranate-4 {
    width: clamp(90px, 11vw, 150px);
    height: clamp(90px, 11vw, 150px);
    bottom: 20%;
    left: 10%;
    animation: float-pomegranate 22s infinite ease-in-out;
    animation-delay: -7s;
}

.pomegranate-5 {
    width: clamp(110px, 13vw, 180px);
    height: clamp(110px, 13vw, 180px);
    bottom: 10%;
    right: 20%;
    animation: float-pomegranate 24s infinite ease-in-out;
    animation-delay: -12s;
}

.pomegranate-6 {
    width: clamp(70px, 9vw, 130px);
    height: clamp(70px, 9vw, 130px);
    top: 15%;
    left: 25%;
    animation: float-pomegranate 19s infinite ease-in-out;
    animation-delay: -3s;
}

@keyframes float-pomegranate {
    0%, 100% {
        transform: translate(calc(0px + var(--offset-x, 0px)), calc(0px + var(--offset-y, 0px))) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(calc(30px + var(--offset-x, 0px)), calc(-40px + var(--offset-y, 0px))) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(calc(-20px + var(--offset-x, 0px)), calc(-60px + var(--offset-y, 0px))) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(calc(-40px + var(--offset-x, 0px)), calc(-20px + var(--offset-y, 0px))) rotate(270deg) scale(1.05);
    }
}

.transformation-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.transformation-text {
    margin-bottom: 0;
}

.transformation-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 3rem;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.transformation-title .title-line {
    display: block;
}

.transformation-title .highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    position: relative;
}

.transformation-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.transformation-stats {
    display: flex;
    justify-content: center;
    gap: clamp(3rem, 8vw, 6rem);
    flex-wrap: wrap;
    margin-top: 5rem;
}

.transformation-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.stat-visual {
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    border-radius: 50%;
    position: relative;
    animation: pulse-glow 3s infinite ease-in-out;
}

.stat-visual-1 {
    background: radial-gradient(circle, var(--gold-color) 0%, transparent 70%);
    box-shadow: 0 0 50px var(--gold-glow-strong), 0 0 30px var(--gold-glow);
    animation-delay: 0s;
}

.stat-visual-2 {
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    box-shadow: 0 0 50px var(--primary-glow), 0 0 30px rgba(1, 53, 49, 0.3);
    animation-delay: 1s;
}

.stat-visual-3 {
    background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
    box-shadow: 0 0 50px var(--gold-glow), 0 0 30px rgba(229, 193, 88, 0.3);
    animation-delay: 2s;
}

.stat-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: var(--text-light);
    opacity: 0.8;
}

.stat-visual-1::before {
    background: var(--gold-color);
}

.stat-visual-2::before {
    background: var(--primary-light);
}

.stat-visual-3::before {
    background: var(--gold-light);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

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

.stat-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Mouse tracking effect for pomegranates */
@media (hover: hover) and (pointer: fine) {
    .transformation:hover .pomegranate-float {
        transition: transform 0.3s ease-out;
    }
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.download-text {
    margin-bottom: 4rem;
}

.download-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.download-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
    padding: 0;
}

.download-btn:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
}

#app-store-btn .store-badge {
    width: 230px;
    height: 52px;
    object-fit: contain;
    /* Original colored badge, no filter */
}

#play-store-btn .store-badge {
    /* Increase size to account for Google's required clear space (1/4 of badge height) */
    /* If badge content is 60px, clear space adds ~15px top + 15px bottom = 30px total */
    width: 230px;
    height: 88px;
    object-fit: contain;
    object-position: center;
    /* Original colored badge, no filter */
}

.download-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Vendor CTA Section */
.vendor-cta-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.vendor-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.vendor-cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.vendor-cta-subtitle {
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-vendor {
    background: transparent;
    color: var(--white);
    border-color: var(--gold-color);
    padding: 1.25rem 3rem;
}

.btn-vendor:hover {
    background: var(--gold-color);
    color: var(--bg-dark);
    border-color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--gold-glow-strong), 0 0 20px var(--gold-glow), var(--shadow-lg);
}

@keyframes morphRotate1 {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
        transform: rotate(270deg) scale(1.05);
    }
}

@keyframes morphRotate2 {
    0%, 100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(0deg) scale(1);
    }
    33% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(120deg) scale(1.15);
    }
    66% {
        border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
        transform: rotate(240deg) scale(0.85);
    }
}

@keyframes morphRotate3 {
    0%, 100% {
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(-50%, -50%) rotate(90deg) scale(1.2);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: translate(-50%, -50%) rotate(180deg) scale(0.8);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
        transform: translate(-50%, -50%) rotate(270deg) scale(1.1);
    }
}

@keyframes sweep1 {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes sweep2 {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(-180deg) scale(1.15);
    }
    100% {
        transform: rotate(-360deg) scale(1);
    }
}

@keyframes sweep3 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 40px 0 24px;
    border-top: 1px solid var(--border-color-subtle);
    width: 100%;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--border-gold-subtle) 50%, 
        var(--border-color) 80%, 
        transparent 100%);
    opacity: 0.5;
    pointer-events: none;
}

.footer-content {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 3rem;
    min-height: 4rem;
    padding: 0 40px;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    height: 100%;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    height: 100%;
}

.footer-logo {
    height: 4rem;
    width: auto;
    display: block;
}

.footer-symbol {
    height: 4rem;
    width: auto;
    opacity: 1;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.6875rem;
    margin: 0;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-brand p span {
    display: block;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
}

.footer-links a:hover {
    color: var(--gold-color);
    text-shadow: 0 0 8px var(--border-gold-subtle);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--gold-glow);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding: 0.75rem 40px 0;
    border-top: 1px solid var(--border-color-subtle);
    color: var(--text-muted);
    font-size: 0.8125rem;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-block {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 150px;
    }

    .block-2 {
        direction: ltr;
    }
    
    /* Reorder block-2: text before visual on mobile */
    .block-2 .story-text {
        order: 1;
    }
    
    .block-2 .story-visual {
        order: 2;
    }

    .story-visual {
        height: 400px;
    }

    .philosophy-stats {
        gap: 60px;
    }
    
    /* Ensure transformation stats stack vertically on tablets and below */
    .transformation-stat {
        flex-direction: column !important;
    }
    
    /* Ensure consistent ordering: visual first, then text below */
    .transformation-stat .stat-visual {
        order: 1;
    }
    
    .transformation-stat .stat-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .transformation {
        padding: 150px 0;
        min-height: 80vh;
    }

    .transformation-content {
        padding: 0 20px;
    }

    .transformation-title {
        margin-bottom: 2rem;
    }

    .transformation-description {
        margin-bottom: 3rem;
    }

    .transformation-stats {
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    /* Ensure consistent ordering on mobile: visual first, then text below */
    .transformation-stat {
        flex-direction: column !important;
    }
    
    .transformation-stat .stat-visual {
        order: 1;
    }
    
    .transformation-stat .stat-content {
        order: 2;
    }

    .pomegranate-1,
    .pomegranate-2,
    .pomegranate-3,
    .pomegranate-4,
    .pomegranate-5,
    .pomegranate-6 {
        opacity: 0.4;
    }

    .navbar .container {
        padding: 0.75rem 20px;
        grid-template-columns: 1fr auto;
        max-width: none;
        width: 100%;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--bg-card);
        border-top: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 1.5rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .story {
        padding: 100px 0;
    }

    .story-content {
        padding: 0 20px;
    }

    .story-block {
        margin-bottom: 100px;
    }

    .story-visual {
        height: 300px;
    }

    .philosophy {
        padding: clamp(80px, 12vh, 150px) 0;
        min-height: 80vh;
    }

    .philosophy-content {
        padding: 0 clamp(15px, 3vw, 20px);
    }

    .philosophy-shape.shape-t1 {
        width: clamp(200px, 40vw, 500px);
        height: clamp(200px, 40vw, 500px);
        top: clamp(-100px, -20vw, -250px);
        left: clamp(-100px, -20vw, -250px);
    }

    .philosophy-shape.shape-t2 {
        width: clamp(150px, 30vw, 400px);
        height: clamp(150px, 30vw, 400px);
        bottom: clamp(-75px, -15vw, -200px);
        right: clamp(-75px, -15vw, -200px);
    }

    .philosophy-shape.shape-t3 {
        width: clamp(120px, 25vw, 350px);
        height: clamp(120px, 25vw, 350px);
    }

    .philosophy-stats {
        flex-direction: column;
        gap: clamp(2rem, 5vh, 40px);
    }

    .download {
        padding: 150px 0;
    }

    .download-content {
        padding: 0 20px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-badge {
        height: 50px;
    }

    .vendor-cta-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .vendor-cta-title {
        font-size: 1.5rem;
    }

    .vendor-cta-subtitle {
        font-size: 0.9375rem;
    }

    .btn-vendor {
        width: 100%;
        max-width: 300px;
    }

    .footer {
        padding: 32px 0 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 0 20px;
    }
    
    .footer-bottom {
        padding: 0.75rem 20px 0;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
        height: auto;
    }
    
    .footer-logo-container {
        margin-bottom: 0;
        height: auto;
    }
    
    .footer-logo,
    .footer-symbol {
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .story-title {
        font-size: 2rem;
    }

    .story-description {
        font-size: 1rem;
    }

    .philosophy-title {
        font-size: 3rem;
    }
}

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

/* Vendor Registration Section */
.vendor-registration {
    padding: 150px 0 200px;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
    min-height: 100vh;
}

.vendor-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.vendor-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
    --js-x: 0px;
    --js-y: 0px;
    will-change: transform;
}

.vendor-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.vendor-shape-2 {
    width: 500px;
    height: 500px;
    background: var(--gold-color);
    bottom: -150px;
    right: -150px;
    animation-delay: 0.5s;
}

.vendor-shape-3 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.vendor-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.vendor-header {
    text-align: center;
    margin-bottom: 80px;
}

.vendor-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.vendor-header-symbol {
    height: clamp(80px, 15vw, 150px);
    width: auto;
    opacity: 0.9;
    animation: float-pomegranate 8s infinite ease-in-out;
}

.vendor-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 0 10px var(--primary-glow);
}

.vendor-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    letter-spacing: -0.05em;
}

.vendor-title-line-1,
.vendor-title-line-2 {
    display: block;
}

.vendor-title .highlight {
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 40px var(--primary-glow);
}

.vendor-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Form Styles */
.vendor-form {
    background: var(--bg-card);
    padding: 60px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vendor-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0.5;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-image {
    gap: 16px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dark);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

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

.form-notice {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: -8px;
}

/* Image Upload Styles */
.image-upload-container {
    position: relative;
}

.form-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.image-upload-area {
    position: relative;
    background: var(--bg-darker);
    border: 2px dashed var(--border-color);
    border-radius: 0;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-upload-area:hover {
    border-color: var(--gold-color);
    background: var(--bg-card-hover);
}

.image-upload-area.dragover {
    border-color: var(--gold-color);
    background: var(--primary-dark);
    box-shadow: 0 0 25px var(--gold-glow), 0 0 15px var(--primary-glow);
}

.image-upload-placeholder {
    text-align: center;
    pointer-events: none;
}

.upload-text {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.upload-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.image-preview {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

#picturePreview {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

#logoPreview {
    aspect-ratio: 1 / 1;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
}

.form-actions {
    margin-top: 60px;
    text-align: center;
}

.btn-submit {
    padding: 1.5rem 4rem;
    font-size: 1.125rem;
    min-width: 250px;
}

/* Form Success Message */
.form-success {
    background: var(--bg-card);
    padding: 80px 60px;
    border: 1px solid var(--border-color);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.form-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0.5;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 0 30px var(--gold-glow);
    animation: scaleIn 0.5s ease-out 0.2s both;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.success-message {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-details {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.success-actions .btn {
    min-width: 200px;
}

.success-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.success-actions .btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design for Vendor Page */
@media (max-width: 768px) {
    .vendor-registration {
        padding: 120px 0 150px;
    }

    .vendor-content {
        padding: 0 20px;
    }

    .vendor-form {
        padding: 40px 30px;
    }

    .form-section {
        gap: 30px;
    }

    .vendor-header {
        margin-bottom: 60px;
    }

    .image-upload-area {
        min-height: 150px;
        padding: 30px 15px;
    }

    #logoPreview {
        width: 150px;
        height: 150px;
    }

    .btn-submit {
        width: 100%;
        min-width: auto;
    }

    .form-success {
        padding: 60px 30px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .success-details {
        font-size: 0.875rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .vendor-form {
        padding: 30px 20px;
    }

    .vendor-title {
        font-size: 2.5rem;
    }

    .vendor-subtitle {
        font-size: 1rem;
    }

    .form-success {
        padding: 40px 20px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .success-title {
        font-size: 1.75rem;
    }
}
