/* Global Inter font */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; }

/* Base reset: override Elementor Kit global typography */
.axon-landing {
    text-align: left !important;
    font-weight: 400 !important;
}
.axon-landing,
.axon-landing h1, .axon-landing h2, .axon-landing h3, .axon-landing h4,
.axon-landing p, .axon-landing span, .axon-landing a, .axon-landing div,
.axon-landing li, .axon-landing button, .axon-landing label,
.axon-landing strong, .axon-landing em {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Fix: Elementor may override Tailwind font-weight utilities */
.axon-landing .font-medium { font-weight: 500 !important; }
.axon-landing .font-semibold { font-weight: 600 !important; }
.axon-landing .font-bold { font-weight: 700 !important; }

/* Fix: ensure text-center works through Elementor overrides */
.axon-landing .text-center,
.axon-landing .text-center div,
.axon-landing .text-center p,
.axon-landing .text-center span {
    text-align: center !important;
}

/* Fix: Elementor resets border-style on badges */
.axon-landing .hero-badges {
    margin: 0 0 1.25rem 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    justify-content: flex-start !important;
}
@media (min-width: 640px) {
    .axon-landing .hero-badges { gap: 0.75rem !important; }
}
.axon-landing .hero-badges span {
    border: 1px solid #d4d4d4 !important;
    background: white !important;
    margin: 0 !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    display: inline-block !important;
    line-height: 1.5 !important;
}
@media (min-width: 640px) {
    .axon-landing .hero-badges span {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
}

/* Fix: Elementor resets border-style to none on all elements */
.axon-landing .border {
    border-style: solid !important;
}
.axon-landing a.border,
.axon-landing button.border {
    border: 1px solid #d4d4d4 !important;
}
.axon-landing a.border:hover,
.axon-landing button.border:hover {
    border-color: #a3a3a3 !important;
}

/* Fix: subtitle font weight to match design */
.axon-landing .hero-subheadline {
    font-weight: 400 !important;
    color: #525252 !important;
}

/* FAQ Accordion */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Datasets Grid */
.datasets-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .datasets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .datasets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.dataset-card {
    display: flex;
    flex-direction: column;
}

.dataset-image {
    height: 10rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.dataset-card:hover .dataset-image {
    transform: scale(1.02);
}

.dataset-image svg {
    width: 3rem;
    height: 3rem;
    stroke: #a3a3a3;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.dataset-card:hover .dataset-image svg {
    stroke: #2270E2;
    transform: scale(1.1);
}

.dataset-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #171717;
    color: white;
    font-size: 0.6875rem;
    font-weight: 600 !important;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dataset-card .heading-3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.dataset-card .body-text {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.dataset-meta {
    display: flex;
    gap: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.dataset-meta-item {
    display: flex;
    flex-direction: column;
}

.dataset-meta-value {
    font-size: 0.9375rem;
    font-weight: 600 !important;
    color: #171717;
}

.dataset-meta-label {
    font-size: 0.6875rem;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.testimonial-source {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
}

.testimonial-stars {
    display: flex !important;
    gap: 0.25rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.testimonial-g2 {
    height: 24px;
    opacity: 0.7;
    margin: 0 !important;
    padding: 0 !important;
}

.testimonial-star {
    color: #FFC107;
    font-size: 1.25rem;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.testimonial-headline {
    font-size: 0.9375rem;
    font-weight: 600 !important;
    color: #111827;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
}

.testimonial-text {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.7;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: rgba(34, 112, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600 !important;
    color: #2270E2;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 600 !important;
    color: #000000;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: #6B7280;
}

/* ML Engineer's Problem Section */
.why-section {
    background: #171717;
    color: white;
}

.why-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.problem-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.problem-box .label-text {
    color: #ef4444;
    margin-bottom: 1rem;
}

.problem-box h3 {
    font-size: 1.5rem;
    font-weight: 600 !important;
    margin-bottom: 1.5rem;
    color: white;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #a3a3a3;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.problem-list li svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #ef4444;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.solution-box h3 {
    font-size: 1.5rem;
    font-weight: 600 !important;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .solution-box h3 { font-size: 2rem; }
}

.solution-box > p {
    color: #a3a3a3;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.solution-features {
    display: grid;
    gap: 1.25rem;
}

.solution-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.solution-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(34, 112, 226, 0.15);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #2270E2;
}

.solution-feature strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: white;
}

.solution-feature p {
    font-size: 0.9375rem;
    color: #a3a3a3;
    line-height: 1.6;
}

/* Bundles Grid */
.bundles-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .bundles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.bundle-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.bundle-card:hover {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.bundle-card.featured {
    border-color: #2270E2;
    box-shadow: 0 0 0 1px #2270E2, 0 20px 40px -15px rgba(34, 112, 226, 0.15);
    background: linear-gradient(180deg, rgba(34, 112, 226, 0.06) 0%, white 15%);
}

.bundle-card.featured:hover {
    box-shadow: 0 0 0 1px #2270E2, 0 25px 50px -15px rgba(34, 112, 226, 0.2);
}

.bundle-popular {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2270E2;
    color: white;
    font-size: 0.6875rem;
    font-weight: 600 !important;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bundle-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
}

.bundle-name {
    font-size: 1.25rem;
    font-weight: 600 !important;
    color: #171717;
    margin-bottom: 0.5rem;
}

.bundle-videos {
    font-size: 0.875rem;
    color: #737373;
    margin-bottom: 1rem;
}

.bundle-price {
    font-size: 2.5rem;
    font-weight: 600 !important;
    color: #171717;
    letter-spacing: -0.02em;
}

.bundle-price span {
    font-size: 1rem;
    font-weight: 400 !important;
    color: #737373;
}

.bundle-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.bundle-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: #525252;
}

.bundle-features li svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #16a34a;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.bundle-bonus {
    background: rgba(34, 112, 226, 0.08);
    border-radius: 0.5rem;
    padding: 0.875rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: #2270E2;
}

.bundle-bonus strong {
    color: #2270E2;
}

/* Process Grid */
.process-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    display: none;
}

@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2rem;
        right: -0.75rem;
        width: calc(100% - 4rem);
        height: 2px;
        background: linear-gradient(90deg, #d4d4d4, #e5e5e5);
        transform: translateX(50%);
        display: block;
    }
}

.process-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #2270E2;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 600 !important;
    color: white;
}

/* Hero Illustration */
.illustration-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 24px;
    overflow: visible;
}

.illustration-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-bg) center center / cover no-repeat;
    border-radius: 24px;
    z-index: 0;
}

.illustration-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background:
        radial-gradient(ellipse at center, transparent 15%, rgba(250, 250, 250, 0.4) 35%, rgba(250, 250, 250, 0.85) 55%, rgba(250, 250, 250, 1) 70%),
        linear-gradient(to right, rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 0.8) 8%, rgba(250, 250, 250, 0.2) 18%, transparent 30%, transparent 70%, rgba(250, 250, 250, 0.2) 82%, rgba(250, 250, 250, 0.8) 92%, rgba(250, 250, 250, 1) 100%),
        linear-gradient(to bottom, rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 0.8) 8%, rgba(250, 250, 250, 0.2) 18%, transparent 30%, transparent 70%, rgba(250, 250, 250, 0.2) 82%, rgba(250, 250, 250, 0.8) 92%, rgba(250, 250, 250, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.ui-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    white-space: nowrap;
}

.liveness-check { top: 60px; left: -20px; }
.face-match { top: 80px; right: -40px; }
.verification-status { bottom: 100px; left: -30px; }
.quality-score { bottom: 120px; right: -30px; }

.ui-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon.green { background: #dcfce7; }
.icon.blue { background: rgba(34, 112, 226, 0.1); }

.ui-card .icon svg {
    width: 18px;
    height: 18px;
}

.ui-card .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ui-card .label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ui-card .value {
    font-size: 16px;
    font-weight: 600 !important;
    color: #111827;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600 !important;
}

.badge.success {
    background: #dcfce7;
    color: #15803d;
}

.sparkle {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0.6;
    z-index: 2;
}

.sparkle-1 { top: 40px; left: 100px; }
.sparkle-2 { top: 350px; right: 80px; }
.sparkle-3 { bottom: 60px; left: 120px; }

@media (min-width: 1024px) {
    .hero-subheadline {
        white-space: nowrap;
    }
}

.process-step .heading-3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.process-step .body-text {
    font-size: 0.9375rem;
}

/* Mobile optimizations */
@media (max-width: 639px) {
    .bundle-price {
        font-size: 2rem;
    }

    .bundle-card {
        padding: 1.5rem;
    }

    .problem-box {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .dataset-card {
        padding: 1.25rem !important;
    }
}

/* Extra-small screens */
@media (max-width: 374px) {
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .bundle-price {
        font-size: 1.75rem;
    }

    .hero-badges span {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }
}

/* Mobile testimonials: horizontal scroll */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: none;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 1rem;
        margin: 0 -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 340px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 300px;
    }
}

/* Mobile process steps: vertical timeline */
@media (max-width: 767px) {
    .process-grid {
        gap: 1.5rem;
    }

    .process-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .process-step .process-icon {
        margin: 0;
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .process-step h3 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem;
    }

    .process-step p {
        font-size: 0.8125rem;
    }
}

/* Mobile cases cards */
@media (max-width: 639px) {
    .case-card-image {
        height: 10rem;
    }

    .case-card-body {
        padding: 1.25rem;
    }

    .case-card-body h3 {
        font-size: 1rem;
    }
}

/* Mobile bundles */
@media (max-width: 1023px) {
    .bundles-grid {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile dark section */
@media (max-width: 639px) {
    .why-grid {
        gap: 2rem;
    }

    .problem-box h3 {
        font-size: 1.25rem;
    }

    .problem-list li {
        font-size: 0.8125rem;
    }

    .solution-box h3 {
        font-size: 1.25rem;
    }

    .solution-box > p {
        font-size: 0.9375rem;
    }

    .solution-feature strong {
        font-size: 0.9375rem;
    }

    .solution-feature p {
        font-size: 0.8125rem;
    }
}

/* Mobile sections padding */
@media (max-width: 639px) {
    section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    section h2 {
        margin-bottom: 0.75rem;
    }

    .section-subtitle-mb {
        margin-bottom: 2rem !important;
    }
}

/* Mobile CTA */
@media (max-width: 639px) {
    .cta-heading {
        font-size: 1.75rem !important;
    }

    .cta-heading br {
        display: none;
    }
}

/* Scroll indicator for testimonials */
.scroll-hint {
    display: none;
}

@media (max-width: 1024px) {
    .scroll-hint {
        display: flex;
        justify-content: center;
        gap: 0.375rem;
        margin-top: 0.75rem;
    }

    .scroll-hint span {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background: #d4d4d4;
    }

    .scroll-hint span:first-child {
        background: #737373;
    }
}

/* Mobile footer */
@media (max-width: 639px) {
    footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Dropdown menu */
.axon-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 240px;
    z-index: 100;
    transition: opacity 0.2s, visibility 0.2s;
}
.group:hover > .axon-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}
.axon-dropdown ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.axon-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.axon-dropdown a {
    display: block !important;
    padding: 0.375rem 1rem !important;
    font-size: 0.875rem !important;
    color: #525252 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.axon-dropdown a:hover {
    background: #f5f5f5 !important;
    color: #171717 !important;
}

/* Footer datasets menu links */
footer .space-y-3 li {
    list-style: none;
}
footer .space-y-3 li a {
    font-size: 0.875rem;
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.15s;
}
footer .space-y-3 li a:hover {
    color: #ffffff;
}

/* Touch-friendly tap targets */
@media (max-width: 767px) {
    .faq-question {
        padding: 1rem 1.25rem;
        min-height: 3.5rem;
    }

    button, a {
        min-height: 44px;
    }
}

/* FAQ: override Tailwind max-h-0 when active */
.axon-landing .faq-item.active .faq-answer {
    max-height: 500px !important;
}
.axon-landing .faq-item .faq-answer {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.axon-landing .faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Bundle features list: remove default padding/margin */
.axon-landing .bundle-features {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.axon-landing .bundle-features li {
    padding-left: 0 !important;
    list-style: none !important;
}

/* Missing Tailwind utilities */
.md\:row-span-2 { grid-row: span 2 / span 2; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.bg-purple-50 { background-color: #faf5ff; }

/* FAQ items: clean single border */
.axon-landing .faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Global border fix: parent theme resets border-width to 0 */
.axon-landing div.border,
.axon-landing a.border,
.axon-landing section .border,
.axon-landing .border.border-neutral-200 {
    border: 1px solid #e5e5e5 !important;
}
.axon-landing .border.border-neutral-300,
.axon-landing .hover\:border-neutral-300:hover {
    border-color: #d4d4d4 !important;
}
.axon-landing .rounded-2xl {
    border-radius: 1rem !important;
}
.axon-landing .rounded-xl {
    border-radius: 0.75rem !important;
}

/* Why section bento grid */
.axon-landing .grid.md\:grid-cols-3 .md\:row-span-2 {
    grid-row: span 2 / span 2;
}
