/* Premium Valuation Platform - Luxury Color Palette */
:root {
    --primary-charcoal: #1A1A1A;
    --primary-charcoal-light: #2A2A2A;
    --primary-charcoal-lighter: #3A3A3A;
    --accent-gold: #C9A86A;
    --accent-gold-light: #D9B87A;
    --accent-gold-dark: #B9986A;
    --background-pearl: #F8F8F8;
    --background-white: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-light: #888888;
    --border-light: #E8E8E8;
    --border-subtle: #D5D5D5;
    --shadow-subtle: 0 1px 3px rgba(26, 26, 26, 0.05);
    --shadow-medium: 0 4px 12px rgba(26, 26, 26, 0.08);
    --shadow-premium: 0 12px 32px rgba(26, 26, 26, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    background-color: #F8F8F5;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Typography - Clear Hierarchy with Luxury Serif Fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, Baskerville, "Palatino Linotype", "Book Antiqua", serif;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

p {
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

a {
    color: #A08850;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

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

a:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Sticky Header Navigation */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.nav-menu a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.nav-menu a.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.upgrade-btn {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-charcoal);
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(201, 168, 106, 0.3);
    white-space: nowrap;
    display: inline-block;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 106, 0.4);
}

/* Containers */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.container {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-content h1 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.header-content p.subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.auth-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-nav a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.auth-nav .user-email {
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-nav .pro-badge {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--primary-charcoal);
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(201, 168, 106, 0.2);
}

/* Buttons - Premium Styling */
button, .btn, input[type="button"], input[type="submit"] {
    background-color: #A08850;
    color: var(--primary-charcoal);
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
    box-shadow: 0 3px 12px rgba(160, 136, 80, 0.25);
    display: inline-block;
}

/* Mobile-Friendly Button Sizing */
@media (max-width: 600px) {
    button, .btn, input[type="button"], input[type="submit"] {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    button.secondary {
        padding: 0.75rem 1.25rem;
    }
}

button:focus-visible, .btn:focus-visible, input[type="button"]:focus-visible, input[type="submit"]:focus-visible {
    outline: 3px solid #333;
    outline-offset: 2px;
}

button:hover, .btn:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 168, 106, 0.35);
}

button:active, .btn:active, input[type="button"]:active, input[type="submit"]:active {
    transform: translateY(0);
}

button.secondary {
    background-color: var(--background-white);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    box-shadow: none;
}

button.secondary:hover {
    background-color: var(--background-pearl);
    box-shadow: 0 2px 8px rgba(201, 168, 106, 0.15);
}

button.premium-cta {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    padding: 1.2rem 3.5rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 16px rgba(201, 168, 106, 0.3);
}

button.premium-cta:hover {
    box-shadow: 0 8px 24px rgba(201, 168, 106, 0.4);
    transform: translateY(-3px);
}

/* Forms */
.form-group {
    margin: 1.75rem 0;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #999;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--background-white);
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.1);
}

/* Cards - Premium Clean Design */
.card {
    background-color: var(--background-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.04);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
    transform: translateY(-4px);
}

.card-header {
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.card-body {
    margin: 1.5rem 0;
}

.card-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* Alerts & Messages */
.feature-alert {
    background-color: var(--background-pearl);
    border-left: 4px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.feature-alert.error {
    background-color: #FFF5F5;
    border-color: #E53E3E;
    color: #742A2A;
}

.feature-alert.success {
    background-color: #F0FDF4;
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

/* Search Section */
.search-section {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.search-input-group input {
    flex: 1;
    min-width: 250px;
}

/* Marketplace Selection */
.marketplace-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.marketplace-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--background-pearl);
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    min-height: 44px;
    touch-action: manipulation;
}

.marketplace-chip:hover {
    border-color: var(--accent-gold);
    background-color: var(--background-white);
}

.marketplace-chip.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-charcoal);
}

/* Marketplace Status Styles */
.marketplace-chip.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0f0f0;
    border-color: #ccc;
    color: #999;
}

.marketplace-chip.disabled:hover {
    border-color: #ccc;
    background-color: #f0f0f0;
}

.marketplace-chip.coming-soon {
    background-color: #f9f9f9;
    border: 2px dashed var(--accent-gold);
    color: var(--text-secondary);
    position: relative;
}

.marketplace-chip.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 0.65rem;
    background-color: var(--accent-gold);
    color: var(--primary-charcoal);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.marketplace-chip.coming-soon:hover {
    border-color: var(--accent-gold);
}

.marketplace-chip svg {
    width: 20px;
    height: 20px;
}

/* Results Grid - Premium Clean Cards */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.result-card {
    background-color: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.04);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    box-shadow: 0 12px 32px rgba(26, 26, 26, 0.12);
    transform: translateY(-6px);
}

.result-card-image {
    width: 100%;
    height: 280px;
    background-color: var(--background-pearl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
}

.result-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.result-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.result-card-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.result-card-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 1rem 0 0.5rem 0;
}

.deal-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--primary-charcoal);
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(201, 168, 106, 0.2);
}

.score-badge {
    display: inline-block;
    background-color: var(--background-pearl);
    color: var(--text-primary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
}

.score-badge.excellent {
    background-color: #E8F5E9;
    color: #1B5E20;
    border-color: #81C784;
}

.score-badge.strong {
    background-color: #FFF3E0;
    color: #E65100;
    border-color: #FFB74D;
}

.score-badge.decent {
    background-color: #F3E5F5;
    color: #6A1B9A;
    border-color: #CE93D8;
}

.score-badge.risky {
    background-color: #FFEBEE;
    color: #B71C1C;
    border-color: #EF5350;
}

/* Premium Features Highlighting */
.premium-badge {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--primary-charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(201, 168, 106, 0.2);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(201, 168, 106, 0.05) 0%, rgba(201, 168, 106, 0.02) 100%);
    border-radius: 12px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    font-weight: 400;
    line-height: 1.8;
}

/* Demo Section */
.demo-section {
    margin: 4rem 0;
    text-align: center;
}

.demo-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.demo-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

/* Testimonials Section */
.testimonials-section {
    margin: 4rem 0;
    background-color: var(--background-pearl);
    padding: 3rem;
    border-radius: 12px;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

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

.testimonial-card .stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 1rem 0;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
}

.testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Comparison Section */
.comparison-section {
    margin: 4rem 0;
}

.comparison-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.comparison-table {
    width: 100%;
    background-color: var(--background-white);
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--background-pearl), #F0F0F0);
    border-bottom: 2px solid var(--border-light);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: none;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--background-pearl);
}

.comparison-table tbody tr {
    transition: var(--transition-smooth);
}

.comparison-table tbody tr:hover {
    background-color: #FAFAFA;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    margin: 2rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(201, 168, 106, 0.2);
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-gold);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.pricing-card {
    background-color: var(--background-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: var(--shadow-premium);
}

.pricing-card:hover {
    box-shadow: var(--shadow-medium);
}

.pricing-card-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 1.5rem 0;
}

.pricing-card-period {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    padding: 2rem 0;
    margin: 2rem 0;
    text-align: left;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--accent-gold);
    font-weight: 700;
    margin-right: 0.75rem;
}

.pricing-features li.unavailable {
    color: var(--text-light);
}

.pricing-features li.unavailable:before {
    content: "○ ";
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

th, td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

th {
    background-color: var(--background-pearl);
    border-bottom: 2px solid var(--border-subtle);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

td {
    color: var(--text-secondary);
}

tr:hover {
    background-color: var(--background-pearl);
}

tr:last-child td {
    border-bottom: none;
}

/* Footer */
footer {
    background-color: var(--primary-charcoal);
    color: var(--background-pearl);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-gold);
    font-weight: 500;
}

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

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

.text-muted {
    color: var(--text-light);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.px-2 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }

/* Responsive - Tablet (768px and below) */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .page-container {
        padding: 1.5rem 1rem;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .auth-nav {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .search-input-group {
        flex-direction: column;
    }

    .search-input-group input {
        min-width: 100%;
    }

    .search-section {
        padding: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .result-card {
        flex-direction: row;
    }

    .result-card-image {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }

    .result-card-content {
        padding: 1rem;
    }

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

    .pricing-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .container {
        padding: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.75rem;
    }

    .marketplace-chip {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .nav-menu {
        gap: 1rem;
        display: none;
    }

    .header-wrapper {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* Responsive - Mobile (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    .page-container {
        padding: 1rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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

    button, .btn, input[type="button"], input[type="submit"] {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .marketplace-selector {
        gap: 0.5rem;
    }

    .marketplace-chip {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }

    .result-card-price {
        font-size: 1.3rem;
    }

    .results-grid {
        gap: 1rem;
    }

    .result-card-image {
        width: 100px;
        height: 100px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card-icon {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card-price {
        font-size: 2rem;
    }

    .pricing-features {
        padding: 1rem 0;
        margin: 1rem 0;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .container {
        padding: 1rem;
    }

    .card {
        padding: 1rem;
    }

    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 0.5rem;
    }

    .search-input-group {
        gap: 0.5rem;
    }

    label {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    .auth-nav {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .auth-nav .pro-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    .sticky-header {
        display: none;
    }
}

/* High DPI / Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    button, .btn, input[type="button"], input[type="submit"],
    .marketplace-chip,
    a {
        -webkit-tap-highlight-color: rgba(201, 168, 106, 0.2);
    }

    button, .btn, input[type="button"], input[type="submit"] {
        padding: 1rem 1.5rem;
    }

    .marketplace-chip {
        padding: 0.85rem 1.25rem;
    }
}

/* Prevent zoom on input focus in iOS */
@supports (-webkit-touch-callout: none) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px;
    }
}
