:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --white: #ffffff;
    --black: #000000;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --neon: #00feff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1d273b 0%, #0f172a 100%);
}

.particles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(108, 207, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(148, 163, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 30%);
}

.particles-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(108, 207, 255, 0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(148, 163, 255, 0.1) 50%, transparent 51%);
    background-size: 100px 100px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 120px;
}

.logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta .btn {
    margin-left: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--white), var(--neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    position: relative;
    color: var(--neon) !important;
    font-weight: 700;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Override highlight styles when inside hero-title */
.hero-title .highlight {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--neon) !important;
    background-clip: initial !important;
    color: var(--neon) !important;
    display: inline-block;
}

@keyframes glow {
    from { box-shadow: 0 0 10px var(--neon); }
    to { box-shadow: 0 0 20px var(--neon), 0 0 30px var(--neon); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--neon);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 3px solid var(--white);
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
}

.step-divider {
    width: 10%;
    height: 2px;
    background: var(--border);
}

/* Video Section */
.video-section {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 0 20px;
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    border: 2px dashed var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--neon);
    transform: scale(1.02);
}

.video-content i {
    font-size: 4rem;
    color: var(--neon);
    margin-bottom: 1rem;
}

.video-content p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Dashboard Section */
.dashboard-section {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 0 20px;
}

.dashboard-mockup {
    background: var(--dark);
    border-radius: 16px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 800px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.dashboard-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    min-width: 120px;
}

.stat-card h4 {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.chart-placeholder, .table-placeholder {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--gray);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border: 2px solid var(--neon);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon);
    color: var(--dark);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.package-title {
    font-size: 0.9rem;
    color: var(--neon);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    margin-bottom: 1.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon);
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.features-list {
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.features-list li i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--gray);
}

.faq-answer.show {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 4rem 0;
    text-align: center;
    margin: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.urgency-message {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h2 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-logo p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.countdown-timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f87171;
    margin: 1rem 0;
    text-align: center;
    background: rgba(248, 113, 113, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.countdown-timer span {
    color: #ef4444;
}

/* Video Modal Styles */
.video-modal {
    width: 90%;
    max-width: 800px;
    height: auto;
}

.video-embed {
    width: 100%;
    height: 400px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    margin: 2% auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh; /* Limit height to viewport */
    overflow-y: auto; /* Enable vertical scrolling */
    animation: modalAppear 0.3s ease-out;
}

/* Scrollable modal content */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

.package-features {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.package-features h3 {
    margin-top: 0;
    color: var(--white);
}

.package-features ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.package-features li {
    margin-bottom: 8px;
    color: #cbd5e0;
}

.close {
    color: var(--white);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: var(--neon);
}

#form-container h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Earnings Section */
.earnings {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 0 20px 5rem;
}

.earnings-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.earnings-charts {
    flex: 1;
    min-width: 300px;
}

.chart-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    height: 300px;
}

.earnings-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.earning-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.earning-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.revenue-breakdown {
    margin-top: 1.5rem;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.revenue-item:last-child {
    border-bottom: none;
}

.earning-examples {
    text-align: left;
    margin-top: 1rem;
}

.earning-examples li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.earning-examples li strong {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-divider {
        display: none;
    }
    
    .step {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.02);
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-stats {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .video-placeholder {
        padding: 2rem 1rem;
    }
}

/* Typing Animation */
.typing-text {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(40) 1s 1 normal both, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon); }
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: var(--neon);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: baseline;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
