:root {
    /* Modern Color Palette */
    --color-primary: #3B82F6;
    /* Bright Blue */
    --color-primary-dark: #1D4ED8;
    --color-secondary: #F43F5E;
    /* Vibrant Rose */
    --color-accent: #8B5CF6;
    /* Violet */

    --color-text: #1E293B;
    --color-text-light: #64748B;
    --color-bg: #F8FAFC;
    --color-white: #ffffff;

    --color-success: #10B981;
    --color-warning: #F59E0B;

    /* Effects */
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 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 -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --blur: 12px;
}

[data-theme="dark"] {
    --color-primary: #60A5FA;
    --color-primary-dark: #3B82F6;
    --color-secondary: #FB7185;
    --color-accent: #A78BFA;

    --color-text: #F1F5F9;
    --color-text-light: #94A3B8;
    --color-bg: #0F172A;
    --color-white: #1E293B;

    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    overflow-x: hidden;
    position: relative;
}

/* Background Decoration */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.08) 0%, transparent 40%);
    z-index: -1;
    animation: bg-pulse 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bg-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

[data-theme="dark"] header.scrolled {
    background: rgba(15, 23, 42, 0.9);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    padding: 4px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: -0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    background: white;
    color: var(--color-text-light);
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    background: var(--color-primary-dark);
    color: white;
    /* Hover text color */
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .social-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

[data-theme="dark"] .social-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0F172A;
}

/* Icon styling */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    font-size: 16px;
}

/* Brand colors for social icons (keeps text white but shows icon color) */
.social-btn .fa-facebook-f {
    color: #1877F2;
}

.social-btn .fa-instagram {
    color: #E4405F;
}

.social-btn .fa-whatsapp {
    color: #25D366;
}

/* Contact method icons */
.contact-method-icon i {
    font-size: 28px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--color-primary);
    background: white;
    border-radius: 8px;
}

/* Benefit icons */
.benefit-icon i {
    font-size: 36px;
    color: var(--color-primary);
}

/* Badge icons (trust badges) */
.badge-icon i {
    font-size: 20px;
    color: var(--color-success);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #DBEAFE 0%, transparent 40%),
        radial-gradient(circle at bottom left, #FCE7F3 0%, transparent 40%),
        #F8FAFC;
    padding: 100px 20px 140px;
    /* Extra padding bottom for overlap */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    /* Even Larger */
    margin-bottom: 24px;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    background-size: 200% auto;
    background-clip: text;
    /* Lint fix */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: gradient-text 8s ease infinite;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero p {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text);
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.badge-icon {
    font-size: 16px;
    color: var(--color-primary);
}

/* Plans Section */
.plans-section {
    max-width: 1200px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Hero H1 lint fix and update override if needed, though usually handled in previous block.
   Here we focus on Plans Section structure */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    top: 0;
}

[data-theme="dark"] .plan-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .plan-card:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 25px 50px -12px rgba(96, 165, 250, 0.15);
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
    /* Colored glow */
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.plan-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.plan-badge {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #E11D48 100%);
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image placeholder for plan cards */
.plan-image {
    margin: 0 auto;
    width: 100%;
    height: 180px;
    /* Slightly reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ensure full image is visible */
    padding: 25px;
    /* Increased padding to make image smaller */
    display: block;
    transform-origin: center center;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.plan-card:hover .plan-image {
    transform: scale(1.03);
}

.plan-card:hover .plan-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.03);
}

/* Reveal on scroll utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle tilt effect for cards */
.plan-card.tilt {
    transform-origin: center center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.plan-card.tilt:hover {
    transform: perspective(800px) translateY(-6px) rotateX(2deg) rotateY(0.6deg);
    box-shadow: 0 18px 40px rgba(13, 71, 161, 0.12);
}

/* Header elevation on scroll */
header.scrolled {
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
    backdrop-filter: blur(6px);
}

/* Button ripple */
.btn,
.contact-link {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.35);
    animation: ripple-effect 600ms linear;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mascot styles */
#mascot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 84px;
    height: 84px;
    z-index: 1200;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#mascot img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: mascot-float 4s ease-in-out infinite;
}

#mascot:hover img {
    transform: translateY(-6px) scale(1.02);
}

@keyframes mascot-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

#mascot-bubble {
    position: absolute;
    bottom: 96px;
    right: 0;
    background: rgba(8, 18, 46, 0.95);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.18);
    white-space: nowrap;
    transform-origin: right bottom;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#mascot-menu {
    position: absolute;
    bottom: 110px;
    right: 0;
    background: white;
    color: var(--color-text);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 12px 36px rgba(2, 6, 23, 0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.mascot-option {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e6eef9;
    background: linear-gradient(180deg, #fff, #f7fbff);
    cursor: pointer;
    font-weight: 600;
}

.mascot-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 115, 230, 0.08);
}

.hidden {
    display: none !important;
}

/* Highlight/pulse for selected plan */
.plan-highlight {
    animation: plan-pulse 1.2s ease-in-out 0s 2;
    box-shadow: 0 18px 40px rgba(20, 115, 230, 0.16);
    transform: translateY(-6px);
}

@keyframes plan-pulse {
    0% {
        box-shadow: 0 6px 18px rgba(20, 115, 230, 0.06);
    }

    50% {
        box-shadow: 0 24px 48px rgba(20, 115, 230, 0.18);
    }

    100% {
        box-shadow: 0 6px 18px rgba(20, 115, 230, 0.06);
    }
}

.plan-header {
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef5 100%);
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.plan-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.plan-price-subtitle {
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}

.plan-content {
    padding: 0 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-features {
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.feature-check {
    color: var(--color-success);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-check i {
    color: var(--color-success);
    font-size: 14px;
}

.feature-check {
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.plan-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Button Shine Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--color-text) 0%, #0f172a 100%);
    color: white;
    padding: 80px 20px;
    margin: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    /* Glass dark */
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-method-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-method-icon i {
    width: 56px;
    height: 56px;
    line-height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 24px;
}

.contact-method h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: white;
}

.contact-method p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-link {
    display: inline-block;
    background: white;
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.benefits-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    padding: 40px 30px;
    text-align: left;
    /* Changed to left align for cleaner look */
    background: white;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

[data-theme="dark"] .benefit-card {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .benefit-icon {
    background: rgba(59, 130, 246, 0.1);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--color-primary);
    background: #EFF6FF;
    /* Light blue bg for icon */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-text);
    font-weight: 700;
}

.benefit-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Fix for background-clip lint error */
.hero h1 {
    background-clip: text;
}

/* Footer */
footer {
    background: var(--color-text);
    color: var(--color-text-light);
    padding: 60px 20px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card.featured:hover {
        transform: translateY(-8px);
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .social-links {
        width: 100%;


        .plan-image {
            height: 180px;
        }

        justify-content: center;
        flex-wrap: wrap;
    }


    .plan-image {
        height: 180px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-title {
        font-size: 24px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .plan-image {
        height: 160px;
        padding: 10px;
        /* Reduce padding slightly for mobile so image isn't too tiny */
    }

    .hero {
        padding: 40px 20px;
    }

    .social-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-btn {
        width: 100%;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}