/* ============================================================
   SCHOOL MANAGEMENT PAGE STYLES (sms.css)
   ============================================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    background: #f6f4f0;
    color: #0f1f3a;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: #1e5af5;
    color: #fff;
}

/* ---------- container ---------- */
.sms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sms-section {
    padding: 80px 24px;
}

@media (min-width: 768px) {
    .sms-section {
        padding: 100px 48px;
    }
}

/* ---------- buttons ---------- */
.sms-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 60px;
    background: #1e5af5;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(30, 90, 245, 0.30);
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.sms-btn-primary:hover {
    background: #1648d0;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(30, 90, 245, 0.35);
    color: #fff;
}

.sms-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 60px;
    background: transparent;
    color: #0f1f3a;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(15, 31, 58, 0.15);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.sms-btn-secondary:hover {
    background: rgba(15, 31, 58, 0.04);
    border-color: rgba(15, 31, 58, 0.30);
    transform: translateY(-2px);
}

.sms-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 60px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.sms-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.50);
    transform: translateY(-2px);
    color: #fff;
}

/* ---------- hero ---------- */
.sms-hero {
    position: relative;
    padding: 40px 24px 64px;
    overflow: hidden;
    background: #f6f4f0;
}

.sms-hero::before {
    content: '';
    position: absolute;
    left: -260px;
    top: -180px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 90, 245, 0.07), transparent 70%);
    pointer-events: none;
}

.sms-hero::after {
    content: '';
    position: absolute;
    right: -200px;
    bottom: -120px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 170, 50, 0.06), transparent 70%);
    pointer-events: none;
}

.sms-hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 860px) {
    .sms-hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 60px;
    }
}

.sms-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 16px;
    border-radius: 999px;
    background: #fff;
    color: #1e5af5;
    border: 1px solid rgba(30, 90, 245, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(15, 31, 58, 0.06);
    margin-bottom: 20px;
}

.sms-hero-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.sms-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #0f1f3a;
    margin: 0;
}

.sms-hero-title em {
    font-style: italic;
    color: #1e5af5;
}

@media (min-width: 600px) {
    .sms-hero-title { font-size: 58px; }
}

@media (min-width: 900px) {
    .sms-hero-title { font-size: 74px; }
}

.sms-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5a78;
    max-width: 520px;
    margin-top: 22px;
}

.sms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.sms-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 34px;
    font-size: 13px;
    color: #7a8aa8;
}

.sms-hero-meta strong {
    color: #0f1f3a;
    font-weight: 700;
}

.sms-hero-meta-divider {
    width: 1px;
    height: 18px;
    background: rgba(15, 31, 58, 0.12);
}

/* hero visual */
.sms-hero-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(30, 90, 245, 0.04), rgba(30, 90, 245, 0.01));
    border-radius: 32px;
    border: 1px solid rgba(15, 31, 58, 0.06);
    padding: 36px 24px;
    backdrop-filter: blur(2px);
}

@media (min-width: 860px) {
    .sms-hero-visual { min-height: 460px; }
}

.sms-hero-visual-inner {
    text-align: center;
}

.sms-hero-visual-inner .sms-icon-large {
    font-size: 80px;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(15, 31, 58, 0.08));
}

.sms-hero-visual-inner h3 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #0f1f3a;
    letter-spacing: -0.02em;
}

.sms-hero-visual-inner p {
    font-size: 14px;
    color: #4a5a78;
    margin-top: 6px;
}

.sms-hero-visual-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
    font-size: 12px;
    color: #4a5a78;
}

.sms-hero-visual-tags span {
    background: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15, 31, 58, 0.06);
    box-shadow: 0 2px 8px rgba(15, 31, 58, 0.04);
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sms-hero-visual-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 31, 58, 0.08);
}

.sms-hero-visual-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 90, 245, 0.06), transparent 70%);
    top: -40px;
    right: -40px;
    pointer-events: none;
}

/* ---------- stats ---------- */
.sms-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 40px 24px 56px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(15, 31, 58, 0.06);
}

@media (min-width: 600px) {
    .sms-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.sms-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 600;
    color: #0f1f3a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.sms-stat-number .sms-stat-accent {
    color: #1e5af5;
}

.sms-stat-label {
    font-size: 12px;
    color: #6a7a98;
    margin-top: 8px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ---------- section titles ---------- */
.sms-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1e5af5;
    margin-bottom: 16px;
    text-align: center;
}

.sms-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #0f1f3a;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-align: center;
}

.sms-section-title em {
    font-style: italic;
    color: #1e5af5;
}

.sms-section-sub {
    font-size: 17px;
    color: #4a5a78;
    text-align: center;
    max-width: 620px;
    margin: 16px auto 0;
    line-height: 1.6;
}

@media (min-width: 600px) {
    .sms-section-title { font-size: 50px; }
}

@media (min-width: 900px) {
    .sms-section-title { font-size: 56px; }
}

/* ---------- modules ---------- */
.sms-modules {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.sms-module-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(15, 31, 58, 0.06);
    box-shadow: 0 4px 16px rgba(15, 31, 58, 0.04);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    transition: box-shadow 0.35s, transform 0.3s;
}

.sms-module-card:hover {
    box-shadow: 0 16px 48px rgba(15, 31, 58, 0.08);
    transform: translateY(-4px);
}

@media (min-width: 640px) {
    .sms-module-card {
        grid-template-columns: 270px 1fr;
    }
}

.sms-module-side {
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(30, 90, 245, 0.05), rgba(30, 90, 245, 0.01));
    border-right: 1px solid rgba(15, 31, 58, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sms-module-side--green {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.06), rgba(16, 185, 129, 0.01));
}

.sms-module-side--orange {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.06), rgba(245, 158, 11, 0.01));
}

.sms-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #1e5af5;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(30, 90, 245, 0.30);
    flex-shrink: 0;
}

.sms-module-icon--green {
    background: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.30);
}

.sms-module-icon--orange {
    background: #f59e0b;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.30);
}

.sms-module-side h3 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #0f1f3a;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.sms-module-side p {
    font-size: 13px;
    color: #5a6a88;
    margin-top: 6px;
    line-height: 1.5;
}

.sms-module-side .sms-module-count {
    font-size: 12px;
    font-weight: 600;
    color: #1e5af5;
    margin-top: 12px;
    letter-spacing: 0.04em;
}

.sms-module-items {
    padding: 20px 18px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    align-content: start;
}

@media (min-width: 640px) {
    .sms-module-items {
        padding: 26px 24px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.sms-module-item {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 31, 58, 0.06);
    background: #fafaf8;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.sms-module-item:hover {
    background: #f4f7ff;
    border-color: rgba(30, 90, 245, 0.15);
    transform: translateY(-2px);
}

.sms-module-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0f1f3a;
    margin-bottom: 4px;
}

.sms-module-item strong .sms-emoji {
    font-size: 18px;
}

.sms-module-item span {
    font-size: 12px;
    color: #5a6a88;
    line-height: 1.4;
}

/* ---------- pricing ---------- */
.sms-pricing-grid {
    display: grid;
    gap: 28px;
    margin-top: 48px;
}

@media (min-width: 720px) {
    .sms-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }
}

.sms-pricing-card {
    background: #fff;
    border-radius: 28px;
    padding: 36px 28px 32px;
    border: 1px solid rgba(15, 31, 58, 0.06);
    box-shadow: 0 4px 16px rgba(15, 31, 58, 0.04);
    text-align: center;
    transition: box-shadow 0.35s, transform 0.3s;
    position: relative;
}

.sms-pricing-card:hover {
    box-shadow: 0 20px 52px rgba(15, 31, 58, 0.08);
    transform: translateY(-6px);
}

.sms-pricing-card--popular {
    border-color: #1e5af5;
    background: #f9faff;
}

.sms-pricing-card--popular .sms-pricing-badge {
    display: inline-block;
    background: #1e5af5;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.sms-pricing-name {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #0f1f3a;
}

.sms-pricing-price {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #0f1f3a;
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
}

.sms-pricing-price small {
    font-size: 17px;
    font-weight: 400;
    color: #5a6a88;
}

.sms-pricing-desc {
    font-size: 14px;
    color: #5a6a88;
    margin-bottom: 20px;
}

.sms-pricing-features {
    list-style: none;
    text-align: left;
    font-size: 13px;
    color: #0f1f3a;
    margin: 18px 0 26px;
    padding: 0;
}

.sms-pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(15, 31, 58, 0.04);
}

.sms-pricing-features li:last-child {
    border-bottom: none;
}

.sms-pricing-features .sms-check {
    color: #1e5af5;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sms-pricing-card .sms-btn-primary,
.sms-pricing-card .sms-btn-secondary {
    width: 100%;
    justify-content: center;
}

/* ---------- CTA ---------- */
.sms-cta-wrap {
    padding-top: 20px;
}

.sms-cta {
    background: linear-gradient(145deg, #0f1f3a, #1a2f52);
    border-radius: 32px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.sms-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 90, 245, 0.15), transparent 70%);
    pointer-events: none;
}

.sms-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 170, 50, 0.06), transparent 70%);
    pointer-events: none;
}

.sms-cta h2 {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    position: relative;
}

.sms-cta p {
    font-size: 17px;
    opacity: 0.80;
    margin: 14px auto 28px;
    max-width: 500px;
    position: relative;
    line-height: 1.6;
}

.sms-cta .sms-btn-primary {
    background: #fff;
    color: #0f1f3a;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.20);
    position: relative;
}

.sms-cta .sms-btn-primary:hover {
    background: #f0f4ff;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

.sms-cta .sms-btn-outline-light {
    position: relative;
}

.sms-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    position: relative;
}

@media (min-width: 600px) {
    .sms-cta {
        padding: 72px 56px;
    }
    .sms-cta h2 {
        font-size: 42px;
    }
}

/* ---------- utilities ---------- */
.sms-text-center { text-align: center; }
.sms-mt-8 { margin-top: 8px; }
.sms-mt-16 { margin-top: 16px; }
.sms-gap-8 { gap: 8px; }

/* ============================================================
   MOBILE RESPONSIVE – SMS PAGE (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
    .sms-section {
        padding: 50px 16px;
    }

    .sms-container {
        padding: 0 16px;
    }

    .sms-hero {
        padding: 30px 16px 40px;
    }

    .sms-hero-grid {
        gap: 30px;
    }

    .sms-hero-title {
        font-size: clamp(28px, 7vw, 40px);
        letter-spacing: -0.02em;
    }

    .sms-hero-desc {
        font-size: 16px;
        margin-top: 16px;
    }

    .sms-hero-actions {
        margin-top: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .sms-hero-meta {
        margin-top: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
    }

    .sms-hero-meta-divider {
        display: none;
    }

    .sms-hero-visual {
        min-height: 280px;
        padding: 24px 16px;
        border-radius: 20px;
    }

    .sms-hero-visual-inner .sms-icon-large {
        font-size: 60px;
    }

    .sms-hero-visual-inner h3 {
        font-size: 22px;
    }

    .sms-hero-visual-inner p {
        font-size: 13px;
    }

    .sms-hero-visual-tags {
        gap: 6px;
        margin-top: 16px;
    }

    .sms-hero-visual-tags span {
        padding: 6px 12px;
        font-size: 11px;
    }

    .sms-stats {
        padding: 30px 16px 40px;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .sms-stat-number {
        font-size: 32px;
    }

    .sms-stat-label {
        font-size: 10px;
    }

    .sms-section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .sms-section-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .sms-section-sub {
        font-size: 15px;
        margin-top: 10px;
    }

    .sms-modules {
        gap: 16px;
        margin-top: 30px;
    }

    .sms-module-card {
        border-radius: 20px;
        grid-template-columns: 1fr;
    }

    .sms-module-side {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(15,31,58,.05);
    }

    .sms-module-side h3 {
        font-size: 22px;
    }

    .sms-module-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .sms-module-items {
        padding: 16px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .sms-module-item {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .sms-module-item strong {
        font-size: 13px;
    }

    .sms-module-item span {
        font-size: 11px;
    }

    .sms-pricing-grid {
        margin-top: 30px;
        gap: 20px;
    }

    .sms-pricing-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .sms-pricing-price {
        font-size: 40px;
    }

    .sms-pricing-features li {
        font-size: 12px;
    }

    .sms-cta {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .sms-cta h2 {
        font-size: 28px;
    }

    .sms-cta p {
        font-size: 15px;
    }

    .sms-cta-actions {
        flex-direction: column;
        gap: 10px;
    }
}