@import url('core.css');

/* 
    PREMIUM LANDING - SMART ATTENDANCE SYSTEM
    Goal: High-impact, Futuristic, and Seamless.
*/

body.landing-page {
    background: 
        radial-gradient(1000px 500px at 85% 20%, rgba(0, 209, 199, 0.1), transparent 70%),
        radial-gradient(800px 400px at 15% 85%, rgba(43, 111, 255, 0.15), transparent 70%),
        var(--bg-deep);
    overflow-x: hidden;
}

.container {
    width: min(1280px, 92vw);
    margin: 0 auto;
}

/* --- NAV --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(6, 10, 20, 0.7);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { font-size: 1.6rem; font-weight: 900; color: var(--accent); font-family: var(--font-data); text-shadow: 0 0 20px var(--accent-glow); }

.nav-links { display: flex; align-items: center; gap: 12px; list-style: none; }
.nav-links a { 
    color: var(--text-muted); 
    padding: 10px 18px; 
    border-radius: var(--radius-md); 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.2s ease; 
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); background: rgba(255,255,255,0.05); }
.nav-links a.btn-primary { 
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); 
    color: #fff; 
    box-shadow: 0 8px 20px var(--primary-glow); 
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: grid;
    place-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    transform: translateY(20px);
}

.badge-chip {
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(0, 209, 199, 0.08);
    border: 1px solid rgba(0, 209, 199, 0.3);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); }

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions { display: flex; gap: 16px; }

/* --- HERO VISUAL & SCANNER --- */
.hero-visual { position: relative; width: 100%; height: 500px; display: grid; place-items: center; }

/* Pulse Rings */
.visual-ring {
    position: absolute;
    border: 1px solid rgba(43, 111, 255, 0.15);
    border-radius: 50%;
    animation: ringPulse 6s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}
@keyframes ringPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.hero-orb-container {
    position: relative;
    width: 440px;
    height: 440px;
    display: grid;
    place-items: center;
    z-index: 5;
}

.hero-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 209, 199, 0.15), transparent 60%);
    border: 1px solid rgba(0, 209, 199, 0.25);
    box-shadow: inset 0 0 100px rgba(0, 209, 199, 0.05), 0 0 60px rgba(0, 209, 199, 0.1);
    position: relative;
    overflow: hidden;
}
.hero-orb canvas { border-radius: 50%; width: 100% !important; height: 100% !important; }

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px var(--accent);
    animation: scan 3.5s infinite ease-in-out;
    z-index: 10;
    pointer-events: none;
}
@keyframes scan {
    0%, 100% { top: 10%; opacity: 0; }
    15%, 85% { opacity: 1; }
    50% { top: 90%; }
}

/* --- STATS BAR --- */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    margin-top: -40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}
.stat-item { text-align: center; }
.stat-value { 
    display: block; 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: var(--text-main); 
    font-family: var(--font-data);
    margin-bottom: 4px;
}
.stat-label { font-size: 0.9rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* --- SECTIONS COMMON --- */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.feature-card:hover::before { opacity: 0.05; }

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 209, 199, 0.1);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.feature-card h3 { font-size: 1.4rem; margin-bottom: 16px; position: relative; z-index: 1; }
.feature-card p { color: var(--text-muted); line-height: 1.6; position: relative; z-index: 1; }

/* --- WORKFLOW --- */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.workflow-steps::after {
    content: '';
    position: absolute;
    top: 30px; left: 10%; right: 10%;
    height: 1px;
    background: var(--glass-border);
    z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 60px; height: 60px;
    background: var(--bg-deep);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 24px;
    box-shadow: 0 0 20px var(--accent-glow);
}
.step h4 { font-size: 1.2rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* --- TECH STACK --- */
.tech-stack-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
}
.tech-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tech-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}
.tech-visual { font-size: 4rem; color: var(--text-dim); display: flex; gap: 30px; opacity: 0.3; }

/* --- FOOTER --- */
.main-footer {
    background: rgba(4, 7, 15, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { color: var(--text-muted); max-width: 300px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { margin-bottom: 24px; font-family: var(--font-data); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-orb { width: 320px; height: 320px; }
    
    .stats-bar { flex-direction: column; gap: 30px; margin-top: 40px; }
    .stat-divider { width: 60px; height: 1px; }

    .workflow-steps { grid-template-columns: 1fr; }
    .workflow-steps::after { display: none; }
    
    .tech-stack-inner { flex-direction: column; text-align: center; padding: 40px; }
    .tech-visual { display: none; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
