:root {
    --primary: #4338ca;
    --primary-dark: #312e81;
    --accent: #818cf8;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass: rgba(255, 255, 255, 0.1);
}

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

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

/* --- HERO SECTION --- */
.tm-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: radial-gradient(circle at top right, #4f46e5, #312e81);
    overflow: hidden;
    padding-top: 80px;
}

.glass-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    z-index: 1;
    animation: drift 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes drift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(40px, 60px) rotate(15deg);
    }
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.badge {
    background: var(--glass);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(to right, #a5b4fc, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e7ff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.hero-stats span {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-stats i {
    color: var(--accent);
    margin-right: 8px;
}

/* --- STATS OVERLAP --- */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: -60px auto 80px;
    background: var(--primary-dark);
    border-radius: 24px;
    padding: 40px;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.stat-box {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
    border: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
}

/* --- PRICING --- */
.packages-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 15px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(67, 56, 202, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-ribbon {
    position: absolute;
    top: 15px;
    right: -40px;
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: 800;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 20px 0;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: var(--primary);
    font-size: 1.1rem;
}

.btn-select {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-select:hover {
    background: var(--primary);
    transform: scale(1.02);
}

/* --- FILING FORM & DOCS --- */
.filing-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.filing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-side {
    flex: 1;
    min-width: 320px;
}

.docs-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.doc-list li {
    padding: 15px;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 5px solid var(--primary);
    list-style: none;
    font-weight: 500;
    transition: 0.3s;
}

.doc-list li:hover {
    transform: translateX(8px);
    background: #e2e8f0;
}

.form-side {
    flex: 1.3;
    min-width: 350px;
}

.booking-form-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: 0.3s;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.upi-qr {
    width: 220px;
    padding: 15px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .stats-dashboard {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 20px;
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

    .pricing-card.featured {
        transform: none;
        scale: 1;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        padding: 15px;
        border-radius: 25px;
    }

    .booking-form-card {
        padding: 30px 20px;
    }
}