@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #4B70F5;
    --primary-gradient: linear-gradient(135deg, #4B70F5 0%, #3B5BDB 100%);
    --secondary-color: #FF9F43;
    --secondary-gradient: linear-gradient(135deg, #FF9F43 0%, #FF8C1A 100%);
    --accent-color: #1DD1A1;
    --accent-gradient: linear-gradient(135deg, #1DD1A1 0%, #10AC84 100%);
    --dark-color: #2D3436;
    --light-color: #F9FAFB;
    --text-muted: #636E72;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0.7rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 10px;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-auth {
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-register {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 20px rgba(75, 112, 245, 0.3);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(75, 112, 245, 0.4);
    color: var(--white);
}

/* --- Hero Section --- */
.hero-section {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(75, 112, 245, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(255, 159, 67, 0.05) 0%, transparent 40%);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Feature Cards --- */
.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.actor-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.actor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.actor-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.icon-siswa { background: var(--primary-gradient); }
.icon-guru { background: var(--secondary-gradient); }
.icon-ortu { background: var(--accent-gradient); }
.icon-admin { background: var(--dark-color); }

.actor-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.actor-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    border-radius: 50px;
    margin: 50px 20px;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-cta:hover {
    transform: scale(1.05);
    background: var(--light-color);
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: #fdfdfd;
}

.footer-logo {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-img { margin-top: 50px; }
}
