/* ════════════════════════════════════════════════════════════════
   NAMMA SENIORS — Global Stylesheet
   Modern, blue-purple gradient theme with Lexend + Inter fonts
═════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #7c3aed;
    --accent: #2563eb;
    --green: #10b981;
    --red: #ef4444;
    --orange: #f97316;

    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-200: #c7d2fe;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* hero gradient — matches Image 4 */
    --hero-gradient: linear-gradient(115deg, #1e40af 0%, #4f46e5 45%, #8b5cf6 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, .1), 0 4px 10px -4px rgba(0, 0, 0, .06);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, .15), 0 10px 20px -8px rgba(0, 0, 0, .08);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

html,
body {
    font-family: 'Inter', 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafbff;
    color: var(--gray-900);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* When gate is open, blur underlying app */
body.gate-open #mainApp {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
    transition: filter .35s ease;
}

body.gate-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   LOGO IMAGES
═══════════════════════════════════════════════════════ */
.nav-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.gate-logo-img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════
   LOGIN GATE — clean white modal over blurred bg
═══════════════════════════════════════════════════════ */
#loginGate {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#loginGate.open {
    display: flex;
}

.gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gate-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    padding: 36px 32px 32px;
    box-shadow:
        0 40px 80px -20px rgba(15, 23, 42, .35),
        0 0 0 1px rgba(255, 255, 255, .8);
    animation: gateFadeUp .4s cubic-bezier(.34, 1.56, .64, 1);
    font-family: 'Lexend', 'Inter', sans-serif;
}

@keyframes gateFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gate-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
}

.gate-logo-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.gate-logo-text span {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
}

.gate-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gate-sub {
    font-size: 13.5px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.gate-highlight {
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border: 1px solid var(--indigo-200);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 22px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.gate-highlight-icon {
    font-size: 14px;
    flex-shrink: 0;
    color: var(--secondary);
    line-height: 1.5;
}

.gate-highlight p {
    font-size: 12.5px;
    color: var(--gray-700);
    font-weight: 400;
    line-height: 1.55;
}

.gate-highlight p strong {
    color: var(--primary);
    font-weight: 600;
}

.gate-field {
    margin-bottom: 14px;
}

.gate-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.gate-input {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    color: var(--gray-900);
    font-family: inherit;
    font-weight: 400;
    transition: all .2s;
}

.gate-input::placeholder {
    color: var(--gray-400);
    font-weight: 300;
}

.gate-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

.gate-input.err {
    border-color: var(--red);
}

.gate-error {
    color: var(--red);
    font-size: 11.5px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.gate-btn {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    letter-spacing: .01em;
    box-shadow: 0 6px 18px rgba(79, 70, 229, .35);
}

.gate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(79, 70, 229, .45);
}

.gate-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* ═══════════════════════════════════════════════════════
   ADMIN PASSWORD OVERLAY
═══════════════════════════════════════════════════════ */
#adminPassOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 9500;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

#adminPassOverlay.open {
    display: flex;
}

.admin-pass-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    animation: gateFadeUp .3s ease;
}

.admin-pass-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

.admin-pass-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.admin-pass-sub {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.5;
}

.admin-pass-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    margin-bottom: 6px;
    font-family: inherit;
}

.admin-pass-input:focus {
    border-color: var(--red);
}

.admin-pass-err {
    color: var(--red);
    font-size: 11px;
    margin-bottom: 10px;
    font-weight: 600;
    display: none;
    text-align: center;
}

.admin-pass-btns {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.admin-pass-cancel {
    flex: 1;
    padding: 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    font-family: inherit;
}

.admin-pass-submit {
    flex: 2;
    padding: 10px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.ns-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 48px;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-text strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.nav-logo-text span {
    font-size: 10.5px;
    color: var(--gray-500);
    font-weight: 400;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--gray-500);
    text-decoration: none;
    transition: all .2s;
}

.nav-home:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav-profile-dropdown {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    padding: 5px 12px 5px 6px;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.nav-profile-btn:hover {
    background: var(--gray-100);
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.nav-username {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-700);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    min-width: 170px;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    z-index: 100;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 14px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .15s;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-item:last-child {
    color: var(--red);
}

.dropdown-item:last-child:hover {
    background: #fee2e2;
    color: #991b1b;
}

/* ═══════════════════════════════════════════════════════
   HERO — matches reference Image 4
═══════════════════════════════════════════════════════ */
.hero {
    background: var(--hero-gradient);
    padding: 90px 24px 110px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, .08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 22px;
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-size: clamp(32px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 auto 22px;
    letter-spacing: -0.025em;
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════
   BANNER
═══════════════════════════════════════════════════════ */
.banner-section {
    padding: 28px 48px 0;
}

.banner {
    background: #111827;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-md);
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-text {
    color: #e5e7eb;
    font-size: 13.5px;
    line-height: 1.5;
}

.banner-text strong {
    color: #fff;
    font-weight: 700;
}

.banner-btn {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .3);
}

.banner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, .45);
}

/* ═══════════════════════════════════════════════════════
   CONTROLS
═══════════════════════════════════════════════════════ */
.controls-section {
    padding: 24px 48px 0;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-wrap svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: var(--gray-400);
}

.search-input {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    background: #fff;
    font-family: inherit;
    transition: border-color .2s;
}

.search-input:focus {
    border-color: var(--primary);
}

.filter-sel {
    padding: 11px 32px 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    background: #fff;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.tab-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1.5px solid var(--gray-200);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    color: var(--gray-500);
    transition: all .2s;
    font-family: inherit;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(79, 70, 229, .25);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.count-row {
    padding: 14px 48px 6px;
    font-size: 13px;
    color: var(--gray-500);
}

.count-row strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   MENTOR GRID — EXACTLY 3 COLUMNS
═══════════════════════════════════════════════════════ */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 14px 48px 24px;
}

.mentor-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    animation: cardFadeIn .35s ease;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mentor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--indigo-200);
}

.card-bar {
    height: 3px;
}

.card-body {
    padding: 18px;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-name {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.card-college {
    font-size: 11.5px;
    color: var(--gray-600);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 2px;
}

.card-year {
    font-size: 10.5px;
    color: var(--gray-400);
    display: block;
    font-weight: 500;
}

.card-branch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.card-branch-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exam-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 11px;
}

.exam-tag {
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid;
    display: inline-block;
    letter-spacing: .02em;
}

.exam-tag.tag-jee {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.exam-tag.tag-jeea {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.exam-tag.tag-neet {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #15803d;
}

.exam-tag.tag-kcet {
    background: #cffafe;
    border-color: #a5f3fc;
    color: #0e7490;
}

.exam-tag.tag-comedk {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #7c3aed;
}

.exam-tag.tag-default {
    background: var(--indigo-50);
    border-color: var(--indigo-200);
    color: var(--secondary);
}

.ranks-row {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
}

.rank-box {
    flex: 1;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 9px;
    padding: 9px;
    text-align: center;
}

.rank-num {
    font-size: 17px;
    font-weight: 400;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.rank-label {
    font-size: 9px;
    color: var(--gray-400);
    margin-top: 3px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.card-book-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .2s, transform .15s;
}

.card-book-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════
   "WHAT IS NAMMA SENIORS?" SECTION
═══════════════════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    background: var(--indigo-50);
    color: var(--secondary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1px solid var(--indigo-100);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-sub {
    font-size: 15.5px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

.what-section {
    padding: 70px 48px 30px;
    text-align: center;
    max-width: 1180px;
    margin: 0 auto;
}

.what-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
    text-align: left;
}

.wf-item {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.wf-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--indigo-200);
}

.wf-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(79, 70, 229, .2);
}

.wf-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 7px;
    letter-spacing: -0.01em;
}

.wf-item p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   BENEFITS SECTION
═══════════════════════════════════════════════════════ */
.benefits-section {
    padding: 60px 48px 90px;
    text-align: center;
    max-width: 1180px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.benefit-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 28px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.benefit-junior::before {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.benefit-senior::before {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.benefit-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.benefit-card h3 {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.015em;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
    padding: 9px 0;
}

.benefit-list li span {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--indigo-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

.benefit-senior .benefit-list li span {
    background: #fff7ed;
    color: var(--orange);
}

.benefit-list li strong {
    color: var(--gray-900);
    font-weight: 600;
}

.benefit-cta {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px dashed var(--gray-200);
    text-align: center;
}

.benefit-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #f97316, #ef4444);
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 6px;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(249, 115, 22, .3);
}

.benefit-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, .45);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.ns-footer {
    background: var(--gray-900);
    color: #cbd5e1;
    padding: 36px 48px 24px;
    margin-top: 20px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo strong {
    display: block;
    font-size: 15px;
    color: #fff;
    font-weight: 700;
}

.footer-logo span {
    display: block;
    font-size: 11.5px;
    color: var(--gray-400);
    margin-top: 2px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.footer-contact-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.footer-phone {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.footer-phone:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #e0e7ff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    white-space: nowrap;
}

.footer-feedback-btn:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateY(-1px);
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 18px;
    text-align: center;
}

.footer-copy {
    font-size: 12.5px;
    color: var(--gray-400);
}

/* ═══════════════════════════════════════════════════════
   MODAL BASE (profile / checkout / bookings)
═══════════════════════════════════════════════════════ */
.m-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 800;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
}

.m-overlay.open {
    display: flex;
}

.m-box {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: gateFadeUp .25s ease;
}

.m-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-family: inherit;
}

/* ═══════════════════════════════════════════════════════
   PROFILE MODAL
═══════════════════════════════════════════════════════ */
.profile-modal {
    max-width: 520px;
}

.profile-header {
    padding: 24px 24px 20px;
    color: #fff;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .22);
    margin-bottom: 12px;
}

.profile-name {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.profile-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 10px;
    font-weight: 400;
}

.profile-etag {
    display: inline-block;
    border-radius: 5px;
    padding: 2px 9px;
    font-size: 10.5px;
    font-weight: 600;
    margin-right: 4px;
    margin-bottom: 4px;
    letter-spacing: .02em;
}

.profile-etag.tag-jee {
    background: rgba(239, 68, 68, .25);
    border: 1px solid rgba(239, 68, 68, .4);
    color: #fff;
}

.profile-etag.tag-jeea {
    background: rgba(234, 88, 12, .25);
    border: 1px solid rgba(234, 88, 12, .4);
    color: #fff;
}

.profile-etag.tag-neet {
    background: rgba(16, 185, 129, .25);
    border: 1px solid rgba(16, 185, 129, .4);
    color: #fff;
}

.profile-etag.tag-kcet {
    background: rgba(6, 182, 212, .25);
    border: 1px solid rgba(6, 182, 212, .4);
    color: #fff;
}

.profile-etag.tag-comedk {
    background: rgba(124, 58, 237, .25);
    border: 1px solid rgba(124, 58, 237, .4);
    color: #fff;
}

.profile-etag.tag-default {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}

.profile-body {
    padding: 20px 22px 24px;
}

.pm-section-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 9px;
    margin-top: 18px;
}

.pm-section-title:first-child {
    margin-top: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 4px;
}

.detail-slot {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 9px 12px;
}

.detail-slot-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.detail-slot-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    word-break: break-word;
}

.detail-slot-value.empty {
    color: var(--gray-400);
    font-weight: 400;
    font-style: italic;
}

.rank-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 4px;
}

.rank-slot {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 9px 14px;
    min-width: 95px;
    text-align: center;
}

.rank-slot-label {
    font-size: 9px;
    font-weight: 700;
    color: #4338ca;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.rank-slot-num {
    font-size: 22px;
    font-weight: 300;
    color: #3730a3;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.rank-slot-sub {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 4px;
}

.chip-green {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}

.chip-blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}

.bg-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 11px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.fee-row span:first-child {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.fee-amt {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.book-session-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .35);
    transition: all .2s;
}

.book-session-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, .45);
}

/* ═══════════════════════════════════════════════════════
   CHECKOUT
═══════════════════════════════════════════════════════ */
.checkout-modal {
    max-width: 460px;
}

.checkout-header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 20px 22px 18px;
    border-radius: 20px 20px 0 0;
    color: #fff;
    position: relative;
}

.checkout-header .tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 3px;
}

.checkout-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.checkout-body {
    padding: 20px;
}

.qr-section {
    border: 1.5px dashed var(--gray-200);
    border-radius: 13px;
    padding: 18px;
    text-align: center;
    margin-bottom: 16px;
    background: var(--gray-50);
}

.qr-merchant {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 11px;
}

.qr-merchant-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.qr-merchant-name {
    font-size: 13.5px;
    font-weight: 700;
}

.qr-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
}

#qrCodeImg {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 10px;
}

.qr-upi-id {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 3px;
}

.qr-amount {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.qr-hint {
    font-size: 11.5px;
    color: var(--gray-400);
}

.upi-id-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    padding: 10px 13px;
    margin-bottom: 16px;
    background: #fff;
}

.upi-id-text {
    font-size: 13px;
    font-weight: 600;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 16px;
}

.student-verify-box {
    background: #eff6ff;
    border: 1px solid var(--indigo-200);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
}

.student-verify-label {
    font-size: 10px;
    font-weight: 700;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.student-verify-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.student-verify-row:last-child {
    margin-bottom: 0;
}

.student-verify-key {
    font-size: 12px;
    color: var(--gray-500);
}

.student-verify-value {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gray-900);
    text-align: right;
    max-width: 65%;
    word-break: break-all;
}

.file-upload-wrap {
    margin-bottom: 16px;
}

.file-upload-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 7px;
}

.file-upload-trigger {
    width: 100%;
    padding: 13px;
    border: 2px dashed var(--gray-300);
    border-radius: 10px;
    background: #fff;
    font-size: 12.5px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
    font-family: inherit;
    font-weight: 500;
}

.file-upload-trigger:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--indigo-50);
}

.file-upload-trigger.has-file {
    border-color: var(--green);
    background: #f0fdf4;
    color: #15803d;
    border-style: solid;
}

#paymentProofFile {
    display: none;
}

.upload-status {
    font-size: 11px;
    margin-top: 5px;
    font-weight: 500;
    min-height: 16px;
}

.upload-status.uploading {
    color: var(--gray-500);
}

.upload-status.success {
    color: var(--green);
}

.upload-status.error {
    color: var(--red);
}

.breakdown-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 12.5px;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
}

.b-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.amt-green {
    color: var(--green);
    font-weight: 700;
}

.amt-purple {
    color: var(--secondary);
    font-weight: 700;
}

.amt-red {
    color: var(--red);
    font-weight: 700;
}

.info-box {
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.55;
}

.info-box.yellow {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .3);
}

.confirm-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.confirm-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, .45);
}

/* ═══════════════════════════════════════════════════════
   ONBOARDING
═══════════════════════════════════════════════════════ */
.onboarding-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 900;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
}

.onboarding-overlay.open {
    display: flex;
}

.onboarding-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 93vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: gateFadeUp .25s ease;
}

.ob-header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 20px 22px;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

.ob-header .ob-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 3px;
}

.ob-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.ob-body {
    padding: 22px;
    overflow-y: auto;
    flex: 1;
}

.ob-f-group {
    margin-bottom: 14px;
}

.ob-f-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px;
}

.ob-f-input {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color .2s;
}

.ob-f-input:focus {
    border-color: var(--primary);
}

.ob-f-select {
    width: 100%;
    padding: 11px 30px 11px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    background: #fff;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.exam-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ob-exam-chip {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all .18s;
    font-family: inherit;
}

.ob-exam-chip.sel {
    border-color: var(--secondary);
    background: #f5f3ff;
    color: var(--secondary);
}

.rank-group-box {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 13px 14px;
    margin: 8px 0;
    border: 1px solid var(--gray-200);
}

.rank-group-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.rank-row-2 {
    display: flex;
    gap: 8px;
}

.ob-info {
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.55;
}

.ob-info.blue {
    background: var(--indigo-50);
    border: 1px solid var(--indigo-200);
    color: #1e40af;
}

.ob-info.purple {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #5b21b6;
}

.ob-id-upload-btn {
    width: 100%;
    padding: 13px;
    border: 2px dashed var(--gray-300);
    border-radius: 10px;
    background: #fff;
    font-size: 12.5px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .2s;
    font-family: inherit;
    font-weight: 500;
}

.ob-id-upload-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.ob-id-upload-btn.has-file {
    border-color: var(--green);
    background: #f0fdf4;
    color: #15803d;
    border-style: solid;
}

.ob-submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    margin-top: 6px;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .3);
}

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gray-900);
    color: #fff;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow-xl);
    max-width: 360px;
}

#toast.show {
    display: flex;
    animation: gateFadeUp .25s ease;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mentor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .what-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ns-nav {
        padding: 10px 20px;
    }

    .banner-section,
    .controls-section,
    .count-row,
    .what-section,
    .benefits-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding: 60px 20px 80px;
    }

    .mentor-grid {
        grid-template-columns: 1fr;
        padding: 14px 20px 20px;
    }

    .what-features {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .ns-footer {
        padding: 30px 20px 20px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gate-card {
        padding: 28px 22px;
    }

    .gate-title {
        font-size: 21px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
    }
}