/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff4458;
    --primary-dark: #e63946;
    --secondary: #ff6b6b;
    --accent: #ffd93d;
    --success: #4caf50;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #ff4458 0%, #ff6b6b 100%);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-strong: 0 20px 60px rgba(255, 68, 88, 0.3);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background: linear-gradient(135deg, #c31432 0%, #240b36 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(220,20,60,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}

/* Background gradient - animated */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #e74c3c, #c0392b, #8b0000, #5a0a0a, #800020, #722f37, #e74c3c);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.5;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container - centered and compact */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

/* Status badge - smaller and subtle */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Hero section - clean and focused */
.hero {
    margin-bottom: 40px;
}

.title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 30px;
}

/* CTA Button - the main focus */
.cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 70px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    min-width: 300px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s;
}

.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(255, 68, 88, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-text {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.cta-subtext {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Pulse animation for CTA */
.pulse-strong {
    animation: pulseStrong 1.5s infinite;
}

@keyframes pulseStrong {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 88, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(255, 68, 88, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 88, 0);
    }
}

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


/* Testimonial - compact single line */
.testimonial-single {
    margin-top: 50px;
    margin-bottom: 30px;
}

.testimonial-compact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.testimonial-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.rating {
    color: var(--accent);
    font-size: 14px;
    margin-left: auto;
}

/* Activity ticker - minimal */
.activity-ticker {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Modal - simplified */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    max-width: 350px;
    width: 90%;
    animation: modalSlide 0.3s;
}

.modal-content h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn.confirm {
    background: var(--gradient-main);
    color: white;
    flex: 1;
}

.modal-btn.cancel {
    background: #f0f0f0;
    color: var(--text-dark);
}

.modal-btn:hover {
    transform: scale(1.05);
}

/* Loader - minimal */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 25px 20px;
        margin: 15px;
        border-radius: 25px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 20px 50px;
        min-width: 260px;
    }

    .cta-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
        margin: 10px;
        border-radius: 20px;
    }

    .title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 18px 40px;
        min-width: 240px;
    }

    .cta-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .testimonial-compact {
        padding: 10px 15px;
    }

    .modal-content {
        padding: 25px 20px;
    }
}

/* Hover effects disabled on touch devices */
@media (hover: none) {
    .cta-button:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gradient {
        opacity: 0;
    }

    .cta-button {
        border: 2px solid var(--primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}