:root {
    --background: #FAFAFA;
    --foreground: #000000;
    --accents-1: #fafafa;
    --accents-2: #eaeaea;
    --accents-3: #999999;
    --accents-4: #888888;
    --accents-5: #666666;
    --accents-6: #444444;
    --accents-7: #333333;
    --accents-8: #111111;
    --success: #0070f3;
    --success-light: #3291ff;
    --success-dark: #0761d1;
    --radius: 6px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

/* Header & Nav */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
    border-bottom: 1px solid var(--accents-2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand .logo {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--accents-5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link.cta-button {
    background: var(--foreground);
    color: var(--background);
    padding: 0 12px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    border: 1px solid var(--foreground);
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link.cta-button:hover {
    background: var(--background);
    color: var(--foreground);
}

/* Sections */
section {
    padding: 100px 0;
    border-top: 1px solid var(--accents-2);
}

section:first-of-type {
    border-top: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--accents-5);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--foreground);
    color: var(--background);
    border: 1px solid var(--foreground);
}

.btn-primary:hover {
    background: var(--background);
    color: var(--foreground);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--accents-2);
}

.btn-outline:hover {
    border-color: var(--foreground);
}

.btn-large {
    height: 56px;
    padding: 0 32px;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top, var(--accents-1), var(--background) 80%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(#000, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accents-5);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.system-req {
    font-size: 0.875rem;
    color: var(--accents-5);
    margin: 0;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
}

.hero-screenshot {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--accents-2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Minimal shadow */
}

/* Grids */
.performance-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Cards */
.performance-card,
.feature-card,
.pricing-card {
    border: 1px solid var(--accents-2);
    border-radius: var(--radius);
    padding: 32px;
    background: var(--background);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    text-align: left;
}

.performance-card:hover,
.feature-card:hover,
.pricing-card:hover {
    border-color: var(--accents-3);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.05);
}

.performance-icon,
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.performance-card h3,
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.performance-card p,
.feature-card p {
    color: var(--accents-5);
    font-size: 0.9375rem;
}

/* Features */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    font-size: 0.875rem;
    color: var(--accents-5);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.feature-list li::before {
    content: "✓";
    color: var(--foreground);
    font-weight: bold;
}

.feature-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.feature-badge.free {
    border-color: var(--accents-2);
    color: var(--accents-5);
}

.feature-badge.mixed {
    border-color: var(--foreground);
    color: var(--foreground);
}

/* AI Section - Dark Mode Specific Context */
.ai-section {
    background: var(--foreground);
    color: var(--background);
    border-top: none;
}

.ai-section .section-header h2 {
    color: var(--background);
}

.ai-section .section-header p {
    color: var(--accents-4);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.ai-text>p {
    color: var(--accents-4);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ai-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ai-feature p {
    color: var(--accents-4);
    font-size: 0.9375rem;
}

.search-demo {
    border: 1px solid var(--accents-7);
    border-radius: var(--radius);
    padding: 32px;
    background: var(--accents-8);
}

.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--accents-6);
    background: var(--foreground);
    color: var(--background);
    padding: 0 16px;
    outline: none;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    border-color: var(--background);
}

.search-bar button {
    height: 40px;
    width: 40px;
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-item {
    padding: 12px 16px;
    border: 1px solid var(--accents-7);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--background);
}

/* Pricing Section */
.pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card.featured {
    border-color: var(--foreground);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* slightly higher shadow for featured */
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--accents-5);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--accents-5);
    border-bottom: 1px solid var(--accents-2);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

/* Comparison Section */
.comparison-table-wrapper {
    border: 1px solid var(--accents-2);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--accents-2);
}

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

.comparison-table th {
    background: var(--accents-1);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--accents-5);
}

.comparison-table td {
    font-size: 0.875rem;
    color: var(--foreground);
}

.feature-name {
    font-weight: 500;
}

.pixroom-cell,
.lightroom-cell {
    vertical-align: middle;
}

.check-mark {
    color: var(--foreground);
    font-weight: bold;
    margin-right: 8px;
}

.cross-mark {
    color: var(--accents-4);
    font-weight: bold;
    margin-right: 8px;
}

/* Download Section */
.download-section {
    background: var(--foreground);
    color: var(--background);
    text-align: center;
}

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

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.download-content>p {
    color: var(--accents-4);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.download-buttons {
    margin-bottom: 3rem;
}

.download-buttons .btn-primary {
    background: var(--background);
    color: var(--foreground);
    border-color: var(--background);
}

.download-buttons .btn-primary:hover {
    background: transparent;
    color: var(--background);
    border-color: var(--background);
}

.download-info {
    font-size: 0.875rem;
    color: var(--accents-4);
    margin-top: 1rem;
}

.support-contact {
    border: 1px solid var(--accents-7);
    border-radius: var(--radius);
    padding: 32px;
    margin: 3rem 0;
    background: var(--accents-8);
}

.support-contact h3 {
    margin-bottom: 0.5rem;
}

.support-contact p {
    color: var(--accents-4);
    margin-bottom: 1.5rem;
}

.support-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--foreground);
    color: var(--background);
    border: 1px solid var(--accents-6);
    padding: 0 24px;
    height: 48px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.support-email:hover {
    border-color: var(--background);
}

.system-requirements {
    text-align: left;
    border: 1px solid var(--accents-7);
    border-radius: var(--radius);
    padding: 32px;
    background: var(--accents-8);
}

.system-requirements h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    padding: 8px 0;
    color: var(--accents-4);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-requirements li::before {
    content: "•";
    color: var(--accents-5);
}

/* Footer */
.footer {
    border-top: 1px solid var(--accents-2);
    padding: 4rem 0 2rem;
    background: var(--background);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--accents-5);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--accents-5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: left;
    border-top: 1px solid var(--accents-2);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--accents-5);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .nav-menu {
        display: none;
    }

    .ai-content,
    .footer-content,
    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: 60px 0;
    }
}