@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#0b0f17;
    color:white;
}

/* NAVBAR */

nav{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    padding:30px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(10,15,25,0.7);
    backdrop-filter:blur(10px);
    z-index:1000;
    border-bottom:1px solid #1f2a3a;
}

.logo{
    font-weight:800;
    font-size:24px;
    color:#ae07f0;
    font-family: Arial, Helvetica, sans-serif;
}

nav a{
    margin-left:30px;
    text-decoration:none;
    color:#aaa;
    transition:.2s;
    scroll-behavior: smooth;
}

nav a:hover{
    color:white;
}

/* HERO WITH VIDEO */

.hero{
position:relative;
height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

.hero video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:0;
pointer-events:none;
filter: blur(8px);
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(10,15,25,0.75);
z-index:-1;
}

.hero-content{
position:relative;
z-index:2;
color:white;
}

.hero h1{
  font-size:70px;
  color:#ae07f0;
  font-family:'Orbitron',sans-serif;
}

.hero p{
    margin-top:20px;
    font-size:22px;
    color:#ccc;
}

.info-box:hover{
transform:translateY(-8px);
border-color:#a855f7;
box-shadow:0 0 30px rgba(168,85,247,.35);
}

/* CTA BUTTON */

.btn{
    display:inline-block;
    margin-top:40px;
    padding:18px 50px;
    border-radius:12px;
    text-decoration:none;
    font-size:18px;
    background:linear-gradient(90deg,#ae07f0,#6b5cff);
    color:white;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);
}

/* INFO BOXES */

.info-section {
    margin-top: 50px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    gap: 50px;
    justify-content: center;
}

.info-box{
    background:#111827;
    padding: 40px;
    width: 330px;
    border-radius: 15px;
    border: 1px solid #1f2a3a;
    text-align: center;
    justify-content: center;
    transition: .3s;
}

.info-box h3{
    margin-bottom: 20px;
    font-size: 50px;
}

.info-box h4{
    margin-bottom: 20px;
    font-size: 22px;
    white-space: nowrap;
}

.info-box p{
    font-size: 18px;
}

/* PRODUCTS */

.products{
  padding:200px 60px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:35px;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* CARD */
.product-card{
  background:#0e1420;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #1f2a3a;
  transition:.35s ease;
  position:relative;
}

/* GLOW HOVER */
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 35px rgba(174,7,240,.35);
  border-color:#ae07f0;
}

/* IMAGE WRAPPER */
.product-image{
  height:230px;
  overflow:hidden;
  background:#0b0f17;
}

/* IMAGE ZOOM DELAY */
.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.2s ease;
}

/* DELAYED ZOOM */
.product-card:hover .product-image img{
  transform:scale(1.08);
}

/* CONTENT */
.product-content{
  padding:22px;
}

.product-content h3{
  color:white;
  font-size:20px;
  margin-bottom:14px;
}

/* PRICE ROW */
.price-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* PRICE */
.price{
  color:#ae07f0;
  font-size:22px;
  font-weight:700;
}

/* OLD PRICE */
.old-price{
  color:#6b7280;
  text-decoration:line-through;
  font-size:14px;
}

/* STOCK */
.stock{
  margin-left:auto;
  font-size:14px;
  color:#9ca3af;
}

.stock.out{
  color:#ff4d4d;
}

/* CHECKOUT */

.checkout h2{
    margin-bottom: 20px;
}

.checkout{
    max-width:600px;
    margin:180px auto;
    background:#111827;
    padding:40px;
    border-radius:15px;
    border:1px solid #1f2a3a;
    text-align:center;
}

.checkout input, .checkout select{
    width:100%;
    padding:15px;
    margin-top:20px;
    background:#0b0f17;
    border:1px solid #1f2a3a;
    color:white;
    border-radius:8px;
}

/* TOP BAR GLOBAL */

.topbar{
    width:100%;
    z-index: 9999;
    background:#8a02d8;
    color:white;
    text-align:center;
    position: fixed;
    padding:8px 0;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
}

nav{
    top:32px;
}

#topText {
  position: relative;
  overflow: hidden;
  font-family:'Orbitron',sans-serif;
}

.animate-out-bottom {
  animation: y-animation-out-bottom 1s forwards;
}

.animate-in-top {
  animation: y-animation-in-top 1s forwards;
}

@keyframes y-animation-out-bottom {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes y-animation-in-top {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.reviews-section{
padding:200px 60px;
background:#0b0f17;
text-align:center;
}

.reviews-title h2{
font-size:38px;
color:white;
margin-bottom:10px;
font-family:'Orbitron',sans-serif;
}

.reviews-title p{
color:#9ca3af;
margin-bottom:60px;
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.review-card{
background:#111827;
padding:30px;
border-radius:14px;
border:1px solid #1f2937;
transition:.3s;
text-align:left;
}

.stars{
color:#a855f7;
font-size:20px;
margin-bottom:10px;
}

.review-card p{
color:#d1d5db;
font-size:14px;
line-height:1.6;
margin-bottom:12px;
}

.review-card span{
color:#9ca3af;
font-size:13px;
}

@keyframes slideInSmooth {
    from {
        opacity: 0;
        margin-top: 30px; /* Einfliegen über Margin statt Transform */
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

.review-card {
    opacity: 0;
    display: block; /* Sicherstellen, dass Margin funktioniert */
    position: relative;
    
    /* Transition NUR für den Hover-Effekt (Transform) */
    /* Eine Zeit von 0.5s oder 0.6s fühlt sich "wertiger" und weicher aus */
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.review-card.visible {
    animation: slideInSmooth 0.8s ease-out forwards;
}

/* Der Hover-Effekt ist jetzt komplett unabhängig von der Start-Animation */
.review-card:hover {
    transform: translateY(-10px); 
    border-color: #a855f7;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.3);
}


.how-section{
padding:120px 60px;
background:#0b0f17;
text-align:center;
margin-top: 100px;
border-bottom: 0.5px solid #1f2a3a;    /* Rahmen oben */
}

.how-title h2{
font-size:38px;
margin-bottom:10px;
color:white;
font-family:'Orbitron',sans-serif;
}

.how-title p{
color:#9ca3af;
margin-bottom:60px;
}

.how-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.how-card{
background:#111827;
padding:35px;
border-radius:14px;
border:1px solid #1f2937;
transition:.3s;
}

.how-card:hover{
transform:translateY(-6px);
border-color:#a855f7;
box-shadow:0 0 25px rgba(168,85,247,.3);
}

.how-icon{
font-size:32px;
margin-bottom:15px;
}

.how-card h3{
color:white;
margin-bottom:10px;
}

.how-card p{
color:#9ca3af;
font-size:14px;
line-height:1.6;
}

.stats-section{
padding:120px 60px;
background:#0b0f17;
text-align:center;
border-top: 0.5px solid #1f2a3a;    /* Rahmen oben */
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.stat-card{
background:#111827;
padding:45px;
border-radius:14px;
border:1px solid #1f2a3a;
transition:.3s;
}

.stat-card:hover{
transform:translateY(-8px);
border-color:#a855f7;
box-shadow:0 0 30px rgba(168,85,247,.35);
}

.stat-number{
font-size:42px;
color:#a855f7;
margin-bottom:10px;
font-weight:700;
}

.stat-card p{
color:#9ca3af;
font-size:15px;
}

/* FAQ SECTION */

.faq-section{
    padding:120px 60px;
    background:#0b0f17;
}

.faq-title{
    text-align:center;
    margin-bottom:60px;
}

.faq-title h2{
    font-size:42px;
    color:#ffffff;
    font-family:'Orbitron',sans-serif;
}

/* 1. Das Grid fixen, damit Boxen nicht gegenseitig ihre Höhe erzwingen */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start; /* WICHTIG: Verhindert das Mitwachsen der Nachbarbox */
}

/* 2. Den Abstand bei der Antwort entfernen (wird erst beim Öffnen aktiv) */
.faq-answer {
    display: none;
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-top: 0; /* Zuerst auf 0 setzen */
}

/* 3. Wenn die Box offen ist (Klasse .active kommt vom Script) */
.faq-item.active .faq-answer {
    display: block;
    margin-top: 15px; /* Abstand erst hier hinzufügen */
    border-top: 1px solid #1f2a3a; /* Optional: Schöne Trennlinie */
    padding-top: 10px;
}

/* Optional: Farbe des Hover-Effekts auch bei aktiven Items behalten */
.faq-item.active {
    border-color: #ae07f0;
}

.faq-item{
    background:#111827;
    border:1px solid #1f2a3a;
    border-radius:12px;
    padding:20px 25px;
    cursor:pointer;
    transition:.3s;
}

.faq-item:hover{
    border-color:#ae07f0;
}

.faq-question{
    font-weight:600;
    font-size:18px;
}

.faq-answer{
    margin-top:15px;
    font-size:14px;
    color:#ccc;
    display:none;
    line-height:1.6;
}

/* FOOTER */

.footer {
  margin-top: 120px;
  padding: 60px 80px 30px;
  background: linear-gradient(to top, #0b0f17, #0d121c);
  border-top: 1px solid #1f2a3a;
  color: #9ca3af;
  font-size: 14px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col a {
  display: block;
  color: #9ca3af;
  margin-bottom: 8px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #ae07f0;
}

.footer-col p {
  line-height: 1.6;
  max-width: 420px;
}

.footer-payments {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #1f2a3a;
  color: #6b7280;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  color: #6b7280;
}
