/* Base Styles & Variables */
:root {
    --primary-color: #2563EB;
    /* Trustworthy Blue */
    --primary-hover: #1D4ED8;
    --secondary-color: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --accent-red: #EF4444;
    --accent-green: #10B981;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #CBD5E1;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover:not(.btn) {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #EFF6FF;
    color: var(--primary-color);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-form {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    max-width: 500px;
}

.input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 40px;
}

.trust-indicators {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.trust-indicators p {
    font-size: 0.875rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.roles {
    display: flex;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
}

/* Mockup CSS */
.app-mockup {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background-color: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
}

.dots span:nth-child(1) {
    background-color: #EF4444;
}

.dots span:nth-child(2) {
    background-color: #F59E0B;
}

.dots span:nth-child(3) {
    background-color: #10B981;
}

.url-bar {
    background-color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.mockup-body {
    padding: 32px;
    background-color: #FAFAFA;
}

.mockup-scanner {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mockup-scanner h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: #334155;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 99px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 65%;
    animation: loading 2s ease-in-out infinite alternate;
}

@keyframes loading {
    0% {
        width: 30%;
    }

    100% {
        width: 65%;
    }
}

.match-result {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.score {
    display: flex;
    flex-direction: column;
}

.score-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.missing-keywords h4 {
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.keyword {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.keyword.red {
    background-color: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

.keyword.green {
    background-color: #D1FAE5;
    color: #047857;
    border: 1px solid #6EE7B7;
}

/* Sections General */
.bg-light {
    background-color: var(--bg-light);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.card {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.card-pain .card-icon {
    color: var(--accent-red);
}

.card-solution .card-icon {
    color: var(--primary-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.feature-list li i {
    margin-top: 4px;
    font-weight: bold;
}

.card-pain .feature-list li i {
    color: var(--accent-red);
}

.card-solution .feature-list li i {
    color: var(--primary-color);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: #DBEAFE;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* CTA Section */
.cta-section {
    background-color: var(--text-main);
    color: white;
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
}

.cta-box p {
    color: #94A3B8;
    margin-bottom: 40px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.cta-form input {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.spots-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem !important;
    color: #CBD5E1 !important;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #CBD5E1;
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.disclaimer-text {
    font-size: 0.75rem !important;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-form {
        margin: 0 auto 16px;
        flex-direction: column;
    }

    .roles {
        justify-content: center;
    }

    .app-mockup {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    /* Simplified for mobile MVP */
}

/* Testimonials / Reddit Style Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.reddit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.reddit-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.reddit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.reddit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.reddit-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.bg-orange {
    background-color: #ff4500;
}

.bg-blue {
    background-color: #0079d3;
}

.bg-green {
    background-color: #24a0ed;
}

.reddit-meta {
    font-size: 0.85rem;
}

.reddit-user {
    font-weight: 600;
    color: var(--color-text);
}

.reddit-time {
    color: var(--color-text-light);
}

.reddit-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for stagger effect */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Step Illustrations CSS */
.step-illustration {
    width: 100%;
    height: 180px;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* Step 1: Cursor Clicking Extension */
.step-1-anim .browser-mockup {
    width: 80%;
    height: 120px;
    background: white;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-1-anim .browser-top {
    height: 24px;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
}

.step-1-anim .dot {
    width: 6px;
    height: 6px;
    background: #CBD5E1;
    border-radius: 50%;
}

.step-1-anim .ext-icon {
    margin-left: auto;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.step-1-anim .cursor {
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-main);
    z-index: 10;
    animation: moveCursor 3s infinite;
}

.step-1-anim .ripple {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.5);
    opacity: 0;
    animation: clickRipple 3s infinite;
}

@keyframes moveCursor {

    0%,
    10% {
        transform: translate(0, 0);
    }

    40%,
    60% {
        transform: translate(-10px, -110px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes clickRipple {

    0%,
    45% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }

    60%,
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Step 2: Scanner Reading Document */
.step-2-anim .doc {
    width: 70%;
    height: 130px;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-2-anim .line {
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    width: 100%;
}

.step-2-anim .line.short {
    width: 60%;
}

.step-2-anim .line.highlight {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.step-2-anim .line.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: shineLine 3s infinite 1.5s;
}

.step-2-anim .scanner-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    top: 5px;
    opacity: 0.8;
    animation: scanDoc 3s infinite ease-in-out;
    z-index: 5;
}

@keyframes scanDoc {

    0%,
    10% {
        top: 5px;
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        top: 110px;
        opacity: 0.8;
    }

    90%,
    100% {
        top: 110px;
        opacity: 0;
    }
}

@keyframes shineLine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Step 3: Match Score Increasing */
.step-3-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.step-3-anim .score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-main);
    position: relative;
}

.step-3-anim .score-circle::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top-color: var(--accent-green);
    border-right-color: var(--accent-green);
    transform: rotate(-45deg);
    opacity: 0;
    animation: fillScoreRing 3s infinite;
}

.step-3-anim .score-text {
    animation: countScore 3s infinite;
}

.step-3-anim .tag-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.step-3-anim .tag {
    background: var(--bg-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transform: translateX(20px);
    opacity: 0;
}

.step-3-anim .tag-1 {
    animation: slideTag 3s infinite 0.5s;
}

.step-3-anim .tag-2 {
    animation: slideTag 3s infinite 1.0s;
}

@keyframes fillScoreRing {

    0%,
    30% {
        opacity: 0;
        transform: rotate(-45deg);
    }

    50%,
    80% {
        opacity: 1;
        transform: rotate(135deg);
    }

    90%,
    100% {
        opacity: 0;
        transform: rotate(135deg);
    }
}

@keyframes countScore {

    0%,
    30% {
        color: var(--accent-red);
        content: "45%";
    }

    50%,
    80% {
        color: var(--accent-green);
        content: "100%";
    }

    100% {
        color: var(--accent-red);
    }
}

@keyframes slideTag {

    0%,
    20% {
        opacity: 0;
        transform: translateX(20px);
        background: var(--bg-white);
        color: var(--text-muted);
    }

    30%,
    80% {
        opacity: 1;
        transform: translateX(0);
        background: #D1FAE5;
        color: #047857;
        border-color: #6EE7B7;
    }

    90%,
    100% {
        opacity: 0;
        transform: translateX(0);
    }
}


/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 16px;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 16px;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0.45;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    opacity: 0.85;
    background: var(--bg-light);
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

/* ============================================================
   Responsive Design
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-form {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .comparison-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reddit-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header {
        padding: 16px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav a:not(.btn) {
        font-size: 0.875rem;
    }

    .lang-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-form {
        flex-direction: column;
    }

    .hero-form .input-group,
    .hero-form .btn {
        width: 100%;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input,
    .cta-form button {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 1.65rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .step-illustration {
        height: 140px;
    }
}
/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInOverlay 0.3s ease-out;
}
.exit-popup-overlay.active {
    display: flex;
}
.exit-popup-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUpPopup 0.4s ease-out;
}
.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exit-popup-close:hover {
    background: var(--bg-light);
    color: var(--text-main);
}
.exit-popup-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
}
.exit-popup-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.exit-popup-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}
.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.exit-popup-form input {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    outline: none;
    transition: var(--transition);
}
.exit-popup-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.exit-popup-note {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
    margin-top: 8px;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUpPopup {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .exit-popup-card {
        padding: 32px 24px;
    }
    .exit-popup-card h2 {
        font-size: 1.25rem;
    }
}
