:root {
    --bg-dark: #050505;
    /* Deep black base */
    --bg-card: #0f0f0f;
    --text-white: #FFFFFF;
    --text-gray: #A1A1AA;

    /* User's Red Palette */
    --primary-color: #ff2a2a;
    --primary-rgb: 255, 42, 42;
    --secondary-color: #a90000;
    --secondary-rgb: 255, 85, 85;

    --accent-glow: rgba(var(--primary-rgb), 0.6);

    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --border-color: #27272a;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);

    /* Keeps the glow at top while scrolling */
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* --- Ultra Modern Stylish Button --- */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        left: 100%;
        opacity: 0.6;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    z-index: 1;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    color: var(--primary-color);
}

/* The "Star" Button */
.btn-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    color: #000000;
    animation: gradientMove 3s ease infinite;
    box-shadow:
        0 0 20px rgba(var(--primary-rgb), 0.5),
        0 0 40px rgba(var(--secondary-rgb), 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Shine Effect */
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 30px rgba(var(--primary-rgb), 0.7),
        0 0 60px rgba(var(--secondary-rgb), 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    border-radius: 12px;
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* Hero Section */
.hero {
    padding: 200px 0 140px;
    text-align: center;
    position: relative;
    /* User's specific hero gradient */
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.404) 0%, transparent 70%);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #fff;
    text-shadow:
        0 0 10px rgba(var(--primary-rgb), 0.3),
        0 0 20px rgba(var(--primary-rgb), 0.2);
}

.subheadline {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-white);
    text-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

/* --- Advanced Glowing Cards (Global Style) --- */
/* Applying user's card style to all card-like elements */
.card,
.step,
.benefits-list li,
.faq-item,
.stat-card,
.pricing-item {
    /* User's specific card gradient */
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.281) 0%, transparent 60%);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Specific padding adjustments for smaller items */
.benefits-list li,
.pricing-item {
    padding: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Neon Border Effect for all cards */
.card::before,
.step::before,
.benefits-list li::before,
.faq-item::before,
.stat-card::before,
.pricing-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    /* Matches parent */
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Adjust border radius for smaller items if needed, but 24px looks modern */
.benefits-list li,
.benefits-list li::before {
    border-radius: 16px;
}

.faq-item,
.faq-item::before {
    border-radius: 20px;
}

.pricing-item,
.pricing-item::before {
    border-radius: 20px;
}

/* Hover Effects */
.card:hover,
.step:hover,
.benefits-list li:hover,
.faq-item:hover,
.stat-card:hover,
.pricing-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(var(--primary-rgb), 0.5);
    /* Multi-layer glow using user's green */
    box-shadow:
        0 0 20px rgba(var(--primary-rgb), 0.2),
        0 0 40px rgba(var(--primary-rgb), 0.1),
        0 0 80px rgba(var(--secondary-rgb), 0.05),
        inset 0 0 20px rgba(var(--primary-rgb), 0.05);
}

.card:hover::before,
.step:hover::before,
.benefits-list li:hover::before,
.faq-item:hover::before,
.stat-card:hover::before,
.pricing-item:hover::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 1;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* Card Content Styling */
.card h3,
.step-content h3,
.faq-item h3,
.pricing-item h3 {
    margin-bottom: 15px;
    color: var(--text-white);
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.card:hover h3,
.step:hover h3,
.faq-item:hover h3,
.pricing-item:hover h3 {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4);
}

.card p,
.step p,
.faq-item p,
.pricing-item p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Specific Layouts */

/* How It Works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

/* Benefits */
.benefits-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list li strong {
    color: var(--primary-color);
    min-width: 140px;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--text-white);
}

.faq-item:hover h3 {
    color: var(--primary-color);
}

/* Results Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card::before {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.6);
}

.stat-desc {
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Get Started */
.get-started {
    text-align: center;
    /* Update gradient to match green theme */
    background: linear-gradient(to bottom, var(--bg-dark), #1a0000);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.get-started p {
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.pricing-item {
    text-align: center;
}

.pricing-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-gray);
    background: #000;
}

.footer-links {
    margin-top: 30px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    overflow-y: auto;
}

.modal-content {
    background-color: #101010;
    margin: 50px auto;
    padding: 50px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    width: 90%;
    max-width: 650px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 0 50px rgba(var(--primary-rgb), 0.1);
}

.close-modal {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #e4e4e7;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-group label {
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0;
    border: 1px solid transparent;
}

.radio-group label:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.radio-group input[type="radio"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .modal-content {
        margin: 20px auto;
        padding: 25px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
    }
}
