:root {
    --primary-color: #DDFF51;
    /* Swapped to the original accent color for a light element */
    --accent-color: #DDFF51;
    --accent-gradient: linear-gradient(135deg, #E9FF8F 0%, #DDFF51 100%);
    --text-primary: #F0F0F0;
    /* Light text for dark background */
    --text-secondary: #B0B0B0;
    /* Slightly darker light text */
    --bg-color: #000000;
    /* Black background */
    --border-color: #333333;
    /* Darker borders */
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-color);
    /* Subtle grid pattern - changed to white/light gray lines on black */
    background-image:
        linear-gradient(#333333 1px, transparent 1px),
        linear-gradient(90deg, #333333 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    padding: 20px 40px;
    background: transparent;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    /* Light logo text */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrow-down {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--text-secondary);
    border-bottom: 1.5px solid var(--text-secondary);
    transform: rotate(45deg) translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.header-section {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 80px;
}

.header-section1 {
    text-align: center;
    margin-bottom: 0;
    /* Removed background-image: linear-gradient(to top, #4A235A 0%, rgba(0, 0, 0, 0) 100%); */
    padding-top: 40px;
    /* Reduced top padding */
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--bg-color);
    /* Ensure background is solid black */
}

.header-section h1 {
    font-size: 56px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.subheading {
    color: var(--text-secondary);
    font-size: 20px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Pricing Grid (Existing styles) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.pricing-card {
    background: #1A1A1A;
    /* Darker card background */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -2px rgba(255, 255, 255, 0.05), 0 12px 16px -4px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Popular Card Styling */
.pricing-card.popular {
    border: 1px solid var(--accent-color);
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 48px -12px rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

/* Adjusted popular background for dark mode */
.pricing-card.popular .popular-bg {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    height: 300px;
    background:
        radial-gradient(circle at 80% 20%, rgba(233, 255, 143, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 20% 40%, rgba(241, 255, 184, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 0%, rgba(221, 255, 81, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, #1A1A1A 80%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.pricing-card.popular .card-content {
    position: relative;
    z-index: 2;
    background: transparent;
}

.card-header {
    margin-bottom: 32px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge {
    background-color: rgba(221, 255, 81, 0.2);
    color: var(--accent-color);
    /* Light lime color for visibility */
    border: 1px solid var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.header-top h3 {
    margin-bottom: 0;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

.amount {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.period {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.2;
}

.description {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Actions */
.card-actions {
    margin-bottom: 32px;
}

.card-actions button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

/* Primary Button (Popular Plan and CTA) */
.primary-btn {
    background: var(--accent-color);
    color: #101828;
    /* Keep dark text for contrast on accent color */
    border: 1px solid var(--accent-color);
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
}

.primary-btn:hover {
    background-color: #C6E649;
    border-color: #C6E649;
}

/* Primary Button (Nav) */
.primary-btn1 {
    background: var(--accent-color);
    /* Use accent color for nav sign-up */
    color: #101828;
    border: 1px solid var(--accent-color);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 16px;
}

/* Secondary Button (Core and Black Plans) */
.secondary-btn {
    background-color: #1A1A1A;
    /* Match card background */
    color: var(--text-primary);
    /* Light text */
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.05);
}

.secondary-btn:hover {
    background-color: #262626;
    /* Slightly lighter dark background on hover */
    border-color: #444444;
}

/* Features */
.features-list {
    margin-top: 0;
    /* Adjusted from 'auto' to '0' to reduce the gap after the action button */
}

.features-list h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.features-list p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.features-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Add this to your general styles or update the existing .check-icon */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--accent-color);
    /* Bright lime background */
    color: #000000;
    /* Black icon for high contrast */
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
    /* Prevents icon from disappearing on small screens */
    line-height: 1;
}

/* Styles for the X marks (unavailable features) */
.check-icon.x-mark {
    background-color: #333333;
    /* Darker gray background */
    color: #757575;
    /* Dimmed X color */
}

/* --- How It Works Section --- */
.how-it-works-section {
    max-width: 1280px;
    margin: 80px auto 80px auto;
    padding: 0 40px;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.step-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 16px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-color);
    color: #101828;
    /* Dark text for contrast */
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* --- Comparison Table Styles --- */
.comparison-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 40px;
}

.comparison-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.table-wrapper {
    overflow-x: auto;
    background: #1A1A1A;
    /* Dark card background */
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
    /* Ensure columns stay wide enough */
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    background: #1A1A1A;
    /* Match wrapper background */
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table tbody td {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #0E0E0E;
    /* Subtle zebra striping */
}

.feature-col {
    text-align: left !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
}

.feature-col-highlight {
    text-align: left !important;
    font-weight: 500;
    color: var(--text-primary);
}

.popular-col {
    background-color: rgba(221, 255, 81, 0.1);
    /* Light accent background for the popular column header */
    color: var(--accent-color) !important;
    border-right: 2px solid var(--accent-color) !important;
    border-left: 2px solid var(--accent-color) !important;
}

.popular-col-highlight {
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    background-color: rgba(221, 255, 81, 0.05);
    border-right: 1px solid var(--accent-color);
    border-left: 1px solid var(--accent-color);
}

.check-icon-table {
    color: var(--accent-color);
    font-weight: 900;
}

.na-icon {
    color: #4A4A4A;
    /* Dark gray for "Not Applicable" */
}

/* --- CTA Banner Styles --- */
.cta-banner {
    max-width: 1280px;
    margin: 80px auto 80px auto;
    padding: 32px 40px;
    background: #1A1A1A;
    /* Dark card background */
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -2px rgba(255, 255, 255, 0.05), 0 12px 16px -4px rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.cta-banner .primary-btn {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 18px;
}


/* Footer text adjustment */
.header-section1 p {
    color: #B0B0B0;
    /* Changed to a standard secondary text color */
}

/* Responsive */
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pricing-card {
        padding: 24px;
    }

    .nav-links {
        display: none;
    }

    .header-section h1 {
        font-size: 36px;
    }

    .cta-banner {
        margin-left: 40px;
        margin-right: 40px;
    }

    .step-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 40px 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        padding: 8px 16px;
        font-size: 14px;
    }

    .nav-container {
        justify-content: space-between;
    }

    .header-section {
        margin-bottom: 40px;
        padding: 0 16px;
        margin-top: 50px;
    }

    .header-section h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .subheading {
        font-size: 18px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        max-width: 100%;
        margin: 0 auto;
        gap: 24px;
        padding: 0 20px;
        /* Reduced side padding for wider cards */
    }

    .pricing-card {
        padding: 24px;
    }

    .how-it-works-section {
        margin: 40px auto;
        padding: 0 20px;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .step-container {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 40px;
    }

    .comparison-section {
        margin: 40px 0;
        padding: 0 20px;
    }

    .comparison-heading {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        margin: 40px 20px;
        padding: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .pricing-card img {
        max-width: 100%;
        height: auto;
    }

    .pricing-card.popular .popular-bg {
        height: 200px;
    }

    .primary-btn1 {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
        border-radius: 6px;
        font-size: 16px;
    }

    .features-list ul {
        gap: 12px;
    }

    .features-list li {
        display: flex !important;
        align-items: flex-start;
        /* Aligns icon with first line of text */
        text-align: left;
        gap: 12px;
        color: var(--text-secondary);
        font-size: 14px;
    }

    .check-icon {
        margin-top: 2px;
        /* Slight adjustment for alignment with text */
    }
}

/* --- Important Notice Section Styles --- */
.important-notice-section {
    max-width: 1280px;
    margin: 0 auto 40px auto;
    /* 40px margin below the notice */
    padding: 0 40px;
    text-align: center;
}

.notice-container {
    display: inline-block;
    background-color: #1A1A1A;
    /* Dark card background */
    border: 1px solid var(--accent-color);
    /* Bright border */
    border-radius: 8px;
    padding: 12px 24px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(221, 255, 81, 0.2);
    /* Subtle glow */
}

.notice-icon {
    margin-right: 10px;
    font-size: 18px;
    line-height: 1;
}

/* Responsive adjustment for the notice */
@media (max-width: 768px) {
    .important-notice-section {
        margin: 0 auto 30px auto;
        padding: 0 20px;
    }

    .logo img {
        width: 140px;
        /* Adjust this value to your preferred size */
    }
    .pricing-card .card-header img {
        width: 170px;
        /* Adjust this value to your liking */
        height: auto;
    }
}