:root {
    --bg-color: #FFFDE7; /* Sangat terang pastel kuning */
    --accent-yellow: #FDE047; /* Kuning utama */
    --accent-yellow-hover: #FACC15; /* Kuning hover */
    --card-bg: rgba(255, 255, 255, 0.85); /* Putih glassmorphism */
    --text-main: #1C1917; /* Hampir hitam elegan */
    --text-muted: #57534E;
    --border-color: rgba(28, 25, 23, 0.1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container to restrict max width on desktop */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    background: rgba(255, 253, 231, 0.9); /* Sesuai dengan bg-color pastel yellow */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #A16207;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight {
    color: #A16207; /* Coklat/emas gelap elegan */
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.trust-badges i {
    color: #A16207;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

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

.stat-item strong {
    font-size: 1.5rem;
    color: #A16207;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Upload Card */
.upload-card-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.upload-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-5px);
}

.dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.5);
}

.dropzone:hover, .dropzone.dragover {
    border-color: #A16207;
    background: rgba(253, 224, 71, 0.1);
}

.upload-icon {
    font-size: 3rem;
    color: #A16207;
    margin-bottom: 10px;
}

.dropzone h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.dropzone p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Advanced Options */
.advanced-options {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.option-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.pin-input-group {
    display: none;
    width: 100%;
}

.pin-input-group.active {
    display: flex;
}

#custom-pin {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 2px;
    outline: none;
}

#custom-pin:focus {
    border-color: #A16207;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent-yellow);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-yellow);
    color: var(--text-main);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(253, 224, 71, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
}

/* Ad Containers */
.ad-container {
    padding: 30px 0;
}

.ad-slot {
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-radius: 8px;
    margin: 0 auto;
}

.ad-slot.leaderboard {
    height: 90px;
}

.ad-slot.banner {
    width: 468px;
    max-width: 100%;
    height: 60px;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
}

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

.use-case {
    background: transparent;
    padding: 20px;
    border-left: 4px solid var(--accent-yellow);
}

.use-case i {
    font-size: 2rem;
    color: #A16207;
    margin-bottom: 10px;
}

.use-case h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Features */
.features {
    padding: 80px 0;
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #A16207;
    margin-bottom: 20px;
    background: var(--bg-color);
    padding: 15px;
    border-radius: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: #fff;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin: 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #1C1917;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: #A8A29E;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: #A8A29E;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-contact p {
    color: #A8A29E;
    margin-bottom: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #A8A29E;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges, .hero-stats {
        justify-content: center;
    }
    
    .upload-card-wrapper {
        justify-content: center;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Affiliate Section */
.affiliates {
    padding: 60px 0;
    background: rgba(28, 25, 23, 0.02);
}

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

.affiliate-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.affiliate-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent-yellow);
}

.affiliate-icon {
    font-size: 3rem;
    color: #A16207;
    background: var(--bg-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.affiliate-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.affiliate-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.affiliate-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: #A16207;
}

/* Floating Coffee Button */
.floating-coffee {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #FFDD00; /* Warna kuning khas platform donasi */
    color: #1C1917;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.floating-coffee i {
    font-size: 1.5rem;
}

.floating-coffee:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .floating-coffee {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Workspace Styles */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.file-item {
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    word-break: break-all;
}

.file-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent-yellow);
}

.file-item i {
    font-size: 3.5rem;
    color: #A16207;
    margin-bottom: 10px;
}

.file-item h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.file-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
