/* ===== HERO SECTION (Home) ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: var(--color-950);
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-centered {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--color-300);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero .hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 28px;
    color: #ffffff;
    display: block;
    letter-spacing: -1.5px;
}

.hero .hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 44px;
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-ghost {
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.btn-ghost i {
    width: 22px;
    height: 22px;
}

.btn-ghost:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== METRICS BAR ===== */
.metrics-bar {
    padding: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.metrics-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 48px 0;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
}

.metric-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.metric-suffix {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ===== CAPABILITIES (BENTO GRID) ===== */
.capabilities {
    padding: var(--section-padding) 0;
    background: var(--surface-alt);
}

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

.bento-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.bento-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover {
    border-color: var(--color-200);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.bento-card.visible:hover {
    transform: translateY(-4px);
}

.bento-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-50);
    border: 1px solid var(--color-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-icon-wrap i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.bento-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 16px;
    flex: 1;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-top: 20px;
    transition: var(--transition-smooth);
}

.bento-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.bento-link:hover {
    gap: 10px;
}

.bento-link:hover i {
    transform: translateX(3px);
}

/* ===== COMPARISON SECTION ===== */
.compare-section {
    padding: var(--section-padding) 0;
    background: var(--surface);
}

.compare-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.compare-text h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.compare-text > p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.compare-list {
    list-style: none;
    margin-bottom: 36px;
}

.compare-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.compare-list i {
    width: 22px;
    height: 22px;
    color: var(--success);
    flex-shrink: 0;
}

.compare-visual {
    display: flex;
    justify-content: center;
}

.compare-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.compare-card {
    border-radius: 20px;
    padding: 32px;
}

.compare-card.compare-old {
    background: var(--surface-alt);
    border: 1px solid var(--border);
}

.compare-card.compare-new {
    background: var(--color-950);
    border: 1px solid var(--color-800);
}

.compare-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compare-old .compare-label { color: var(--text-muted); }
.compare-new .compare-label { color: var(--color-300); }

.compare-price {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0 20px;
}

.compare-old .compare-price { color: var(--text); }
.compare-new .compare-price { color: #ffffff; }

.compare-price span {
    font-size: 16px;
    font-weight: 500;
}

.compare-old .compare-price span { color: var(--text-muted); }
.compare-new .compare-price span { color: var(--color-300); }

.compare-bar {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.compare-old .compare-bar { background: var(--border); }
.compare-new .compare-bar { background: var(--color-800); }

.compare-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.old-fill {
    width: 100%;
    background: var(--text-light);
}

.new-fill {
    width: 60%;
    background: var(--primary);
}

/* ===== PRICING SECTION (Home) ===== */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--surface-alt);
}

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

.pricing-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid var(--border);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.pricing-card button,
.pricing-card .btn-outline,
.pricing-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVE: 968px ===== */
@media (max-width: 968px) {
    .hero { padding-top: 140px; padding-bottom: 80px; }
    .hero .hero-title { font-size: 52px; }
    .hero .hero-subtitle { font-size: 18px; }

    .metrics-grid { flex-wrap: wrap; gap: 24px; padding: 36px 0; }
    .metric-divider { display: none; }
    .metric { min-width: 140px; }

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

    .compare-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .compare-text h2 { font-size: 32px; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card { padding: 36px; }
}

/* ===== RESPONSIVE: 640px ===== */
@media (max-width: 640px) {
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero .hero-title { font-size: 36px; letter-spacing: -0.5px; }
    .hero .hero-subtitle { font-size: 16px; margin-bottom: 28px; }

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

    .hero .hero-cta a,
    .btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-eyebrow { font-size: 12px; margin-bottom: 24px; }

    .metrics-grid { padding: 32px 0; gap: 20px; }
    .metric-value { font-size: 32px; }
    .metric-suffix { font-size: 22px; }
    .metric-label { font-size: 12px; }
    .metric { min-width: 100px; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { padding: 28px; }
    .bento-card h3 { font-size: 20px; }

    .compare-content { gap: 36px; }
    .compare-text h2 { font-size: 28px; }
    .compare-text > p { font-size: 15px; }
    .compare-card { padding: 24px; }
    .compare-price { font-size: 28px; }
    .compare-card-stack { max-width: 100%; }

    .pricing-card { padding: 28px; }
}

/* ===== RESPONSIVE: 400px ===== */
@media (max-width: 400px) {
    .hero .hero-title { font-size: 28px; }

    .metrics-grid { gap: 16px; }
    .metric-value { font-size: 26px; }
    .metric-suffix { font-size: 18px; }
}
