: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 {
    display: block;
    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;
}

/* Content-page styles live under body.landing-body — see "Content pages" block near the end of this file. */

.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;
}

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

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

/* 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;
    }

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

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

    .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;
    }
}


/* ==========================================================================
   LANDING PAGE (redesign) — everything below is scoped to body.landing-body
   Only index.html uses that body class, so no other page is affected.
   ========================================================================== */
/* ==========================================================================
   SKINOMICS — LANDING PAGE
   Standalone stylesheet for index.html (the app + other pages keep style.css)
   Type:   Bricolage Grotesque (display) · Inter (body) · JetBrains Mono (utility)
   Brand:  #FF5A1F orange · #FFB45C amber · #8B5CF6 purple
   ========================================================================== */

/* ---------- Tokens ---------- */
body.landing-body {
    --font-display: "Bricolage Grotesque", "Inter", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    --orange: #FF5A1F;
    --amber: #FFB45C;
    --purple: #8B5CF6;

    /* Default skin colorway (overridden by [data-colorway]) */
    --skin-a: #FF5A1F;
    --skin-b: #FFB45C;

    --r-card: 24px;
    --r-chip: 7px;
}


/* Light theme (default tokens) */
body.landing-body {
    --bg: #FBF5F0;
    --surface: #FFFFFF;
    --surface-2: #F3EAE2;
    --line: rgba(34, 26, 38, 0.10);
    --line-strong: rgba(34, 26, 38, 0.20);
    --ink: #221A26;
    --muted: #6E6378;
    --header-bg: rgba(251, 245, 240, 0.78);
    --page-grid: rgba(34, 26, 38, 0.05);
    --grid-line: rgba(34, 26, 38, 0.07);
    --shadow-card: 0 18px 50px rgba(34, 26, 38, 0.10);
    --shadow-pop: 0 30px 80px rgba(34, 26, 38, 0.16);
}


/* Dark theme */
body.landing-body.dark-theme {
    --bg: #0C0910;
    --surface: #151019;
    --surface-2: #1E1726;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --ink: #F8F4F0;
    --muted: #A79DB3;
    --header-bg: rgba(12, 9, 16, 0.72);
    --page-grid: rgba(255, 255, 255, 0.045);
    --grid-line: rgba(255, 255, 255, 0.06);
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.40);
    --shadow-pop: 0 34px 90px rgba(0, 0, 0, 0.55);
    background-image: none;
}


/* Colorways (drive the avatar + swatches) */
body.landing-body [data-colorway="ember"] { --skin-a: #FF5A1F; --skin-b: #FFB45C; }

body.landing-body [data-colorway="violet"] { --skin-a: #8B5CF6; --skin-b: #C9A8FF; }

body.landing-body [data-colorway="toxic"] { --skin-a: #84D62C; --skin-b: #2EE6A8; }

body.landing-body [data-colorway="frost"] { --skin-a: #2FA8F2; --skin-b: #9BE8FF; }


/* ---------- Base ---------- */




body.landing-body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    display: block;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    background-image: none;
}


body.landing-body img { max-width: 100%; display: block; }

body.landing-body a { color: inherit; }


body.landing-body h1, body.landing-body h2, body.landing-body h3 { font-family: var(--font-display); }


body.landing-body ::selection { background: var(--orange); color: #fff; }


body.landing-body :focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}


/* ---------- Background decor ---------- */
body.landing-body .bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}


body.landing-body .bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--page-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--page-grid) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(85% 65% at 50% 0%, #000, transparent 78%);
    mask-image: radial-gradient(85% 65% at 50% 0%, #000, transparent 78%);
}


body.landing-body .bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
}


body.landing-body .orb-a { width: 540px; height: 540px; background: var(--orange); top: -180px; left: -140px; opacity: 0.12; }

body.landing-body .orb-b { width: 580px; height: 580px; background: var(--purple); bottom: -220px; right: -160px; opacity: 0.10; }


body.landing-body.dark-theme .orb-a { opacity: 0.17; }

body.landing-body.dark-theme .orb-b { opacity: 0.15; }


/* ---------- Header ---------- */
body.landing-body .landing-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;

}


body.landing-body .top-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}


body.landing-body .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
    letter-spacing: -0.01em;
}


body.landing-body .brand-icon { display: grid; place-items: center; width: auto; height: auto; border-radius: 0; }

body.landing-body .brand-icon svg { display: block; filter: drop-shadow(0 4px 10px rgba(255, 90, 31, 0.35)); }


body.landing-body .landing-nav { display: flex; align-items: center; gap: 26px; margin-left: 0; }


body.landing-body .landing-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}


body.landing-body .landing-nav a:hover { color: var(--ink); }


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


body.landing-body .landing-actions .btn { padding: 9px 16px; font-size: 13.5px; }


body.landing-body .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}


body.landing-body .theme-toggle:hover { background: var(--surface-2); border-color: var(--line-strong); }

body.landing-body .theme-toggle .material-icons { font-size: 20px; }


/* ---------- Buttons ---------- */
body.landing-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}


body.landing-body .btn .material-icons { font-size: 19px; }


body.landing-body .btn-primary {
    background: linear-gradient(120deg, #FF5A1F, #FF8A3D);
    color: #fff;
    box-shadow: 0 10px 26px rgba(255, 90, 31, 0.32);
}


body.landing-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 90, 31, 0.42);
}


body.landing-body .btn-primary:active { transform: translateY(0); }


body.landing-body .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}


body.landing-body .btn-ghost:hover {
    transform: translateY(-2px);
    background: var(--surface);
    border-color: var(--muted);
}


body.landing-body .btn-lg { padding: 14px 26px; font-size: 15px; }


/* ---------- Layout ---------- */
body.landing-body .landing-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 90px;
    position: relative;
}


body.landing-body .section { padding: 96px 0 8px; scroll-margin-top: 90px; }


body.landing-body .section-head { max-width: 660px; margin-bottom: 44px; }


body.landing-body .section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
    background: none;
    padding: 0;
    border-radius: 0;

}


body.landing-body .section-head h2, body.landing-body .cta-copy h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
}


body.landing-body .section-head p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.65;
    margin: 0;
}


/* ---------- Hero ---------- */
body.landing-body .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0 84px;
}


body.landing-body .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}


body.landing-body .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.55);
    animation: ping 1.8s ease-out infinite;
}


body.landing-body .hero-copy h1 {
    font-size: clamp(48px, 7.2vw, 86px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 20px 0 18px;
}


body.landing-body .grad-text {
    font-style: normal;
    background: linear-gradient(100deg, var(--orange) 10%, var(--amber) 50%, var(--purple) 105%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


body.landing-body .hero-sub {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    max-width: 52ch;
    margin: 0 0 28px;
}


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


body.landing-body .hero-ticker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}


body.landing-body .hero-ticker strong { color: var(--ink); font-weight: 600; }

body.landing-body .tick-sep { color: var(--orange); font-size: 9px; }


/* ---------- Forge card (signature) ---------- */
body.landing-body .hero-forge {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 26px;
}


body.landing-body .forge-card {
    width: 100%;
    max-width: 432px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 16px 16px 18px;
    box-shadow: var(--shadow-pop);
}


body.landing-body .forge-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px 10px;
}


body.landing-body .forge-head .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-strong);
}


body.landing-body .forge-title {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}


body.landing-body .forge-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}


body.landing-body .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: blip 1.4s ease-in-out infinite;
}


body.landing-body .forge-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
}


body.landing-body .prompt-mark { color: var(--orange); font-weight: 600; }

body.landing-body .prompt-text { overflow: hidden; text-overflow: ellipsis; }


body.landing-body .caret {
    flex: none;
    width: 7px;
    height: 15px;
    background: var(--orange);
    animation: blink 1.1s steps(2, start) infinite;
}


/* Stage + grid floor */
body.landing-body .forge-stage {
    position: relative;
    min-height: 252px;
    border-radius: 16px;
    border: 1px solid var(--line);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background-color: var(--surface-2);
    background-image:
        radial-gradient(closest-side at 50% 80%, rgba(255, 90, 31, 0.16), transparent 78%),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-image:
        radial-gradient(closest-side at 50% 80%, color-mix(in srgb, var(--skin-a) 17%, transparent), transparent 78%),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: auto, 22px 22px, 22px 22px;
}


body.landing-body .scanline {
    position: absolute;
    top: 14%;
    left: 7%;
    right: 7%;
    height: 46px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 44%,
        var(--skin-a) 50%,
        rgba(255, 255, 255, 0.06) 56%,
        transparent 100%);
    animation: scan 3.6s ease-in-out infinite alternate;
}


body.landing-body.dark-theme .scanline { mix-blend-mode: screen; opacity: 0.55; }


body.landing-body .stage-shadow {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 152px;
    height: 26px;
    border-radius: 50%;
    z-index: 1;
    filter: blur(6px);
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.45), transparent 70%);
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--skin-a) 42%, rgba(0, 0, 0, 0.42)), transparent 70%);
    animation: shadow-pulse 5s ease-in-out infinite;
}


/* ---------- Blocky avatar (sized in em — scale via font-size) ---------- */
body.landing-body .avatar {
    font-size: 10px;
    position: relative;
    z-index: 2;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: av-float 5s ease-in-out infinite;
}


body.landing-body .av-head {
    position: relative;
    width: 6.2em;
    height: 4.6em;
    border-radius: 1.1em;
    background: linear-gradient(180deg, #FFD75E, #F2A93B);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0.5em 1.2em rgba(0, 0, 0, 0.25);
}


body.landing-body .av-eye {
    position: absolute;
    top: 1.2em;
    width: 0.85em;
    height: 1.35em;
    border-radius: 0.45em;
    background: #1E1118;
}


body.landing-body .av-eye:first-child { left: 1.45em; }

body.landing-body .av-eye:nth-child(2) { right: 1.45em; }


body.landing-body .av-smile {
    position: absolute;
    bottom: 0.45em;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5em;
    height: 1.4em;
    border: 0.3em solid transparent;
    border-bottom-color: #1E1118;
    border-radius: 50%;
}


body.landing-body .av-mid {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    margin-top: 0.45em;
}


body.landing-body .av-arm {
    width: 2.3em;
    height: 6.3em;
    border-radius: 0.7em;
    background: linear-gradient(180deg, var(--skin-b), var(--skin-a));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0.4em 1em rgba(0, 0, 0, 0.22);
}


body.landing-body .av-torso {
    position: relative;
    width: 7.6em;
    height: 6.7em;
    border-radius: 0.85em;
    background: linear-gradient(135deg, var(--skin-a), var(--skin-b));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0.6em 1.4em rgba(0, 0, 0, 0.26);
    overflow: hidden;
}


body.landing-body .av-torso::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.24) 46%, transparent 60%);
}


body.landing-body .av-torso::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5em;
    height: 1.5em;
    border: 0.26em solid rgba(255, 255, 255, 0.85);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 0.2em;
}


body.landing-body .av-legs {
    display: flex;
    gap: 0.6em;
    margin-top: 0.45em;
}


body.landing-body .av-leg {
    width: 2.9em;
    height: 5.4em;
    border-radius: 0.7em;
    background: linear-gradient(180deg, #2A2133, #1B1523);
    box-shadow: inset 0 -0.85em 0 var(--skin-b), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}


/* ---------- Forge meta + colorways ---------- */
body.landing-body .forge-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 0 2px;
}


body.landing-body .forge-name {
    display: flex;
    align-items: center;
    gap: 9px;
}


body.landing-body .forge-name h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}


body.landing-body .rarity {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: var(--r-chip);
    color: var(--amber);
    border: 1px solid rgba(255, 180, 92, 0.45);
    background: rgba(255, 180, 92, 0.12);
}


body.landing-body .chip-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }


body.landing-body .chip {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: var(--r-chip);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    white-space: nowrap;
}


body.landing-body .forge-colorways {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 12px 2px 0;
    border-top: 1px solid var(--line);
}


body.landing-body .cw-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}


body.landing-body .cw-row { display: flex; gap: 8px; }


body.landing-body .cw {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}


body.landing-body .cw.ember { background: linear-gradient(135deg, #FF5A1F, #FFB45C); }

body.landing-body .cw.violet { background: linear-gradient(135deg, #8B5CF6, #C9A8FF); }

body.landing-body .cw.toxic { background: linear-gradient(135deg, #84D62C, #2EE6A8); }

body.landing-body .cw.frost { background: linear-gradient(135deg, #2FA8F2, #9BE8FF); }


body.landing-body .cw:hover { transform: translateY(-2px); }


body.landing-body .cw.is-active {
    border-color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


body.landing-body .cw-hint {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--muted);
}


/* ---------- Status mini-card ---------- */
body.landing-body .forge-status {
    position: absolute;
    left: -8px;
    bottom: -16px;
    width: 234px;
    padding: 6px 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}


body.landing-body .status-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 500;
}


body.landing-body .status-row + .status-row { border-top: 1px solid var(--line); }


body.landing-body .status-row .material-icons { font-size: 17px; color: var(--orange); }

body.landing-body .status-row:nth-child(2) .material-icons { color: var(--purple); }

body.landing-body .status-row:nth-child(3) .material-icons { color: var(--amber); }


body.landing-body .status-end {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}


body.landing-body .status-end.ok { color: #3FD68F; }

body.landing-body .status-end.up { color: var(--amber); font-size: 10px; }


/* ---------- Trust strip / marquee ---------- */
body.landing-body .strip {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


body.landing-body .strip-label {
    flex: none;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;

}


body.landing-body .marquee {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}


body.landing-body .marquee-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    animation: marquee 30s linear infinite;
}


body.landing-body .marquee-track span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.85;
}


body.landing-body .m-sep { color: var(--orange); font-size: 10px; opacity: 1; }


/* ---------- Features ---------- */
body.landing-body .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


body.landing-body .feature-card {
    --fi: var(--orange);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: block;
    box-shadow: none;

}


body.landing-body .feature-card:nth-child(2) { --fi: var(--purple); }

body.landing-body .feature-card:nth-child(3) { --fi: var(--amber); }

body.landing-body .feature-card:nth-child(4) { --fi: #3FD68F; }


body.landing-body .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    border-color: color-mix(in srgb, var(--fi) 45%, var(--line));
    box-shadow: var(--shadow-card);
}


body.landing-body .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--fi);
    background: rgba(255, 90, 31, 0.12);
    background: color-mix(in srgb, var(--fi) 13%, transparent);
    border: 1px solid rgba(255, 90, 31, 0.25);
    border: 1px solid color-mix(in srgb, var(--fi) 30%, transparent);
}


body.landing-body .feature-icon .material-icons { font-size: 23px; color: var(--fi); }


body.landing-body .feature-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
}


body.landing-body .feature-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}


/* ---------- Screens ---------- */
body.landing-body .screen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: start;
}


body.landing-body .screen-card { margin: 0;
 background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; display: block; height: auto;
}


body.landing-body .screen-frame {
    position: relative;
    aspect-ratio: 9 / 18.5;
    border-radius: 34px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(170deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-card);
    height: auto;

}


body.landing-body .screen-frame::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 62px;
    height: 9px;
    border-radius: 999px;
    background: var(--line-strong);
    z-index: 3;
}


body.landing-body .screen-fallback {
    position: absolute;
    inset: 9px;
    z-index: 1;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    background-image:
        radial-gradient(70% 50% at 50% 35%, rgba(139, 92, 246, 0.14), transparent),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: auto, 20px 20px, 20px 20px;
}


body.landing-body .screen-fallback .material-icons { font-size: 30px; color: var(--orange); }


body.landing-body .screen-image {
    position: absolute;
    inset: 9px;
    z-index: 2;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    object-fit: cover;
    border-radius: 26px;
}


body.landing-body .screen-card figcaption { padding: 16px 6px 0; }


body.landing-body .screen-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}


body.landing-body .screen-card figcaption p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}


/* ---------- Workflow ---------- */
body.landing-body .flow-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}


body.landing-body .flow-step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 20px;
}


body.landing-body .step-num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 90, 31, 0.55);
    border: 1px dashed color-mix(in srgb, var(--orange) 55%, transparent);
    background: rgba(255, 90, 31, 0.08);
    background: color-mix(in srgb, var(--orange) 8%, transparent);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
}


@media (min-width: 1001px) {
    body.landing-body .flow-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 43px;
        left: 72px;
        width: calc(100% - 40px);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--line-strong) 0 7px, transparent 7px 14px);
    }

}


body.landing-body .flow-step h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
}


body.landing-body .flow-step p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}


/* ---------- CTA ---------- */
body.landing-body .cta { padding-top: 96px; }


body.landing-body .cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: end;
    padding: 52px 52px 0;
    border-radius: 30px;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(120deg, #FF5A1F, #8B5CF6) border-box;
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}


body.landing-body .cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 80% at 80% 100%, #000, transparent 80%);
    mask-image: radial-gradient(70% 80% at 80% 100%, #000, transparent 80%);
}


body.landing-body .cta-copy { position: relative; padding-bottom: 52px; }


body.landing-body .cta-copy p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.65;
    margin: 0 0 26px;
    max-width: 44ch;
}


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


body.landing-body .cta-cast {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 28px;
    padding-top: 12px;
}


body.landing-body .mini-stage { position: relative; padding-bottom: 16px; }


body.landing-body .mini-stage::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 13px;
    border-radius: 50%;
    filter: blur(4px);
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.38), transparent 70%);
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--skin-a) 40%, rgba(0, 0, 0, 0.35)), transparent 70%);
}


body.landing-body .avatar.mini {
    font-size: 5.6px;
    margin-bottom: 0;
    animation: av-float 5s ease-in-out infinite;
}


body.landing-body .mini-stage.tall .avatar.mini { font-size: 6.6px; animation-delay: -1.6s; }

body.landing-body .mini-stage:last-child .avatar.mini { animation-delay: -3.1s; }


/* ---------- Footer ---------- */
body.landing-body .landing-footer {
    border-top: 1px solid var(--line);
    margin-top: 96px;
    padding: 0;

}


body.landing-body .foot-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}


body.landing-body .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 0;

}


body.landing-body .footer-links a {
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}


body.landing-body .footer-links a:hover { color: var(--ink); }


body.landing-body .copyright {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}


/* ---------- Motion ---------- */
@keyframes av-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}


@keyframes shadow-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 0.55; }
}


@keyframes scan {
    from { top: 12%; }
    to { top: 62%; }
}


@keyframes blink { 50% { opacity: 0; } }


@keyframes blip {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}


@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.55); }
    80%, 100% { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); }
}


@keyframes marquee {
    to { transform: translateX(-50%); }
}


@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}


@keyframes pop {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to { opacity: 1; transform: none; }
}


/* Hero load-in sequence */
body.landing-body .hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

body.landing-body .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }

body.landing-body .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }

body.landing-body .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }

body.landing-body .hero-copy > *:nth-child(4) { animation-delay: 0.3s; }

body.landing-body .hero-copy > *:nth-child(5) { animation-delay: 0.4s; }


body.landing-body .forge-card { animation: pop 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }

body.landing-body .forge-status { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }


/* Scroll reveals */
body.landing-body .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s);
}


body.landing-body .reveal.in {
    opacity: 1;
    transform: none;
}


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    body.landing-body .hero {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 44px;
    }


    body.landing-body .hero-forge {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding-bottom: 0;
    }


    body.landing-body .forge-card { max-width: 470px; }


    body.landing-body .forge-status {
        position: static;
        width: 100%;
        max-width: 470px;
    }

}


@media (max-width: 1000px) {
    body.landing-body .feature-grid { grid-template-columns: repeat(2, 1fr); }

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

}


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

    body.landing-body .top-inner { height: 64px; gap: 16px; }

    body.landing-body .section { padding: 72px 0 0; }

    body.landing-body .cta { padding-top: 80px; }


    body.landing-body .cta-panel {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 38px 30px 0;
    }


    body.landing-body .cta-copy { padding-bottom: 10px; }

}


@media (max-width: 600px) {
    body.landing-body .feature-grid { grid-template-columns: 1fr; }

    body.landing-body .flow-grid { grid-template-columns: 1fr; }


    body.landing-body .hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }


    body.landing-body .hero-actions .btn { flex: 1 1 auto; }


    body.landing-body .strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }


    body.landing-body .forge-colorways { flex-wrap: wrap; }

    body.landing-body .cw-hint { display: none; }


    body.landing-body .forge-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }


    body.landing-body .chip-row { justify-content: flex-start; }


    body.landing-body .cta-panel { padding: 32px 22px 0; }

    body.landing-body .cta-cast { gap: 18px; }

}


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


    body.landing-body .reveal { opacity: 1 !important; transform: none !important; }

    body.landing-body .scanline, body.landing-body .caret { display: none; }

}

/* Compat with legacy rules in this shared stylesheet */
body.landing-body .brand-name { font-size: inherit; }

/* ============================================================
   Content pages (about / privacy / terms / eula / contact)
   Matches the landing UI design system. Scoped to landing-body.
   ============================================================ */
body.landing-body .page-doc {
    padding-top: 28px;
    padding-bottom: 110px;
}

body.landing-body .page-hero {
    max-width: 760px;
    padding: 40px 0 32px;
}

body.landing-body .page-hero h1 {
    font-size: clamp(38px, 6.2vw, 60px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 14px 0 16px;
}

body.landing-body .page-hero > p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}

body.landing-body .page-meta {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

body.landing-body .page-cards {
    display: grid;
    gap: 18px;
    max-width: 900px;
}

body.landing-body .page-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 28px 30px;
    box-shadow: none;
    display: grid;
    gap: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.landing-body .page-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
}

body.landing-body .page-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink);
}

body.landing-body .page-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin: 8px 0 0;
    color: var(--ink);
}

body.landing-body .page-card p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
}

body.landing-body .page-card a { color: var(--orange); text-decoration: none; }
body.landing-body .page-card a:hover { text-decoration: underline; }
body.landing-body .page-card strong { color: var(--ink); font-weight: 600; }

body.landing-body .page-list {
    margin: 4px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 9px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
}

body.landing-body .page-list li::marker { color: var(--orange); }

body.landing-body .page-card blockquote {
    margin: 6px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--orange);
    background: var(--surface-2);
    border-radius: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

body.landing-body .page-card blockquote strong { color: var(--ink); }

/* Contact info grid */
body.landing-body .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}

body.landing-body .contact-grid > div {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}

body.landing-body .contact-grid strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}

body.landing-body .contact-grid p { font-size: 14.5px; color: var(--ink); margin: 0; }

/* Contact form */
body.landing-body .contact-form { display: grid; gap: 16px; margin-top: 4px; }
body.landing-body .form-row { display: grid; gap: 8px; }

body.landing-body .form-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
}

body.landing-body .form-input,
body.landing-body .form-textarea {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 15px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.landing-body .form-input::placeholder,
body.landing-body .form-textarea::placeholder { color: var(--muted); }

body.landing-body .form-input:focus,
body.landing-body .form-textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}

body.landing-body .form-textarea { min-height: 140px; resize: vertical; }

body.landing-body .form-button {
    justify-self: start;
    background: linear-gradient(120deg, #FF5A1F, #FF8A3D);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(255, 90, 31, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.landing-body .form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 90, 31, 0.42);
}

@media (max-width: 600px) {
    body.landing-body .page-doc { padding-bottom: 84px; }
    body.landing-body .page-card { padding: 22px 20px; }
    body.landing-body .page-card h2 { font-size: 20px; }
    body.landing-body .contact-grid { grid-template-columns: 1fr; }
}