/* =============================================================================
   Shakebug Startup Program Page Stylesheet (/startups)
   Matches Shakebug 2.0 Design System & Architecture
   ============================================================================= */

/* Value Pillars & Feature Cards */
.st-compare {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
}

.st-card {
    flex: 1 1 230px;
    background: #f7fafb;
    border: 1px solid #e9edf1;
    border-radius: 16px;
    padding: 26px 24px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.st-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 211, 227, .45);
    box-shadow: 0 14px 28px -14px rgba(16, 42, 67, .2);
}

.st-card .feat-kicker {
    margin-bottom: 8px;
}

.st-card h3 {
    font-size: 20px;
    color: #1f2c35;
    margin: 0 0 10px;
    font-weight: 700;
}

.st-card p {
    margin: 0;
    color: #5f6464;
    font-size: 15px;
    line-height: 1.65;
}

/* Feature Deep-Dives */
.st-features .feat-text h2 {
    font-size: 31px;
    line-height: 1.25;
    color: #1f2c35;
    margin-bottom: 14px;
}

.st-features .feat-media {
    flex: 1 1 0;
    min-width: 0;
}

.st-features .feat-media .hero2-browser img {
    display: block;
    width: 100%;
    height: auto;
}

/* Section Typography & Spacing */
.st-prose {
    padding: 54px 0;
}

.st-prose .container {
    max-width: 1040px;
}

.st-prose h2 {
    font-size: 32px;
    color: #1f2c35;
    text-align: center;
    margin: 0 0 16px;
}

.st-prose p.section-subhead {
    font-size: 17px;
    line-height: 1.75;
    color: #5f6464;
    text-align: center;
    max-width: 840px;
    margin: 0 auto 36px;
}

.st-prose + .st-prose {
    padding-top: 0;
}

.rt-section-head {
    max-width: 840px;
    margin: 0 auto 46px;
    text-align: center;
}

.rt-section-head h2 {
    font-size: 34px;
    color: #1f2c35;
    margin: 0 0 12px;
}

.rt-section-head p {
    font-size: 17px;
    color: #5f6464;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991px) {
    .st-features .feat-text h2 {
        font-size: 26px;
    }
    .st-prose h2,
    .rt-section-head h2 {
        font-size: 26px;
    }
    .st-features .feat-row,
    .st-features .feat-row.reverse {
        flex-direction: column !important;
        gap: 36px !important;
    }
}

/* Numbered Step Badges & Tech Specs Grid */
.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1dd3e3;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    margin-right: 8px;
    vertical-align: middle;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
    text-align: left;
}

.spec-item {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 16px 20px;
}

.spec-item strong {
    display: block;
    color: #1f2c35;
    font-size: 15px;
    margin-bottom: 4px;
}

.spec-item span {
    color: #5f6464;
    font-size: 14px;
    line-height: 1.5;
}

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

/* Eligibility Criteria Cards */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.criteria-card {
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 16px;
    padding: 32px 26px;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    position: relative;
}

.criteria-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 211, 227, .45);
    box-shadow: 0 14px 28px -14px rgba(16, 42, 67, .18);
}

.criteria-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(29, 211, 227, .12);
    color: #0b8a96;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.criteria-title {
    font-size: 19px;
    color: #1f2c35;
    font-weight: 700;
    margin: 0 0 10px;
}

.criteria-desc {
    color: #5f6464;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991px) {
    .criteria-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Plan Transparency & Comparison Table */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 28px;
    box-shadow: 0 10px 30px -15px rgba(16, 42, 67, .15);
}

.compare-table th {
    background: #f5f8fa;
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    color: #1f2c35;
    font-weight: 700;
    border-bottom: 1px solid #e9edf1;
}

.compare-table td {
    padding: 16px 20px;
    font-size: 14.5px;
    color: #5f6464;
    border-bottom: 1px solid #f0f3f6;
    vertical-align: middle;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table th.col-highlight {
    background: #e8fafd;
    color: #0b8a96;
    border-top: 3px solid #1dd3e3;
}

.compare-table td.col-highlight {
    background: #f6fdfe;
    font-weight: 600;
    color: #1f2c35;
}

.badge-save {
    display: inline-block;
    background: #1dd3e3;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: .02em;
}

.badge-check {
    color: #0b8a96;
    font-weight: 700;
}

.price-strike {
    text-decoration: line-through;
    color: #9aa5ab;
    font-weight: 400;
    font-size: 13px;
    margin-right: 4px;
}

@media (max-width: 767px) {
    .compare-table {
        display: block;
        overflow-x: auto;
    }
}

/* Modern Startup Application Form */
.startup-form-card {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 20px 45px -20px rgba(16, 42, 67, .18);
}

.startup-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.startup-form-full {
    grid-column: 1 / -1;
}

.st-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.st-form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2c35;
    margin-bottom: 7px;
}

.st-form-group label .required {
    color: #e53e3e;
    margin-left: 3px;
}

.st-form-group input,
.st-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid #d9e3ea;
    background: #f9fbfc;
    color: #1f2c35;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    outline: none;
    box-sizing: border-box;
}

.st-form-group input:focus,
.st-form-group textarea:focus {
    border-color: #1dd3e3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 211, 227, .2);
}

.st-form-group textarea {
    min-height: 105px;
    resize: vertical;
}

.st-form-group input::placeholder,
.st-form-group textarea::placeholder {
    color: #9aa5ab;
}

.form-submit-row {
    margin-top: 28px;
    text-align: center;
}

.form-submit-row .cbtn {
    width: 100%;
    max-width: 340px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #1dd3e3;
    color: #fff;
    box-shadow: 0 10px 24px -6px rgba(29, 211, 227, .55);
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit-row .cbtn:hover {
    background: #15bed0;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(29, 211, 227, .7);
}

.form-submit-row .cbtn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    margin-top: 16px;
    font-size: 13.5px;
    color: #7a8587;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 650px) {
    .startup-form-card {
        padding: 28px 20px;
    }
    .startup-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Start Free Callout Box */
.start-free-callout {
    max-width: 840px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #e8fcff 0%, #f4feff 100%);
    border: 1px solid rgba(29, 211, 227, .35);
    border-radius: 18px;
    padding: 36px 36px;
    text-align: center;
    box-shadow: 0 12px 30px -15px rgba(29, 211, 227, .25);
}

.start-free-callout h3 {
    font-size: 24px;
    color: #1f2c35;
    margin: 0 0 10px;
    font-weight: 700;
}

.start-free-callout p {
    font-size: 16px;
    color: #5f6464;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 22px;
}

.start-free-callout .cbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    line-height: 46px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
}

@media (max-width: 600px) {
    .start-free-callout {
        padding: 26px 18px;
    }
    .start-free-callout h3 {
        font-size: 20px;
    }
}

/* Modern FAQ Accordion */
.sec-faq-section {
    padding: 60px 0;
    background: #ffffff;
}

.faq-item {
    border: 1px solid #e9edf1;
    border-radius: 14px;
    margin-bottom: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease;
}

.faq-item.open {
    border-color: rgba(29, 211, 227, .55);
    box-shadow: 0 8px 24px -12px rgba(16, 42, 67, .12);
}

.faq-item-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.faq-item-toggle h3 {
    font-size: 17.5px;
    color: #1f2c35;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

.faq-chevron {
    font-size: 18px;
    color: #0b8a96;
    transition: transform .25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item-body {
    display: none;
    padding: 0 24px 22px;
    font-size: 15.5px;
    line-height: 1.7;
    color: #5f6464;
}

.faq-item-body p {
    margin: 0;
}

/* Modal Dialogs */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 33, 39, .65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 38px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
    animation: modalPop .25s ease-out;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.modal-icon.success {
    background: #e6f9f0;
    color: #10b981;
}

.modal-icon.error {
    background: #fee2e2;
    color: #ef4444;
}

.modal-card h3 {
    font-size: 22px;
    color: #1f2c35;
    margin: 0 0 10px;
    font-weight: 700;
}

.modal-card p {
    font-size: 15px;
    color: #5f6464;
    line-height: 1.6;
    margin: 0 0 24px;
}

.modal-card .cbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    line-height: 44px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* CTA Bottom Banner */
.startpart.bganimation {
    background: radial-gradient(1000px 460px at 50% -20%, #15505b 0%, #0c2c33 52%, #0a2127 100%) !important;
    padding: 85px 0 !important;
    text-align: center;
}

.startpart .ctitle {
    color: #ffffff !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    margin: 0 0 14px !important;
    line-height: 1.25 !important;
}

.startpart .cta-subtitle {
    font-size: 17px !important;
    color: #c5dbe2 !important;
    max-width: 680px !important;
    margin: 0 auto 32px !important;
    line-height: 1.65 !important;
}

.startpart .cta-btn-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin: 0 auto 24px !important;
}

.startpart .cta-btn-group .cbtn,
.startpart .cta-btn-group .bbtn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 32px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    margin: 0 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    vertical-align: middle !important;
}

.startpart .cta-btn-group .cbtn {
    background: #1dd3e3 !important;
    color: #ffffff !important;
    border: 1.5px solid #1dd3e3 !important;
    box-shadow: 0 10px 24px -6px rgba(29, 211, 227, 0.55) !important;
}

.startpart .cta-btn-group .cbtn:hover {
    background: #15bed0 !important;
    border-color: #15bed0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 36px -8px rgba(29, 211, 227, 0.7) !important;
    color: #ffffff !important;
}

.startpart .cta-btn-group .bbtn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.startpart .cta-btn-group .bbtn-outline:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
}

.startpart .cta-footnote {
    font-size: 13.5px !important;
    color: #8da6b0 !important;
    margin: 0 auto !important;
    line-height: 1.5 !important;
}

@media (max-width: 767px) {
    .startpart.bganimation {
        padding: 55px 20px !important;
    }
    .startpart .ctitle {
        font-size: 28px !important;
    }
    .startpart .cta-btn-group {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .startpart .cta-btn-group .cbtn,
    .startpart .cta-btn-group .bbtn-outline {
        width: 100% !important;
        max-width: 320px !important;
    }
}
