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

:root {
    --primary: #0d1421;
    --secondary: #1a2332;
    --accent: #2d3748;
    --accent-light: #4a5568;
    --highlight: #f56565;
    --light: #f7fafc;
    --text: #2d3748;
    --text-light: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.12);
    --gradient-primary: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    --gradient-secondary: linear-gradient(135deg, #ed8936 0%, #f56565 100%);
    --gradient-accent: linear-gradient(135deg, #9f7aea 0%, #667eea 100%);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--accent) 100%
    );
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(13, 20, 33, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

/* Background decorative elements */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.animated-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--accent-light) 0%,
        transparent 70%
    );
    opacity: 0.1;
    filter: blur(30px);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Header styles */
.main-header {
    padding: 30px 25px 25px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--card-border);
    background: rgba(0, 0, 0, 0.3);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Arial Black", Arial, sans-serif;
    font-weight: 900;
    font-size: 34px;
    margin-bottom: 12px;
    letter-spacing: 2.5px;
    text-shadow: 0 0 25px rgba(66, 153, 225, 0.7);
    color: #fff;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-logo::before {
    content: "📊";
    margin-right: 15px;
    font-size: 36px;
    filter: drop-shadow(0 0 15px rgba(66, 153, 225, 0.8));
}

.brand-slogan {
    font-size: 18px;
    font-weight: 600;
    max-width: 450px;
    margin: 0 auto 15px;
    color: var(--accent-light);
    text-shadow: 0 0 15px rgba(83, 52, 131, 0.4);
}

/* User join ticker */
.user-activity-ticker {
    background: rgba(102, 126, 234, 0.2);
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid rgba(102, 126, 234, 0.4);
    overflow: hidden;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-wrapper-content {
    position: absolute;
    left: 0;
    width: 100%;
    transition: transform 0.5s ease;
}

.ticker-item-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.user-name {
    font-weight: 600;
    color: var(--accent-light);
}

.user-counter {
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 25px;
    font-weight: 700;
    animation: countPulse 2s infinite;
}

@keyframes countPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Countdown timer */
.timer-container {
    background: rgba(233, 69, 96, 0.2);
    border-radius: 20px;
    padding: 15px;
    margin: 20px auto;
    max-width: 400px;
    border: 2px solid rgba(233, 69, 96, 0.4);
}

.timer-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #ff6b9c;
    text-align: center;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(233, 69, 96, 0.6);
}

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

.timer-unit {
    background: var(--primary);
    border-radius: 12px;
    padding: 10px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.timer-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--highlight);
}

.timer-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Input section */
.form-section {
    padding: 0 25px 25px;
    text-align: center;
}

.form-title {
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.3;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(66, 153, 225, 0.5);
}

.form-group {
    max-width: 480px;
    margin: 0 auto 20px;
    position: relative;
}

.symbol-input {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid var(--accent-light);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: all 0.3s;
    text-align: center;
}

.stock-input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--highlight);
    box-shadow: 0 0 30px rgba(233, 69, 96, 0.5);
}

.stock-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
}

.form-error {
    color: var(--highlight);
    font-size: 15px;
    margin-top: 8px;
    display: none;
}

/* Trending stocks */
.trending-stocks {
    margin: 20px auto 15px;
    max-width: 480px;
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hot-stocks span {
    font-weight: 700;
    color: var(--accent-light);
}

/* WhatsApp button */
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.5);
    margin-top: 20px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
    white-space: nowrap;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 147, 251, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(240, 147, 251, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 147, 251, 0);
    }
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.7);
}

.whatsapp-btn::before {
    content: "📱";
    margin-right: 12px;
    font-size: 24px;
}

/* Video section */
.media-section {
    padding: 0 25px 30px;
    max-width: 520px;
    margin: 0 auto;
}

.media-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    background: #000;
    border: 3px solid var(--accent-light);
}

.media-player {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.media-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Platform advantages ticker */
.features-ticker {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    padding: 15px 25px;
    margin: 0 25px 25px 25px;
    max-width: 480px;
    overflow: hidden;
    position: relative;
    height: 45px;
    border: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-wrapper {
    display: flex;
    animation: tickerScroll 25s linear infinite;
    position: absolute;
    left: 0;
    width: max-content;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 0 35px;
    white-space: nowrap;
}

.feature-item::before {
    content: "⚡";
    margin-right: 12px;
    font-size: 20px;
}

.feature-item span {
    font-size: 16px;
    font-weight: 600;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* User testimonials carousel */
.reviews-section {
    padding: 30px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--card-border);
    border-bottom: 2px solid var(--card-border);
}

.reviews-container {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    height: 320px;
    overflow: hidden;
}

.review-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.review-card.active {
    opacity: 1;
    transform: translateY(0);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.reviewer-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--accent-light);
    box-shadow: 0 0 15px rgba(83, 52, 131, 0.4);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 800;
    font-size: 18px;
    color: white;
}

.review-source {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.review-source::before {
    content: "🌐";
    margin-right: 6px;
}

.review-content {
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.review-content::before {
    content: '"';
    position: absolute;
    top: -25px;
    left: 10px;
    font-size: 80px;
    color: rgba(74, 85, 104, 0.3);
    font-family: serif;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--accent-light);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(74, 85, 104, 0.6);
}

/* Footer */
.main-footer {
    padding: 30px 25px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-navigation {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.footer-navigation a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 15px rgba(74, 85, 104, 0.4);
}

.legal-disclaimer {
    background: rgba(233, 69, 96, 0.15);
    padding: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border-top: 2px solid rgba(233, 69, 96, 0.3);
}

/* AI analysis popup */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
}

.modal-content {
    background: var(--gradient-primary);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    max-width: 90%;
    width: 420px;
    box-shadow: 0 0 80px rgba(102, 126, 234, 0.6);
    position: relative;
    border: 3px solid var(--accent-light);
    animation: popIn 0.6s ease-out;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-analysis-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modeal-analysis-icon {
    font-size: 70px;
    color: var(--accent-light);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 20px rgba(83, 52, 131, 0.6));
    border-radius: 100%;
    width: 112px;
}

.modal-title {
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.modal-text {
    font-size: 19px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.modal-symbol {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 35px;
    font-weight: 800;
    margin: 15px 0 25px;
    color: var(--accent-light);
    border: 3px solid var(--accent-light);
    font-size: 19px;
    box-shadow: 0 0 20px rgba(83, 52, 131, 0.4);
}

.modal-button {
    display: flex;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.6);
    margin-top: 30px;
    border: none;
    cursor: pointer;
    animation: pulseBig 1.8s infinite;
    z-index: 10;
    position: relative;
    white-space: nowrap;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@keyframes pulseBig {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 147, 251, 0.8);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 30px rgba(240, 147, 251, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(240, 147, 251, 0);
    }
}

.modal-button:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.8);
}

.modal-button::before {
    content: "📱";
    margin-right: 12px;
    font-size: 24px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Progress bar styles */
.progress-wrapper {
    width: 100%;
    margin: 20px 0;
}

.progress-step {
    margin-bottom: 25px;
    text-align: left;
}

.progress-step-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.progress-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    background: var(--gradient-secondary);
    transition: width 1s ease;
}

.progress-percentage {
    position: absolute;
    right: 12px;
    top: 0;
    font-size: 14px;
    color: white;
    line-height: 12px;
    font-weight: 700;
}

/* Responsive design */
@media (max-width: 480px) {
    .form-title {
        font-size: 24px;
    }

    .brand-logo {
        font-size: 28px;
    }

    .brand-slogan {
        font-size: 16px;
    }

    .contact-button {
        padding: 14px 25px;
        font-size: 16px;
    }

    .reviews-container {
        height: 360px;
    }

    .modal-content {
        padding: 25px;
        width: 95%;
    }

    .modal-title {
        font-size: 28px;
    }

    .modal-text {
        font-size: 17px;
    }

    .modal-button {
        padding: 14px 25px;
        font-size: 16px;
    }
}
