body {
    background: #ffffff;
    color: #0f172a;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.45rem;
    border-radius: 8px;
}

/* ── Nav dropdown (click-based) ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.nav-dropdown-trigger .lucide-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-trigger .lucide-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 210px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    z-index: 50;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.hero {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
    margin: 1rem 0;
}

.hero p {
    color: #475569;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    color: #475569;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.hero-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

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

.badge {
    background: #ecfeff;
    color: #0e7490;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-score {
    background: #0f172a;
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.score-label {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.score-trend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #a5b4fc;
}

.hero-list {
    display: grid;
    gap: 0.9rem;
}

.hero-list-item {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: #475569;
}

.hero-list-item strong {
    display: block;
    color: #0f172a;
}

/* ── AI Models Strip ── */
.ai-models-strip {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.ai-models-label {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.ai-models-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ai-model-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ai-model-item:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.ai-model-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ai-model-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

@media (max-width: 600px) {
    .ai-models-grid {
        gap: 1rem;
    }
    .ai-model-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }
}

.logo-strip {
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.logo-strip p {
    text-align: center;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
}

.section {
    padding: 4rem 0;
}

.section.alt {
    background: #f8fafc;
}

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

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.panel.light {
    background: #eef2ff;
    border: none;
}

.panel-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
}

.stat-label {
    color: #64748b;
}

/* ── Features Section V2 ── */
.features-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #f8fafc 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.features-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: 1rem 0 0.75rem;
}

.features-header > p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto;
}

.features-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #4338ca;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.features-pill .lucide-icon {
    width: 14px;
    height: 14px;
}

.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card-v2 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}

.feature-card-v2:hover::before {
    opacity: 1;
}

.feature-card-v2[data-accent="indigo"]::before  { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.feature-card-v2[data-accent="violet"]::before   { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.feature-card-v2[data-accent="blue"]::before      { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.feature-card-v2[data-accent="emerald"]::before   { background: linear-gradient(90deg, #059669, #34d399); }
.feature-card-v2[data-accent="amber"]::before     { background: linear-gradient(90deg, #d97706, #fbbf24); }
.feature-card-v2[data-accent="rose"]::before      { background: linear-gradient(90deg, #e11d48, #fb7185); }
.feature-card-v2[data-accent="cyan"]::before      { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.feature-card-v2[data-accent="teal"]::before      { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
.feature-card-v2[data-accent="lime"]::before      { background: linear-gradient(90deg, #65a30d, #a3e635); }

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s;
}

.feature-card-v2:hover .feature-icon-wrap {
    transform: scale(1.1);
}

.feature-card-v2[data-accent="indigo"] .feature-icon-wrap  { background: #eef2ff; color: #4f46e5; }
.feature-card-v2[data-accent="violet"] .feature-icon-wrap   { background: #f5f3ff; color: #7c3aed; }
.feature-card-v2[data-accent="blue"] .feature-icon-wrap      { background: #eff6ff; color: #2563eb; }
.feature-card-v2[data-accent="emerald"] .feature-icon-wrap   { background: #ecfdf5; color: #059669; }
.feature-card-v2[data-accent="amber"] .feature-icon-wrap     { background: #fffbeb; color: #d97706; }
.feature-card-v2[data-accent="rose"] .feature-icon-wrap      { background: #fff1f2; color: #e11d48; }
.feature-card-v2[data-accent="cyan"] .feature-icon-wrap      { background: #ecfeff; color: #0891b2; }
.feature-card-v2[data-accent="teal"] .feature-icon-wrap      { background: #f0fdfa; color: #0d9488; }
.feature-card-v2[data-accent="lime"] .feature-icon-wrap      { background: #f7fee7; color: #65a30d; }

.feature-icon-wrap .lucide-icon {
    width: 22px;
    height: 22px;
}

.feature-card-v2 h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.feature-card-v2 p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .features-section {
        padding: 3rem 0;
    }
}

/* ── Legacy grids ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card,
.use-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 16px;
}

/* ── FAQ accordion ── */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-accordion-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.faq-accordion-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s;
}

.faq-accordion-q:hover {
    color: #4f46e5;
}

.faq-accordion-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}

.faq-accordion-item.open .faq-accordion-num {
    background: #4f46e5;
    color: #fff;
}

.faq-accordion-text {
    flex: 1;
}

.faq-accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.3s, color 0.3s;
}

.faq-accordion-item.open .faq-accordion-icon {
    transform: rotate(45deg);
    color: #4f46e5;
}

.faq-accordion-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-accordion-item.open .faq-accordion-a {
    grid-template-rows: 1fr;
}

.faq-accordion-a > p {
    overflow: hidden;
    margin: 0;
    padding: 0 0 0 3rem;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-accordion-item.open .faq-accordion-a > p {
    padding-bottom: 1.25rem;
}

.faq-accordion-a a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.faq-accordion-a a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .faq-accordion-q {
        gap: 0.75rem;
        font-size: 0.9rem;
        padding: 1rem 0;
    }
    .faq-accordion-num {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.7rem;
    }
    .faq-accordion-a > p {
        padding-left: 2.5rem;
        font-size: 0.88rem;
    }
}

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

.use-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: #475569;
}

.step-number {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.security-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: #475569;
}

.progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-top: 0.8rem;
}

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}

.pricing-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border: 2px solid #4f46e5;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.14);
}

.pricing-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-tier-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-tier-badge.basic      { background: #dbeafe; color: #1d4ed8; }
.pricing-tier-badge.pro        { background: #e0e7ff; color: #4338ca; }
.pricing-tier-badge.enterprise { background: #fef3c7; color: #92400e; }

.pricing-price {
    margin-top: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.pricing-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-desc {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #334155;
}

.pricing-features li .lucide-icon {
    width: 16px;
    height: 16px;
    color: #4f46e5;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.cta {
    padding: 4rem 0 5rem;
}

.cta-card {
    background: #0f172a;
    color: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer {
    background: #0f172a;
    color: #cbd5f5;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.site-footer a {
    color: #cbd5f5;
    text-decoration: none;
    display: block;
    margin-top: 0.4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 2rem;
    font-size: 0.85rem;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .nav-bar {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 4%;
        right: 4%;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
        z-index: 50;
    }

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

    .nav-links > a,
    .nav-links > .nav-dropdown {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links > a:last-child,
    .nav-links > .nav-dropdown:last-child {
        border-bottom: none;
    }

    .nav-dropdown-trigger {
        padding: 0;
    }

    .nav-dropdown-trigger .lucide-icon {
        display: none;
    }

    .nav-dropdown-menu {
        display: block;
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0 0.75rem;
        min-width: 0;
        margin-top: 0;
    }

    .nav-dropdown-menu a {
        padding: 0.35rem 0;
        font-size: 0.85rem;
        color: #64748b;
        border-radius: 0;
    }

    .nav-dropdown-menu a:hover {
        background: none;
        color: #4f46e5;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        cursor: pointer;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-wrap: wrap;
    }

    .nav-actions .btn-primary {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .cta-card {
        text-align: center;
        justify-content: center;
    }
}

