/*
 * JAGJAGWALUYA.COM - Main Stylesheet
 * Modern Landing Page Styles
 */

:root {
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    --white: #FFFFFF;
    --black: #000000;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid rgba(255,215,0,0.4);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 40, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    display: flex;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-text .highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section dengan Background Image */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: url('../images/hero-bg-jawa.jpg') center center/cover no-repeat;
}

/* Dark overlay untuk readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 40, 0.85) 0%,
        rgba(40, 30, 60, 0.7) 50%,
        rgba(20, 20, 40, 0.85) 100%
    );
    z-index: 1;
}

/* Animasi Kabut / Fog Effect */
.fog-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

/* CSS Fog Animation */
.fog-css {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.fog-css::before,
.fog-css::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.06) 20%,
        rgba(255,255,255,0.10) 40%,
        rgba(255,255,255,0.06) 60%,
        transparent 100%
    );
    filter: blur(25px);
    animation: fogDrift 20s ease-in-out infinite;
}

.fog-css::before {
    top: 10%;
    animation-duration: 28s;
}

.fog-css::after {
    top: 55%;
    animation-duration: 35s;
    animation-delay: -12s;
}

@keyframes fogDrift {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    20% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.2;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(0%);
        opacity: 0;
    }
}

/* Mist Particles */
.mist-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.mist-particle {
    position: absolute;
    background: radial-gradient(
        ellipse at center,
        rgba(255,255,255,0.12) 0%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(20px);
    animation: mistFloat 18s ease-in-out infinite;
}

.mist-particle:nth-child(1) {
    width: 350px;
    height: 180px;
    top: 15%;
    left: -120px;
    animation-duration: 22s;
}

.mist-particle:nth-child(2) {
    width: 450px;
    height: 220px;
    top: 35%;
    right: -180px;
    animation-duration: 26s;
    animation-delay: -6s;
}

.mist-particle:nth-child(3) {
    width: 300px;
    height: 150px;
    top: 55%;
    left: 15%;
    animation-duration: 24s;
    animation-delay: -12s;
}

.mist-particle:nth-child(4) {
    width: 400px;
    height: 200px;
    bottom: 25%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -18s;
}

.mist-particle:nth-child(5) {
    width: 280px;
    height: 140px;
    top: 25%;
    right: 30%;
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes mistFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translateX(60px) translateY(-30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(120px) translateY(15px) scale(1);
        opacity: 0.3;
    }
    75% {
        transform: translateX(40px) translateY(-15px) scale(1.05);
        opacity: 0.4;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 3;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.3;
    mix-blend-mode: screen;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    top: -150px;
    right: -150px;
    animation: glowPulse 8s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    bottom: -80px;
    left: -80px;
    animation: glowPulse 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #10B981, #06B6D4);
    top: 40%;
    left: 25%;
    opacity: 0.15;
    animation: glowPulse 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.4), 0 0 60px rgba(255,215,0,0.15);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 480px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.floating-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(255,215,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.card-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.card-1 {
    top: -80px;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 100px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -40px;
    right: 50px;
    animation-delay: 4s;
}

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

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon-1 {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(59,130,246,0.2));
    color: var(--primary);
}

.feature-icon-2 {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.2));
    color: var(--success);
}

.feature-icon-3 {
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.2));
    color: var(--warning);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Security Section */
.security {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.security-shield {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.sec-badge {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.security-text .section-title {
    text-align: left;
}

.security-text .section-desc {
    text-align: left;
    margin-bottom: 32px;
}

.security-list {
    list-style: none;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-600);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: var(--gray-400);
    margin-bottom: 40px;
}

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

.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease forwards;
}
