/* CSS Reset and Root Variables */
:root {
    --primary-color: #2d1f42; /* #4f46e5 */
    --primary-color-dark: #1d1529; /* #4338ca; */
    --secondary-color: #111827;
    --light-gray: #f3f4f6;
    --medium-gray: #e5e7eb;
    --text-gray: #6b7280;
    --background-color: #ffffff;
    --green-check: #10b981;
    --red-cross: #ef4444;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--secondary-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.main-header {
    padding: 20px 0;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo svg {
    color: var(--primary-color);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--medium-gray);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--medium-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-gray);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--medium-gray);
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
}

.pricing-card .description {
    color: var(--text-gray);
    margin-bottom: 30px;
    min-height: 40px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.pricing-card ul li svg {
    color: var(--green-check);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    margin-top: auto;
}

.pricing-card.popular .btn {
     background-color: var(--primary-color);
     color: white;
}

.pricing-card:not(.popular) .btn {
    background-color: var(--secondary-color);
    color: white;
}

.pricing-card:not(.popular) .btn:hover {
     background-color: #374151;
}


/* Comparison Section */
.comparison {
    padding: 100px 0;
}

.comparison-table-wrapper {
    background-color: #fff;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 20px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--medium-gray);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
}

.icon-check {
    color: var(--green-check);
    font-weight: bold;
    font-size: 1.5rem;
}

.icon-cross {
    color: var(--red-cross);
    font-weight: bold;
    font-size: 1.5rem;
}

.info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--text-gray);
    border-radius: 50%;
    color: var(--text-gray);
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
    font-style: normal;
}

.offer {
    font-weight: 500;
    color: var(--primary-color);
}
.offer strong {
    background-color: #e0e7ff;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Doodles Styling */
.doodle {
    position: absolute;
    z-index: -1;
    opacity: 0.7;
}

.doodle-arrow {
    top: -20px;
    left: 50%;
    transform: translateX(calc(-50% - 250px)) rotate(-5deg);
}

.doodle-swirl {
    top: -10px;
    left: 50%;
    transform: translateX(calc(-50% + 200px));
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.cta-banner .btn:hover {
    background-color: var(--light-gray);
}

/* Footer */
/* Footer */
        .main-footer {
            padding: 40px 0;
            border-top: 1px solid var(--medium-gray);
            background-color: var(--light-gray);
        }

        .main-footer .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        .footer-links a {
            color: var(--text-gray);
            text-decoration: none;
            margin-left: 20px;
        }

        .footer-links a:hover {
            color: var(--primary-color);
        }

/* Animation initial states */
.animate-on-load, .animate-on-scroll {
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        margin-bottom: 30px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-header h2, .cta-banner h2 { font-size: 2rem; }
    .main-nav { display: none; }
    .doodle { display: none; }
    .main-footer .container {
        flex-direction: column;
        gap: 15px;
    }
}