/* Global Variables */
:root {
    --bg-color: #0f172a;
    --bg-darker: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #38bdf8;
    /* Sky Blue */
    --accent-secondary: #818cf8;
    /* Indigo */
    --gold: #fbbf24;
    --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn-primary,
.btn-buy,
.logo {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: var(--glass-border);
}

.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: 10px;
}

.logo i {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-primary {
    background: var(--gradient-main);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary-lg {
    background: var(--gradient-main);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-secondary-lg {
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-secondary-lg:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.card-icon.google {
    color: #EA4335;
}

.card-icon.icloud {
    color: #007AFF;
}

.card-icon.office {
    color: #D83B01;
}

.card-icon.adobe {
    color: #FF0000;
}

.card-icon.spotify {
    color: #1DB954;
}

.card-icon.netflix {
    color: #E50914;
}

.adobe-text,
.netflix-text {
    font-weight: 900;
    font-family: sans-serif;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-card .desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card .features {
    margin-bottom: 25px;
    width: 100%;
}

.product-card .features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-card .features li i {
    color: var(--accent-primary);
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.btn-buy {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-buy:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-darker);
}

.variant-container {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.variant-group {
    margin-bottom: 5px;
}

.variant-label {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.btn-variant {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    margin-bottom: 5px;
}

.btn-variant:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-primary);
}

.btn-variant span:last-child {
    color: var(--gold);
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1e293b;
    border: var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.order-summary {
    text-align: center;
    margin-bottom: 25px;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 700;
}

.qris-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.qris-box {
    background: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.qris-box img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.scan-text {
    color: #333;
    margin-top: 10px;
    font-size: 0.9rem;
}

.payment-steps {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-left: 20px;
}

.payment-steps li {
    margin-bottom: 8px;
}

.btn-whatsapp-confirm {
    display: block;
    width: 100%;
    padding: 15px;
    background: #25D366;
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-confirm:hover {
    background: #1fab53;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: var(--glass-border);
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        max-width: 300px;
        display: block;
    }
}