* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-break: break-word;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
    color: #1e293b;
    scroll-behavior: smooth;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --secondary: #0f172a;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Nav Links Desktop */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Menu user di sebelah kanan */
.nav-right {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Button Styles */
.btn-outline {
    border: 2px solid var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--gray-light);
    color: #1e293b;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* ========== CART BADGE ========== */
.cart-count {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.3rem;
    display: inline-block;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ========== STATUS PESANAN ========== */
.status-paid {
    background: #dcfce7;
    color: #166534;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
}

.order-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 2rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.15;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    opacity: 0.95;
}

.hero-buttons {
    position: relative;
    z-index: 10;
}

.hero-buttons button {
    cursor: pointer;
    pointer-events: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== STATISTIK ========== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: -3rem auto 3rem;
    max-width: 1200px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.stat-box {
    background: white;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-width: 160px;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* ========== CONTAINER & SECTION ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

/* ========== CARDS ========== */
.card-modern {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-item i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== PRODUCTS GRID ========== */
.grid-produk {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.produk-item {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.produk-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.produk-item:hover::before {
    transform: scaleX(1);
}

.produk-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    z-index: 1;
}

.produk-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.produk-item p {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.harga {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0.5rem 0;
}

/* ========== TESTIMONI ========== */
.testimoni-section {
    background: #f8fafc;
    border-radius: 30px;
    padding: 2rem;
    margin: 2rem 0;
}

.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimoni-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimoni-card:hover {
    transform: translateY(-3px);
}

.testimoni-card i.fa-star {
    color: #fbbf24;
    font-size: 0.9rem;
    margin: 0 1px;
}

.testimoni-card p {
    margin: 1rem 0;
    font-style: italic;
    color: #475569;
    font-size: 0.9rem;
}

.testimoni-card h4 {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 3rem 0 2rem;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-banner .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
}

/* ========== FORM STYLES ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ========== AUTH CARD ========== */
.auth-container {
    max-width: 480px;
    margin: 2rem auto;
}

.auth-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    background: var(--primary-gradient);
    padding: 2rem;
    text-align: center;
    color: white;
}

.auth-header i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.auth-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.auth-body {
    padding: 2rem;
}

.auth-footer {
    background: var(--gray-light);
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========== DASHBOARD STATS ========== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.stat-card {
    background: white;
    padding: 1.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ========== PROFILE AVATAR ========== */
.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.profile-avatar span {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

/* ========== ALERT & UTILITY ========== */
.alert {
    background: #dcfce7;
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* ========== NOTIFIKASI FORM ========== */
.form-notification {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid;
    animation: fadeIn 0.3s ease;
}

.form-notification.success {
    background: #f0fdf4;
    border-left-color: #22c55e;
    color: #166534;
}

.form-notification.error {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.form-notification.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #92400e;
}

.form-notification.info {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== CART ITEM ========== */
.cart-item {
    transition: background 0.2s ease;
}

.cart-item:hover {
    background: var(--gray-light);
}

/* ========== TABEL RESPONSIVE ========== */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* ========== RESPONSIVE DESKTOP & TABLET ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .grid-produk {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimoni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 1rem;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e2e8f0;
        white-space: normal;
    }
    
    .nav-right {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        gap: 0.5rem;
    }
    
    #auth-buttons, #user-menu {
        flex-direction: column;
        width: 100%;
    }
    
    #auth-buttons a, #user-menu a {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 80%;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .stats-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: -1.5rem;
    }
    
    .stat-box {
        padding: 0.6rem;
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
    
    .stat-box i {
        font-size: 1rem;
    }
    
    .grid-produk {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .produk-item {
        padding: 1rem;
    }
    
    .produk-item h3 {
        font-size: 0.9rem;
    }
    
    .produk-item p {
        font-size: 0.7rem;
    }
    
    .harga {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 0.9rem;
    }
    
    .feature-item p {
        font-size: 0.7rem;
    }
    
    .testimoni-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimoni-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .testimoni-card {
        padding: 0.8rem;
    }
    
    .testimoni-card p {
        font-size: 0.8rem;
    }
    
    .cta-banner {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .cta-content h3 {
        font-size: 1rem;
    }
    
    .cta-content p {
        font-size: 0.7rem;
    }
    
    /* Dashboard mobile */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.6rem;
    }
    
    .stat-card i {
        font-size: 1.2rem;
    }
    
    .stat-card h3 {
        font-size: 0.6rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    /* Pesanan Saya mobile */
    .order-card {
        padding: 0.8rem;
    }
    
    .order-card .product-name {
        font-size: 0.8rem;
    }
    
    .order-card .order-id {
        font-size: 0.6rem;
        word-break: break-all;
    }
    
    .order-card .product-price {
        font-size: 0.8rem;
    }
    
    .order-card .btn-primary {
        padding: 0.2rem 0.6rem;
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    /* Cart mobile */
    .cart-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    
    .cart-item > div:first-child {
        width: 100%;
    }
    
    .cart-item > div:last-child {
        margin-left: 0 !important;
        align-self: flex-end;
    }
    
    /* Table admin mobile */
    table {
        font-size: 0.6rem;
    }
    
    th, td {
        padding: 0.3rem !important;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* ========== LAYAR SANGAT KECIL (max 480px) ========== */
@media (max-width: 480px) {
    .stat-box {
        min-width: 60px;
        padding: 0.4rem;
    }
    
    .stat-number {
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.45rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .order-card .btn-primary {
        padding: 0.15rem 0.5rem;
        font-size: 0.55rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text span {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .logo-img {
        height: 28px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}
/* ========== ANIMASI HALAMAN ========== */
.page-transition {
    animation: fadeInUp 0.3s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading indicator saat ganti halaman */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animasi hover card produk */
.produk-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produk-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.2);
}

/* Animasi tombol */
.btn-primary, .btn-outline, .btn-secondary {
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}

/* ========== SOCIAL MEDIA LINKS ========== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.social-icon.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.social-icon.telegram {
    background: #0088cc;
    color: white;
}

.social-icon.telegram:hover {
    background: #006699;
    transform: translateY(-2px);
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

/* Responsive footer mobile */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ========== CHECKBOX CUSTOM SYARAT & KETENTUAN ========== */
.terms-wrapper {
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #334155;
    position: relative;
    padding-left: 0;
}

/* Sembunyikan checkbox default */
.terms-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox */
.terms-checkbox .checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Hover efek */
.terms-checkbox:hover .checkmark {
    border-color: var(--primary);
}

/* Saat checkbox dicentang */
.terms-checkbox input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

/* Centang icon */
.terms-checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* GARIS OUTLINE SAAT FOCUS (aksesibilitas) */
.terms-checkbox input:focus + .checkmark {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Teks terms */
.terms-text {
    line-height: 1.4;
    color: #475569;
}

.terms-text a {
    color: var(--primary);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .terms-checkbox {
        gap: 0.5rem;
    }
    
    .terms-text {
        font-size: 0.75rem;
    }
    
    .terms-checkbox .checkmark {
        width: 16px;
        height: 16px;
    }
    
    .terms-checkbox input:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 3px;
        height: 7px;
    }
}