/* MAIN STYLES - LinkDrop Ultra Pro Clean - Wersja Poprawiona */

:root {
  --primary: #6366f1; /* Nowoczesny, dynamiczny fiolet LinkDrop */
  --text-dark: #0f172a; /* Głęboki, profesjonalny kolor tekstu */
  --text-muted: #64748b; /* Stonowany szary */
  --success: #10b981; /* Soczysta zieleń dla płatności */
  --bg-main: #ffffff; /* Czyste tło */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CONTAINER */
.container {
  width: 90vw;
  max-width: 1200px; /* Węższy kontener dla lepszej kompozycji */
  margin: auto;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  padding-top: 160px; /* Większy odstęp od nav */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Równe proporcje 50/50 */
  align-items: center;
  gap: 80px; /* Przestrzeń między tekstem a obrazem */
}

/* HERO TEXT & BADGE - Poprawione rozjazdy */
.promo-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 99px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
  line-height: 1; /* KLUCZOWE: Zapobiega rozjazdowi badge-a */
}

.badge-new {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-right: 10px;
  line-height: 1; /* KLUCZOWE: Wyrównuje tekst w fioletowym kółku */
}

.badge-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: -0.2px;
}

/* GŁÓWNY NAGŁÓWEK - Poprawione rozjazdy */
.hero-text h1 {
  font-size: 3.75rem; /* Profesjonalny, czytelny rozmiar */
  font-weight: 800;
  letter-spacing: -2.5px; /* KLUCZOWE: Ściska litery, eliminując rozjazd */
  line-height: 1.05; /* KLUCZOWE: Zmniejsza odstęp między liniami */
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.hero-text p {
  font-size: 1.15rem; /* Subtelniejszy rozmiar opisu */
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 520px; /* Ograniczenie szerokości tekstu */
  line-height: 1.7; /* Dobra czytelność */
}

/* HERO ACTIONS & CTA BUTTON */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-btn {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.cta-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.trust-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.2px;
}

/* HERO IMAGE & FLOATING CARD */
.hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end; /* Wyrównanie do prawej dla balansu */
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
}

.parallax-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.12);
  border: 1px solid #f0f0f0;
}

.stats-card {
  position: absolute;
  top: 12%; /* Wyżej, dla pro look */
  left: -50px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 5s ease-in-out infinite;
  border: 1px solid #eaeaea;
  z-index: 10;
}

.stats-card i {
  background: #f0fdf4; /* Jasna zieleń */
  color: var(--success);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1rem;
}

.stats-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stats-info strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 700;
}

.stats-info strong small {
  color: var(--success);
  font-size: 0.85rem;
  margin-left: 4px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- INTERACTIVE MOCKUP STYLES --- */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.interactive-mockup {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Telefon / Główny profil */
.mockup-phone {
  width: 320px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), inset 0 4px 6px rgba(255, 255, 255, 0.8);
  border: 8px solid #f1f5f9;
  padding: 30px 20px;
  position: relative;
  z-index: 2;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mockup-phone:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
  text-align: center;
  margin-bottom: 30px;
}

.mockup-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 3px solid white;
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.mockup-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.mockup-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.mockup-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-dot {
  width: 24px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 50%;
}

.mockup-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-link-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mockup-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.mockup-link-card.highlight {
  border: 2px solid var(--primary);
  background: #fcfcff;
}

.link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.link-icon.blue { background: #eff6ff; color: #3b82f6; }
.link-icon.green { background: #f0fdf4; color: var(--success); }
.link-icon i { font-size: 1.1rem; }

.link-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.link-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.link-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.link-arrow {
  color: var(--text-muted);
  font-weight: bold;
}

/* Lewitujące Widgety (Glassmorphism) */
.floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: floatAsync 6s ease-in-out infinite;
}

.widget-text {
  display: flex;
  flex-direction: column;
}

.widget-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-text strong {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 800;
}

.widget-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.green-bg { background: #dcfce7; color: var(--success); }
.purple-bg { background: #e0e7ff; color: var(--primary); }

.pulse-text {
  color: var(--success);
  font-size: 0.85rem;
  margin-left: 5px;
  animation: pulseColor 2s infinite;
}

.notif-indicator {
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

/* Pozycjonowanie i Opóźnienia Animacji */
.widget-revenue {
  top: 5%;
  left: -20%;
  animation-delay: 0s;
}

.widget-notification {
  top: 40%;
  right: -25%;
  animation-delay: 1.5s;
}

.widget-booking {
  bottom: 10%;
  left: -15%;
  animation-delay: 3s;
}

/* Keyframes */
@keyframes floatAsync {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

@keyframes pulseColor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- ZMIANY W MOCKUPIE --- */
.mockup-phone {
  width: 340px; /* Nieco szerszy, żeby pomieścić terminarz */
  height: auto;
  min-height: 680px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 40px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2), inset 0 4px 6px rgba(255, 255, 255, 0.8);
  border: 10px solid #f1f5f9;
  padding: 20px 20px 30px;
  position: relative;
  z-index: 2;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Pasek URL */
.mockup-url-bar {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-url-bar i {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Social media ikony zamiast kropek */
.mockup-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-icon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-icon:hover {
  background: var(--primary);
  color: white;
}

/* Nowy Terminarz */
.mockup-schedule {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.schedule-header i { color: var(--primary); }

.schedule-slots {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.slot {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}
.slot.booked {
  text-decoration: line-through;
  color: #94a3b8;
  background: #f1f5f9;
}
.slot.highlight {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* Kolory ikon usług */
.link-icon.pink { background: #fdf2f8; color: #ec4899; }
.link-icon.blue { background: #eff6ff; color: #3b82f6; }
.link-icon.green { background: #f0fdf4; color: var(--success); }

/* WIDŻETY - Powiększony zysk */
.widget-large {
  padding: 24px 30px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.15); /* Zielonkawy cień */
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 320px; 
  height: 110px; /* Stała wysokość również pomaga */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.widget-large .widget-icon {
  width: 55px;
  height: 55px;
  font-size: 1.5rem;
}

.big-number {
  font-size: 1.3rem !important; /* Bardzo duża skala */
  font-weight: 900 !important; /* Maksymalna grubość */
  color: #000 !important; /* Głęboka czerń */
  letter-spacing: -2px;
  line-height: 1;
  border-bottom: 4px solid var(--success); /* Podkreślenie w kolorze sukcesu */
  padding-bottom: 2px;
  
}
.revenue-big {
  font-size: 1.8rem !important; /* Ogromna kwota */
  color: var(--success) !important;
  letter-spacing: -1px;

  white-space: nowrap;
  
}


.revenue-big small { 
  font-size: 1rem; 
  font-weight: 800;
  margin-left: 5px;
  flex-shrink: 0;
}

.currency {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  text-transform: uppercase;
  flex-shrink: 0;
}

.widget-revenue {
  top: 0%;
  left: -25%;
}
.widget-notification {
  top: 55%;
  right: -20%;
}


/* Animacje wejścia (Klasy zarządzane przez JS) */
.animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animate-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.delay-4 { transition-delay: 0.7s; }

/* Mobile Responsiveness dla Mockupu */
@media (max-width: 992px) {
  .interactive-mockup { max-width: 320px; height: auto; padding: 40px 0; }
  .mockup-phone { transform: none; width: 100%; border-width: 4px; }
  .mockup-phone:hover { transform: none; }
  
  .floating-widget { padding: 12px 16px; border-radius: 16px; }
  .widget-revenue { top: -20px; left: 0; right: 0; margin: auto; width: max-content; }
  .widget-notification { top: auto; bottom: -20px; right: 10px; }
  .widget-booking { display: none; /* Ukrywamy na małych ekranach, żeby nie było tłoczno */ }
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; padding-top: 100px; }
  .stats-card { display: none; }
  .hero-text h1 { font-size: 2.75rem; letter-spacing: -1.5px; }
  .hero-text p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 15px; }
  .hero-image { order: -1; justify-content: center; }
  .image-wrapper { max-width: 450px; }
}