/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* Reset untuk landing page */
.landing-page {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 16px 0;
}

.landing-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-brand .brand-text strong {
    display: block;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    color: var(--navy);
}

.navbar-brand .brand-text span {
    font-size: 10px;
    color: var(--blue);
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--blue);
}

.btn-login-landing {
    background: var(--blue);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-login-landing:hover {
    background: #0e4bc0;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
}

/* Hero Section */
.hero-landing {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(26, 86, 219, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
}

.hero-text h1 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--navy);
}

.hero-text .highlight {
    color: var(--blue);
    position: relative;
}

.hero-text p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary-landing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-landing:hover {
    background: #0e4bc0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26,86,219,0.2);
}

.btn-secondary-landing {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary-landing:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--text-sub);
}

.hero-image {
    position: relative;
}

.hero-illustration {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 40px;
    overflow: hidden;
}

.hero-library {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.1) 0px,
        rgba(255,255,255,0.1) 2px,
        transparent 2px,
        transparent 30px
    );
}

.floating-card {
    position: absolute;
    background: white;
    width: 70px;
    height: 90px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 15%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 86, 219, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0;
}

.section-header p {
    font-size: 16px;
    color: var(--text-sub);
    margin-top: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0;
}

.about-content p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 20px 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-check {
    width: 24px;
    height: 24px;
    background: var(--green-lt);
    color: var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.about-illustration {
    height: 400px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.about-illustration::before {
    content: '📚';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    bottom: 20px;
    right: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-card {
    background: var(--bg);
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info {
    padding: 48px;
    background: var(--navy);
    color: white;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    font-size: 20px;
}

.contact-form-wrapper {
    padding: 48px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.btn-submit {
    background: var(--blue);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #0e4bc0;
}

/* Footer */
.landing-footer {
    background: var(--navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand .brand-text strong {
    display: block;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
}

.footer-brand .brand-text span {
    font-size: 10px;
    color: var(--gold);
}

.footer-brand p {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        text-align: left;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-landing {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .brand-icon {
        margin: 0 auto 16px;
    }
    
    .social-icons {
        justify-content: center;
    }
}