/* style.css - Tech Vibes Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-elevated: #1a1a2e;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --success: #10b981;
    --danger: #ef4444;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border: #2d2d3a;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-outline {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary) !important;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    filter: blur(120px);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Order Section */
.order-section {
    padding: 4rem 2rem;
    background: var(--bg-card);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-secondary);
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.order-card,
.qr-card {
    background: var(--bg-elevated);
    border-radius: 20px;
    padding: 1.8rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.order-card:hover,
.qr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

select,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

select:focus,
input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input input {
    text-align: center;
    padding: 0.7rem;
}

.qty-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.price-preview {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.price-preview span {
    color: var(--text-secondary);
}

.price-preview strong {
    font-size: 1.3rem;
    color: var(--primary);
}

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-label {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.payment-icon {
    background: var(--bg-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
}

.payment-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(0.98);
    filter: brightness(1.1);
}

/* QR Card */
.qr-container {
    text-align: center;
    margin: 1.5rem 0;
}

#qrcode {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

#qrcode img {
    border-radius: 16px;
    padding: 0.5rem;
    background: white;
}

.payment-status {
    margin-top: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.order-info {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo i {
    font-size: 1.8rem;
    color: var(--primary);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo p {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links a,
.footer-links p {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .order-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
}
/* Rules Card - Sama persis dengan order-card */
.rules-card {
    background: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Header di dalam rules-card (sama dengan card-header) */
.rules-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-card .card-header i {
    font-size: 1.5rem;
    color: #8b5cf6;
}

.rules-card .card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

/* Konten rules */
.rules-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.2s;
}

.rule-item i {
    font-size: 1.3rem;
    color: #8b5cf6;
    margin-top: 0.2rem;
    min-width: 28px;
}

.rule-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.rule-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Warning box - konsisten dengan tema */
.rules-warning {
    margin-top: 1.2rem;
    padding: 0.8rem 1rem;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.8rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-warning i {
    font-size: 1.1rem;
    color: #f59e0b;
}

/* Responsive untuk tablet */
@media (max-width: 992px) {
    .order-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* Dynamic IndoSMM service integration */
.service-info-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 14px;
    margin: 14px 0;
}
.service-info-box strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.service-info-box pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-family: inherit;
    color: var(--text-secondary);
    line-height: 1.55;
}
.service-info-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.55;
}
#service option {
    color: #111827;
}

/* AiraaLabs patch: tracking + group category */
.form-help-link {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}
.form-help-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.form-help-link a:hover { text-decoration: underline; }

#categoryGroup,
#category,
#service {
    width: 100%;
    background-color: #080911;
    color: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.65);
    border-radius: 10px;
    padding: 13px 16px;
    outline: none;
    color-scheme: dark;
}

#categoryGroup:focus,
#category:focus,
#service:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

#categoryGroup option,
#category option,
#service option {
    background-color: #0b0c16 !important;
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 12px;
}

#categoryGroup option:checked,
#category option:checked,
#service option:checked {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
}

#categoryGroup option:hover,
#category option:hover,
#service option:hover {
    background-color: #312e81 !important;
    color: #ffffff !important;
}
