﻿.landing-hero {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
}

.eyebrow {
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 10px;
}

.landing-hero h1 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 16px;
}

.landing-hero p {
    color: #4b5563;
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.plan-button {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.btn-primary,
.plan-button {
    background: #2563eb;
    color: white;
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.hero-card,
.feature-card,
.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.hero-card ul,
.pricing-card ul {
    padding-left: 18px;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}

.feature-card p,
.plan-note,
.section-heading p {
    color: #6b7280;
    line-height: 1.6;
}

.pricing-section {
    margin-top: 34px;
}

.section-heading {
    text-align: center;
    margin-bottom: 22px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pricing-card {
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #2563eb;
}

.badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: #2563eb;
    color: white;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.price {
    font-size: 26px;
    font-weight: 900;
    margin: 10px 0;
}

.not-included {
    color: #9ca3af;
}

@media (max-width: 850px) {
    .landing-hero,
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero h1 {
        font-size: 34px;
    }
}
.landing-hero {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
}

.eyebrow {
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 10px;
}

.landing-hero h1 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 16px;
}

.landing-hero p {
    color: #4b5563;
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.plan-button {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.btn-primary,
.plan-button {
    background: #2563eb;
    color: white;
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.hero-card,
.feature-card,
.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

    .hero-card ul,
    .pricing-card ul {
        padding-left: 18px;
        line-height: 1.9;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}

.feature-card p,
.plan-note,
.section-heading p {
    color: #6b7280;
    line-height: 1.6;
}

.pricing-section {
    margin-top: 56px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

    .section-heading h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .section-heading p {
        color: #6b7280;
        font-size: 17px;
    }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    position: relative;
    border: 1px solid #dbe3f0;
    border-radius: 24px;
    background: linear-gradient( to bottom, rgba(255,255,255,1), rgba(248,250,252,1) );
    padding: 30px 26px;
    box-shadow: 0 2px 8px rgba(15,23,42,.04), 0 18px 40px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        border-color: #93c5fd;
        box-shadow: 0 4px 12px rgba(37,99,235,.08), 0 24px 50px rgba(37,99,235,.12);
    }

    .pricing-card.featured {
        border: 2px solid #2563eb;
        background: linear-gradient( to bottom, rgba(239,246,255,1), rgba(255,255,255,1) );
    }

    .pricing-card h3 {
        margin: 0;
        font-size: 28px;
        font-weight: 900;
        color: #111827;
    }

.price {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 38px;
    font-weight: 900;
    color: #2563eb;
}

.plan-note {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    color: #111827;
    line-height: 1.5;
}

    .pricing-card li:last-child {
        border-bottom: none;
    }

    .pricing-card li::before {
        content: "✓";
        color: #16a34a;
        font-weight: 900;
        margin-right: 10px;
    }

.not-included {
    color: #9ca3af;
}

    .not-included::before {
        content: "—";
        color: #9ca3af;
    }

.plan-button {
    display: block;
    width: 100%;
    margin-top: 28px;
    text-align: center;
    text-decoration: none;
    background: #2563eb;
    color: white;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

    .plan-button:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
    }

.badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: #2563eb;
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(37,99,235,.28);
}

@media (max-width: 950px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
.not-included {
    color: #9ca3af;
}

@media (max-width: 850px) {
    .landing-hero,
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

        .landing-hero h1 {
            font-size: 34px;
        }
}
.pi-submit-card {
    background: #ffffff;
    border: 1px solid var(--pi-border);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .07);
    padding: 28px;
}

.pi-submit-header {
    margin-bottom: 28px;
}

    .pi-submit-header h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
        line-height: 1.05;
        letter-spacing: -.045em;
    }

    .pi-submit-header p {
        max-width: 720px;
        margin: 12px 0 0;
        color: var(--pi-muted);
        line-height: 1.6;
    }

.pi-submit-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pi-submit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 420px;
    gap: 22px;
    align-items: stretch;
}

.pi-input-panel,
.pi-upload-panel {
    background: var(--pi-soft);
    border: 1px solid var(--pi-border);
    border-radius: 24px;
    padding: 22px;
}

.pi-section-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

    .pi-section-title > span {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: #ffffff;
        color: var(--pi-primary);
        border: 1px solid var(--pi-border);
        display: grid;
        place-items: center;
        font-weight: 900;
    }

    .pi-section-title h3 {
        margin: 0;
        font-size: 20px;
        letter-spacing: -.025em;
    }

    .pi-section-title p {
        margin: 4px 0 0;
        color: var(--pi-muted);
        line-height: 1.5;
        font-size: 14px;
    }

.pi-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

    .pi-form-group:last-child {
        margin-bottom: 0;
    }

.pi-label {
    display: block;
    text-align: left;
    color: var(--pi-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.pi-input {
    width: 100%;
    border: 1px solid var(--pi-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--pi-text);
    padding: 13px 14px;
    font-size: 15px;
    outline: none;
    transition: .18s ease;
}

    .pi-input:focus {
        border-color: var(--pi-primary);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
    }

.pi-textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.6;
}

.pi-error {
    color: #b91c1c;
    font-size: 14px;
    font-weight: 700;
}

.pi-upload-zone {
    position: relative;
}

.pi-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.pi-upload-label {
    min-height: 220px;
    border: 1px dashed #bfdbfe;
    border-radius: 22px;
    background: #eff6ff;
    color: var(--pi-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    padding: 22px;
    transition: .18s ease;
}

    .pi-upload-label:hover {
        background: #dbeafe;
        border-color: var(--pi-primary);
    }

.pi-upload-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .16);
    font-weight: 900;
    font-size: 22px;
}

.pi-upload-label strong {
    font-size: 16px;
}

.pi-upload-label small {
    color: var(--pi-muted);
    font-weight: 700;
}

.pi-preview {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid var(--pi-border);
    border-radius: 20px;
    padding: 14px;
}

.pi-preview-header {
    margin-bottom: 10px;
}

.pi-preview img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: var(--pi-soft);
}

.pi-upgrade-card {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 22px;
    padding: 22px;
}

    .pi-upgrade-card h4 {
        margin: 0 0 8px;
        font-size: 18px;
    }

    .pi-upgrade-card p {
        margin: 0 0 16px;
        color: var(--pi-muted);
        line-height: 1.6;
    }

.pi-submit-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--pi-border);
    padding-top: 22px;
}

    .pi-submit-footer strong {
        display: block;
        font-size: 16px;
    }

    .pi-submit-footer p {
        margin: 4px 0 0;
        color: var(--pi-muted);
        line-height: 1.5;
        font-size: 14px;
    }

.pi-btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.pi-btn-primary {
    background: var(--pi-primary);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
}

    .pi-btn-primary:hover {
        background: var(--pi-primary-dark);
        transform: translateY(-1px);
    }

.pi-btn-large {
    padding: 13px 20px;
    font-size: 15px;
    max-width:15rem;
}

@media (max-width: 980px) {
    .pi-submit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pi-submit-card {
        padding: 20px;
        border-radius: 22px;
    }

    .pi-input-panel,
    .pi-upload-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .pi-submit-footer {
        flex-direction: column;
        align-items: stretch;
    }

        .pi-submit-footer .pi-btn {
            width: 100%;
        }
}
.pi-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.65);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pi-modal-content {
    width: min(900px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.35);
}

.pi-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pi-modal-close {
    border: none;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.pi-image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.pi-image-preview-item {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
    background: #f9fafb;
}

.pi-image-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.pi-image-preview-info {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    font-size: 13px;
    color: #374151;
    word-break: break-word;
}

.pi-btn-small {
    padding: 6px 10px;
    font-size: 13px;
}
/* ===========================================
   Analyze Button
=========================================== */

.pi-analyze-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 18px; /* Was 18px 22px */

    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,.20);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pi-analyze-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; /* Was 54px */
    height: 42px; /* Was 54px */

    border-radius: 10px;
    background: rgba(255,255,255,.18);
    font-size: 1.1rem; /* Was 1.4rem */
    flex-shrink: 0;
}

.pi-analyze-title {
    font-size: 0.95rem; /* Was 1.05rem */
    font-weight: 700;
    line-height: 1.2;
}

.pi-analyze-subtitle {
    margin-top: 2px;
    font-size: 0.78rem; /* Was .87rem */
    color: rgba(255,255,255,.85);
}

.pi-analyze-arrow {
    font-size: 1rem; /* Was 1.2rem */
}
.pi-validation-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .6rem;
    margin-top: .5rem;
}
.pi-validation-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 9999px; /* Perfect circle */
    margin-top:1rem;


    color: gray;
    cursor: pointer;
    transition: all .2s ease;
}

    .pi-validation-close:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #212529;
    }

.pi-validation-ok-btn {
   
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

    .pi-validation-ok-btn:hover {
        background: #0b5ed7;
        border-color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, .25);
    }
