:root {
    /* Updated exact colors to match uploaded image */
    --target-red: #D41C29; 
    --target-red-dark: #B01722;
    
    --text-black: #0F172A;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --border-color: #E2E8F0;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FFFFFF;
    color: var(--text-black);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 16px 12px 32px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    transform: translateZ(0);
    overflow-x: hidden;
}

/* Staggered Entrance Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.7s var(--ease-spring) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Breathing effect for Hero Card */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Top Pill Badge - Smooth Live Feed */
.top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    will-change: transform;
    transition: transform 0.3s var(--ease-spring);
    max-width: 100%;
    overflow: hidden;
}

.badge-icon {
    color: #10B981;
    font-size: 13px;
    flex-shrink: 0;
}

.badge-text {
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 270px;
}

.badge-text.fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.brand-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--target-red);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    line-height: 1.05;
}

.subheadline {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.01em;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
    animation: float 6s ease-in-out infinite 1s; /* breathing effect */
}

.hero-image-wrapper:active {
    animation: none;
    transform: scale(0.99) translateZ(0);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 36px -8px rgba(212, 28, 41, 0.38);
    display: block;
    margin-bottom: 12px;
}



/* Buttons */
.btn {
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.btn:active {
    transform: scale(0.96) translateZ(0);
}

.btn .btn-arrow {
    transition: transform 0.2s var(--ease-spring);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}


.btn-black {
    background-color: #000000;
    color: #FFFFFF;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3);
}

.btn-red {
    background-color: var(--target-red);
    color: #FFFFFF;
    box-shadow: 0 10px 28px -4px rgba(212, 28, 41, 0.38);
    margin-top: 24px;
    margin-bottom: 32px;
}

/* Social Proof */
.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 36px;
}

.social-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
    text-align: center;
    font-weight: 500;
}

.check-icon {
    color: #10B981;
    font-size: 14px;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.stars {
    color: #FBBF24;
    font-size: 14px;
    display: flex;
    gap: 2px;
}

.star-anim {
    animation: star-pop 0.6s var(--ease-spring) backwards;
    animation-delay: calc(0.5s + var(--star-delay));
}

@keyframes star-pop {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.rating-val {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

/* Section Headings */
.section-heading {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    width: 100%;
}

/* How It Works */
.how-it-works {
    width: 100%;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateZ(0);
    transition: transform 0.2s var(--ease-spring);
}

.step-item:active {
    transform: scale(0.98) translateZ(0);
}

.pop-on-hover {
    transition: transform 0.3s var(--ease-spring);
}
.step-item:hover .pop-on-hover {
    transform: scale(1.1) rotate(-5deg);
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.icon-box-1 {
    background-color: #F1F5F9;
    color: #334155;
}

.icon-box-2 {
    background-color: #DCFCE7;
    color: #16A34A;
}

.icon-box-3 {
    background-color: #FFEDD5;
    color: #EA580C;
}

.step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
}

.step-content p {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

/* FAQ Ultra-Smooth Grid Transition */
.faq {
    width: 100%;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background-color: #FFFFFF;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: border-color, box-shadow;
}

.accordion-item.open {
    border-color: #CBD5E1;
    box-shadow: 0 6px 16px -4px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 18px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    text-align: left;
    cursor: pointer;
}

.toggle-icon {
    font-size: 14px;
    color: #64748B;
    will-change: transform;
    transition: transform 0.3s var(--ease-spring);
}

.accordion-item.open .toggle-icon {
    transform: rotate(180deg);
}

.accordion-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: grid-template-rows;
}

.accordion-item.open .accordion-wrapper {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
}

.accordion-inner p {
    padding: 0 18px 18px;
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    font-weight: 500;
}

/* Confetti particles */
.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--target-red);
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    animation: scatter 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes scatter {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(1.5); opacity: 0; }
}

/* Secure Footer */
.secure-footer {
    text-align: center;
    padding: 24px 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.secure-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
    color: #4CAF50;
    font-size: 0.85rem;
    font-weight: 600;
}

.secure-badges i {
    margin-right: 4px;
}

.copyright {
    color: #64748B;
    font-size: 0.75rem;
}
