/*
 * Student Portal Landing Page Styles - Premium SaaS Edition v2
 */

:root {
    --sp-primary: #E31E24;
    --sp-primary-dark: #c8181f;
    --sp-primary-light: rgba(227, 30, 36, 0.1);
    --sp-black: #111111;
    --sp-gray-dark: #4b5563;
    --sp-gray-light: #f9fafb;
    --sp-border: #e5e7eb;
    --sp-radius: 20px;
    --sp-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --sp-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --sp-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --sp-shadow-hover: 0 25px 50px -12px rgba(227, 30, 36, 0.15);
    --sp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
.student-portal-main {
    color: var(--sp-black);
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.student-portal-main * {
    box-sizing: border-box;
}

.student-portal-main h1,
.student-portal-main h2,
.student-portal-main h3,
.student-portal-main h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.student-portal-main h2 {
    font-size: 2.2rem;
}

.student-portal-main h3 {
    font-size: 1.5rem;
}

.student-portal-main h4 {
    font-size: 1.25rem;
}

.student-portal-main p {
    color: var(--sp-gray-dark);
}

.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light {
    background-color: var(--sp-gray-light);
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.sp-mt-4 {
    margin-top: 2.5rem;
}

/* Section Headers */
.sp-section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.sp-section-desc {
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: var(--sp-gray-dark);
}

.sp-section-header {
    margin-bottom: 4rem;
}

/* Animations */
.sp-animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sp-animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(227, 30, 36, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(227, 30, 36, 0);
    }
}

@keyframes drawLine {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

/* Buttons */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--sp-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sp-btn-primary {
    background: var(--sp-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.sp-btn-primary:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 12px 25px rgba(227, 30, 36, 0.4);
}

.sp-btn-primary:hover::after {
    opacity: 1;
}

.sp-btn-secondary {
    background: #fff;
    color: var(--sp-black);
    border: 1px solid var(--sp-border);
    box-shadow: var(--sp-shadow-sm);
}

.sp-btn-secondary:hover {
    border-color: #d1d5db;
    transform: translateY(-3px);
    box-shadow: var(--sp-shadow);
}

.sp-btn-white {
    background: #fff;
    color: var(--sp-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sp-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sp-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.sp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ==================================================
   1. HERO SECTION
   ================================================== */
.sp-hero {
    position: relative;
    padding: 2rem 0 7rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.sp-hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.sp-hero-bg-shapes .sp-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.sp-shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(227, 30, 36, 0.08);
    top: -150px;
    right: -100px;
}

.sp-shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(227, 30, 36, 0.04);
    bottom: -100px;
    left: -150px;
}

.sp-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 2;
}

.sp-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.sp-hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--sp-gray-dark);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.sp-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Complex Dashboard Mockup */
.sp-hero-illustration {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    perspective: 1200px;
    z-index: 2;
}

.sp-dashboard-mockup {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    box-shadow: var(--sp-shadow-lg);
    overflow: hidden;
    transform: rotateX(6deg) translateY(0);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: bottom center;
}

.sp-hero-illustration:hover .sp-dashboard-mockup {
    transform: rotateX(0deg) translateY(-10px);
}

.sp-dash-header {
    height: 48px;
    background: #f9fafb;
    border-bottom: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.sp-dash-dots {
    display: flex;
    gap: 8px;
}

.sp-dash-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
}

.sp-dash-dots span:nth-child(1) {
    background: #ff5f56;
}

.sp-dash-dots span:nth-child(2) {
    background: #ffbd2e;
}

.sp-dash-dots span:nth-child(3) {
    background: #27c93f;
}

.sp-dash-url {
    background: #fff;
    padding: 4px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #9ca3af;
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.sp-dash-body {
    display: flex;
    height: 500px;
}

.sp-dash-sidebar {
    width: 220px;
    background: #ffffff;
    border-right: 1px solid var(--sp-border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-dash-menu-item {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--sp-gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-dash-menu-item svg {
    width: 18px;
    height: 18px;
}

.sp-dash-menu-item.active {
    background: var(--sp-primary-light);
    color: var(--sp-primary);
}

.sp-dash-content {
    flex: 1;
    padding: 32px;
    background: #f9fafb;
    overflow: hidden;
}

.sp-dash-page-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.sp-dash-top-widgets {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.sp-dash-widget {
    flex: 1;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--sp-shadow-sm);
}

.sd-widget-title {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sd-progress-circle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sp-primary);
}

.sd-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.sd-status-badge.success {
    background: #dcfce7;
    color: #166534;
}

.sd-task-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.sp-dash-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.sp-dash-main-chart {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    padding: 20px;
    height: 220px;
    box-shadow: var(--sp-shadow-sm);
}

.sp-dash-side-panel {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    padding: 20px;
    height: 220px;
    box-shadow: var(--sp-shadow-sm);
}

.sd-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.sd-tl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
}

.sd-tl-item::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
}

.sd-tl-item.done::before {
    background: #22c55e;
}

.sd-tl-item.active::before {
    background: var(--sp-primary);
    box-shadow: 0 0 0 4px var(--sp-primary-light);
}

.sd-notif-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.sd-notif {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    background: #f9fafb;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.sd-n-dot {
    width: 8px;
    height: 8px;
    background: var(--sp-primary);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Glassmorphism Floating Cards */
.sp-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sp-black);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.sp-float-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-float-icon svg {
    width: 16px;
    height: 16px;
}

.bg-red-light {
    background: var(--sp-primary-light);
    color: var(--sp-primary);
}

.sp-card-1 {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.sp-card-2 {
    top: 40%;
    right: -8%;
    animation-delay: 1.2s;
}

.sp-card-3 {
    bottom: 20%;
    left: -6%;
    animation-delay: 2.4s;
}

.sp-card-4 {
    bottom: 10%;
    right: 2%;
    animation-delay: 3.6s;
}

.sp-card-5 {
    top: 5%;
    right: 10%;
    animation-delay: 4.8s;
}


/* ==================================================
   2. TRUST STATISTICS
   ================================================== */
.sp-trust-bar {
    padding: 4rem 0;
    border-top: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
    background: #fff;
}

.sp-trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.sp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sp-trust-icon {
    width: 48px;
    height: 48px;
    background: var(--sp-primary-light);
    color: var(--sp-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sp-trust-icon svg {
    width: 24px;
    height: 24px;
}

.sp-trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sp-black);
    line-height: 1.1;
    margin-bottom: 4px;
}

.sp-trust-label {
    font-size: 0.9rem;
    color: var(--sp-gray-dark);
    font-weight: 500;
}


/* ==================================================
   3. INTRODUCTION SECTION
   ================================================== */
.sp-intro {
    padding: 2rem 0;
}

.sp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sp-split.reverse {
    direction: rtl;
}

.sp-split.reverse>* {
    direction: ltr;
}

.sp-intro-mockup-wrap {
    position: relative;
    perspective: 1000px;
    padding: 20px;
}

.sp-intro-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--sp-shadow-lg);
    transform: rotateY(10deg);
    transition: transform 0.5s ease;
    display: block;
}

.sp-intro-mockup-wrap:hover .sp-intro-image {
    transform: rotateY(0deg);
}

.sp-feature-label {
    position: absolute;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sp-black);
    box-shadow: var(--sp-shadow);
    animation: float 4s infinite ease-in-out;
}

.fl-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.fl-2 {
    top: 30%;
    right: -20px;
    animation-delay: 1s;
}

.fl-3 {
    bottom: 30%;
    left: -10px;
    animation-delay: 2s;
}

.fl-4 {
    bottom: 10%;
    right: 10px;
    animation-delay: 3s;
}

.sp-intro-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-intro-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.05rem;
}

.sp-intro-list svg {
    width: 24px;
    height: 24px;
    color: var(--sp-primary);
    flex-shrink: 0;
}


/* ==================================================
   4. KEY FEATURES SECTION
   ================================================== */
.sp-features {
    padding: 2rem 0;
}

.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.premium-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    transition: var(--sp-transition);
    box-shadow: var(--sp-shadow-sm);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary), #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sp-shadow-hover);
    border-color: transparent;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.sp-feature-icon-grad {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sp-primary-light), rgba(227, 30, 36, 0.02));
    color: var(--sp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.premium-card:hover .sp-feature-icon-grad {
    transform: scale(1.1) rotate(5deg);
}

.sp-feature-icon-grad svg {
    width: 32px;
    height: 32px;
}

.sp-feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.sp-feature-desc {
    margin: 0;
    font-size: 0.95rem;
}


/* ==================================================
   5. UNIQUE SELLING PROPOSITIONS (USPS)
   ================================================== */
.sp-usps {
    padding: 2rem 0;
}

.sp-usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 4rem;
}

.sp-usp-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: var(--sp-transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sp-usp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.1);
    border-color: rgba(227, 30, 36, 0.15);
    background: #fff;
}

.sp-usp-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(227, 30, 36, 0.02));
    color: var(--sp-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sp-usp-card:hover .sp-usp-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--sp-primary), #ff6b6b);
    color: #fff;
}

.sp-usp-icon svg {
    width: 24px;
    height: 24px;
}

.sp-usp-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--sp-black);
}

.sp-usp-card p {
    font-size: 0.95rem;
    color: var(--sp-gray-dark);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .sp-usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sp-usp-grid {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   6. BENEFITS SECTION
   ================================================== */
.sp-benefits {
    padding: 8rem 0;
}

.sp-check-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-check-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--sp-transition);
}

.sp-check-card:hover {
    box-shadow: var(--sp-shadow);
    transform: translateX(10px);
    border-color: rgba(227, 30, 36, 0.2);
}

.sp-cc-icon {
    width: 32px;
    height: 32px;
    background: var(--sp-primary-light);
    color: var(--sp-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-cc-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.sp-dash-preview-frame {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    box-shadow: var(--sp-shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
}

.sp-dp-header {
    height: 32px;
    background: #f9fafb;
    border-bottom: 1px solid var(--sp-border);
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.sp-dp-content {
    padding: 24px;
    background: #f3f4f6;
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dp-header-bar {
    height: 40px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sp-border);
}

.dp-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    flex: 1;
}

.dp-col1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dp-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sp-border);
}

.dp-card-lg {
    flex: 2;
}

.dp-card-sm {
    flex: 1;
}

.dp-card-tall {
    height: 100%;
}


/* ==================================================
   7. VISUAL WALKTHROUGH SECTION
   ================================================== */
.sp-walkthrough {
    padding: 2rem 0;
}

.sp-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 4rem;
}

.sp-mockup-item h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    margin-top: 24px;
}

.sp-mockup-item p {
    margin: 0;
    font-size: 0.95rem;
}

.sp-mockup-frame {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sp-shadow);
    transition: var(--sp-transition);
}

.sp-mockup-item:hover .sp-mockup-frame {
    transform: translateY(-10px);
    box-shadow: var(--sp-shadow-hover);
    border-color: rgba(227, 30, 36, 0.2);
}

.sp-mf-head {
    height: 32px;
    background: #f9fafb;
    border-bottom: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.sp-mf-body {
    height: 240px;
    background: #f3f4f6;
    display: flex;
    padding: 16px;
    gap: 16px;
}

.mf-sidebar {
    width: 25%;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sp-border);
}

.mf-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mf-box-row {
    display: flex;
    gap: 12px;
}

.mf-box {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    height: 48px;
    flex: 1;
}

.h-large {
    height: 130px;
}

.w-full {
    width: 100%;
}

.mf-list-item {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
}

.mf-list-item.notif {
    border-left: 4px solid var(--sp-primary);
}

.mf-upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.mf-upload-zone svg {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.mf-file-row {
    height: 32px;
    background: #e5e7eb;
    border-radius: 6px;
}

.mf-progress-path {
    display: flex;
    gap: 8px;
    align-items: center;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.mf-step {
    width: 80%;
    height: 24px;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
}

.mf-step.done {
    background: #22c55e;
    border-color: #22c55e;
}

.mf-step.active {
    border-color: var(--sp-primary);
    border-width: 2px;
}

.mf-doc-preview {
    flex: 1;
    background: #fff;
    border: 1px solid var(--sp-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.doc-line {
    width: 80%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

.doc-line.short {
    width: 50%;
}

.doc-seal {
    width: 40px;
    height: 40px;
    background: #fef08a;
    border-radius: 50%;
    margin-top: 20px;
}

.n-icon {
    width: 24px;
    height: 24px;
    background: #f3f4f6;
    border-radius: 50%;
}

.n-text {
    flex: 1;
    height: 10px;
    background: #f3f4f6;
    border-radius: 4px;
}


/* ==================================================
   8. HOW IT WORKS
   ================================================== */
.sp-how-it-works {
    padding: 2rem 0;
    overflow: hidden;
}

.sp-timeline-premium {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 4rem;
}

.sp-timeline-premium::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    z-index: 1;
}

.sp-timeline-premium::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary) 0%, rgba(227, 30, 36, 0) 100%);
    z-index: 2;
    animation: drawLine 3s ease forwards;
}

.sp-tl-card {
    position: relative;
    z-index: 3;
    text-align: center;
}

.sp-tl-num {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e5e7eb;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #9ca3af;
    transition: var(--sp-transition);
}

.sp-tl-card:hover .sp-tl-num {
    color: var(--sp-primary);
    box-shadow: 0 0 0 4px var(--sp-primary);
    transform: scale(1.1);
}

.sp-tl-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sp-tl-desc {
    font-size: 0.9rem;
    margin: 0;
}


/* ==================================================
   9. REGISTRATION PROCESS
   ================================================== */
.sp-registration {
    padding: 8rem 0;
}

.sp-reg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 4rem;
}

.sp-reg-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    position: relative;
    transition: var(--sp-transition);
    box-shadow: var(--sp-shadow-sm);
}

.sp-reg-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sp-shadow-hover);
    border-color: rgba(227, 30, 36, 0.2);
}

.sp-reg-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    font-weight: 800;
    color: #f3f4f6;
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}

.sp-reg-card:hover .sp-reg-num {
    color: var(--sp-primary-light);
}

.sp-reg-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: var(--sp-shadow-sm);
}

.sp-reg-icon svg {
    width: 32px;
    height: 32px;
}

.sp-reg-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.sp-reg-card p {
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}


/* ==================================================
   10. COMPARISON & TRUST
   ================================================== */
.sp-comparison {
    padding: 2rem 0;
}

.sp-comparison-table-wrap {
    max-width: 1000px;
    margin: 4rem auto 0;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    box-shadow: var(--sp-shadow-lg);
}

.sp-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sp-comp-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.sp-comp-before {
    background: #fafafa;
    border-right: 1px solid var(--sp-border);
}

.sp-comp-after {
    background: linear-gradient(180deg, #fff 0%, rgba(227, 30, 36, 0.03) 100%);
}

.sp-comp-head {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-gray-dark);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.sp-comp-after .sp-comp-head {
    color: var(--sp-primary);
}

.sp-comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sp-comp-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--sp-black);
}

.sp-comp-before .sp-comp-list li {
    color: var(--sp-gray-dark);
}

.sp-x,
.sp-check {
    margin-right: 16px;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-x {
    opacity: 0.7;
}

.sp-trust-badges-wrap {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.sp-trust-badges-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 1000px;
}

.sp-t-badge {
    background: #fff;
    border: 1px solid var(--sp-border);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-gray-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--sp-transition);
}

.sp-t-badge:hover {
    border-color: rgba(227, 30, 36, 0.3);
    color: var(--sp-primary);
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-sm);
}

@media (max-width: 768px) {
    .sp-comp-grid {
        grid-template-columns: 1fr;
    }

    .sp-comp-before {
        border-right: none;
        border-bottom: 1px solid var(--sp-border);
    }

    .sp-comp-col {
        padding: 32px 24px;
    }
}


/* ==================================================
   11. FAQ
   ================================================== */
.sp-faq {
    padding: 8rem 0;
}

.sp-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.sp-accordion-item {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--sp-transition);
    box-shadow: var(--sp-shadow-sm);
}

.sp-accordion-item:hover {
    border-color: #d1d5db;
    box-shadow: var(--sp-shadow);
}

.sp-accordion-header {
    width: 100%;
    padding: 24px 32px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sp-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.acc-icon {
    width: 32px;
    height: 32px;
    background: var(--sp-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-black);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-icon svg {
    width: 20px;
    height: 20px;
}

.sp-accordion-header.active .acc-icon {
    transform: rotate(180deg);
    background: var(--sp-primary);
    color: #fff;
}

.sp-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-accordion-content p {
    padding: 0 32px 32px;
    margin: 0;
    font-size: 1.05rem;
}


/* ==================================================
   12. FINAL CTA
   ================================================== */
.sp-final-cta {
    padding: 4rem 24px 8rem;
}

.sp-cta-box {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--sp-primary) 0%, #a71217 100%);
    border-radius: 32px;
    padding: 7rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(227, 30, 36, 0.3);
}

.sp-floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.fc-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -100px;
}

.fc-2 {
    width: 600px;
    height: 600px;
    bottom: -250px;
    right: -150px;
}

.sp-floating-dash {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: float 5s infinite;
}

.sp-floating-dash svg {
    width: 20px;
    height: 20px;
}

.fd-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.fd-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.sp-cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.sp-cta-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.sp-cta-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.sp-cta-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.sp-cta-badges svg {
    width: 18px;
    height: 18px;
    color: #4ade80;
}

/* ==================================================
   13b. BENEFITS SECTION
   ================================================== */
.sp-benefits {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.sp-benefits-illustration {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp-illustration-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--sp-shadow-lg);
}

.sp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.sp-benefit-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.08);
    border-color: rgba(227, 30, 36, 0.2);
}

.sp-b-icon {
    width: 48px;
    height: 48px;
    background: var(--sp-accent);
    color: var(--sp-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.sp-b-icon svg {
    width: 24px;
    height: 24px;
}

.sp-benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-black);
    margin: 0;
}

.sp-benefit-card p {
    font-size: 0.95rem;
    color: var(--sp-gray);
    margin: 0;
    line-height: 1.5;
}

/* ==================================================
   14. MOBILE OPTIMIZATION
   ================================================== */
@media (max-width: 1200px) {
    .sp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 1024px) {
    .sp-hero-title {
        font-size: 2.4rem;
    }

    .student-portal-main h2 {
        font-size: 2rem;
    }

    .sp-split {
        gap: 40px;
    }

    .sp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-reg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-timeline-premium {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .sp-timeline-premium::before,
    .sp-timeline-premium::after {
        display: none;
    }

    .sp-tl-num {
        box-shadow: none;
        border-color: var(--sp-border);
    }

    .sp-floating-card {
        display: none;
    }

    /* Hide floating cards on smaller tablets */
}

@media (max-width: 768px) {
    .student-portal-main h2 {
        font-size: 1.75rem;
    }

    .student-portal-main h3 {
        font-size: 1.25rem;
    }

    .sp-hero {
        padding: 1rem 0 4rem;
    }

    .sp-hero-title {
        font-size: 2rem;
    }

    .sp-split {
        grid-template-columns: 1fr;
    }

    .sp-split.reverse {
        direction: ltr;
    }

    .sp-dash-body {
        height: auto;
        flex-direction: column;
    }

    .sp-dash-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--sp-border);
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
    }

    .sp-dash-menu-item {
        white-space: nowrap;
    }

    .sp-dash-content {
        padding: 20px;
    }

    .sp-dash-top-widgets {
        flex-direction: column;
    }

    .sp-dash-bottom-grid {
        grid-template-columns: 1fr;
    }

    .sp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-features-grid,
    .sp-why-grid,
    .sp-mockup-grid,
    .sp-reg-grid {
        grid-template-columns: 1fr;
    }

    .sp-timeline-premium {
        grid-template-columns: 1fr;
    }

    .sp-tl-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .sp-tl-num {
        margin: 0;
        flex-shrink: 0;
    }

    .sp-premium-table th,
    .sp-premium-table td {
        padding: 16px;
        font-size: 0.95rem;
    }

    .sp-hero-ctas {
        flex-direction: column;
    }

    .sp-cta-title {
        font-size: 2rem;
    }

    .sp-floating-dash {
        display: none;
    }

    .sp-cta-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .student-portal-main {
        padding-bottom: 80px;
    }

    .sp-feature-label {
        display: none;
    }
}

@media (max-width: 480px) {

    .sp-premium-table th,
    .sp-premium-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .sp-accordion-header {
        padding: 16px;
        font-size: 1.05rem;
    }

    .sp-trust-grid {
        grid-template-columns: 1fr;
    }
}