/* style.css 
   Tema: TALENTA Modern Premium (Green & Yellow)
   Author: Nurul Aliyah
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #e8f5e9;
    --secondary: #fbc02d;
    --secondary-dark: #f9a825;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar Modern */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-admin-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-admin-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, var(--primary-light), transparent),
                radial-gradient(circle at bottom left, #fff9c4, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-start {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-start:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.3);
    background: var(--primary-dark);
}

.btn-secondary {
    padding: 18px 36px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark);
    background: white;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Floating Elements Illustration */
.hero-image {
    position: relative;
}

.main-blob {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 140px;
    animation: blob 8s infinite alternate;
}

@keyframes blob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.floating-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s infinite ease-in-out;
}

.t1 { top: -20px; right: 0; color: #3b82f6; animation-delay: 0s; }
.t2 { bottom: 40px; left: -40px; color: #f59e0b; animation-delay: 1s; }
.t3 { bottom: 120px; right: -40px; color: #ec4899; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}


/* Mobile */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 40px; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-image { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-dashboard-img {
    width: 100%;
    max-width: 430px;
    height: auto;
    object-fit: contain;
    display: block;
    animation: floatImage 4s ease-in-out infinite;
    filter: drop-shadow(0 14px 20px rgba(22, 101, 52, 0.14));
}

.hero-dashboard-img {
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    display: block;
    animation: floatImage 4s ease-in-out infinite;
    filter: drop-shadow(0 18px 25px rgba(22, 101, 52, 0.18));
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-dashboard-img {
        max-width: 360px;
        margin-top: 25px;
    }
}

/* Features */
.features {
    padding: 120px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--secondary);
    opacity: 0;
    transition: 0.3s;
}

.feature-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
