:root {
    --color-cream: #FAF3E1;
    --color-sand: #F5E7C6;
    --color-orange: #FF6D1F;
    --color-charcoal: #222222;
    --color-text-muted: rgba(34, 34, 34, 0.7);
    --max-width: 1100px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.button-primary {
    background: var(--color-orange);
    color: white;
    box-shadow: 0 15px 30px rgba(255, 109, 31, 0.2);
}

.button-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border: 2px solid rgba(34, 34, 34, 0.2);
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(34, 34, 34, 0.1);
}

.hero {
    padding: 2rem clamp(1rem, 5vw, 4rem) 3rem;
    background: linear-gradient(180deg, rgba(245, 231, 198, 0.8), transparent);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--color-charcoal);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.subhead {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-metrics {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.metric {
    font-size: 2rem;
    font-weight: 700;
}

.metric-label {
    display: block;
    color: var(--color-text-muted);
}

.hero-preview {
    display: flex;
    justify-content: center;
}

.preview-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(34, 34, 34, 0.15);
    max-width: 360px;
    width: 100%;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chip {
    background: rgba(255, 109, 31, 0.12);
    color: var(--color-orange);
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.preview-body {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.preview-qr {
    width: 140px;
    height: 140px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--color-charcoal), #555);
    position: relative;
}

.preview-qr::after,
.preview-qr::before {
    content: "";
    position: absolute;
    border: 3px solid var(--color-cream);
}

.preview-qr::after {
    width: 40px;
    height: 40px;
    top: 12px;
    left: 12px;
}

.preview-qr::before {
    width: 32px;
    height: 32px;
    bottom: 12px;
    right: 12px;
}

.preview-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.preview-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

main {
    padding: 3rem clamp(1rem, 5vw, 4rem);
}

.section {
    max-width: var(--max-width);
    margin: 0 auto 4rem;
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(34, 34, 34, 0.08);
}

.section-heading {
    margin-bottom: 2rem;
}

.features {
    background: var(--color-sand);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(34, 34, 34, 0.08);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.workflow {
    background: white;
}

.workflow-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.workflow-steps li {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: 1rem;
    min-height: 220px;
}

.step-number {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 109, 31, 0.1);
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.use-case-grid article {
    padding: 1.5rem;
    border: 1px solid rgba(34, 34, 34, 0.1);
    border-radius: 1rem;
    background: var(--color-cream);
}

.cta {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.cta-card {
    background: var(--color-charcoal);
    color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta .button-primary {
    background: white;
    color: var(--color-charcoal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
}

.footer-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-charcoal);
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

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

    .section {
        padding: 2rem;
    }
}

