/* --- RESET I ZMIENNE --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #00ff88; /* Neonowa zieleń */
    --accent-glow: rgba(0, 255, 136, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* --- NAWIGACJA --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.dot { color: var(--accent); }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--text-main); }

.btn-nav {
    background: white;
    color: black;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-nav:hover { transform: scale(1.05); }

/* --- HERO SECTION --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 5%;
    background: radial-gradient(circle at top right, #1a1a1a 0%, #0a0a0a 60%);
}

.hero-content {
    max-width: 600px;
}

.tag {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: black;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 15px;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite; /* Animacja latania */
}

/* Animacja lewitowania słuchawek */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- FUNKCJE (GRID) --- */
#features {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    padding: 8rem 1rem;
    background: linear-gradient(to top, #111, #0a0a0a);
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 50px;
    border-radius: 50px;
}

.small-text {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #555;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #333;
    border-top: 1px solid #111;
}

/* --- RWD (MOBILE) --- */
@media (max-width: 900px) {
    header {
        flex-direction: column-reverse; /* Odwracamy kolejność: tekst pod zdjęciem */
        text-align: center;
        padding-top: 6rem;
        justify-content: center;
    }
    
    .hero-content { margin-top: 2rem; }
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Na szybko ukrywamy linki na mobile */
    .hero-image img { max-width: 80%; }
}

/* --- NOWE STYLE DLA ZDJĘĆ I PŁATNOŚCI --- */

/* Poprawka dla zdjęcia słuchawek (żeby wyglądało ładnie w kółku/ramce) */
.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px; /* Zaokrąglone rogi */
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2); /* Zielona poświata */
    border: 1px solid #333;
    /* Usuwamy animację latania, bo dla zdjęcia z tłem wygląda to dziwnie */
    animation: none; 
}

/* Style dla przycisku <button> (żeby wyglądał jak <a>) */
button.btn-primary {
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Sekcja płatności pod przyciskiem */
.payment-methods {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.secure-text {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods .icons {
    display: flex;
    gap: 15px;
    font-size: 2rem; /* Duże ikony */
    color: #777;
}

.payment-methods .icons i:hover {
    color: white; /* Po najechaniu robią się białe */
    transition: color 0.3s;
}


/* --- SEKCJA SPECYFIKACJI --- */
.specs-section {
    padding: 6rem 5%;
    background-color: #0d0d0d; /* Odrobinę jaśniejszy niż główne tło */
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.specs-wrapper {
    display: flex;
    flex-wrap: wrap; /* Żeby na telefonach spadało pod spód */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.specs-text {
    flex: 1;
    min-width: 300px;
}

.specs-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.specs-grid {
    flex: 1.5;
    min-width: 300px;
    background: #161616;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 1rem;
}

/* Ostatnia linia bez kreski na dole */
.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 600;
}

.spec-value {
    color: white;
    font-weight: 700;
    text-align: right;
}

/* Wyróżniona wartość (np. bateria) */
.spec-value.highlight {
    color: var(--accent); /* Neonowa zieleń */
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* RWD dla specyfikacji */
@media (max-width: 768px) {
    .specs-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .specs-text { text-align: center; }
    
    .specs-text h2 { font-size: 2rem; }
}

/* --- SEKCJA OPINII --- */
.reviews-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #111;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Efekt po najechaniu - karta lekko świeci */
.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.stars {
    color: #ffc107; /* Złoty kolor gwiazdek */
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    color: #ccc;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Sekcja z avatarem i podpisem */
.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #222;
    padding-top: 1rem;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Okrągły avatar */
    border: 2px solid var(--accent);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info .name {
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.reviewer-info .verified {
    font-size: 0.75rem;
    color: var(--accent); /* Zielony "Zweryfikowany" */
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}



.hidden { display: none !important; }

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}


.modal-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.modal-overlay.hidden .modal-box { transform: translateY(20px); }


.close-btn {
  position: absolute; top: 15px; right: 15px;
  background: none; border: none; font-size: 24px; cursor: pointer; color: #666;
}


.order-summary { font-size: 1.1em; margin-bottom: 20px; color: #333; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.input-group { margin-bottom: 15px; text-align: left; }
.input-group label { display: block; margin-bottom: 5px; font-size: 0.9em; color: #555; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
.input-group input:focus { border-color: #007BFF; outline: none; }
.row { display: flex; gap: 15px; }
.error-text { color: #dc3545; font-size: 0.8em; margin-top: 5px; display: block; }


.submit-btn {
  width: 100%; padding: 12px; background: #000; color: #fff;
  border: none; border-radius: 6px; font-size: 1em; cursor: pointer;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  transition: background 0.2s;
}
.submit-btn:hover { background: #333; }
.submit-btn.outline { background: transparent; color: #000; border: 1px solid #000; margin-top: 15px; }


.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Ekran sukcesu */
.text-center { text-align: center; }
.success-icon { font-size: 50px; color: #28a745; margin-bottom: 10px; }