/* Global Reset & Typography */
:root {
    --color-bg: #f4f6f8;
    --color-primary: #2c3e50;
    /* Slate Blue */
    --color-accent: #2980b9;
    /* Bright Blue */
    --color-text: #2c3e50;
    --color-white: #ffffff;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--color-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.025em;
}

.btn-nav {
    background-color: var(--color-accent);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-nav:hover {
    background-color: #1a5276;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p.subhead {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn-cta {
    background-color: #e74c3c;
    /* Urgent Red */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px 0 rgba(231, 76, 60, 0.39);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background-color: #c0392b;
}

/* Hero Image Container */
.hero-image {
    margin-top: 4rem;
    background: var(--color-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 100%;
}

.hero-image img {
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    display: block;
}

/* Features Stripe */
.features-stripe {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #cbd5e0;
    font-size: 0.95rem;
}

/* Visual Showcase */
.visual-showcase {
    background-color: var(--color-bg);
    padding: 5rem 2rem;
    text-align: center;
}

.visual-showcase h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
}

.showcase-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: block;
}

.showcase-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.showcase-item p {
    color: #718096;
    font-size: 1rem;
}

/* Pricing Section */
/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    background-color: var(--color-bg);
    text-align: center;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    /* Centers the card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid var(--color-accent);
    display: block;
    /* Ensures it behaves as a block */
}

/* Ensure content inside card is centered/aligned */
.pricing-card h3,
.pricing-card p,
.pricing-card .price-tag {
    text-align: center;
}

.badge-save {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 1rem 0;
}

.price-strike {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Comparison Table */
.comparison-section {
    padding: 5rem 2rem;
    background: white;
    overflow-x: auto;
    /* Handles mobile overflow */
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto;
    border-collapse: collapse;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for depth */
    border-radius: 8px;
    /* Rounded corners */
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.comparison-table th {
    background: #f8fafc;
    color: var(--color-primary);
    font-weight: 800;
}

.comparison-table tr:hover {
    background-color: #fcfcfc;
}

.check {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.cross {
    color: #e74c3c;
    font-weight: bold;
    opacity: 0.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Global Padding */
    .hero, .features-stripe, .visual-showcase, .pricing-section, .comparison-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Typography */
    .hero h1 {
        font-size: 2.25rem; /* Smaller headling */
    }
    
    .hero p.subhead {
        font-size: 1.1rem;
    }

    /* Navbar */
    .navbar {
        padding: 1rem;
    }
    
    .brand {
        font-size: 1.1rem;
    }

    /* Pricing Card */
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card h3 {
        margin-top: 1.5rem; 
    }

    /* Buttons */
    .btn-cta {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
        text-align: center;
    }

    /* Comparison Table Scroll */
    .comparison-section {
        padding: 3rem 0; /* Full edge-to-edge for scroll */
    }
    
    .comparison-table {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
}