/* ============================================
   MyCrediBro - Credit Card Offer Page Styles
   ============================================ */

section[id] {
    scroll-margin-top: 120px;
}

/* ====== HERO ====== */
.offer-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background: #000;
    overflow: hidden;
}

.offer-hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.airpods-bg-video {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 65%;
    height: auto;
    min-height: 115%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) saturate(1.1);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 30%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 80%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to right, transparent 0%, black 30%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 80%, transparent 100%);
    mask-composite: intersect;
}

.offer-hero-inner {
    position: relative;
    z-index: 4;
    max-width: 580px;
}

.offer-hero-content {
    color: #fff;
}

/* Video responsive — mirrors application.css */
@media (max-width: 1024px) {
    .airpods-bg-video {
        width: 62%;
        right: -4%;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, black 22%, black 80%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, black 22%, black 80%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
    }
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 22px;
    border-radius: 100px;
    color: var(--secondary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(16px);
}

.offer-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.offer-subheadline {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.offer-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 560px;
}

.offer-highlight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-bottom: 32px;
}

.offer-highlight-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.offer-highlight-list i {
    color: #4ade80;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.offer-hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-visual-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 20px 24px;
    color: #fff;
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: float 6s ease-in-out infinite;
}

.main-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: none;
}

.card-chip {
    width: 46px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6d365, #fda085);
    margin-bottom: 22px;
}

.card-brand {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.card-number {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.card-name {
    font-size: 1rem;
    font-weight: 700;
}

.card-tag {
    margin-top: 16px;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-card {
    right: -10px;
    top: 40px;
    width: 220px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.gift-card {
    left: -20px;
    bottom: 70px;
    width: 220px;
    animation-delay: 0.8s;
}

.gift-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 215, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.gift-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gift-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-visual-glass {
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: 250px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1.2s;
}

.glass-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.glass-row i {
    color: #ffd700;
    margin-top: 2px;
}

.glass-row span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-visual-glow {
    position: absolute;
    inset: 20% auto auto 20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212, 160, 60, 0.2), transparent 65%);
    filter: blur(30px);
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====== PROCESS ====== */
.offer-process {
    background: var(--white);
}

.process-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    align-items: stretch;
}

.process-card {
    position: relative;
    background: #fafafa;
    border: 1.5px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    max-width: 260px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.process-card.highlight-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #86efac;
}

.process-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.highlight-card .process-icon {
    background: #16a34a;
}

.process-number {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.process-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.process-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: auto;
}

.official-badge {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16a34a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.process-connector {
    color: var(--gray-300);
    font-size: 1.2rem;
    padding: 0 8px;
}

/* ====== ALREADY HAVE CARD ====== */
.already-card-section {
    padding: 28px 0;
    background: #0d1a0f;
}

.already-card-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #111e13;
    border: 1.5px solid #22c55e33;
    border-radius: 18px;
    padding: 28px 36px;
    box-shadow: 0 4px 28px rgba(34, 197, 94, 0.08);
}

.already-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.already-card-text {
    flex: 1;
}

.already-card-text h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f0fdf4;
}

.already-card-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #86efac;
    line-height: 1.5;
}

.btn-already-card {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #0b1f13;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.btn-already-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.5);
    color: #0b1f13;
}

@media (max-width: 768px) {
    .already-card-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .btn-already-card {
        width: 100%;
        justify-content: center;
    }
}

/* ====== HIGHLIGHTS ====== */
.offer-highlights {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.highlight-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.highlight-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(34, 34, 34, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.highlight-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ====== COMPARISON ====== */
.comparison-section {
    background: var(--white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--gray-700);
}

.comparison-table thead th {
    background: #f8f9fb;
    font-weight: 700;
    color: var(--dark);
}

.comparison-table .col-primary {
    background: rgba(212, 160, 60, 0.1);
    color: var(--dark);
    font-weight: 700;
    text-align: center;
}

.comparison-table td.col-primary {
    font-size: 1rem;
}

.comparison-table i {
    color: #16a34a;
}

.comparison-table td:last-child i {
    color: #dc2626;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ====== CARD OFFERS ====== */
.card-offers {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.yespop-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 26px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.yespop-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: stretch;
}

.yespop-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.yespop-image-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yespop-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #d1fae5;
    background: linear-gradient(135deg, #0f3d22, #1d7a3e);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
}

.yespop-image-frame {
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.yespop-image-shell {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(30, 30, 30, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.yespop-image-shell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
}

.yespop-bank-overlay {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    min-width: 150px;
}

.yespop-bank-overlay img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.yespop-left-note {
    display: grid;
    gap: 8px;
    background: #f8faf9;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px;
}

.yespop-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f5132;
    font-weight: 700;
    font-size: 0.85rem;
}

.yespop-left-note p {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.yespop-card-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.6;
}

.yespop-middle {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.yespop-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.yespop-title-row h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
}

.yespop-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #effdf4;
    color: #0f5132;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.yespop-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.yespop-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    background: #f8faf9;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 16px;
}

.yespop-meta-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.yespop-meta-card .meta-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.yespop-meta-card span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gray-400);
    margin-bottom: 4px;
    font-weight: 700;
}

.yespop-meta-card strong {
    font-size: 0.85rem;
    color: var(--dark);
}

.yespop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.yespop-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background-image:
        linear-gradient(135deg, #ffffff 0%, #f5f7f9 100%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0 1px, transparent 1px 6px);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    min-height: 40px;
    text-transform: capitalize;
    text-align: center;
    line-height: 1.2;
    flex: 0 1 calc(50% - 6px);
    white-space: normal;
}

.yespop-chip i {
    color: #16a34a;
    flex-shrink: 0;
}

.yespop-apply {
    background: linear-gradient(180deg, #0f3d22 0%, #0a2b18 100%);
    border-radius: 22px;
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 24px 50px rgba(15, 61, 34, 0.35);
    height: 100%;
    align-self: stretch;
    justify-content: space-between;
}

.yespop-apply-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yespop-apply-head .apply-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.yespop-apply .apply-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.yespop-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 12px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4ade80;
    letter-spacing: -0.3px;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yespop-apply-btn {
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0b1f13;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    min-height: 48px;
}

.yespop-apply-btn:hover {
    background: linear-gradient(135deg, #34d399, #22c55e);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(34, 197, 94, 0.45);
}

.apply-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 4px 0;
}

.apply-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: #4ade80;
    font-size: 0.95rem;
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
}

.apply-btn-locked {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

.apply-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 10px 0 0;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.45;
    user-select: none;
}

.apply-agree-checkbox {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #22c55e;
    cursor: pointer;
}

.apply-agree-label span a {
    color: var(--dark);
    text-decoration: underline;
    font-weight: 600;
}

.apply-agree-label span a:hover {
    color: #22c55e;
}

@keyframes apply-agree-shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-5px); }
    40%       { transform: translateX(5px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.apply-agree-shake {
    animation: apply-agree-shake 0.4s ease;
    color: #ef4444 !important;
}

.apply-tnc {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    font-size: 0.65rem;
    color: var(--gray-600);
    text-align: center;
    opacity: 0.7;
    line-height: 1.3;
}

.apply-safe {
    background: rgba(76, 222, 128, 0.12);
    border: 1px solid rgba(76, 222, 128, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}

.apply-safe i {
    color: #4ade80;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.yespop-why {
    margin-top: 32px;
    background: #f4fbf6;
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.yespop-why-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0f5132;
    font-weight: 700;
    font-size: 1rem;
    flex-wrap: wrap;
}

.yespop-why-items {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
    justify-content: center;
}

.yespop-why-items span {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.2);
    white-space: nowrap;
}

.single-card-skeleton {
    height: 520px;
    border-radius: 26px;
    background: #f1f1f1;
    border: 1px solid #ececec;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.single-card-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shimmer 1.5s infinite;
}

.bank-tabs-wrapper {
    margin-bottom: 28px;
}

.bank-tabs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.bank-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    min-height: 54px;
}

.bank-tab img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(10%);
}

.bank-tab .bank-initials {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
}

.bank-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.bank-tab.active {
    background: linear-gradient(135deg, rgba(212, 160, 60, 0.2), rgba(212, 160, 60, 0.08));
    border-color: rgba(212, 160, 60, 0.5);
    color: var(--dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.credit-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.credit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.credit-card.lifetime-free {
    border-color: rgba(212, 160, 60, 0.6);
    box-shadow: 0 16px 40px rgba(212, 160, 60, 0.15);
}

.credit-card.lifetime-free::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    border: 1px solid rgba(212, 160, 60, 0.6);
    pointer-events: none;
}

.lifetime-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(212, 160, 60, 0.4);
}

.card-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid var(--gray-200);
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.credit-card:hover .card-image img {
    transform: scale(1.03);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
}

.card-bank {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
}

.card-description {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    background: #fafafa;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 12px;
}

.meta-item span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.meta-item strong {
    font-size: 0.85rem;
    color: var(--dark);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.benefits-list i {
    color: #16a34a;
}

.card-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card-apply {
    width: 100%;
}

.card-apply.is-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.cards-state {
    text-align: center;
    padding: 40px 24px;
    border: 1px dashed var(--gray-300);
    border-radius: 18px;
    background: #fff;
    margin-bottom: 28px;
}

.cards-state h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.cards-state p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.state-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(34, 34, 34, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.no-js-warning {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 600;
    text-align: center;
}

/* Skeletons */
.bank-tab.skeleton,
.skeleton-card {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    border: 1px solid #ececec;
}

.bank-tab.skeleton {
    width: 160px;
}

.skeleton-card {
    height: 420px;
    border-radius: 20px;
}

.bank-tab.skeleton::after,
.skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ====== CATEGORY CARDS (PREMIUM & BASIC) ====== */
.category-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
}

.cat-card {
    border-radius: 24px;
    overflow: hidden;
}

.cat-premium {
    background: linear-gradient(145deg, #fffcf0 0%, #fdf6e0 100%);
    border: 1px solid rgba(212, 160, 60, 0.32);
    box-shadow: 0 24px 64px rgba(212, 160, 60, 0.1), 0 0 0 1px rgba(212, 160, 60, 0.06);
}

.cat-basic {
    background: #fff;
    border: 1px solid rgba(22, 163, 74, 0.22);
    box-shadow: 0 24px 64px rgba(22, 163, 74, 0.08);
}

/* ---- Header ---- */
.cat-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
}

.cat-premium .cat-header {
    border-bottom: 1px solid rgba(212, 160, 60, 0.22);
    background: linear-gradient(135deg, #fff8e6 0%, #fdf2cc 100%);
}

.cat-basic .cat-header {
    border-bottom: 1px solid rgba(22, 163, 74, 0.14);
    background: linear-gradient(135deg, #f0fdf4 0%, #fafffe 100%);
}

.cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cat-icon-premium {
    background: linear-gradient(135deg, #d4a03c, #f6d365);
    color: #1a1208;
    box-shadow: 0 8px 24px rgba(212, 160, 60, 0.38);
}

.cat-icon-basic {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.32);
}

.cat-header-info {
    flex: 1;
    min-width: 0;
}

.cat-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cat-title-row h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.cat-premium .cat-title-row h2 { color: var(--dark); }
.cat-basic .cat-title-row h2 { color: var(--dark); }

.cat-badge {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.cat-badge-premium {
    background: rgba(212, 160, 60, 0.14);
    color: #d4a03c;
    border: 1px solid rgba(212, 160, 60, 0.32);
}

.cat-badge-basic {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.28);
}

.cat-eligibility {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-eligibility span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
}

.cat-premium .cat-eligibility span { color: var(--gray-600); }
.cat-basic .cat-eligibility span { color: var(--gray-600); }

.cat-eligibility i { color: #d4a03c; }
.cat-basic .cat-eligibility i { color: #16a34a; }

/* ---- Body ---- */
.cat-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 28px 32px;
}

.cat-cards-section {
    padding-right: 28px;
}

.cat-premium .cat-cards-section {
    border-right: 1px solid rgba(212, 160, 60, 0.22);
}

.cat-basic .cat-cards-section {
    border-right: 1px solid rgba(22, 163, 74, 0.14);
}

.cat-benefits-section {
    padding-left: 28px;
}

.cat-section-label {
    font-size: 0.71rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cat-premium .cat-section-label { color: rgba(212, 160, 60, 0.72); }
.cat-basic .cat-section-label { color: #16a34a; }

.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-chips span {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: default;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cat-premium .cat-chips span {
    background: rgba(212, 160, 60, 0.1);
    color: #7a5a10;
    border: 1px solid rgba(212, 160, 60, 0.3);
}

.cat-premium .cat-chips span:hover {
    background: rgba(212, 160, 60, 0.22);
    border-color: rgba(212, 160, 60, 0.55);
    color: #5a3e08;
}

.cat-basic .cat-chips span {
    background: rgba(22, 163, 74, 0.06);
    color: var(--dark);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.cat-basic .cat-chips span:hover {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(22, 163, 74, 0.4);
}

.cat-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.cat-benefits-grid li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.87rem;
    font-weight: 500;
}

.cat-premium .cat-benefits-grid li { color: var(--gray-600); }
.cat-basic .cat-benefits-grid li { color: var(--gray-600); }

.cat-benefits-grid i {
    color: #4ade80;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* ---- Footer ---- */
.cat-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    flex-wrap: wrap;
}

.cat-premium .cat-footer { border-top: 1px solid rgba(212, 160, 60, 0.22); }
.cat-basic .cat-footer { border-top: 1px solid rgba(22, 163, 74, 0.14); }

.cat-free-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cat-premium .cat-free-tag { color: rgba(212, 160, 60, 0.82); }
.cat-basic .cat-free-tag { color: #16a34a; }

/* ====== CALLBACK ====== */
.callback-section {
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.callback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.callback-content .section-tag {
    margin-bottom: 18px;
}

.callback-points {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.callback-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 600;
}

.callback-point i {
    color: #16a34a;
}

.callback-form {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.form-status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-status.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #86efac;
}

.form-status.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-status.loading {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.form-group.is-invalid input,
.form-group.is-invalid textarea,
.form-group.is-invalid select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #dc2626;
    min-height: 16px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 12px;
}

/* ====== DISCLAIMER ====== */
.disclaimer-section {
    background: #fff;
    padding: 40px 0 80px;
}

.disclaimer-card {
    background: #111111;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    padding: 20px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
}

.disclaimer-card i {
    color: #ffd700;
    margin-top: 3px;
}

.disclaimer-card p {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ====== RESPONSIVE ====== */

/* ---- 1100px: collapse side-by-sides ---- */
@media (max-width: 1100px) {
    .highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .yespop-grid {
        grid-template-columns: 1fr;
    }
    .callback-grid {
        grid-template-columns: 1fr;
    }
    /* category body splits to 1-col */
    .cat-body {
        grid-template-columns: 1fr;
    }
    .cat-cards-section {
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .cat-premium .cat-cards-section {
        border-right: none;
        border-bottom: 1px solid rgba(212, 160, 60, 0.22);
    }
    .cat-basic .cat-cards-section {
        border-right: none;
        border-bottom: 1px solid rgba(22, 163, 74, 0.14);
    }
    .cat-benefits-section {
        padding-left: 0;
    }
}

/* ---- 900px ---- */
@media (max-width: 900px) {
    .offer-hero h1 {
        font-size: 2.6rem;
    }
    .process-cards {
        flex-wrap: wrap;
        gap: 16px;
    }
    .process-connector {
        display: none;
    }
    .process-card {
        flex: 1 1 calc(50% - 16px);
        max-width: none;
    }
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yespop-meta-grid {
        grid-template-columns: 1fr;
    }
    .yespop-image-frame {
        max-width: 240px;
    }
    .cat-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- 768px: mobile ---- */
@media (max-width: 768px) {
    /* Hero */
    .offer-hero {
        padding: 110px 0 70px;
        min-height: auto;
    }
    .offer-hero-inner {
        max-width: 100%;
        text-align: center;
    }
    .offer-highlight-list {
        grid-template-columns: 1fr 1fr;
    }
    .offer-highlight-list li {
        justify-content: center;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .hero-cta-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .offer-hero .btn-hero-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-gift-badge {
        justify-content: center;
    }

    /* Mobile video — full-cover dark background with low opacity */
    .airpods-bg-video {
        width: 120%;
        right: -10%;
        top: 65%;
        opacity: 0.22;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 8%, black 78%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 8%, black 78%, transparent 100%);
    }

    /* Process */
    .process-card {
        flex: 1 1 100%;
    }

    /* Highlights */
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Card offers */
    .yespop-card {
        padding: 20px;
    }
    .yespop-why {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .yespop-chips {
        gap: 8px;
    }
    .yespop-chip {
        flex: 1 1 calc(50% - 4px);
        font-size: 0.72rem;
    }
    .yespop-bank-overlay {
        font-size: 0.78rem;
    }
    .yespop-quick-stats {
        gap: 8px;
        padding: 12px 8px;
    }
    .stat-value {
        font-size: 0.95rem;
    }
    .stat-label {
        font-size: 0.62rem;
    }
    .apply-features {
        gap: 8px;
    }
    .feature-item {
        font-size: 0.78rem;
        padding: 6px 0;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }

    /* Category */
    .cat-header {
        padding: 20px 20px;
        gap: 16px;
    }
    .cat-body {
        padding: 20px 20px;
    }
    .cat-footer {
        padding: 16px 20px;
        gap: 14px;
    }
    .cat-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Comparison table */
    .comparison-table-wrapper {
        border-radius: 14px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    /* Callback */
    .callback-form {
        padding: 24px 20px;
    }
}

/* ---- 560px: small phones ---- */
@media (max-width: 560px) {
    .offer-hero h1 {
        font-size: 2rem;
    }
    .offer-highlight-list {
        grid-template-columns: 1fr;
    }
    .offer-highlight-list li {
        justify-content: center;
    }
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    .process-card {
        flex: 1 1 100%;
    }

    /* Card offers */
    .yespop-chips {
        flex-direction: column;
    }
    .yespop-chip {
        flex: 1 1 auto;
        width: 100%;
    }
    .yespop-image-frame {
        max-width: 220px;
    }
    .yespop-bank-overlay {
        bottom: -14px;
    }

    /* Category */
    .cat-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 14px;
    }
    .cat-title-row h2 {
        font-size: 1.25rem;
    }
    .cat-eligibility {
        flex-direction: column;
        gap: 6px;
    }
    .cat-benefits-grid {
        grid-template-columns: 1fr;
    }
    .cat-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .cat-footer .btn-hero-primary {
        width: 100%;
        justify-content: center;
    }

    /* Comparison table */
    .comparison-table th,
    .comparison-table td {
        padding: 10px 10px;
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
