/* ==========================================================================
   CYNOHUB UNIVERSAL ENROLLMENT CARD SYSTEM
   Standardized high-conversion design matching Generative AI reference
   ========================================================================== */

/* Top Promotional Ribbon */
.price-strip,
.cyno-enroll-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(90deg, #DC2626, #F97316);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Card Container */
.price,
.pc.cynohub-enrollment-card,
.cynohub-enrollment-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(76, 60, 180, 0.14), 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 440px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    color: #111827;
}

/* Scoped pricing fix for Claude Code & GitHub Copilot: prevent inner price wrapper from inheriting card container styling */
.pc .price,
.m-buy .price,
.buy-r .price {
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
}

/* Internal Card Body */
.price-body,
.cyno-enroll-body {
    padding: 16px 18px 16px;
    box-sizing: border-box;
}
@media (min-width: 1024px) {
    .price-body,
    .cyno-enroll-body {
        padding: 22px 24px 20px;
    }
}

/* Card Header: Eyebrow + Title on left, Badge on right */
.price-head,
.cyno-enroll-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.price-eyebrow,
.cyno-enroll-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B7280;
    margin: 0 0 4px;
    line-height: 1.3;
}
.price-title,
.cyno-enroll-title {
    font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    color: #111827;
    margin: 0;
}
@media (min-width: 1024px) {
    .price-title,
    .cyno-enroll-title {
        font-size: 24px;
    }
}
.off,
.cyno-enroll-badge {
    flex: none;
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.2;
}

/* Countdown Timer Box */
.ch-timer-container {
    background: rgba(247, 181, 62, 0.08);
    border: 1px solid rgba(247, 181, 62, 0.5);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.ch-timer-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #92400E;
    margin-bottom: 6px;
    text-align: center;
}

.ch-timer-digits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.ch-digit-block {
    background-color: #f7b53e;
    color: #111111;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 800;
    font-size: 20px;
    min-width: 44px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.ch-timer-colon {
    color: #d97706;
    font-size: 20px;
    font-weight: 800;
    animation: ch-blink 1s steps(2, start) infinite;
}

@keyframes ch-blink {
    to {
        visibility: hidden;
    }
}

.ch-timer-subtext {
    font-size: 12px;
    font-weight: 600;
    color: #C2410C;
    text-align: center;
}

/* CTA Urgency Line */
.ch-cta-urgency {
    font-size: 13.5px;
    font-weight: 700;
    color: #C2410C;
    text-align: center;
    margin-top: 10px;
}

.ch-cta-urgency-time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 800;
}

/* Reset / Success Announcement Styles */
.ch-success-announcement {
    color: #B45309;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    animation: ch-fade-in 0.3s ease-out;
}

@keyframes ch-fade-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Price Row */
.price-row,
.cyno-enroll-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2px;
}

.price-now,
.cyno-enroll-now {
    font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    color: #111827;
}
@media (min-width: 1024px) {
    .price-now,
    .cyno-enroll-now {
        font-size: 44px;
    }
}

.price-was,
.cyno-enroll-was {
    font-size: 19px;
    line-height: 1.2;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-save,
.cyno-enroll-save {
    margin: 4px 0 12px;
    color: #15803D;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

/* Benefits Checklist */
.checks,
.cyno-enroll-checks {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    list-style: none;
    padding: 0;
}

.checks li,
.cyno-enroll-checks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14.5px;
    line-height: 1.4;
    color: #374151;
}

.checks li svg,
.cyno-enroll-checks li svg,
.checks .i {
    flex: none;
    width: 18px;
    height: 18px;
    color: #16A34A;
    margin-top: 1px;
}

/* Optional Course Supporting Highlight */
.cyno-enroll-highlight {
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6D28D9;
}
.cyno-enroll-highlight svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: #7C3AED;
}

/* Form Styles */
.form-stack,
.cyno-enroll-form {
    display: grid;
    gap: 8px;
}

.fld,
.cyno-enroll-input {
    width: 100%;
    min-height: 46px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #D1D5DB;
    font-size: 15px;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.fld::placeholder,
.cyno-enroll-input::placeholder {
    font-size: 14px;
    color: #6B7280;
}

.fld:focus,
.cyno-enroll-input:focus {
    border-color: #6D5AE6;
    box-shadow: 0 0 0 3px rgba(109, 90, 230, 0.15);
    background: #ffffff;
}

.phone-row,
.cyno-enroll-phone-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.cc,
.cyno-enroll-country {
    width: 104px;
    flex: none;
    padding-left: 8px;
    padding-right: 4px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #D1D5DB;
    color: #111827;
}

.fld-phone,
.cyno-enroll-phone-input {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Primary CTA Button */
.btn-primary,
.cyno-enroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17.5px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    background: #F7B53E;
    color: #111111;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 20px rgba(247, 181, 62, 0.45);
    transition: transform 0.1s, background-color 0.15s, box-shadow 0.15s;
    text-decoration: none;
    gap: 8px;
    box-sizing: border-box;
}

.btn-primary:hover,
.cyno-enroll-btn:hover {
    background: #F5A623;
}

.btn-primary:active,
.cyno-enroll-btn:active {
    transform: translateY(1px);
}

.btn-primary svg,
.cyno-enroll-btn svg {
    flex: none;
    width: 18px;
    height: 18px;
}

/* Reassurance Footer */
.trust,
.cyno-enroll-trust {
    margin-top: 10px;
    text-align: center;
}

.upi-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.upi-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
}

.upi-logos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.upi-logos:not(.dsa-payment-brands) img {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.upi-logos:not(.dsa-payment-brands) img.pt {
    height: 24px;
}

.upi-pill {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border-radius: 5px;
    border: 1.5px solid #D1D5DB;
    background: #ffffff;
    color: #374151;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.trust-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 8px;
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.4;
}

.trust-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trust-line svg,
.trust-line .i {
    width: 14px;
    height: 14px;
    color: #6B7280;
}

@media (prefers-reduced-motion: reduce) {
    .ch-timer-colon { animation: none !important; opacity: 1; }
}
