/* ================================================================
   IndexPro — Landing Page Specific Styles
   ================================================================ */

/* ─── Global Landing Override ───────────────────────── */
.landing-body {
    background: #fff;
    overflow-x: hidden;
}

/* ─── Container ─────────────────────────────────────── */
.lp-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ─────────────────────────────────────────── */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all .3s ease;
    padding: 0;
}

.lp-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.lp-header.scrolled {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.lp-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(48, 140, 232, .35);
}

.lp-logo-icon .material-symbols-outlined {
    font-size: 20px;
}

.lp-logo-text {
    font-weight: 800;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.lp-nav-link {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.lp-nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.lp-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-menu-toggle {
    display: none;
    padding: 8px;
    color: var(--text-secondary);
}

/* ─── Hero ───────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #f8faff 0%, #eff6ff 40%, #fefce8 100%);
    padding: 100px 0 80px;
}

.hero-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #bfdbfe;
    top: -200px;
    right: -100px;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #bbf7d0;
    bottom: -100px;
    left: -50px;
    animation: blobFloat 10s ease-in-out 2s infinite reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #fde68a;
    top: 40%;
    left: 40%;
    animation: blobFloat 12s ease-in-out 4s infinite;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 10px) scale(.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: .8125rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-note {
    font-size: .8rem;
    color: var(--text-muted);
}

.hide-mobile {
    display: inline;
}

/* Hero preview (dashboard mockup) */
.hero-preview {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .16), 0 8px 24px rgba(0, 0, 0, .08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 8px;
}

.preview-bar {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.preview-dots span:nth-child(1) {
    background: #f87171;
}

.preview-dots span:nth-child(2) {
    background: #fbbf24;
}

.preview-dots span:nth-child(3) {
    background: #34d399;
}

.preview-url {
    font-size: .75rem;
    color: var(--text-muted);
    background: #fff;
    border-radius: 6px;
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
}

.mini-dashboard {
    display: flex;
    height: 360px;
}

.mini-sidebar {
    width: 60px;
    background: #fff;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
}

.mini-logo {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-nav-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-nav {
    width: 32px;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}

.mini-nav.active {
    background: var(--primary-light);
}

.mini-main {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg);
}

.mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-search {
    flex: 1;
    height: 28px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.mini-credits {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 99px;
    padding: 4px 10px;
    white-space: nowrap;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-stat {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.mini-stat-val {
    font-size: .875rem;
    font-weight: 800;
}

.mini-stat-label {
    font-size: .6rem;
    color: #94a3b8;
    margin-top: 2px;
}

.mini-stat.blue .mini-stat-val {
    color: #3b82f6;
}

.mini-stat.green .mini-stat-val {
    color: #16a34a;
}

.mini-stat.red .mini-stat-val {
    color: #ef4444;
}

.mini-projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

.mini-project-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.mini-project-img {
    height: 60px;
}

.mini-project-info {
    padding: 8px 10px;
}

.mini-project-name {
    font-size: .75rem;
    font-weight: 700;
}

.mini-project-url {
    font-size: .6rem;
    color: #94a3b8;
}

.mini-project-stats {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    font-size: .65rem;
    color: #64748b;
}

/* ─── Proof Section ─────────────────────────────────── */
.proof-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.proof-label {
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.proof-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
}

.proof-logo {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: .7;
    transition: opacity .2s;
}

.proof-logo:hover {
    opacity: 1;
}

.proof-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.proof-stat {
    text-align: center;
    padding: 0 40px;
}

.proof-stat-val {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
}

.proof-stat-label {
    font-size: .8rem;
    color: var(--text-muted);
}

.proof-stat-divider {
    width: 1px;
    height: 48px;
    background: #e2e8f0;
    align-self: center;
}

/* ─── Section Shared ────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
    border: 1px solid #bfdbfe;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Features ───────────────────────────────────────── */
.features-section {
    padding: 100px 0;
    background: #f8faff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all .3s ease;
}

.feature-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon .material-symbols-outlined {
    font-size: 26px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    color: var(--text-secondary);
}

/* ─── How It Works ───────────────────────────────────── */
.how-section {
    padding: 100px 0;
    background: #fff;
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    position: relative;
    transition: all .3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    background: #fff;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 16px;
}

.step-icon .material-symbols-outlined {
    font-size: 28px;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    border-radius: 99px;
    flex-shrink: 0;
}

/* ─── Pricing ────────────────────────────────────────── */
.pricing-section {
    padding: 100px 0;
    background: #f8faff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.pricing-card-featured {
    background: linear-gradient(145deg, #308ce8, #1a6fc4);
    border-color: transparent;
    transform: scale(1.04);
    box-shadow: 0 24px 60px rgba(48, 140, 232, .35);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-3px);
}

.pricing-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, .3);
}

.pricing-header {
    padding: 28px 28px 0;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.pricing-period {
    font-size: .9rem;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: .875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.pricing-body {
    padding: 20px 28px;
    flex: 1;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
}

.pricing-card-featured .pricing-features li {
    color: rgba(255, 255, 255, .9);
}

.pricing-footer {
    padding: 24px 28px;
}

.pricing-note {
    text-align: center;
    font-size: .8125rem;
    color: var(--text-muted);
    margin-top: 36px;
}

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-section {
    padding: 100px 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all .3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: .875rem;
    font-weight: 700;
}

.testimonial-role {
    font-size: .75rem;
    color: var(--text-muted);
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section {
    padding: 100px 0;
    background: #f8faff;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-q:hover {
    color: var(--primary);
}

.faq-item.open .faq-q {
    color: var(--primary);
}

.faq-icon {
    transition: transform .3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 24px;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* ─── Final CTA ──────────────────────────────────────── */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(145deg, #308ce8, #1a6fc4 60%, #7c3aed);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.final-cta-inner {
    position: relative;
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}

.final-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .8);
    max-width: 500px;
    margin: 0 auto 36px;
}

/* ─── Footer ─────────────────────────────────────────── */
.lp-footer {
    background: var(--text-primary);
    color: #fff;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .lp-logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand .lp-logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: .875rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .4);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .4);
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* ─── Reveal Animation ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Bar Chart ─────────────────────────────────────── */
.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.bar-track {
    width: 100%;
    flex: 1;
    background: var(--surface2);
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 8px;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 6px 6px 0 0;
    transition: height .8s ease;
}

.bar-label {
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--primary), #7c3aed);
    }

    .step-card {
        max-width: 100%;
    }

    .proof-stat {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .lp-nav {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px;
        flex-direction: column;
        box-shadow: var(--shadow-md);
    }

    .lp-nav.open {
        display: flex;
    }

    .lp-header-cta .btn:last-child {
        display: none;
    }

    .lp-menu-toggle {
        display: flex;
    }

    .hero-section {
        padding-top: 80px;
    }

    .mini-projects {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .proof-stat-divider {
        display: none;
    }

    .proof-stat {
        padding: 8px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}