/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 480px;
  overflow: visible;
  margin: 0 24px 72px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 2;
  text-align: center;
  color: white;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 300ms;
}
.hero-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Hero Search Bar */
.hero-search {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  max-width: 820px;
  padding: 0 24px;
}
.hero-search-inner {
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 6px;
  gap: 4px;
}
.hero-search-field {
  flex: 1.5;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-search-field svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--muted-fg);
  pointer-events: none;
}
.hero-search-field input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  background: transparent;
  outline: none;
}
.hero-search-field input::placeholder { color: var(--muted-fg); }
.hero-search-select {
  flex: 0.7;
  position: relative;
}
.hero-search-select select {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.hero-search-btn {
  height: 50px;
  padding: 0 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ===== Home Container ===== */
.home-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

/* ===== Section Styles ===== */
.home-section {
  padding: 56px 0 32px;
}
.home-section--alt {
  background: var(--muted);
  margin: 0 -24px;
  padding: 56px 24px 40px;
  border-radius: var(--radius-lg);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 15px;
}
.section-header--center {
  justify-content: center;
  text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.section-header--center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-subtitle {
  font-size: 14px;
  color: var(--muted-fg);
  margin-top: 4px;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  transition: opacity var(--transition);
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 15px;
  margin-left: auto;
}
.section-link:hover { opacity: 0.7; }

/* ===== Filter Pills ===== */
.home-filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.pill {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-fg);
  transition: all var(--transition);
  cursor: pointer;
}
.pill:hover { border-color: var(--primary); color: var(--fg); }
.pill.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

/* ===== Home Grid ===== */
.home-grid {
  display: grid;
  gap: 20px;
}
.home-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== Cities Grid Fix ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.city-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.city-card:hover img { transform: scale(1.08); }
.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.city-card-info {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: white;
}
.city-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.city-card-count {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
  margin-bottom: 10px;
}
.city-card-credit {
  position: absolute;
  bottom: 6px;
  right: 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}

/* ===== CTA Banner ===== */
.cta-banner {
  margin-top: 40px;
}
.cta-banner-inner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: white;
}
.cta-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.cta-text p {
  font-size: 15px;
  opacity: 0.9;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn--cta-primary {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all var(--transition);
}
.btn--cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn--cta-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.btn--cta-ghost:hover { background: rgba(255,255,255,0.25); }

/* ===== Why Hero Section ===== */
.why-hero-section {
  padding-top: 64px;
}

/* ===== Users Grid V2 ===== */
.users-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.user-card-v2 {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 300ms ease;
}
.user-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.user-card-v2-top {
  position: relative;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.user-badge-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.user-avatar-v2 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* Zewnętrzna zielona ramka */
  border: 3px solid var(--primary);
  /* Białe pole wewnątrz */
  padding: 3px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  transform: translateY(32px);
  position: relative;
  overflow: hidden;
}

/* Wewnętrzny gradient dla initials - pseudo-element */
.user-avatar-v2::before {
  content: '';
  position: absolute;
  inset: 3px; /* odpowiada padding */
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  z-index: -1;
}

/* Avatar ze zdjęciem - ukryj gradient */
.user-avatar-v2--photo::before {
  display: none;
}

.user-avatar-v2--photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.user-card-v2-body {
  padding: 40px 20px 20px;
  text-align: center;
}
.user-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.user-name{
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.user-handle {
  font-size: 13px;
  color: var(--muted-fg);
  margin-top: 2px;
}
.user-verified-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.user-stats-v2 {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 14px 0 16px;
  font-size: 12px;
  color: var(--muted-fg);
}
.user-stat-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.user-stat-v2--rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.user-stat-v2 svg { width: 13px; height: 13px; flex-shrink: 0; }
.user-stat-v2 strong { color: var(--fg); font-weight: 700; }
/* .user-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all var(--transition);
} */
/* .user-follow-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}
.user-follow-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.user-follow-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.12);
} */

/* ===== Offers Grid V2 ===== */
/* ===== Pricing Tiers ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 300ms ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(13,148,136,0.12);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pricing-icon svg { width: 24px; height: 24px; }
.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-fg);
}
.pricing-desc {
  font-size: 13px;
  color: var(--muted-fg);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pricing-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.disabled {
  color: var(--muted-fg);
  opacity: 0.5;
}
.pricing-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  text-align: center;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--foreground);
}
.pricing-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pricing-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.pricing-btn--primary:hover {
  opacity: 0.9;
  color: white;
}


/* ===== Why Grid V2 ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card-v2 {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 300ms ease;
}
.why-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.why-num-v2 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  opacity: 0.1;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}
.why-icon-v2 {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-icon-v2 svg { width: 32px; height: 32px; }
.why-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-desc {
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.65;
}


/* ===== Footer ===== */
.home-footer {
  margin-top: 64px;
  background: var(--fg);
  color: hsl(210 20% 80%);
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
.footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 48px 24px 32px;
  gap: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .navbar-logo { margin-bottom: 12px; }
.footer-brand .navbar-logo svg { color: var(--primary); }
.footer-brand .navbar-logo span { color: white; }
.footer-brand p { font-size: 13px; line-height: 1.6; opacity: 0.7; }
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 13px;
  color: hsl(210 20% 70%);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid hsl(220 26% 20%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .home-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .users-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero { height: 400px; margin: 0 16px; }
  .hero-title { font-size: 48px; }
  .home-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .users-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .hero { height: 340px; margin: 0 8px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 14px; }
  .hero-search { bottom: -40px; padding: 0 16px; }
  .hero-search-inner { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .hero-search-field { flex: 1 1 100%; }
  .hero-search-field input { height: 38px; font-size: 14px; }
  .hero-search-field svg { width: 16px; height: 16px; left: 14px; }
  .hero-search-select { flex: 1; min-width: 0; }
  .hero-search-select select { height: 38px; font-size: 13px; padding: 0 12px; }
  .hero-search-btn { height: 38px; padding: 8px 12px; font-size: 14px; }
  .hero-search-btn svg { display: none; }
  .home-container { padding-top: 40px; }
  .home-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .city-card { height: 160px; }
  .users-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card-v2 { padding: 15px;}
  .why-title{ font-size: 16px; }
  .why-desc { font-size: 13px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 20px; }
  .pricing-badge { top: -10px; padding: 3px 12px; font-size: 9px; }
  .pricing-icon { width: 40px; height: 40px; }
  .pricing-icon svg { width: 20px; height: 20px; }
  .pricing-tier-name { font-size: 18px; }
  .pricing-price { font-size: 24px; }
  .pricing-price span { font-size: 12px; }
  .pricing-desc { font-size: 12px; }
  .pricing-features li { font-size: 12px; }
  .pricing-features li svg { width: 16px; height: 16px; }
  .cta-banner-inner{ gap: 20px; padding: 10px; }
  .cta-text h3 { font-size: 20px; }
  .cta-text p { font-size: 14px; }
  .cta-buttons { flex-direction: column; width: 80%; }
  .cta-buttons a { padding: 8px;}
  .btn--cta-primary, .btn--cta-ghost { width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .section-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .home-grid--4 { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr; }
}

