/* WebUpgrade Styles */

:root {
    --color-bg: #faf9f7;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-primary: #2d2d2d;
    --color-accent: #e85d04;
    --color-accent-light: #fef3e9;
    --color-border: #e5e5e5;
    --color-white: #ffffff;
    --color-code: #f4f4f4;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--color-primary);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5em;
}

p {
    color: var(--color-text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #d45303;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-white);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
}

.btn-ghost:hover {
    color: var(--color-text);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-text);
}

.nav .btn-outline {
    padding: 10px 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: 0.2s;
}

/* Hero */
.hero {
    padding: 80px 0 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 24px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.hero-note {
    font-size: 0.8125rem;
    margin-top: 16px;
    color: var(--color-text-muted);
}

/* Report preview */
.report-preview {
    position: relative;
}

.report-page {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.report-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.report-score {
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.report-title h3 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.report-title p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.report-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-row span {
    font-size: 0.8125rem;
    width: 120px;
    flex-shrink: 0;
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--color-code);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 4px;
}

.bar-fill.orange {
    background: #f59e0b;
}

.bar-fill.red {
    background: #ef4444;
}

/* Trust bar */
.trust-bar {
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
}

.trust-bar p,
.trust-label {
    font-size: 0.8125rem;
    text-align: center;
    margin-bottom: 12px;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.trust-items .sep {
    color: var(--color-border);
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    text-align: center;
}

.section-sub {
    font-size: 1.125rem;
    margin-top: -8px;
    margin-bottom: 48px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.step {
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 8px;
}

.step-cta {
    margin-top: 48px;
}

/* Feature icons */
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

/* Included */
.included {
    padding: 100px 0;
    background: var(--color-white);
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.feature {
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: background 0.2s;
}

.feature h3 {
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.9375rem;
}

/* Example */
.example {
    padding: 100px 0;
    text-align: center;
}

.example-report {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    text-align: left;
    margin: 48px 0 32px;
}

.example-summary,
.example-quickwins {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.example-summary h3,
.example-quickwins h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.example-summary p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.example-scores {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.score-item {
    text-align: center;
}

.score-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.score-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.example-quickwins ul {
    list-style: none;
}

.example-quickwins li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.example-quickwins li:last-child {
    border-bottom: none;
}

.example-quickwins strong {
    color: var(--color-text);
    font-weight: 500;
}

.example-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.example-cta-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--color-white);
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: left;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
    border-color: var(--color-text-muted);
}

.pricing-card.featured {
    border-color: var(--color-accent);
    background: var(--color-white);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pricing-name {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1.25rem;
    font-weight: 400;
}

.pricing-per {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-border);
}

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

.pricing-features .muted {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}

.pricing-note {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9375rem;
}

.pricing-note p {
    margin-bottom: 12px;
}

.pricing-cta {
    margin-top: 32px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.faq-item {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.faq-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Animation and hover */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover {
    background: var(--color-bg);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 8px;
}

.cta-section p {
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 0.8125rem;
    margin-top: 8px;
}

.footer-right a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-right a:hover {
    color: var(--color-text);
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .example-report {
        grid-template-columns: 1fr;
    }

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

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

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

    .footer-center {
        display: none;
    }
}
