:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --cta: #ff6f61;
    --cta-hover: #f05343;
    --cta-shadow: rgba(255, 111, 97, 0.3);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --radius: 8px;
    --max-w: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header.container {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 100%;
    padding: 0;
}

header.container > .navbar {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 24px;
}

section[id] {
    scroll-margin-top: 80px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.nav-logo {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

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

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

.btn-primary {
    background-color: var(--primary);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-cta {
    background-color: var(--cta);
    color: #ffffff !important;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700 !important;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 24px var(--cta-shadow);
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-cta:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px var(--cta-shadow);
}

.btn-cta:active {
    transform: translateY(0);
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(255, 111, 97, 0.3); }
    50% { box-shadow: 0 10px 32px rgba(255, 111, 97, 0.5); }
}

.hero-cta .btn-cta {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.btn-cta-nav {
    background-color: var(--cta);
    color: #ffffff !important;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700 !important;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.15s ease;
}

.btn-cta-nav:hover {
    background-color: var(--cta-hover);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    padding: 56px 0 40px;
    text-align: center;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.accent-gradient {
    color: var(--primary);
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-question {
    font-size: 20px;
    font-weight: 500;
    color: #475569;
    max-width: 65ch;
    margin: 0 auto 28px;
    line-height: 1.4;
}

/* Punchy Benefit Bullets (<= 8 words each) */
.benefit-bullets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0 auto 36px;
    max-width: 860px;
}

.bullet-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 999px;
}

.bullet-icon {
    color: var(--success);
    font-weight: 800;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.cta-micro {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Interactive Sandbox / "See it in 30 seconds" */
.sandbox-card {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    text-align: left;
}

.sandbox-header {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sandbox-title {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.sandbox-pill {
    background: #22c55e;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.sandbox-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sandbox-tab-btn {
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sandbox-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.sandbox-body {
    display: flex;
    background: #f8fafc;
    border-top: 1px solid var(--border);
}

.mockup-gmail {
    flex: 1.15;
    background: #ffffff;
    padding: 24px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.gmail-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.gmail-from {
    font-size: 13px;
    color: var(--text-muted);
}

.gmail-from strong {
    color: var(--text-main);
}

.gmail-subject {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 4px;
}

.gmail-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 20px;
}

.gmail-compose-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px;
    margin-top: auto;
    position: relative;
    transition: all 0.25s ease;
}

.gmail-compose-box.draft-inserted {
    background: #f0fdf4;
    border-color: #86efac;
}

.compose-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.compose-text {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.5;
    min-height: 52px;
    overflow-wrap: anywhere;
}

.mockup-sidebar {
    flex: 0.85;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.copilot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.copilot-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.status-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.customer-info {
    margin-bottom: 12px;
}

.customer-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.customer-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.order-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.order-box.mutated {
    background: #fef2f2;
    border-color: #fca5a5;
}

.order-num-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.order-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.order-status {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.status-fulfilled {
    background: #dcfce7;
    color: #15803d;
}

.status-unfulfilled {
    background: #fef3c7;
    color: #b45309;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-items {
    font-size: 12px;
    color: #475569;
    margin: 4px 0;
}

.order-carrier {
    font-size: 11px;
    color: #15803d;
    font-weight: 600;
}

.sandbox-actions {
    margin-top: auto;
}

.actions-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.action-btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.interactive-action-btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-draft-action {
    background: #0284c7;
    color: #ffffff;
}

.btn-draft-action:hover {
    background: #0369a1;
}

.btn-cancel-action {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecdd3;
}

.btn-cancel-action:hover {
    background: #fecdd3;
}

.btn-refund-action {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.btn-refund-action:hover {
    background: #e2e8f0;
}

.sandbox-feedback-toast {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    display: none;
    text-align: center;
}

.sandbox-feedback-toast.show {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3 Steps to Zero-Inbox */
.steps-section {
    padding: 72px 0 60px;
    background-color: #ffffff;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 40px auto 0;
    position: relative;
}

.step-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 28px 20px;
    border-radius: 10px;
    text-align: left;
    position: relative;
}

.step-badge {
    width: 32px;
    height: 32px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 750;
    margin-bottom: 6px;
    color: #0f172a;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.step-time {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* Mystery Benefit Badge */
.mystery-container {
    max-width: 820px;
    margin: 20px auto 0;
    padding: 0 24px;
}

.mystery-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 18px 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mystery-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.mystery-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: #0369a1;
}

.mystery-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.mystery-content {
    display: none;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dbeafe;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.mystery-card.open .mystery-content {
    display: block;
    animation: fadeIn 0.25s ease-in;
}

.mystery-card.open .mystery-arrow {
    transform: rotate(90deg);
}

/* Minimal Social Proof Carousel */
.testimonials-section {
    padding: 64px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.testimonial-carousel {
    max-width: 760px;
    margin: 32px auto 0;
    position: relative;
    min-height: 160px;
}

.testimonial-slide {
    display: none;
    padding: 32px 36px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.testimonial-quote {
    font-size: 18px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 999px;
}

/* Trimmed Features */
.features {
    padding: 72px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 60ch;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    padding: 24px;
    border-radius: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-top-color 0.15s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-top-color: var(--primary);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 750;
    margin-bottom: 6px;
    color: #0f172a;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}

/* Comparison Table */
.comparison {
    padding: 72px 0;
    background-color: var(--bg-light);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #ffffff;
}

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

th, td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

th {
    background-color: #f1f5f9;
    font-weight: 750;
    color: #0f172a;
}

.highlight-col {
    background-color: #ecfdf5;
    font-weight: 600;
    border-left: 2px solid var(--success);
    border-right: 2px solid var(--success);
}

/* Pricing */
.pricing {
    padding: 72px 0;
    background-color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 940px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.18);
}

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

.pricing-card .btn-cta {
    padding: 12px 20px;
}

.pricing-plan-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.price {
    font-size: 38px;
    font-weight: 850;
    color: #0f172a;
    margin: 14px 0 6px;
}

.price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    min-height: 38px;
}

.pricing-features {
    list-style: none;
    margin: 0 0 28px;
    text-align: left;
    font-size: 13px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 7px 0;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li span {
    color: var(--success);
    font-weight: 800;
}

/* Bottom Call to Action */
.final-cta-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 36px;
    font-weight: 850;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.final-cta-section p {
    color: #94a3b8;
    font-size: 17px;
    max-width: 55ch;
    margin: 0 auto 32px;
}

/* Footer */
footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 12px;
}

footer a:hover {
    color: var(--primary);
}

/* Pricing card hover */
.pricing-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Final CTA micro text */
.final-cta-micro {
    margin-top: 14px;
    font-size: 13px;
    color: #94a3b8;
}

/* Footer link row */
.footer-links {
    margin-top: 12px;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 860px) {
    .hero h1 {
        font-size: 38px;
    }
    .sandbox-body {
        flex-direction: column;
    }
    .mockup-gmail {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 16px;
        padding: 8px 0;
    }
    .navbar {
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 48px 0 32px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-question {
        font-size: 17px;
    }
    .btn-cta {
        width: 100%;
        padding: 14px 20px;
    }
    .benefit-bullets {
        flex-direction: column;
        align-items: stretch;
    }
    .bullet-item {
        justify-content: center;
    }
}
