Spaces:
Sleeping
Sleeping
| /* ======================================== | |
| Landing Page Styles | |
| ======================================== */ | |
| /* Nav */ | |
| .landing-nav { | |
| position: fixed; | |
| top: 0; left: 0; right: 0; | |
| z-index: 200; | |
| background: rgba(255,255,255,0.92); | |
| backdrop-filter: blur(12px); | |
| border-bottom: 1px solid rgba(0,0,0,0.06); | |
| transition: all 0.3s ease; | |
| } | |
| .nav-container { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; } | |
| .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; } | |
| .logo-mark { display: flex; align-items: center; } | |
| .nav-brand { font-size: 1.2rem; font-weight: 800; color: #1E293B; letter-spacing: -0.5px; } | |
| .nav-brand span { color: #4F46E5; } | |
| .nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; } | |
| .nav-link { padding: 8px 14px; border-radius: 8px; color: #64748B; font-size: 14px; font-weight: 500; transition: all 0.2s; text-decoration: none; } | |
| .nav-link:hover { background: #F1F5F9; color: #1E293B; } | |
| .nav-cta { display: flex; gap: 8px; } | |
| .nav-hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; padding: 6px; } | |
| .mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 16px; border-top: 1px solid rgba(0,0,0,0.06); } | |
| .mobile-nav.open { display: flex; } | |
| .mobile-nav a { padding: 10px 12px; border-radius: 8px; color: #64748B; font-size: 14px; font-weight: 500; text-decoration: none; } | |
| .mobile-nav a:hover { background: #F1F5F9; color: #1E293B; } | |
| @media (max-width: 768px) { | |
| .nav-links, .nav-cta { display: none; } | |
| .nav-hamburger { display: block; margin-left: auto; } | |
| } | |
| /* Hero */ | |
| .hero { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| overflow: hidden; | |
| padding: 100px 24px 60px; | |
| background: linear-gradient(160deg, #0F172A 0%, #1E293B 50%, #0F172A 100%); | |
| } | |
| .hero-bg { position: absolute; inset: 0; z-index: 0; } | |
| .hero-blob { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(80px); | |
| opacity: 0.15; | |
| } | |
| .blob-1 { | |
| width: 600px; height: 600px; | |
| background: radial-gradient(circle, #4F46E5, transparent); | |
| top: -100px; left: -150px; | |
| animation: blobFloat 8s ease-in-out infinite; | |
| } | |
| .blob-2 { | |
| width: 500px; height: 500px; | |
| background: radial-gradient(circle, #06B6D4, transparent); | |
| bottom: -100px; right: -100px; | |
| animation: blobFloat 10s ease-in-out infinite reverse; | |
| } | |
| @keyframes blobFloat { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.05); } } | |
| .hero-grid { | |
| position: absolute; inset: 0; | |
| background-image: | |
| linear-gradient(rgba(79,70,229,0.06) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(79,70,229,0.06) 1px, transparent 1px); | |
| background-size: 40px 40px; | |
| } | |
| .hero-container { position: relative; z-index: 1; max-width: 800px; text-align: center; } | |
| .hero-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| background: rgba(79,70,229,0.15); | |
| border: 1px solid rgba(79,70,229,0.3); | |
| color: #818CF8; | |
| padding: 6px 16px; | |
| border-radius: 20px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| margin-bottom: 28px; | |
| letter-spacing: 0.02em; | |
| } | |
| .badge-pulse { | |
| width: 8px; height: 8px; | |
| background: #4ADE80; | |
| border-radius: 50%; | |
| animation: pulseLive 1.5s infinite; | |
| display: inline-block; | |
| } | |
| @keyframes pulseLive { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } } | |
| .hero-title { font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 900; color: white; letter-spacing: -2px; line-height: 1.1; margin-bottom: 24px; } | |
| .hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; } | |
| .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; } | |
| .hero-btn-primary { background: linear-gradient(135deg, #4F46E5, #7C3AED); border: none; box-shadow: 0 8px 30px rgba(79,70,229,0.4); } | |
| .hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79,70,229,0.5); } | |
| .btn-secondary { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); } | |
| .btn-secondary:hover { background: rgba(255,255,255,0.14); } | |
| .hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 20px 32px; backdrop-filter: blur(8px); } | |
| .hero-stat { text-align: center; padding: 0 28px; } | |
| .hero-stat-value { font-size: 1.8rem; font-weight: 900; color: white; line-height: 1; } | |
| .hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; font-weight: 500; } | |
| .hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); } | |
| .hero-scroll-indicator { position: absolute; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.3); font-size: 12px; } | |
| .scroll-arrow { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); animation: scrollBounce 1.5s ease-in-out infinite; } | |
| @keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } } | |
| @media (max-width: 600px) { | |
| .hero-stats { padding: 16px; gap: 0; } | |
| .hero-stat { padding: 0 12px; } | |
| .hero-stat-value { font-size: 1.4rem; } | |
| .hero-stat-divider { display: none; } | |
| } | |
| /* Role Section */ | |
| .role-section { padding: 100px 24px; background: #F8FAFC; } | |
| .role-container { max-width: 1100px; margin: 0 auto; text-align: center; } | |
| .section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #4F46E5; text-transform: uppercase; margin-bottom: 12px; } | |
| .section-label.light { color: rgba(255,255,255,0.5); } | |
| .section-title-lg { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #1E293B; margin-bottom: 16px; letter-spacing: -0.5px; } | |
| .section-subtitle { color: #64748B; max-width: 560px; margin: 0 auto 56px; font-size: 15px; line-height: 1.7; } | |
| .role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; } | |
| .role-card { | |
| position: relative; | |
| background: white; | |
| border-radius: 20px; | |
| padding: 36px 28px; | |
| border: 2px solid #E2E8F0; | |
| cursor: pointer; | |
| transition: all 0.3s cubic-bezier(0.4,0,0.2,1); | |
| text-align: left; | |
| overflow: hidden; | |
| } | |
| .role-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); } | |
| .role-card.featured { border-color: #4F46E5; box-shadow: 0 8px 30px rgba(79,70,229,0.15); } | |
| .role-card-glow { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 20px 20px 0 0; } | |
| .role-student .role-card-glow { background: linear-gradient(90deg, #06B6D4, #3B82F6); } | |
| .role-teacher .role-card-glow { background: linear-gradient(90deg, #4F46E5, #7C3AED); } | |
| .role-admin .role-card-glow { background: linear-gradient(90deg, #F59E0B, #EF4444); } | |
| .featured-badge { position: absolute; top: 16px; right: 16px; background: #4F46E5; color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; } | |
| .role-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } | |
| .student-icon { background: rgba(6,182,212,0.1); color: #06B6D4; } | |
| .teacher-icon { background: rgba(79,70,229,0.1); color: #4F46E5; } | |
| .admin-icon { background: rgba(245,158,11,0.1); color: #F59E0B; } | |
| .role-card h3 { font-size: 1.15rem; font-weight: 800; color: #1E293B; margin-bottom: 10px; } | |
| .role-card p { font-size: 13.5px; color: #64748B; line-height: 1.6; margin-bottom: 20px; } | |
| .role-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; } | |
| .role-features li { font-size: 13px; color: #475569; font-weight: 500; } | |
| .role-btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 11px 20px; | |
| border-radius: 10px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| background: #F1F5F9; | |
| color: #1E293B; | |
| transition: all 0.2s; | |
| border: none; | |
| cursor: pointer; | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .role-student:hover .role-btn { background: #06B6D4; color: white; } | |
| .teacher-btn { background: #4F46E5; color: white; } | |
| .role-teacher:hover .teacher-btn { background: #3730A3; } | |
| .admin-btn { background: #F59E0B; color: white; } | |
| .role-admin:hover .admin-btn { background: #D97706; } | |
| .role-card-footer { margin-top: 14px; font-size: 12px; color: #94A3B8; text-align: center; display: flex; align-items: center; justify-content: center; gap: 4px; } | |
| .auth-notice { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: rgba(79,70,229,0.06); border: 1px solid rgba(79,70,229,0.15); border-radius: 12px; font-size: 13px; color: #475569; } | |
| .auth-notice strong { color: #4F46E5; } | |
| @media (max-width: 900px) { .role-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } } | |
| @media (max-width: 600px) { .role-section { padding: 60px 16px; } } | |
| /* Features */ | |
| .features-section { padding: 100px 24px; background: white; } | |
| .features-container { max-width: 1100px; margin: 0 auto; text-align: center; } | |
| .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: left; } | |
| .feature-card { | |
| padding: 24px; | |
| border-radius: 16px; | |
| border: 1.5px solid #E2E8F0; | |
| transition: all 0.3s; | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| .feature-card.animate-in { opacity: 1; transform: translateY(0); } | |
| .feature-card:hover { border-color: #4F46E5; box-shadow: 0 8px 24px rgba(79,70,229,0.1); transform: translateY(-3px); } | |
| .feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; } | |
| .feature-card h3 { font-size: 0.95rem; font-weight: 700; color: #1E293B; margin-bottom: 8px; } | |
| .feature-card p { font-size: 13px; color: #64748B; line-height: 1.6; } | |
| @media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } } | |
| @media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } .features-section { padding: 60px 16px; } } | |
| /* How It Works */ | |
| .how-section { padding: 100px 24px; background: #F8FAFC; } | |
| .how-container { max-width: 800px; margin: 0 auto; text-align: center; } | |
| .how-tabs { display: flex; gap: 8px; justify-content: center; margin: 40px 0 48px; background: white; padding: 6px; border-radius: 12px; border: 1.5px solid #E2E8F0; width: fit-content; margin-left: auto; margin-right: auto; } | |
| .how-tab { padding: 10px 24px; border-radius: 8px; border: none; background: transparent; font-size: 14px; font-weight: 600; color: #64748B; cursor: pointer; transition: all 0.2s; font-family: var(--font); } | |
| .how-tab.active { background: #4F46E5; color: white; } | |
| .how-steps { display: flex; flex-direction: column; gap: 0; } | |
| .step-card { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 24px; | |
| padding: 24px; | |
| text-align: left; | |
| position: relative; | |
| opacity: 0; | |
| transform: translateX(-10px); | |
| transition: all 0.4s ease; | |
| } | |
| .step-card.animate-in { opacity: 1; transform: translateX(0); } | |
| .step-card:not(:last-child)::after { content: ''; position: absolute; left: 44px; top: 68px; width: 2px; height: calc(100% - 44px); background: linear-gradient(to bottom, #4F46E5, transparent); } | |
| .step-number { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #4F46E5, #7C3AED); color: white; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(79,70,229,0.3); } | |
| .step-content h3 { font-size: 1rem; font-weight: 700; color: #1E293B; margin-bottom: 6px; } | |
| .step-content p { font-size: 14px; color: #64748B; line-height: 1.6; } | |
| /* Security */ | |
| .security-section { padding: 100px 24px; background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%); } | |
| .security-container { max-width: 1100px; margin: 0 auto; } | |
| .security-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } | |
| .security-list { display: flex; flex-direction: column; gap: 16px; } | |
| .security-item { display: flex; align-items: flex-start; gap: 14px; color: rgba(255,255,255,0.8); font-size: 14.5px; opacity: 0; transform: translateX(-10px); transition: all 0.4s; } | |
| .security-item.animate-in { opacity: 1; transform: translateX(0); } | |
| .security-check { width: 24px; height: 24px; border-radius: 50%; background: rgba(16,185,129,0.2); color: #34D399; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; } | |
| .security-item strong { color: white; } | |
| .security-visual { display: flex; align-items: center; justify-content: center; } | |
| .shield-graphic { text-align: center; } | |
| .shield-layers { position: relative; width: 260px; height: 260px; margin: 0 auto; } | |
| .shield-layer { | |
| position: absolute; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 11px; | |
| font-weight: 700; | |
| color: rgba(255,255,255,0.7); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| animation: shieldRotate 20s linear infinite; | |
| } | |
| .l1 { inset: 0; background: rgba(79,70,229,0.12); align-items: flex-start; padding-top: 14px; animation-direction: normal; } | |
| .l2 { inset: 20px; background: rgba(6,182,212,0.1); align-items: flex-end; padding-bottom: 14px; animation-direction: reverse; animation-duration: 15s; } | |
| .l3 { inset: 40px; background: rgba(16,185,129,0.1); align-items: flex-start; padding-top: 10px; animation-duration: 25s; } | |
| .l4 { inset: 60px; background: rgba(245,158,11,0.1); align-items: flex-end; padding-bottom: 10px; animation-direction: reverse; animation-duration: 18s; } | |
| .shield-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3rem; z-index: 10; filter: drop-shadow(0 0 20px rgba(79,70,229,0.5)); } | |
| @keyframes shieldRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } | |
| .shield-label { color: rgba(255,255,255,0.4); font-size: 13px; margin-top: 20px; font-weight: 600; } | |
| @media (max-width: 900px) { .security-content { grid-template-columns: 1fr; gap: 40px; } .security-visual { order: -1; } .security-section { padding: 60px 16px; } } | |
| /* Footer */ | |
| .landing-footer { background: #0F172A; padding: 72px 24px 0; } | |
| .footer-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); } | |
| .footer-logo { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: -0.5px; } | |
| .footer-logo span { color: #818CF8; } | |
| .footer-brand p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.7; margin-bottom: 20px; } | |
| .footer-badges { display: flex; flex-wrap: wrap; gap: 8px; } | |
| .tech-badge { padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); font-size: 11px; font-weight: 600; } | |
| .footer-links-group h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; } | |
| .footer-links-group a { display: block; color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 10px; transition: color 0.2s; text-decoration: none; } | |
| .footer-links-group a:hover { color: rgba(255,255,255,0.8); } | |
| .footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.25); } | |
| @media (max-width: 900px) { .footer-container { grid-template-columns: 1fr 1fr; } } | |
| @media (max-width: 600px) { .footer-container { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 8px; align-items: center; text-align: center; } } | |