/* 
 * Landing Page System Styles
 * High Converting CPA Structure
 */

:root {
    --primary: #ff6b35;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.orb-1 { width: 600px; height: 600px; background: var(--secondary); opacity: 0.15; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--accent); opacity: 0.12; top: 10%; right: -50px; filter: blur(60px); }
.orb-3 { width: 500px; height: 500px; background: var(--primary); opacity: 0.10; bottom: -100px; left: 50%; transform: translateX(-50%); }

/* Typography */
h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.2; }
h2 { font-size: 1.875rem; font-weight: 800; line-height: 1.3; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
p { font-size: 1rem; font-weight: 400; line-height: 1.6; }
small { font-size: 0.875rem; font-weight: 500; }

/* scroll reveal */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, var(--bg-dark) 100%);
    animation: fadeInUp 0.8s ease;
    z-index: 10;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero p.desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Hero Inline Email Form */
.hero-email-wrap {
    max-width: 520px;
    width: 100%;
    margin-bottom: 2rem;
}
.hero-email-form { width: 100%; }
.hero-form-row {
    display: flex;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(124, 58, 237, 0.4);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s;
}
.hero-form-row:focus-within {
    border-color: rgba(124, 58, 237, 0.7);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.hero-email-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    min-width: 0;
}
.hero-email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.hero-email-btn {
    padding: 16px 28px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}
.hero-email-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
}
.hero-email-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.hero-form-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
    line-height: 1.5;
}
@media (max-width: 520px) {
    .hero-form-row {
        flex-direction: column;
        border-radius: 12px;
    }
    .hero-email-btn {
        border-radius: 0 0 10px 10px;
        padding: 14px 20px;
    }
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trust-badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #e85520 100%);
    color: #fff;
    border: none;
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    transform: perspective(500px) translateZ(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulseGlow 2.5s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    transform: perspective(500px) translateZ(20px) scale(1.05);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

/* =========================================
   SOCIAL PROOF TICKER
========================================= */
.ticker-wrap {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0 20px;
}

.ticker-sep {
    color: rgba(255,255,255,0.3);
    padding: 0 10px;
}

/* =========================================
   OFFERS SECTION
========================================= */
.offers-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offers-section h2 {
    text-align: center;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ==========================================
   OFFER CARD - Full-Image Overlay Design
   ========================================== */

.offer-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

/* IMAGE CARD: Full-image with text overlay */
.offer-card--image {
    height: 620px;
    min-height: 620px;
    position: relative;
    background: #000;
}

/* TEXT CARD: Traditional layout */
.offer-card--text {
    height: auto;
    min-height: 180px;
}

.offer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.5);
}

.offer-card.priority {
    border: 2px solid var(--primary);
    animation: shimmerBorder 3s infinite;
}

/* ========================================
   IMAGE CARD - Full-Image Components
   ======================================== */

/* Image fills entire card */
.offer-card--image .offer-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Top badges: Category left, Featured right */
.offer-top-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    pointer-events: none;
}

.offer-top-badges__left,
.offer-top-badges__right {
    display: flex;
}

/* Bottom content overlay with subtle gradient */
.offer-bottom-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px 18px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        transparent 100%
    );
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Content text with text shadow */
.offer-content-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.offer-content-region {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.offer-content-devices {
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Badges */
.offer-badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    display: inline-block;
    pointer-events: auto;
}

.offer-pop-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: inline-block;
    pointer-events: auto;
}

/* ========================================
   TEXT CARD - Traditional Components
   ======================================== */

.offer-card--text .offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.offer-card--text .offer-pop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.offer-content {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    flex: 1;
}

.offer-content h3 {
    margin: 0;
}

.offer-meta {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.offer-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.offer-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.offer-card:hover .offer-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}


/* =========================================
   HOW IT WORKS
========================================= */
.hiw-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hiw-grid {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.hiw-line {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    border-top: 2px dashed rgba(255,255,255,0.2);
    z-index: 0;
}

.hiw-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.hiw-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hiw-step h3 {
    margin-bottom: 0.5rem;
}

.hiw-step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* =========================================
   TESTIMONIALS
========================================= */
.testimonials-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.test-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.test-stars {
    color: var(--warning);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.test-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.test-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.test-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}


/* =========================================
   URGENCY BAR
========================================= */
.urgency-section {
    text-align: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #1a0533, #0a1628);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    margin: 3rem 0;
}

.urgency-title {
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-boxes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-num {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 12px;
    padding: 20px 25px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    min-width: 90px;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 600;
}

.spots-left {
    color: var(--warning);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* =========================================
   FOOTER
========================================= */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--primary);
}


/* =========================================
   POPUPS
========================================= */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 
        0 0 0 1px rgba(124, 58, 237, 0.2),
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(124, 58, 237, 0.15);
    text-align: center;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover {
    color: #fff;
}

.popup-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    animation: bounce 1.5s infinite;
}

.popup-box h3 {
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.popup-input {
    width: 100%;
    height: 56px;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    padding: 0 20px;
    margin-bottom: 14px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.popup-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
    background: rgba(124, 58, 237, 0.08);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-bottom: 14px;
    display: none;
    text-align: left;
}

.popup-submit {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.popup-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
}

.popup-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.popup-social {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.popup-disclaimer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.exit-popup.active {
    display: flex;
}
.exit-popup-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(245, 158, 11, 0.2),
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(245, 158, 11, 0.15);
    text-align: center;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.exit-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.exit-close:hover {
    color: #fff;
}
.exit-popup-box h2 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.exit-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--warning) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}
.exit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
}

/* Success Popup */
.popup-success {
    display: none;
}

.check-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
}

.success-svg {
    width: 100%;
    height: 100%;
    stroke: var(--success);
    stroke-width: 4;
    fill: none;
}

.success-svg circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-svg path {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}


/* Fake Notification */
.fake-notif {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    display: none;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 998;
    max-width: 280px;
    align-items: center;
}

.notif-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notif-text {
    display: flex;
    flex-direction: column;
}

.notif-text strong {
    color: #0f172a;
    font-size: 0.9rem;
}

.notif-text span {
    color: #475569;
    font-size: 0.8rem;
}

.notif-text small {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* =========================================
   ANIMATIONS KEYFRAMES
========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.4), 0 20px 60px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 60px rgba(255, 107, 53, 0.8), 0 20px 80px rgba(255, 107, 53, 0.6); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scaleIn {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes scaleOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.8); opacity: 0; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-110%); opacity: 0; }
}

@keyframes drawStroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes shimmerBorder {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 768px) {
    .offer-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2rem; }
    .timer-num { font-size: 2rem; padding: 15px 20px; min-width: 60px; }
}

@media (max-width: 640px) {
    .offer-grid, .test-grid { grid-template-columns: 1fr; }
    .hiw-grid { flex-direction: column; gap: 3rem; }
    .hiw-line { display: none; }
    .hero h1 { font-size: 1.875rem; }
    .popup-box { max-width: 100%; width: calc(100% - 20px); padding: 30px 20px; max-height: 90vh; overflow-y: auto; }
    .fake-notif { left: 1rem; right: 1rem; max-width: calc(100vw - 2rem); bottom: 1rem; }
}
