/* ============================================
   sociaup — Custom Styles
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}
body { 
    background: #050505; 
    color: #fff; 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden; 
    overflow-y: scroll;
    overscroll-behavior: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

/* IG Gradient Text */
.ig-gradient-text {
    background: linear-gradient(45deg, #833AB4, #E1306C, #F77737);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, #D4AF37, #f5d76e, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated border for popular card */
.popular-glow { position: relative; }
.popular-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737, #833AB4);
    background-size: 300% 300%;
    animation: borderGlow 0.9s ease infinite;
    z-index: -1;
}
@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero particles */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

/* Pulse ring */
.pulse-ring { animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Step connector line */
.step-line { background: linear-gradient(to bottom, #D4AF37, transparent); }

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Toast notification */
.toast {
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(0); }

/* ── Modal overlay ──────────────────────────── */
.modal-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay.active .modal-body {
    transform: scale(1);
}
.modal-body {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* ── Navbar scrolled state ─────────────────── */
#navbar.scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Hero Fade In (in loc de GSAP) ──────── */
.hero-fade {
    opacity: 0;
    transform: translateY(20px);
}
.hero-fade.visible {
    animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal (in loc de GSAP+ScrollTrigger) ── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1), transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile menu ───────────────────────────── */
#mobileMenu {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}
#mobileMenu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hamburger lines */
#menuLine1 { transform: translateY(-8px); }
#menuLine2 { transform: translateY(0); }
#menuLine3 { transform: translateY(8px); }

#mobileMenuBtn.active #menuLine1 {
    transform: translateY(0) rotate(45deg);
}
#mobileMenuBtn.active #menuLine2 {
    opacity: 0;
    transform: scaleX(0);
}
#mobileMenuBtn.active #menuLine3 {
    transform: translateY(0) rotate(-45deg);
}

/* ── Toggle switch ──────────────────────────── */
.toggle-track {
    position: relative;
    width: 40px;
    height: 22px;
    background: rgba(255,255,255,0.1);
    border-radius: 11px;
    transition: background 0.3s ease;
}
.toggle-track.on {
    background: rgba(212, 175, 55, 0.3);
}
.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #9ca3af;
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
}
.toggle-track.on .toggle-knob {
    transform: translateX(18px);
    background: #D4AF37;
}

/* ── Payment option selection ──────────────── */
.pay-option input:checked + .pay-card {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
}
.pay-option input:checked + .pay-card .iconify {
    color: #D4AF37;
}

/* ── Packages glow bg ──────────────────────── */
.bg-packages-glow {
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
}

/* Star rating */
.star-filled { color: #D4AF37; }
.star-empty { color: #2A2A2A; }

/* Noise overlay */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Tier Button Selected State ─────────────────── */
.tier-btn.border-lux-gold {
    border-color: rgba(212, 175, 55, 0.5) !important;
}

.tier-btn.bg-lux-gold\/10 {
    background: rgba(212, 175, 55, 0.1);
}

/* ── Tier Popular Ring Override on Select ────────── */
.tier-btn.selected-override {
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: rgba(212, 175, 55, 0.1);
}

/* ============================================
   Package Selector — Service Page
   ============================================ */

.pkg-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-left: 4px;
}
.pkg-scroll::-webkit-scrollbar { display: none; }

.pkg-card { scroll-snap-align: start; }

.pkg-card.active {
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.06);
}
.pkg-card.active .pkg-qty { color: #D4AF37; }

.pkg-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-transform: uppercase;
    z-index: 2;
}
.pkg-badge-off {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.15);
}
.pkg-badge-popular {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: #fff;
    box-shadow: 0 2px 12px rgba(225, 48, 108, 0.3);
}
.pkg-badge-bulk {
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.pkg-arrow { transition: all 0.2s ease; }
.pkg-arrow:hover {
    background: #1A1A1A;
    border-color: rgba(212, 175, 55, 0.3);
}
.pkg-arrow:hover .iconify { color: #D4AF37; }

.pkg-detail-enter {
    animation: pkgDetailIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pkgDetailIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}