:root {
  /* Trendy ślubne 2026/2027: Warm Neutrals, Chocolate Brown, Sunset Hues & Powder Blue */
  --bg-color: #F8F7F4; /* Cloud Dancer / Warm Neutral */
  --text-color: #4A3B32; /* Chocolate Brown (zamiast czerni) */
  --text-muted: #8C7A6B; /* Soft Mocha */
  
  --primary: #D97757; /* Sunset Terracotta / Apricot */
  --secondary: #B4C4D9; /* Powder Blue */
  --accent: #C0C0C0; /* Metallic Silver */
  
  --glass-bg: rgba(248, 247, 244, 0.85);
  --glass-border: rgba(74, 59, 50, 0.1); 
  --glass-shadow: 0 10px 40px -10px rgba(74, 59, 50, 0.12);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.mt-50 { margin-top: 50px; }

/* Promo Banner */
.promo-banner {
  background: var(--primary);
  color: #fff;
  padding: 10px 0;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}
.promo-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.promo-timer {
  font-family: var(--font-heading);
  font-weight: 700;
  background: rgba(0,0,0,0.1);
  padding: 4px 12px;
  border-radius: 6px;
}
.promo-btn {
  background: #fff;
  color: var(--primary);
  border: none;
}
.promo-btn:hover { background: #fdfdfd; transform: scale(1.05); }

/* Utilities */
.logo-highlight {
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

/* Animations */
.animated-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animated-hover {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.animated-hover:hover {
  transform: scale(1.03) rotate(1deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
}

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

.btn-primary {
  background: linear-gradient(45deg, var(--primary), #e3896b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 87, 0.4);
}

.btn-secondary {
  background: rgba(74, 59, 50, 0.05);
  color: var(--text-color);
}
.btn-secondary:hover { background: rgba(74, 59, 50, 0.1); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: rgba(217, 119, 87, 0.1); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; /* will be adjusted by JS if banner is active */
  left: 0; right: 0;
  z-index: 1000;
  border-radius: 0;
  border-left: none; border-right: none; border-top: none;
  padding: 15px 0;
  transition: top 0.3s;
}

/* gap: przy pelnym zestawie linkow logo stykalo sie z pierwsza pozycja menu.
   space-between rozklada elementy do krawedzi, ale nie gwarantuje odstepu,
   gdy zawartosc wypelnia cala szerokosc. */
.nav-content { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.5px; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 25px; align-items: center; }
/* Bez tego etykiety wielowyrazowe ("Jak to dziala", "Wynajmij Drukarke") lamia
   sie w dwie linie przy pelnym zestawie linkow, co podwaja wysokosc paska i
   wpuszcza go na tresc strony. Nawigacja miesci sie w szerokosci — problemem
   bylo zawijanie wewnatrz pojedynczych linkow. */
.nav-links a { white-space: nowrap; }
.nav-links a:not(.btn) { font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:not(.btn):hover { color: var(--primary); }

/* Hamburger. Ukryty na desktopie, wlaczany w @media (max-width: 768px). */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text-color);
  cursor: pointer;
}

/* Menu profilowe zalogowanego partnera (details/summary w navbarze) */
.profile-menu { position: relative; }
.profile-menu > summary { list-style: none; }
.profile-menu > summary::-webkit-details-marker { display: none; }
.profile-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  display: flex;
  flex-direction: column;
  z-index: 1001;
}
.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
}
.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: rgba(217, 119, 87, 0.08);
  color: var(--primary);
}
.profile-dropdown form { margin: 0; }

.lang-switcher select {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 20px;
  outline: none; cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 40%; left: 30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.15) 0%, rgba(180, 196, 217, 0.2) 60%, transparent 70%);
  filter: blur(80px); z-index: -1;
  animation: bg-pulse 10s infinite alternate;
}

@keyframes bg-pulse {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.3) translate(50px, -50px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-title { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 20px; font-weight: 800; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 20px; }

.hero-image-wrapper { position: relative; perspective: 1000px; }
.hero-image {
  width: 100%;
  /* Konieczne razem z atrybutami width/height na <img>. Te atrybuty dzialaja
     jak reguly CSS o niskim priorytecie: 'width: 100%' nadpisuje szerokosc,
     ale wysokosc 768px zostaje i obraz jest rozciagany w pionie. */
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(74, 59, 50, 0.15);
  border: 4px solid #fff;
}

/* Stats Section */
.stats-section {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 30px;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* Sections Base */
.section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
.section-subtitle { color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; text-align: center; }

/* VS Section */
.table-responsive { overflow-x: auto; max-width: 1000px; margin: 0 auto; padding: 20px; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); border-radius: 20px; border: 1px solid var(--glass-border); }
.comparison-table th, .comparison-table td { padding: 20px 30px; border-bottom: 1px solid rgba(74, 59, 50, 0.05); }
.comparison-table th { font-size: 1.5rem; text-align: left; font-weight: 600; padding-top: 30px; }
.comparison-table th:last-child { color: var(--primary); }
.comparison-table td { font-size: 1.1rem; vertical-align: top; }
.comparison-table td:first-child { opacity: 0.7; width: 50%; border-right: 1px dashed rgba(74, 59, 50, 0.1); }
.comparison-table td:last-child { font-weight: 500; width: 50%; }
.comparison-table tr:last-child td { border-bottom: none; padding-bottom: 30px; }
.old-way { opacity: 0.7; }
.new-way.highlight { border-color: var(--primary); box-shadow: 0 0 30px rgba(217, 119, 87, 0.1); }

/* AI Features Rows */
.ai-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}
.ai-feature-row.reverse { direction: rtl; }
.ai-feature-row.reverse > * { direction: ltr; }
.ai-feature-text h3 { font-size: 2rem; margin-bottom: 20px; color: var(--text-color); }
.ai-feature-text p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }
.ai-feature-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  border: 4px solid #fff;
}

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-item { padding: 30px; transition: transform 0.3s; }
.feature-item:hover { transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-item h4 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Testimonials */
.testimonials-section { background: rgba(217, 119, 87, 0.03); padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.quote { font-size: 1.1rem; font-style: italic; color: var(--text-color); margin-bottom: 20px; line-height: 1.8; }
.author strong { display: block; color: var(--primary); }
.author span { font-size: 0.85rem; color: var(--text-muted); }

/* Partner Listings */
.listings-board { padding: 30px; }
.board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }
.listing-item { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 20px; border-radius: 12px; background: rgba(255,255,255,0.6); 
  margin-bottom: 15px; transition: background 0.3s;
  border: 1px solid rgba(255,255,255,0.8);
}
.listing-item:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.listing-info { display: flex; flex-direction: column; }
.listing-info strong { color: var(--primary); font-size: 1.1rem; margin-bottom: 5px; }
.listing-info span { color: var(--text-muted); font-size: 0.9rem; }
.listing-price { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { padding: 40px; display: flex; flex-direction: column; position: relative; }
.pricing-card h3 { font-size: 1.3rem; color: var(--text-muted); }
.pricing-card .price { font-size: 3rem; font-family: var(--font-heading); font-weight: 800; margin: 15px 0; color: var(--text-color); }
.price-promo { color: var(--primary) !important; }
.price-normal.struck {
  text-decoration: line-through;
  font-size: 1.5rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

.pricing-card .price-desc { font-size: 0.9rem; margin-bottom: 25px; min-height: 40px; }
.pricing-card ul { list-style: none; margin-bottom: 30px; }
.pricing-card li { margin-bottom: 12px; font-size: 0.95rem; padding-left: 24px; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.border-glow { border: 2px solid var(--primary); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding: 60px 0 20px; background: rgba(217, 119, 87, 0.02); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 10px; }
.footer h4 { margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid rgba(74, 59, 50, 0.1); padding-top: 20px; }

/* Responsive */
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  /* Panel wysuwany pod paskiem. position: absolute liczy sie wzgledem
     .navbar (position: fixed), wiec panel ma pelna szerokosc okna, a logo
     i hamburger zostaja w jednej linii w .nav-content. */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(74, 59, 50, 0.08); }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  .nav-links .profile-menu { margin-top: 12px; }
  /* W panelu (overflow-y: auto) dropdown pozycjonowany absolutnie bylby
     przyciety; w RWD rozwija sie po prostu w kolumnie. */
  .nav-links .profile-dropdown { position: static; min-width: 0; box-shadow: none; margin-top: 8px; }
  .nav-links .lang-switcher { justify-content: center; margin-top: 16px; }
  .hero-grid, .ai-feature-row, .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
  .table-responsive { padding: 10px; }
  .comparison-table th, .comparison-table td { padding: 15px; font-size: 1rem; }
  .comparison-table td { display: block; width: 100% !important; border-right: none !important; border-bottom: none; }
  .comparison-table td:first-child { border-bottom: 1px dashed rgba(74, 59, 50, 0.1); padding-bottom: 10px; }
  .comparison-table td:last-child { border-bottom: 1px solid rgba(74, 59, 50, 0.05); margin-bottom: 10px; }
  .comparison-table tr:last-child td:last-child { border-bottom: none; }
  .comparison-table thead { display: none; }
  .ai-feature-row.reverse > * { direction: ltr; }
  .ai-feature-row { gap: 30px; text-align: center; }
  .hero { text-align: center; padding-top: 120px; }
  .hero-cta { justify-content: center; }
}

@media (max-width: 768px) {
  .listing-item { flex-direction: column; gap: 15px; text-align: center; }
  .promo-content { flex-direction: column; gap: 10px; text-align: center; }
}
/* Addons CSS */
.four-cols { grid-template-columns: repeat(4, 1fr) !important; }
.addons-banner { padding: 40px; background: rgba(255, 255, 255, 0.9); text-align: center; border: 1px solid var(--primary); border-radius: 20px; }
.addons-banner h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 15px; }
.addons-banner p { color: var(--text-muted); max-width: 800px; margin: 0 auto 30px; }
.addons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.addon-item { background: #fff; border: 1px solid var(--glass-border); padding: 20px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s; }
.addon-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.addon-icon { font-size: 2.5rem; margin-bottom: 10px; }
.addon-item strong { color: var(--text-color); font-size: 1.1rem; margin-bottom: 5px; }
.addon-item span { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 15px; }
.addon-price { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.2rem; margin-top: auto; background: rgba(217, 119, 87, 0.1); padding: 5px 15px; border-radius: 20px; }
.addons-note { font-size: 0.8rem; color: #999 !important; margin-top: 20px !important; font-style: italic; }
@media (max-width: 1200px) { .four-cols { grid-template-columns: repeat(2, 1fr) !important; } .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .four-cols { grid-template-columns: 1fr !important; } .addons-grid { grid-template-columns: 1fr; } }

/* FAQ CSS */
.faq-section { background: var(--bg-light); padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #fff; border-radius: 10px; border: 1px solid var(--glass-border); overflow: hidden; transition: all 0.3s ease; }
.faq-item summary { padding: 20px 25px; font-weight: 600; cursor: pointer; position: relative; list-style: none; color: var(--text-color); font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-item[open] summary::after { content: '-'; transform: translateY(-50%) rotate(180deg); }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 5px 15px rgba(217, 119, 87, 0.1); }
.faq-answer { padding: 0 25px 20px 25px; color: var(--text-muted); line-height: 1.6; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 10px; padding-top: 15px; }
