:root {
    --gradient-start: #1f5cff;
    --gradient-mid: #1648d9;
    --gradient-end: #6b9fff;
    --primary: #1f5cff;
    --secondary: #4d7aff;
    --accent: #38bdf8;
    --dark: #0a1628;
    --light: #f5f8ff;
    --text-muted: #6b7280;
    --card-bg: rgba(255, 255, 255, 0.88);
    --border-light: rgba(31, 92, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(31, 92, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(31, 92, 255, 0.12);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f5f8ff 0%, #e8f0ff 30%, #eef5ff 60%, #f5f8ff 100%);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--secondary), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.3px; }
.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 4px;
    border-radius: 8px;
    padding: 8px 16px !important;
    transition: all 0.25s ease;
}
.nav-link:hover, .nav-link.active {
    background: linear-gradient(135deg, rgba(31, 92, 255, 0.12), rgba(77, 122, 255, 0.12));
    color: var(--primary) !important;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gradient-start), var(--secondary), var(--gradient-end));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(31, 92, 255, 0.35);
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(31, 92, 255, 0.5);
    color: #fff;
}

/* Page header */
.page-header {
    padding: 130px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(31, 92, 255, 0.12), transparent 70%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-header h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}
.page-header .lead-text {
    max-width: 640px;
    margin: 16px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Sections */
.page-section { padding: 72px 0; }
.page-section-alt {
    background: linear-gradient(135deg, rgba(31, 92, 255, 0.06), rgba(77, 122, 255, 0.04));
}
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}
.section-heading h2 {
    font-weight: 800;
    letter-spacing: -0.3px;
}
.section-heading p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 12px auto 0;
}

/* Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.glass-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(31, 92, 255, 0.2);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(31, 92, 255, 0.12), rgba(77, 122, 255, 0.12));
    color: var(--primary);
    flex-shrink: 0;
}
.icon-circle-lg {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.75rem;
    margin: 0 auto 20px;
}

/* About */
.about-intro-card {
    padding: 48px;
    max-width: 820px;
    margin: 0 auto;
}
.value-card {
    padding: 32px 24px;
    height: 100%;
    text-align: center;
}
.value-card:hover { transform: translateY(-6px); }
.timeline-wrap {
    padding: 40px 48px;
    max-width: 720px;
    margin: 0 auto;
}
.timeline-item {
    position: relative;
    padding: 0 0 32px 36px;
    border-left: 2px solid rgba(31, 92, 255, 0.25);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--secondary));
    box-shadow: 0 0 0 4px rgba(31, 92, 255, 0.15);
}
.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(31, 92, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

/* Products */
.product-card {
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); }
.product-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}
.product-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-start), var(--secondary));
    color: #fff;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.product-tier {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.2;
}
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}
.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(31, 92, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.product-features li:last-child { border-bottom: none; }
.product-features li i { color: var(--primary); }

.step-card {
    padding: 32px 24px;
    height: 100%;
    text-align: center;
}
.step-card:hover { transform: translateY(-4px); }
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--secondary));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rate-table-wrap { overflow: hidden; border-radius: var(--radius-lg); }
.rate-table th {
    background: linear-gradient(135deg, rgba(31, 92, 255, 0.12), rgba(77, 122, 255, 0.1));
    font-weight: 700;
    padding: 16px 20px;
    font-size: 0.9rem;
}
.rate-table td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(31, 92, 255, 0.06);
}
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:hover { background: rgba(31, 92, 255, 0.03); }

.eligibility-card {
    padding: 32px 24px;
    height: 100%;
    text-align: center;
}
.eligibility-card:hover { transform: translateY(-4px); }

/* Contact */
.contact-quick-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}
.contact-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.contact-chip i { color: var(--primary); }

.contact-form-card { padding: 40px; }
.form-control, .form-select {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    border: 1px solid rgba(31, 92, 255, 0.12);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.25s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 92, 255, 0.12);
}
.info-card {
    padding: 24px;
    margin-bottom: 16px;
}
.info-card:last-child { margin-bottom: 0; }
.info-card:hover { transform: translateX(4px); }

/* Footer */
footer {
    background: var(--dark);
    color: #b8d4ff;
    padding: 60px 0 30px;
    margin-top: 0;
}
footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; }
footer a { color: #8bb8ff; text-decoration: none; transition: color 0.25s; }
footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #5b8fff;
}

@media (max-width: 768px) {
    .page-header { padding: 110px 0 40px; }
    .page-section { padding: 48px 0; }
    .about-intro-card { padding: 32px 24px; }
    .timeline-wrap { padding: 28px 24px; }
    .contact-form-card { padding: 28px 20px; }
    .product-price { font-size: 1.5rem; }
}
