/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #0f172a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Moving Floating Orbs */
.animated-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 { width: 400px; height: 400px; background: #e11d48; top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: #3b82f6; bottom: -100px; right: 10%; animation-duration: 12s; }
.orb-3 { width: 300px; height: 300px; background: #8b5cf6; top: 30%; left: 40%; animation-duration: 14s; }

/* Main Container - Desktop First */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 1;
    position: relative;
}

/* Left Column Content */
.hero-content {
    flex: 1;
    max-width: 550px;
    animation: slideRightFade 0.8s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.4);
    border-radius: 20px;
    color: #fb7185;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(to right, #fb7185, #ff295c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list .check { margin-right: 12px; font-size: 1.2rem; }
.feature-list strong { color: #ffffff; margin-right: 6px; }

/* Visual Elements */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideLeftFade 1s ease-out forwards;
}

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.profile-card {
    width: 260px; height: 340px; border-radius: 24px;
    position: absolute; padding: 20px;
    display: flex; flex-direction: column; gap: 15px;
}

.card-1 { transform: rotate(-5deg) translateX(-40px); z-index: 2; background: rgba(255, 255, 255, 0.08); }
.card-2 { transform: rotate(10deg) translateX(60px) translateY(40px); z-index: 1; opacity: 0.7; }

.avatar-blur { width: 100%; height: 220px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); }
.line { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.line.short { width: 60%; }
.line.long { width: 90%; }

/* 🔥 CONTINUOUSLY ANIMATED INLINE CTA 🔥 */
.action-section { 
    max-width: 320px; 
    margin-top: 10px;
}

.primary-btn {
    /* Flowing background gradient for shine effect */
    background: linear-gradient(90deg, #ff295c, #ff5a82, #ff295c);
    background-size: 200% auto;
    border: 1px solid #ff5a82; 
    padding: 18px 32px;
    border-radius: 50px;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    
    /* The core continuous animations */
    animation: continuousFloat 3s ease-in-out infinite, continuousShine 3s linear infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.03) !important; /* Force override animation state on hover */
    box-shadow: 0 15px 35px rgba(255, 41, 92, 0.6) !important;
}

.primary-btn:active { transform: translateY(1px) !important; }
.primary-btn .icon { font-size: 1.3rem; transition: transform 0.3s ease; }
.primary-btn:hover .icon { transform: scale(1.1) rotate(-10deg); }

.trust-badge { margin-top: 15px; font-size: 0.85rem; color: #94a3b8; text-align: center; }

/* Continuous Animation Keyframes */
@keyframes continuousFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 6px 20px rgba(255, 41, 92, 0.4); 
    }
    50% { 
        transform: translateY(-4px) scale(1.02); 
        box-shadow: 0 12px 30px rgba(255, 41, 92, 0.55); 
    }
}

@keyframes continuousShine {
    to { background-position: 200% center; }
}

@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 40px); } }
@keyframes slideRightFade { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideLeftFade { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* 🔥 MOBILE REDESIGN (INLINE FLOW) 🔥 */
@media (max-width: 900px) {
    body {
        align-items: flex-start;
    }

    .container {
        flex-direction: column;
        padding: 40px 20px; 
        text-align: center;
        gap: 30px;
    }


    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 { font-size: 2.3rem; }
    .subtitle { font-size: 1rem; }
    
    .feature-list { width: 100%; }
    .feature-list li { text-align: left; font-size: 0.95rem; }

    /* Ensure action section takes full width on mobile */
    .action-section {
        width: 100%;
        max-width: 380px; /* Keep it from stretching too wide on tablets */
        margin-top: 15px;
    }

    .primary-btn {
        padding: 20px 32px;
        font-size: 1.35rem;
    }

    .hero-visual { height: 280px; width: 100%; margin-top: 20px; }
    .profile-card { width: 200px; height: 260px; }
    .card-1 { transform: rotate(-3deg) translateX(-20px); }
    .card-2 { transform: rotate(6deg) translateX(30px) translateY(20px); }
}

/* 🔥 HIGH-VISIBILITY MOVING CTA BUTTON 🔥 */
.action-section { 
    max-width: 320px; 
    margin-top: 10px;
}

.primary-btn {
    /* Solid base gradient */
    background: linear-gradient(135deg, #ff295c, #e11d48);
    border: 1px solid #ff5a82; 
    padding: 18px 32px;
    border-radius: 50px;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden; /* Keeps the sweeping light inside the button */
    
    /* The new energetic moving animation */
    animation: heartbeatBounce 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transition: all 0.3s ease;
}

/* The visible sweeping light reflection */
.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    /* Sweeps across the button every 3 seconds */
    animation: sweepingLight 3s infinite; 
}

/* Pause the moving animation when the user hovers over it to click */
.primary-btn:hover {
    transform: translateY(-4px) scale(1.05) !important; 
    box-shadow: 0 15px 35px rgba(255, 41, 92, 0.7) !important;
    animation: none; /* Stops bouncing so it's easy to click */
}

.primary-btn:active { transform: translateY(1px) !important; }
.primary-btn .icon { font-size: 1.3rem; transition: transform 0.3s ease; }
.primary-btn:hover .icon { transform: scale(1.1) rotate(-10deg); }

/* 🔥 THE NEW KEYFRAMES 🔥 */

/* A double-bounce "heartbeat" that scales and casts a dynamic shadow */
@keyframes heartbeatBounce {
    0% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 6px 15px rgba(255, 41, 92, 0.4); 
    }
    15% { 
        transform: translateY(-8px) scale(1.04); 
        box-shadow: 0 20px 30px rgba(255, 41, 92, 0.6); 
    }
    30% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 6px 15px rgba(255, 41, 92, 0.4); 
    }
    45% { 
        transform: translateY(-4px) scale(1.02); 
        box-shadow: 0 12px 20px rgba(255, 41, 92, 0.5); 
    }
    60%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 6px 15px rgba(255, 41, 92, 0.4); 
    }
}

/* Throws a bright glare across the button */
@keyframes sweepingLight {
    0%, 20% { left: -100%; }
    80%, 100% { left: 200%; }
}

/* Ensure mobile sizing stays sharp */
@media (max-width: 900px) {
    .primary-btn {
        padding: 20px 32px;
        font-size: 1.35rem;
    }
}