/* =========================================
   LANDING PAGE STYLES (Picha Background)
   ========================================= */
:root {
    --primary: #0d3b36;
    --primary-dark: #082622;
    --accent: #14b8a6;
    --text: #0f172a;
    --bg: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.landing-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: transparent;
}

.nav-brand img {
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.btn-nav-login {
    padding: 8px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    transition: 0.2s;
}
.btn-nav-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* HERO SECTION YENYE PICHA */
.hero-video-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    
    /* Picha ya akiba (Inaonekana kama video haipatikani) */
    background: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

/* Video ikiwa nyuma kabisa */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay (Giza) */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(13, 59, 54, 0.6), rgba(6, 29, 26, 0.85));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(90deg, #5eead4, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 20px;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.4);
}

.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.btn-outline-lg:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* FEATURES SECTION */
.features {
    padding: 80px 5%;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
}

/* CTA SECTION */
.cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.cta-content .btn-primary-lg {
    background: #fff;
    color: var(--primary);
}
.cta-content .btn-primary-lg:hover {
    background: #f8fafc;
}

/* FOOTER */
.landing-footer {
    padding: 40px 5%;
    text-align: center;
    background: #0f172a;
    color: #94a3b8;
    font-size: 14px;
}

.landing-footer a {
    color: #5eead4;
    text-decoration: none;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; }
    .hero-content p { font-size: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .section-header h2 { font-size: 28px; }
    .cta-content h2 { font-size: 28px; }
}

/* ============================================================
   LANDING PAGE SPECIFIC STYLES
   ============================================================ */

/* Logo kwenye Navbar */
.nav-logo {
    height: 32px;
}

.nav-brand-text {
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
}

/* Hapa nimeongeza vitu vingine vinavyohitajika kama havipo */
.hero-content p {
    margin-bottom: 30px;
}