@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --secondary: #4f46e5;
    
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    
    --text-dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    
    --border: #e2e8f0;
    --success: #10b981;
    
    --radius: 1rem;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 36px;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-alt) 0%, #ffffff 100%);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 850px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    background: #f1f5f9;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Remove old floating styles if any */
.hero-banner-wrapper, .hero-floating-content { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-1px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--text-muted);
}

/* Features Table/Grid */
.features-section {
    padding: 4rem 0;
}

.feature-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-card span {
    font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-section {
    padding: 6rem 0;
    background: var(--bg-alt);
}

/* Tabs System */
.plan-tabs-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.plan-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 99rem;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 99rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.plan-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.plan-card.featured::after {
    content: 'POPULAR';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 1.5rem 0;
}

.plan-price span {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-control {
    width: 100%;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-full {
    width: 100%;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: flex-start; /* Start from top to allow scrolling */
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto; /* Enable overlay scrolling */
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: auto; /* Center vertically if space allows */
    position: relative;
}

@media (max-width: 640px) {
    .modal-container {
        padding: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 640px) {
    .nav-menu { 
        gap: 0.75rem; 
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem !important;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2.25rem; }
}
