/* V4 Exact Match Reference Style */

:root {
    /* Color Palette */
    --bg-main: #fcfdfe;
    /* Very clean almost white background */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;

    /* V4 Specific Blues */
    --blue-accent: #0ea5e9;
    /* Sky blue */
    --blue-dark: #0284c7;
    /* Stronger blue for highlights/buttons */
    --card-bg: #f8fafc;
    --card-border: #e2e8f0;
    --pill-bg: #e0f2fe;

    /* Typography */
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    --radius-pill: 999px;
    --radius-card: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-stack);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Main Layout */
.container {
    width: 100%;
    max-width: 800px;
    /* Slightly wider to match reference */
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Profile Section (Matches reference closely) */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.5rem;
}

.avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 0.85rem;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--pill-bg);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
}

.creator-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--pill-bg);
    color: var(--blue-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Headline */
.headline-section {
    text-align: center;
    margin-bottom: 1rem;
}

.headline-section h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.highlight-blue {
    color: var(--blue-accent);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Features List (Wide Horizontal Cards) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #bae6fd;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--blue-dark);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.feature-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive adjustment for feature text */
@media (max-width: 500px) {
    .feature-text {
        flex-direction: column;
        gap: 0.1rem;
    }
}

/* Call to Action */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-card);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    transition: filter 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    animation: hypnoticPulse 2.5s infinite ease-in-out;
}

.primary-btn:hover {
    filter: brightness(1.15);
}

@keyframes hypnoticPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7), 0 8px 25px rgba(14, 165, 233, 0.5);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px 15px rgba(14, 165, 233, 0.2), 0 15px 40px rgba(2, 132, 199, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0), 0 8px 25px rgba(14, 165, 233, 0.5);
    }
}

/* Subtle Shimmer for High Conversion */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 200%;
    }
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Dynamic Scarcity Timer Banner */
.scarcity-banner {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.scarcity-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.scarcity-text {
    flex-grow: 1;
}

.timer {
    background: #e2e8f0;
    color: var(--text-dark);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Social Proof Footer */
.social-proof {
    text-align: center;
    font-size: 0.85rem;
    padding-bottom: 2rem;
}

.live-join {
    color: var(--blue-accent);
    margin-bottom: 0.5rem;
}

.live-join strong {
    color: var(--blue-dark);
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stars i {
    color: #f59e0b;
}