/* =====================================================
   Sejt.dk - Custom Styles
   Droner, gadgets & andre seje ting
   ===================================================== */

html { scroll-behavior: smooth; }

::selection { background: rgba(0, 212, 255, 0.25); color: #fff; }

:focus-visible { outline: 2px solid #00d4ff; outline-offset: 3px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #05060d; }
::-webkit-scrollbar-thumb { background: #272d52; border-radius: 10px; border: 2px solid #05060d; }
::-webkit-scrollbar-thumb:hover { background: #3a4170; }

/* =====================================================
   Ambient background
   ===================================================== */
.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    will-change: transform;
}
.blob-1 {
    width: 540px; height: 540px;
    top: -160px; left: -120px;
    background: radial-gradient(circle, rgba(0,212,255,0.55), transparent 70%);
    animation: drift1 22s ease-in-out infinite;
}
.blob-2 {
    width: 620px; height: 620px;
    top: 30%; right: -200px;
    background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 70%);
    animation: drift2 28s ease-in-out infinite;
}
.blob-3 {
    width: 460px; height: 460px;
    bottom: -160px; left: 30%;
    background: radial-gradient(circle, rgba(196,255,77,0.18), transparent 70%);
    animation: drift1 26s ease-in-out infinite reverse;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
@keyframes drift1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, 50px) scale(1.08); }
}
@keyframes drift2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-50px, 30px) scale(1.1); }
}

/* =====================================================
   Header
   ===================================================== */
#header { background: transparent; }
#header.scrolled {
    background: rgba(10, 12, 24, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 30px -20px rgba(0,0,0,0.8);
}
.nav-link { position: relative; transition: color .25s; }
.nav-link:hover { color: #fff; }
.nav-link::after {
    content: '';
    position: absolute; left: 0; bottom: -6px;
    height: 2px; width: 0;
    background: linear-gradient(90deg, #00d4ff, #8b5cf6);
    transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    color: #cbd5e1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all .25s;
}
.icon-btn:hover { color: #fff; background: rgba(255,255,255,0.09); transform: translateY(-1px); }

.cart-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    color: #05060d;
    background: #c4ff4d;
    border-radius: 9px; padding: 0 4px;
    box-shadow: 0 0 0 2px #05060d;
}

.mobile-link {
    padding: 11px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    transition: all .2s;
}
.mobile-link:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* =====================================================
   Buttons
   ===================================================== */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px;
    font-weight: 600; font-size: 15px;
    color: #05060d;
    background: linear-gradient(135deg, #7df9ff, #00d4ff 45%, #8b5cf6);
    background-size: 180% 180%;
    border-radius: 14px;
    box-shadow: 0 10px 30px -10px rgba(0,212,255,0.55);
    transition: transform .25s, box-shadow .25s, background-position .5s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    background-position: 100% 100%;
    box-shadow: 0 16px 40px -12px rgba(139,92,246,0.6);
}
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px;
    font-weight: 600; font-size: 15px;
    color: #e2e8f0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    transition: all .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(0,212,255,0.4); transform: translateY(-2px); }

/* =====================================================
   Typography helpers
   ===================================================== */
.text-gradient {
    background: linear-gradient(110deg, #7df9ff, #36e0f5 35%, #a78bfa 75%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #36e0f5;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    color: #fff; line-height: 1.15;
}

.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #c4ff4d;
    box-shadow: 0 0 0 0 rgba(196,255,77,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(196,255,77,0.6); }
    70% { box-shadow: 0 0 0 9px rgba(196,255,77,0); }
    100% { box-shadow: 0 0 0 0 rgba(196,255,77,0); }
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); }

/* =====================================================
   Hero card
   ===================================================== */
.hero-card {
    position: relative;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(26,31,61,0.9), rgba(10,12,24,0.85));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0,212,255,0.15), transparent 55%),
                radial-gradient(circle at 80% 90%, rgba(139,92,246,0.18), transparent 55%);
    pointer-events: none;
}
.chip {
    font-size: 11px; font-weight: 700; letter-spacing: .03em;
    padding: 4px 10px; border-radius: 999px;
}
.chip-volt { background: #8b5cf6; color: #fff; }
.chip-cyber { background: rgba(0,212,255,0.15); color: #7df9ff; border: 1px solid rgba(0,212,255,0.3); }

.drone-stage {
    position: relative; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    padding: 20px 0 10px;
}
.drone-svg { width: 88%; max-width: 360px; height: auto; }
.drone-stage::after {
    content: '';
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    width: 55%; height: 22px; border-radius: 50%;
    background: rgba(0,0,0,0.5); filter: blur(14px);
    animation: hover-shadow 4s ease-in-out infinite;
}
.drone-svg { animation: hover-float 4s ease-in-out infinite; }
@keyframes hover-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes hover-shadow {
    0%,100% { opacity: .5; transform: translateX(-50%) scale(1); }
    50% { opacity: .3; transform: translateX(-50%) scale(.82); }
}
.rotor { transform-box: fill-box; transform-origin: center; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotateX(0) scaleX(0.15); } }

.floating-stat {
    position: absolute; top: -18px; right: -18px;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: rgba(10,12,24,0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.9);
    animation: hover-float 5s ease-in-out infinite;
}
.floating-stat i { font-size: 20px; }

/* =====================================================
   Category cards
   ===================================================== */
.category-card {
    position: relative; overflow: hidden;
    padding: 24px;
    min-height: 180px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(26,31,61,0.6), rgba(10,12,24,0.6));
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform .35s, border-color .35s, box-shadow .35s;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,212,255,0.35);
    box-shadow: 0 30px 50px -30px rgba(0,0,0,0.9);
}
.cat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 16px;
    font-size: 22px; color: #7df9ff;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
}

/* =====================================================
   Filter pills
   ===================================================== */
.filter-pill {
    padding: 8px 18px;
    font-size: 14px; font-weight: 500;
    color: #94a3b8;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    transition: all .25s;
}
.filter-pill:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.filter-pill.is-active {
    color: #05060d; font-weight: 600;
    background: #7df9ff; border-color: #7df9ff;
}

/* =====================================================
   Product cards
   ===================================================== */
.product-card {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(170deg, rgba(26,31,61,0.55), rgba(10,12,24,0.7));
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 34px 60px -34px rgba(0,0,0,0.95);
}
.product-media {
    position: relative;
    height: 180px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-media::before {
    content: '';
    position: absolute; inset: 0;
    opacity: .9;
}
.accent-cyber::before { background: radial-gradient(circle at 50% 40%, rgba(0,212,255,0.22), transparent 65%); }
.accent-volt::before  { background: radial-gradient(circle at 50% 40%, rgba(139,92,246,0.25), transparent 65%); }
.accent-lime::before  { background: radial-gradient(circle at 50% 40%, rgba(196,255,77,0.18), transparent 65%); }

.product-glyph {
    position: relative; z-index: 2;
    font-size: 58px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transition: transform .4s ease;
}
.product-card:hover .product-glyph { transform: translateY(-6px) scale(1.08) rotate(-4deg); }

.product-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
}
.badge-cyber { background: rgba(0,212,255,0.18); color: #7df9ff; border: 1px solid rgba(0,212,255,0.35); }
.badge-volt  { background: rgba(139,92,246,0.22); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.4); }
.badge-lime  { background: rgba(196,255,77,0.18); color: #c4ff4d; border: 1px solid rgba(196,255,77,0.35); }

.wish-btn {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #cbd5e1; font-size: 14px;
    background: rgba(5,6,13,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    transition: all .25s;
}
.wish-btn:hover { color: #ff5d8f; border-color: rgba(255,93,143,0.5); transform: scale(1.1); }
.wish-btn.is-active { color: #ff5d8f; }

.add-btn {
    width: 42px; height: 42px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: #05060d; font-size: 15px;
    background: linear-gradient(135deg, #7df9ff, #00d4ff);
    box-shadow: 0 8px 20px -8px rgba(0,212,255,0.6);
    transition: transform .25s, box-shadow .25s;
}
.add-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 26px -8px rgba(0,212,255,0.8); }
.add-btn.added { background: linear-gradient(135deg, #c4ff4d, #a8e80c); }

/* =====================================================
   Spotlight
   ===================================================== */
.spotlight {
    position: relative; overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(26,31,61,0.85), rgba(10,12,24,0.9));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 50px 90px -50px rgba(0,0,0,0.9);
}
.spotlight-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 340px;
    background: radial-gradient(circle at 60% 50%, rgba(139,92,246,0.25), transparent 60%),
                radial-gradient(circle at 30% 80%, rgba(0,212,255,0.2), transparent 55%);
    overflow: hidden;
}
.spotlight-visual::before {
    content: '';
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}

/* =====================================================
   Perk cards
   ===================================================== */
.perk-card {
    padding: 28px 24px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(26,31,61,0.5), rgba(10,12,24,0.55));
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform .3s, border-color .3s;
}
.perk-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,0.35); }
.perk-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 16px;
    font-size: 21px; color: #c4b5fd;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.25);
}

/* =====================================================
   Stats
   ===================================================== */
.stat-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}

/* =====================================================
   Newsletter
   ===================================================== */
.newsletter {
    position: relative; overflow: hidden;
    padding: 56px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(17,20,42,0.95), rgba(10,12,24,0.95));
    border: 1px solid rgba(255,255,255,0.1);
}
.newsletter::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(0,212,255,0.2), transparent 50%),
                radial-gradient(circle at 90% 100%, rgba(139,92,246,0.25), transparent 50%);
}
.newsletter-input {
    flex: 1;
    padding: 13px 18px;
    color: #fff; font-size: 15px;
    background: rgba(5,6,13,0.6);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    transition: border-color .25s, box-shadow .25s;
}
.newsletter-input::placeholder { color: #64748b; }
.newsletter-input:focus { outline: none; border-color: #00d4ff; box-shadow: 0 0 0 3px rgba(0,212,255,0.15); }

/* =====================================================
   Footer
   ===================================================== */
.footer-head {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: #fff; margin-bottom: 16px;
}
.footer-list { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.footer-list a { color: #94a3b8; transition: color .2s; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.footer-list a:hover { color: #7df9ff; }

.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 11px;
    color: #cbd5e1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all .25s;
}
.social-btn:hover { color: #05060d; background: #7df9ff; border-color: #7df9ff; transform: translateY(-2px); }

/* =====================================================
   Back to top
   ===================================================== */
.to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 60;
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #05060d; font-size: 16px;
    background: linear-gradient(135deg, #7df9ff, #00d4ff);
    box-shadow: 0 12px 30px -10px rgba(0,212,255,0.6);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* =====================================================
   Scroll reveal
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
