/* Landing Page Styles */

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar-landing {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
}

.logo-icon {
    font-size: 28px;
}

.btn-login {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-block;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Override untuk tombol di navbar putih */
.navbar-landing .btn-login[style*="color: #667eea"] {
    color: #667eea !important;
    background: white !important;
}

.navbar-landing .btn-login[style*="background: #28a745"] {
    color: white !important;
    background: #28a745 !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: -2;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.85) 0%, rgba(50, 40, 80, 0.85) 50%, rgba(60, 50, 90, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.hero-title .highlight {
    color: #ffd700;
    text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.8), 3px 3px 15px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ensure text is visible on green buttons */
.btn-primary-large[style*="background: #28a745"],
.btn-primary-large[style*="background:#28a745"] {
    color: white !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Image */
.hero-image {
    animation: fadeInRight 1s ease;
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f7fafc;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
}

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

.feature-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature-icon {
    font-size: 48px;
    margin: 20px 0 15px;
    display: block;
    position: relative;
    z-index: 1;
}

.feature-card .feature-title,
.feature-card .feature-description {
    padding: 0 30px;
}

.feature-card .feature-description {
    padding-bottom: 30px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.feature-description {
    color: #718096;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: #f7fafc;
    position: relative;
}

.how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    z-index: 0;
    overflow: hidden;
}

.works-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.step-content p {
    color: #718096;
}

.step-arrow {
    font-size: 2rem;
    color: #cbd5e0;
    margin: 0 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cta-section .btn-primary-large {
    background: white;
    color: #667eea;
}

/* Better contrast for CTA section text */
.cta-section p[style*="color: #28a745"] {
    background: #e8f5e9 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    border: 2px solid #28a745 !important;
    font-weight: bold !important;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2) !important;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text {
    color: #a0aec0;
    margin-bottom: 10px;
}

.footer-company {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-copyright {
    color: #718096;
    font-size: 0.9rem;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

