:root {
    --bg-color: #FFF8F6; /* Softer, warmer background */
    --primary-color: #FF5A1F; /* Vivid Orange */
    --primary-hover: #E04812;
    --accent-purple: #8B5CF6; /* For creativity/AI vibes */
    --text-primary: #1F1F1F;
    --text-secondary: #757575;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --border-radius-lg: 28px;
    --border-radius-md: 20px;
    --border-radius-sm: 14px;
    --nav-height: 80px;
    --bg-color-dark: #121212;
    --text-primary-dark: #FFFFFF;
    --text-secondary-dark: #A0A0A0;
    --card-bg-dark: #1E1E1E;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --surface-bg-dark: #2C2C2C;
}

/* Dark Theme Overrides */
body.dark-theme {
    --bg-color: var(--bg-color-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --card-bg: var(--card-bg-dark);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 90, 31, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    color: var(--text-primary);
}

body.dark-theme .glass,
body.dark-theme .mockup-card,
body.dark-theme .feature-card,
body.dark-theme .screen-card,
body.dark-theme .workflow-step,
body.dark-theme .cta-card,
body.dark-theme .page-card,
body.dark-theme .info-card,
body.dark-theme .ai-input-card,
body.dark-theme .gallery-card,
body.dark-theme .inventory-card,
body.dark-theme .metric-card {
    background: var(--card-bg-dark);
    border-color: var(--border-color-dark);
}

body.dark-theme .top-bar,
body.dark-theme .bottom-nav {
    background: rgba(30, 30, 30, 0.8);
    border-color: var(--border-color-dark);
}

body .top-bar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.dark-theme .screen-frame,
body.dark-theme .mockup-header,
body.dark-theme .mockup-chip,
body.dark-theme .strip-tags span,
body.dark-theme .item-count,
body.dark-theme .filter-chip,
body.dark-theme .dropdown-trigger,
body.dark-theme .text-input-area,
body.dark-theme .form-input,
body.dark-theme .form-textarea,
body.dark-theme .mobile-menu-item,
body.dark-theme .account-tab,
body.dark-theme .setting-option {
    background: var(--surface-bg-dark);
    color: var(--text-primary-dark);
    border-color: var(--border-color-dark);
}

body.dark-theme .text-link,
body.dark-theme .footer-links a,
body.dark-theme .brand-link,
body.dark-theme .landing-btn.ghost,
body.dark-theme .landing-btn.secondary,
body.dark-theme .icon-btn,
body.dark-theme .filter-btn {
    color: var(--text-primary-dark);
    border-color: var(--border-color-dark);
}

body.dark-theme .icon-btn,
body.dark-theme .filter-btn {
    background: var(--card-bg-dark);
}

body.dark-theme .landing-strip {
    background: var(--card-bg-dark);
    border-color: var(--border-color-dark);
}

body.dark-theme .filter-chip {
    background: var(--surface-bg-dark);
    color: var(--text-secondary-dark);
    border-color: var(--border-color-dark);
}

body.dark-theme .filter-chip.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

body.dark-theme .card-info {
    background: rgba(24, 24, 24, 0.92);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary-dark);
}

body.dark-theme .item-name {
    color: var(--text-primary-dark);
}

body.dark-theme .item-creator {
    color: var(--text-secondary-dark);
}

body.dark-theme .action-icon {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .action-icon:hover {
    background: rgba(40, 40, 40, 0.95);
}

body.dark-theme .action-icon .material-icons {
    color: var(--text-primary-dark);
}

body.dark-theme .action-icon.active {
    background: rgba(255, 90, 95, 0.2);
    color: #FF5A5F;
}

body.dark-theme .action-icon.active .material-icons {
    color: #FF5A5F;
}

body.dark-theme .coin-badge {
    background: var(--card-bg-dark);
    border-color: var(--border-color-dark);
    color: var(--text-primary-dark);
}

body.dark-theme .icon-btn-small {
    background: var(--surface-bg-dark);
    border-color: var(--border-color-dark);
    color: var(--text-primary-dark);
}

body.dark-theme .icon-btn-small:hover {
    background: #2F2F2F;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .load-more-btn {
    background: var(--surface-bg-dark);
    border-color: var(--border-color-dark);
    color: var(--text-primary-dark);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

body.dark-theme .load-more-btn:hover {
    background: #2F2F2F;
    color: var(--text-primary-dark);
}

body.dark-theme .loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary-color);
}

body.dark-theme .dropdown-menu {
    background: var(--card-bg-dark);
    border-color: var(--border-color-dark);
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

body.dark-theme .dropdown-option {
    color: var(--text-primary-dark);
}

body.dark-theme .dropdown-option:hover,
body.dark-theme .dropdown-option.active {
    background: rgba(255, 90, 31, 0.2);
    color: white;
}

body.dark-theme .modal-close {
    background: rgba(30, 30, 30, 0.9);
    color: var(--text-primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .modal-close:hover {
    background: rgba(40, 40, 40, 0.95);
}

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

body.dark-theme .modal-btn.secondary:hover {
    background: #2F2F2F;
}

body.dark-theme .modal-btn.secondary.liked {
    background: rgba(255, 90, 95, 0.2);
    color: #FF5A5F;
    border-color: rgba(255, 90, 95, 0.3);
}

body.dark-theme .hero-actions .landing-btn.secondary {
    background: var(--surface-bg-dark);
    color: white;
}

body.dark-theme .landing-hero-copy p,
body.dark-theme .section-title p,
body.dark-theme .feature-card p,
body.dark-theme .screen-card p,
body.dark-theme .workflow-step p,
body.dark-theme .cta-content p,
body.dark-theme .mockup-list-row,
body.dark-theme .metric-card span {
    color: var(--text-secondary-dark);
}

body.dark-theme .mobile-menu-sheet,
body.dark-theme .modal-content {
    background: var(--card-bg-dark);
    color: var(--text-primary-dark);
}

body.dark-theme .mobile-menu-item:hover,
body.dark-theme .account-tab:hover,
body.dark-theme .setting-option:hover {
    background: #3E3E3E;
}

body.dark-theme .account-tab.active,
body.dark-theme .filter-chip.active,
body.dark-theme .setting-option.active {
    background: var(--primary-color);
    color: white;
}

body.dark-theme .step-number {
    background: var(--primary-color);
    color: white;
}

body.dark-theme .mockup-dot {
    background: #444;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s;
}

body.dark-theme .theme-toggle {
    color: white;
    border-color: var(--border-color-dark);
}

.theme-toggle:hover {
    background: rgba(0,0,0,0.05);
}

body.dark-theme .theme-toggle:hover {
    background: rgba(255,255,255,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 90, 31, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

body.landing-body {
    height: auto;
    min-height: 100vh;
    overflow: auto;
    overflow-x: hidden;
}

body.landing-body .app-container {
    height: auto;
    min-height: 100vh;
    max-width: 100%;
}

body.landing-body .main-content {
    overflow: visible;
}

.app-container {
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: max-width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Glassmorphism Utilities */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

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

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

/* Top Bar */
.top-bar {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-nav {
    display: none;
    gap: 32px;
}

.desktop-nav-item {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

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

.desktop-nav-item:hover {
    color: var(--text-primary);
}

.desktop-nav-item.active {
    color: var(--primary-color);
}

.desktop-nav-item.active::after {
    width: 100%;
}

.icon-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    background: white;
}

.user-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.coin-badge {
    background: white;
    padding: 6px 12px 6px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
    transition: transform 0.2s;
}

.coin-badge:hover {
    transform: scale(1.05);
}

.coin-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    color: #FFF;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 100px 24px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.main-content::-webkit-scrollbar {
    display: none;
}

/* View Sections */
.view-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.view-section.active {
    display: block;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    position: relative;
}

.hero-logo-container {
    position: relative;
    margin-bottom: 24px;
}

.hero-logo {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #FF5A1F 0%, #FF8A50 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(255, 90, 31, 0.25);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

.face-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,90,31,0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-section h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    max-width: 320px;
}

.highlight {
    background: linear-gradient(120deg, #FF5A1F 0%, #FF2E00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* AI Input Card */
.ai-input-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 30;
    overflow: visible;
}

.ai-input-card:hover {
    box-shadow: var(--shadow-hover);
}

.input-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-label {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.ai-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-input-area {
    width: 100%;
    background: #F9FAFB;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    padding: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-primary);
    resize: none;
    transition: all 0.2s;
}

.text-input-area:focus {
    outline: none;
    background: white;
    border-color: rgba(255, 90, 31, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.05);
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dropdown-wrapper {
    position: relative;
    min-width: 160px;
}

.dropdown-trigger {
    background: #F0F2F5;
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-primary);
    border: none;
    width: 100%;
    justify-content: space-between;
}

.dropdown-trigger:hover {
    background: #E4E7EB;
}

.dropdown-trigger .material-icons {
    transition: transform 0.2s;
}

.dropdown-trigger.open .material-icons {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    padding: 6px;
    display: grid;
    gap: 4px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    z-index: 210;
}

.dropdown-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-option {
    background: transparent;
    border: none;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.dropdown-option:hover,
.dropdown-option.active {
    background: rgba(255, 90, 31, 0.1);
    color: var(--primary-color);
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn-small {
    background: white;
    border: 1px solid #F0F2F5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.icon-btn-small:hover {
    color: var(--primary-color);
    border-color: rgba(255, 90, 31, 0.2);
    background: #FFF5F2;
}

.icon-btn-small.active {
    border-color: rgba(255, 90, 31, 0.35);
    color: var(--primary-color);
    background: #FFF5F2;
}

.icon-btn-small.recording {
    border-color: #FF4D4F;
    color: #FF4D4F;
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.12);
    animation: pulse-ring 1.6s infinite;
}

.attachment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #F7F7F7;
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 12px;
    color: var(--text-secondary);
}

.attachment-chip .material-icons {
    font-size: 16px;
}

.chip-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
}

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

.send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}

.send-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 90, 31, 0.4);
}

.send-btn.loading {
    padding-right: 14px;
    opacity: 0.8;
    pointer-events: none;
}

.send-btn.loading .material-icons {
    animation: spin 1s linear infinite;
}

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

/* Filters */
.filters-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
    z-index: 10;
}

.filter-btn.icon-only {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.filter-btn.icon-only:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 24px 4px 4px;
    margin-left: -4px;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 10px 18px;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.filter-chip.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

/* Gallery */
.gallery-section {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 20px;
}

.gallery-card {
    background: white;
    border-radius: var(--border-radius-md);
    aspect-ratio: 0.85;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.02);
    animation: fadeIn 0.5s ease-out backwards;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.card-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: var(--text-primary);
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-creator {
    font-size: 11px;
    color: var(--text-secondary);
}

.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.action-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
    opacity: 1;
    transform: translateX(0);
}

.gallery-card:hover .action-icon {
    transform: scale(1.05);
}

.gallery-card .action-icon:nth-child(1) { transition-delay: 0s; }
.gallery-card .action-icon:nth-child(2) { transition-delay: 0.05s; }

.action-icon:hover {
    background: white;
    transform: scale(1.1);
}

.action-icon.active {
    background: #FFEBEE;
    color: #FF5A5F;
}

.action-icon.active .material-icons {
    color: #FF5A5F;
}

.action-icon .material-icons {
    font-size: 18px;
    color: var(--text-primary);
}

/* Gradient Placeholders */
.gradient-1 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.gradient-2 { background: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%); }
.gradient-3 { background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); }
.gradient-4 { background: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%); }
.gradient-5 { background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); }

/* Bottom Nav */
.bottom-nav {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    width: auto;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0 12px;
    z-index: 100;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #A0A0A0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(255, 90, 31, 0.08);
}

.nav-item .material-icons {
    font-size: 24px;
    transition: transform 0.2s;
}

.nav-item.active .material-icons {
    transform: translateY(-2px);
}

.nav-item span:last-child {
    font-size: 10px;
    font-weight: 600;
}

/* Toast Notification */
.toast-container {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.toast {
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state .material-icons {
    font-size: 48px;
    margin-bottom: 16px;
    color: #DDD;
}

/* AD CONTAINERS */
.ad-container {
    background: #F0F2F5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    border: 1px dashed #CCC;
}

.ad-label {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-banner {
    width: 100%;
    height: 100px; /* Standard mobile banner height roughly */
}

.ad-infeed {
    width: 100%;
    height: 250px;
    margin-top: 20px;
}

/* INFO SECTIONS */
.info-section {
    margin-top: 32px;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.info-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 10px;
    border-radius: 999px;
}

.info-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    display: grid;
    gap: 10px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 6px;
}

.contact-grid strong {
    display: block;
    font-size: 12px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-grid p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* PAGE LAYOUT */
.page-top {
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
}

.brand-name {
    font-size: 16px;
}

.page-nav {
    display: none;
    gap: 16px;
    align-items: center;
}

.text-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

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

.page-main {
    padding: 16px 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero {
    margin: 12px 0 20px;
}

.page-hero h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.page-meta {
    font-size: 12px;
    color: #9a9a9a;
    margin-top: 6px;
}

.page-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 16px;
    display: grid;
    gap: 8px;
}

.page-card h2 {
    font-size: 18px;
    font-weight: 700;
}

.page-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.page-list {
    margin-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    background: #F9FAFB;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
}

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

.form-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.minimal-footer {
    margin-top: 16px;
    padding-bottom: 32px;
}

/* FOOTER */
.app-footer {
    padding: 40px 20px 80px 20px; /* Bottom padding for nav */
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #AAA;
    font-size: 12px;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.load-more-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
}

.load-more-btn:hover {
    background: var(--text-primary);
    color: white;
    transform: translateY(-2px);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 90, 31, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 40px auto;
    grid-column: span 2;
    display: none;
}

.loading-spinner.active {
    display: block;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 24px;
}

.modal-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-category {
    display: inline-block;
    background: rgba(255, 90, 31, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
}

.stat-item .material-icons {
    font-size: 18px;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.modal-btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
}

.modal-btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.modal-btn.secondary {
    background: #F5F5F5;
    color: var(--text-primary);
}

.modal-btn.secondary:hover {
    background: #EBEBEB;
}

.modal-btn.secondary.liked {
    background: #FFEBEE;
    color: #FF5A5F;
}

.modal-btn.full-width {
    width: 100%;
}

/* Filter Settings Modal */
.filter-settings-content {
    padding: 24px;
    max-width: 360px;
}

.filter-settings-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-right: 40px;
}

.filter-settings-body {
    margin-bottom: 24px;
}

.setting-group {
    margin-bottom: 20px;
}

.setting-group h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setting-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.setting-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #F5F5F5;
    border: 2px solid transparent;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.setting-option:hover {
    background: #EBEBEB;
}

.setting-option.active {
    background: rgba(255, 90, 31, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.setting-option .material-icons {
    font-size: 18px;
}

.setting-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
}

.checkbox-option input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #DDD;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox-option input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-option input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 700;
}

/* Mobile Menu */
#mobileMenu {
    align-items: flex-end;
}

.mobile-menu-sheet {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 22px 22px 0 0;
    padding: 16px 18px 24px;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

#mobileMenu.active .mobile-menu-sheet {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mobile-menu-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
}

.mobile-menu-links {
    display: grid;
    gap: 10px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #F5F5F5;
    border: none;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-item:hover {
    background: #ECECEC;
}

.mobile-menu-item .material-icons {
    font-size: 20px;
    color: var(--text-primary);
}

/* ACCOUNT/INVENTORY STYLES */
.account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    margin-bottom: 8px;
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8A50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 90, 31, 0.25);
}

.account-avatar .material-icons {
    font-size: 32px;
    color: white;
}

.account-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.account-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.account-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.account-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.account-tab:hover {
    background: #F5F5F5;
}

.account-tab.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.account-tab .material-icons {
    font-size: 18px;
}

.account-content {
    min-height: 300px;
}

.account-content.hidden {
    display: none;
}

.inventory-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.inventory-empty .material-icons {
    font-size: 64px;
    color: #DDD;
    margin-bottom: 16px;
}

.inventory-empty h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.inventory-empty p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.browse-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 90, 31, 0.3);
    
    .material-icons {
        margin: 0 !important;
    }
}

.browse-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 100px;
}

.inventory-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.inventory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.inventory-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.inventory-card-info {
    padding: 12px;
}

.inventory-card-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.inventory-card-category {
    font-size: 12px;
    color: var(--text-secondary);
}

.inventory-card-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.inventory-card:hover .inventory-card-remove {
    opacity: 1;
}

.inventory-card-remove:hover {
    background: #FFEBEE;
    color: #FF5A5F;
}

.inventory-card-remove .material-icons {
    font-size: 16px;
}

/* VIEW ALL PAGE */
.view-all-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #F5F5F5;
}

.view-all-header h2 {
    flex: 1;
    font-size: 22px;
    font-weight: 700;
}

.item-count {
    font-size: 14px;
    color: var(--text-secondary);
    background: #F5F5F5;
    padding: 6px 12px;
    border-radius: 20px;
}

.view-all-filters {
    margin-top: 0;
}

/* LANDING PAGE */
.landing-page {
    background: transparent;
}

.landing-top {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 20px;
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.landing-btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 16px rgba(255, 90, 31, 0.3);
}

.landing-btn.secondary {
    background: #F5F5F5;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.05);
}

.landing-btn.ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.12);
}

.landing-btn:hover {
    transform: translateY(-1px);
}

.landing-main {
    padding: 0 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-hero {
    display: grid;
    gap: 32px;
    padding: 32px 0 48px;
    align-items: center;
}

.landing-hero-copy h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.landing-hero-copy p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.12);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.metric-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 120px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 4px;
}

.metric-card strong {
    font-size: 16px;
}

.metric-card span {
    font-size: 12px;
    color: var(--text-secondary);
}

.landing-hero-visual {
    display: grid;
    gap: 16px;
}

.mockup-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.mockup-card.compact .mockup-body {
    padding: 16px;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #F7F7F7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D8D8D8;
}

.mockup-body {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.mockup-body h3 {
    font-size: 16px;
    font-weight: 700;
}

.mockup-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(255, 90, 31, 0.1);
    padding: 4px 8px;
    border-radius: 999px;
    width: fit-content;
}

.mockup-image {
    width: 100%;
    height: 260px;
    border-radius: 18px;
    background: none;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.mockup-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mockup-chip {
    font-size: 11px;
    background: #F5F5F5;
    padding: 4px 8px;
    border-radius: 999px;
}

.mockup-list {
    display: grid;
    gap: 10px;
}

.mockup-list-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.landing-strip {
    display: grid;
    gap: 12px;
    padding: 20px;
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
}

.strip-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.strip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.strip-tags span {
    background: #F7F7F7;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.landing-section {
    padding: 28px 0;
}

.section-title {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 10px;
    border-radius: 999px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.feature-grid,
.screen-grid,
.workflow-grid {
    display: grid;
    gap: 16px;
}

.feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 8px;
}

.feature-card .material-icons {
    color: var(--primary-color);
    font-size: 22px;
}

.feature-card h3,
.screen-card h3,
.workflow-step h3 {
    font-size: 16px;
    font-weight: 700;
}

.feature-card p,
.screen-card p,
.workflow-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* SCREENSHOT GRID ALIGNMENT */
.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

.screen-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 12px;
    height: fit-content;
}

.screen-frame {
    background: #F7F7F7;
    border-radius: 18px;
    padding: 0;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 220px;
}

.screen-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
}

.screen-toolbar {
    height: 8px;
    width: 40%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 999px;
}

.screen-body {
    display: grid;
    gap: 10px;
}

.screen-pill {
    font-size: 11px;
    font-weight: 600;
    background: white;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

.screen-block {
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFE5DB, #FFF1EC);
}

.screen-block.short {
    height: 80px;
}

.screen-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.screen-action {
    font-weight: 700;
    color: var(--primary-color);
}

.screen-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.screen-grid-mini div {
    height: 50px;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.screen-stat {
    background: white;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    width: fit-content;
}

.workflow-step {
    background: white;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 8px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--text-primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.landing-cta {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(255, 90, 31, 0.12), rgba(139, 92, 246, 0.12));
    padding: 24px;
    border-radius: 24px;
    display: grid;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cta-content h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 8px 0;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.cta-card {
    display: grid;
    gap: 12px;
    background: white;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.cta-card div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.cta-card strong {
    color: var(--text-primary);
}

.landing-footer {
    margin-top: 20px;
    padding: 32px 20px 48px;
}

@media (max-width: 900px) {
    .landing-nav {
        display: none;
    }

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

/* MOBILE OPTIMIZATIONS */
@media (max-width: 520px) {
    .user-stats {
        gap: 10px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .coin-badge {
        padding: 4px 10px 4px 6px;
        gap: 6px;
    }

    .coin-count {
        font-size: 12px;
    }

    .coin-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .ai-input-card {
        padding: 20px;
    }

    .text-input-area {
        font-size: 14px;
    }

    .input-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dropdown-wrapper {
        width: 100%;
        min-width: 0;
    }

    .action-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 44px 44px 1fr;
        gap: 10px;
    }

    .send-btn {
        width: 100%;
        justify-content: center;
    }

    .account-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .account-tab {
        justify-content: center;
        padding: 10px 8px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .account-tab .material-icons {
        font-size: 16px;
    }

    .account-tab span:last-child {
        font-size: 10px;
    }

    .landing-top {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .landing-top .header-left {
        width: auto;
    }

    .landing-actions {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .landing-btn {
        width: auto;
        padding: 6px 12px;
        font-size: 11px;
    }

    .header-cta {
        display: none;
    }

    .landing-main {
        padding: 0 16px 56px;
    }

    .landing-hero-copy h1 {
        font-size: 28px;
    }

    .landing-strip {
        padding: 16px;
    }

    .landing-footer {
        padding: 24px 16px 24px;
    }

    .screen-frame {
        height: auto;
    }

    .screen-grid {
        grid-template-columns: 1fr;
    }

    .screen-image {
        height: auto;
        object-fit: contain;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hero-metrics .metric-card {
        min-width: 0;
    }

    .hero-metrics .metric-card:last-child {
        grid-column: span 2;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 14px;
    }
}

/* DESKTOP RESPONSIVENESS */
@media (min-width: 768px) {
    .app-container {
        max-width: 1200px;
    }

    .top-bar {
        padding: 24px 48px;
    }
    
    .mobile-menu {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }

    #mobileMenu {
        display: none;
    }

    .main-content {
        padding: 0 48px 48px 48px;
    }

    .hero-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 48px;
        max-width: 600px;
    }

    .hero-logo {
        width: 110px;
        height: 110px;
    }

    .ai-input-card {
        max-width: 720px;
        margin: 0 auto 50px auto;
        padding: 32px;
    }

    .filters-section {
        max-width: 1000px;
        margin: 0 auto 32px auto;
        justify-content: center;
    }
    
    .filter-scroll {
        justify-content: center;
        mask-image: none;
        overflow: visible;
        flex-wrap: wrap;
    }

    .page-nav {
        display: flex;
    }

    .page-main {
        padding: 24px 48px 48px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .brand-name {
        font-size: 18px;
    }

    .page-card {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 32px;
    }

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

    .bottom-nav {
        display: none;
    }
    
    .toast-container {
        bottom: 40px;
    }

    /* Ad Adjustments */
    .ad-banner {
        height: 120px; /* Leaderboard height */
        max-width: 728px;
        margin-left: auto;
        margin-right: auto;
    }

    .app-footer {
        padding-bottom: 40px;
    }

    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 24px;
    }

    .modal-content {
        max-width: 500px;
    }

    .filter-settings-content {
        max-width: 420px;
    }

    .account-tabs {
        justify-content: flex-start;
        gap: 12px;
    }

    .account-header {
        padding: 32px 0;
    }

    #viewAllGrid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 32px;
        padding-bottom: 48px;
    }

    .landing-main {
        padding: 24px 48px 80px;
    }

    .landing-hero {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 48px;
    }

    .landing-hero-copy h1 {
        font-size: 44px;
    }

    .landing-strip {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .strip-tags {
        justify-content: flex-end;
    }

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

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

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

    .landing-cta {
        grid-template-columns: 1.3fr 0.7fr;
        align-items: center;
    }
}
