/* ====================================
   RESET & BASICS
   ==================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #e4e4e7;
    line-height: 1.6;
}

/* ====================================
   COLOR & ACCENT
   ==================================== */

:root {
    --accent: #10b981;
    --accent-dark: #059669;
    --bg-primary: #0a0a0a;
    --bg-secondary: #16161a;
    --bg-tertiary: #27272a;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1a6;
    --border: #27272a;
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */

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

/* ====================================
   HEADER / NAVIGATION
   ==================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Mobile menu */
@media (max-width: 768px) {
    .nav {
        gap: 16px;
    }
    .nav-link {
        font-size: 13px;
    }
}

/* ====================================
   WHATSAPP FLOATING BUTTON
   ==================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    text-decoration: none;
    z-index: 99;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.hero-visual {
    animation: slideInRight 0.8s ease-out;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.yt-embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.1) 100%);
    pointer-events: none;
    border-radius: 12px;
}

.video-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    color: var(--text-secondary);
    font-size: 13px;
    font-style: italic;
}

.placeholder-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.monitor-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    color: var(--text-secondary);
    margin-bottom: 16px;
    opacity: 0.6;
}

.placeholder-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

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

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

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .video-container {
        max-height: 400px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 32px 0 40px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

/* Section Divider (logo banner between hero and kenapa-linux) */
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.section-divider-img {
    width: 260px;
    height: 260px;
    object-fit: contain;
}

.section-divider + .kenapa-linux {
    padding-top: 40px;
}


@media (max-width: 640px) {
    .section-divider {
        padding: 30px 0;
    }
    .section-divider-img {
        width: 260px;
        height: 260px;
    }
}

/* ====================================
   SECTION TITLES & SUBTITLES
   ==================================== */

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

/* ====================================
   KENAPA LINUX SECTION
   ==================================== */

.kenapa-linux {
    padding: 120px 0;
}

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

.benefit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ====================================
   PAKET SECTION
   ==================================== */

.paket {
    padding: 120px 0;
}

.pricing-options {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.capacity-tabs {
    display: flex;
    gap: 12px;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.capacity-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.capacity-btn.active {
    background: var(--accent);
    color: white;
}

.capacity-btn:hover:not(.active) {
    color: var(--text-primary);
}

.paket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.paket-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.paket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 12px 12px 0 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.paket-card:hover {
    border-color: var(--accent);
    background: var(--bg-tertiary);
    transform: translateY(-8px);
}

.paket-card:hover::before {
    transform: scaleX(1);
}

.paket-header {
    margin-bottom: 24px;
    position: relative;
}

.paket-nama {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paket-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.paket-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s ease;
}

.price-capacity {
    font-size: 12px;
    color: var(--text-secondary);
}

.badge {
    position: absolute;
    top: -18px;
    left: 32px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    z-index: 2;
}

.paket-card.featured {
    border-color: var(--accent);
}

/* ====================================
   PAKET PRODUCT PHOTO
   ==================================== */

.paket-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paket-photo-img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

.paket-photo-distro {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.paket-body {
    flex: 1;
    margin-bottom: 32px;
}

.paket-cta-wrap {
    display: flex;
    justify-content: center;
}

.paket-features {
    list-style: none;
}

.paket-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.paket-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
}

.paket-features li:last-child {
    border-bottom: none;
}

/* ====================================
   DISTRO BADGES & INFO
   ==================================== */

.distro-badges {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.distro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.distro-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.distro-icon {
    display: inline-block;
    font-size: 13px;
}

.distro-name {
    display: inline-block;
}

/* ====================================
   PAKET BUTTONS & CTA
   ==================================== */
.paket-btn {
    display: block;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.paket-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.paket-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0;
    border: none;
    box-shadow: none;
}

/* Custom Section */

.custom-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
}

.custom-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.custom-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.paket-btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.paket-btn-secondary:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .paket {
        padding: 80px 0;
    }
    .paket-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ====================================
   GALERI SECTION
   ==================================== */

.galeri {
    padding: 120px 0;
}

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

.galeri-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.galeri-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.placeholder-galeri {
    background: var(--bg-secondary);
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.placeholder-galeri svg {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 180px;
}

.galeri-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.galeri-placeholder {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

@media (max-width: 768px) {
    .galeri {
        padding: 80px 0;
    }
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .galeri-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   CARA KERJA SECTION
   ==================================== */

.cara-kerja {
    padding: 120px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-divider {
    grid-column: span 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
    opacity: 0;
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .step-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .cara-kerja {
        padding: 80px 0;
    }
}

/* ====================================
   FAQ SECTION
   ==================================== */

.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-button {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-button:hover {
    color: var(--accent);
}

.faq-question {
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-button.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.faq-button.active ~ .faq-answer {
    max-height: 500px;
    padding: 0 0 24px 0;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq {
        padding: 80px 0;
    }
    .faq-button {
        font-size: 15px;
        padding: 18px 0;
    }
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    margin-top: 120px;
}

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

.footer-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 16px;
        margin-top: 80px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-section {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }
    .footer-section:last-child {
        border-bottom: none;
    }
}

/* ====================================
   SCROLL REVEAL ANIMATION
   ==================================== */

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ====================================
   RESPONSIVE ADJUSTMENTS
   ==================================== */

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .benefits-grid {
        gap: 24px;
    }

    .benefit-card {
        padding: 28px 20px;
    }

    .custom-section {
        padding: 32px 20px;
    }

    .distro-badges {
        gap: 8px;
    }

    .distro-badge {
        padding: 6px 10px;
        font-size: 12px;
    }

    .paket-distro-info,
    .paket-distro-alt {
        font-size: 12px;
        padding: 8px;
    }
}

/* Smooth transitions */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: var(--accent);
    color: white;
}
