/* ==========================================================================
   ARTTECHES.COM — Master Public Design System & Light Mode Stylesheet
   Identity: White (Primary) + Artteches Orange (Accent) + Black/Charcoal (Typography)
   ========================================================================== */

:root {
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-dark-accent: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    --accent-orange: #f97316;
    --accent-orange-hover: #ea580c;
    --accent-orange-light: rgba(249, 115, 22, 0.08);
    --accent-orange-border: rgba(249, 115, 22, 0.3);
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* BASE RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.public-body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* UTILITY CLASSES */
.orange-text { color: var(--accent-orange); }
.text-muted { color: var(--text-muted); }
.text-danger { color: #ef4444; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* BUTTONS */
.btn-primary-lg, .btn-primary-full, .btn-header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-orange);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}
.btn-primary-lg:hover, .btn-primary-full:hover, .btn-header-register:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline-lg, .btn-outline-full, .btn-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-outline-lg:hover, .btn-outline-full:hover, .btn-header-login:hover {
    border-color: var(--text-primary);
    background: var(--bg-surface);
}

.btn-header-login { padding: 8px 16px; font-size: 14px; border: 1px solid var(--border-color); }
.btn-header-register { padding: 8px 18px; font-size: 14px; }

/* MASTER STICKY HEADER */
.master-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-emblem {
    width: 36px; height: 36px;
    background: var(--accent-orange);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}
.brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

/* DESKTOP NAVIGATION */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-orange);
    background: var(--accent-orange-light);
}

/* DROPDOWN MENU */
.nav-dropdown-wrapper {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    z-index: 1050;
}
.nav-dropdown-menu.dropdown-right { left: auto; right: 0; }
.nav-dropdown-wrapper:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}
.dropdown-item:hover {
    background: var(--bg-surface);
}
.dropdown-icon {
    font-size: 16px;
    color: var(--accent-orange);
}
.dropdown-title { font-weight: 600; font-size: 13px; }
.dropdown-desc { font-size: 11px; color: var(--text-muted); }

/* HEADER RIGHT ACTIONS */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-action-btn {
    position: relative;
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition-fast);
}
.icon-action-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: #ffffff;
}
.search-trigger-btn {
    width: auto;
    padding: 0 14px;
    border-radius: var(--radius-full);
    gap: 10px;
}
.search-kbd-badge {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.action-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--text-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.action-badge.orange-badge { background: var(--accent-orange); }

.live-pulse-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mobile-menu-btn {
    display: none;
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    font-size: 18px;
    cursor: pointer;
}

/* USER PROFILE BUTTON */
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    cursor: pointer;
}
.user-avatar-img {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.user-profile-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* COMMAND SEARCH PALETTE MODAL */
.search-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}
.search-modal-container {
    width: 100%; max-width: 680px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: modalSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.search-input-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}
.search-modal-icon { font-size: 20px; color: var(--accent-orange); }
.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 17px;
    color: var(--text-primary);
}
.search-modal-close-btn {
    border: none; background: transparent;
    font-size: 18px; color: var(--text-muted);
    cursor: pointer;
}

.search-quick-tags {
    padding: 12px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.quick-tag-label { font-weight: 700; color: var(--text-muted); }
.quick-search-tag {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.quick-search-tag:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.search-results-body {
    max-height: 380px;
    overflow-y: auto;
    padding: 16px 20px;
}
.search-initial-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}
.search-result-item:hover { background: var(--bg-surface); }
.search-result-thumb {
    width: 48px; height: 36px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-modal-footer {
    padding: 12px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* DRAWERS & MODALS */
.drawer-overlay, .modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
}
.drawer-panel {
    position: absolute;
    top: 0; right: 0; width: 400px; max-width: 90vw; height: 100vh;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    animation: drawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes drawerSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.drawer-close-btn { border: none; background: transparent; font-size: 20px; color: var(--text-muted); cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); background: var(--bg-surface); }

.cart-subtotal-row {
    display: flex; justify-content: space-between;
    font-size: 16px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px;
}
.cart-drawer-btns { display: flex; flex-direction: column; gap: 10px; }

/* QUICK VIEW MODAL */
.quick-view-modal-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; max-width: 92vw;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalPop 0.25s ease;
}
@keyframes modalPop {
    from { transform: translate(-50%, -46%) scale(0.96); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.modal-close-btn {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
}
.quick-view-img {
    width: 100%; height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* SECTION PADDING & TITLES */
.section-padding { padding: 80px 0; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}
.section-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.section-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* HERO SLIDER SECTION */
.hero-slider-section {
    padding: 70px 0 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-surface) 100%);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hero-main-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.hero-main-title span { color: var(--accent-orange); }
.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-composition {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero-showcase-frame {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.hero-showcase-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 35px -5px rgba(15, 23, 42, 0.15);
}

.hero-showcase-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}
.hero-window-dots {
    display: flex;
    gap: 6px;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.hero-window-title {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
}
.hero-window-badge {
    font-weight: 700;
    font-size: 11px;
    color: var(--text-secondary);
}

.hero-showcase-media {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-dark-accent);
}
.hero-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-showcase-frame:hover .hero-showcase-img {
    transform: scale(1.03);
}

.hero-media-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.95) 100%);
    color: #ffffff;
}
.hero-overlay-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-orange);
    margin-bottom: 4px;
}
.hero-overlay-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}
.hero-overlay-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
}
.hero-overlay-price {
    color: var(--accent-orange);
    font-size: 17px;
    font-weight: 900;
}

.hero-floating-chip {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    display: flex; align-items: center; gap: 8px;
    animation: floatAnim 4s ease-in-out infinite;
    white-space: nowrap;
}
.chip-top-right {
    top: -14px; right: -14px;
}
.chip-bottom-left {
    bottom: -14px; left: -14px;
    animation-delay: 2s;
}
.chip-bottom-right {
    bottom: 30px; right: -20px;
    animation-delay: 1s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* TRUST BAR */
.trust-bar-section {
    padding: 24px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.trust-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-orange);
}
.trust-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* CAROUSEL CONTAINERS */
.carousel-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar { display: none; }

.category-chip-card {
    min-width: 170px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition-smooth);
    flex-shrink: 0;
}
.category-chip-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.category-chip-img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px auto;
}
.category-chip-name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.category-chip-count { font-size: 12px; color: var(--text-muted); }

/* PRODUCT CARDS */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
}
.product-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    background: var(--bg-muted);
}
.product-card-thumb {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-thumb { transform: scale(1.05); }

.card-quick-actions {
    position: absolute;
    top: 12px; right: 12px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 5;
}
.card-icon-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.card-icon-btn:hover { background: var(--accent-orange); color: #fff; border-color: var(--accent-orange); }

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-category-badge { font-size: 11px; font-weight: 700; color: var(--accent-orange); text-transform: uppercase; }
.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-creator-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-secondary);
    margin-bottom: 16px;
}
.card-creator-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.card-footer-row {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-price { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.card-sale-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }

/* CREATORS CARDS */
.creator-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-smooth);
}
.creator-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.creator-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px auto;
    border: 3px solid var(--border-color);
    transition: border-color var(--transition-fast);
}
.creator-card:hover .creator-avatar { border-color: var(--accent-orange); }

.creator-name { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.creator-role { font-size: 12px; color: var(--accent-orange); font-weight: 600; margin-bottom: 12px; }
.creator-stats { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--text-muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-color); }

/* MASTER FOOTER */
.master-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
    margin-top: 80px;
}
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-bio-text { color: var(--text-secondary); max-width: 440px; margin: 16px 0; font-size: 14px; }
.footer-status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; background: var(--bg-surface); padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--border-color); }

.newsletter-form { display: flex; gap: 10px; margin-top: 14px; }
.newsletter-input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 14px; outline: none; }
.newsletter-input:focus { border-color: var(--accent-orange); }
.newsletter-btn { background: var(--accent-orange); color: #fff; border: none; font-weight: 700; padding: 0 20px; border-radius: var(--radius-md); cursor: pointer; }

.footer-divider { height: 1px; background: var(--border-color); margin: 30px 0; }

.footer-links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col-title { font-size: 15px; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.footer-links-list a:hover { color: var(--accent-orange); }

.footer-social-box { display: flex; gap: 10px; }
.footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.footer-social-btn:hover { background: var(--accent-orange); color: #fff; border-color: var(--accent-orange); }

.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }
.footer-bottom-links { display: flex; gap: 10px; align-items: center; }
.footer-bottom-links a:hover { color: var(--accent-orange); }
.dot-sep { color: var(--border-color); }

/* TOAST NOTIFICATIONS */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast-message {
    background: var(--bg-dark-accent);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
    .cards-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-main-title { font-size: 40px; }
    .hero-cta-group { justify-content: center; }
    .hero-composition { height: 340px; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top-grid { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .search-kbd-badge { display: none; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: 1fr; }
    .trust-bar-grid { grid-template-columns: 1fr; }
    .quick-view-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AUTHENTICATION LAYOUT ARCHITECTURE (DESKTOP & MOBILE SHELLS)
   ========================================================================== */
.auth-page-wrapper {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* MOBILE AUTH SHELL (< 1024px) */
@media (max-width: 1023px) {
    .desktop-auth-shell {
        display: none !important;
    }

    .mobile-auth-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: calc(100dvh - 120px);
        padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)) 16px;
        box-sizing: border-box;
    }

    .mobile-auth-card {
        width: 100%;
        max-width: 420px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 28px 22px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
        box-sizing: border-box;
    }

    .mobile-auth-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .mobile-auth-header-text {
        text-align: center;
        margin-bottom: 24px;
    }

    .mobile-auth-title {
        font-size: 22px;
        font-weight: 800;
        color: #0f172a;
        margin: 0 0 6px 0;
        letter-spacing: -0.02em;
    }

    .mobile-auth-subtitle {
        font-size: 13px;
        color: #64748b;
        margin: 0;
        line-height: 1.4;
    }

    .mobile-auth-footer-link {
        margin-top: 22px;
        text-align: center;
        font-size: 13px;
        color: #64748b;
    }

    .mobile-auth-header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 9999;
    }

    .mobile-auth-back-link {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-auth-help-link {
        font-size: 13px;
        color: #ff5500;
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-auth-legal-footer {
        width: 100%;
        padding: 16px;
        text-align: center;
        background: transparent;
        margin-top: auto;
    }

    .auth-legal-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 12px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .auth-legal-links a {
        color: #64748b;
        text-decoration: none;
    }

    .auth-legal-copyright {
        font-size: 11px;
        color: #94a3b8;
    }

    /* STRICT DESKTOP SUPPRESSION ON MOBILE AUTH */
    body.auth-page .master-header,
    body.auth-page .master-footer,
    body.auth-page .mobile-bottom-nav {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* DESKTOP AUTH SHELL (>= 1024px) */
@media (min-width: 1024px) {
    .mobile-auth-shell,
    .mobile-auth-header,
    .mobile-auth-legal-footer {
        display: none !important;
    }

    .desktop-auth-shell {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px 24px;
        min-height: calc(100vh - 140px);
    }
}

/* AUTH FORM INPUT WITH ICONS */
.input-with-icon,
.pwd-wrapper {
    position: relative;
    width: 100%;
}

.input-with-icon .input-icon,
.pwd-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.input-with-icon .form-input,
.pwd-wrapper .form-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-with-icon .form-input:focus,
.pwd-wrapper .form-input:focus {
    border-color: #ff5500;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.12);
}

.pwd-wrapper .pwd-toggle-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.forgot-link {
    font-size: 12px;
    color: #ff5500;
    font-weight: 600;
    text-decoration: none;
}

.remember-row {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}

.checkbox-label input {
    accent-color: #ff5500;
    width: 16px;
    height: 16px;
}

.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff5500, #e04b00);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

.orange-link {
    color: #ff5500;
    font-weight: 700;
    text-decoration: none;
}

.auth-error-alert {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

