/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a2e;
  --color-text-light: #555;
  --color-accent: #2a7a8c;
  --color-accent-dark: #1e5f6d;
  --color-surface: #ffffff;
  --color-border: #e8e8e8;
  --radius: 12px;
  --radius-lg: 24px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1280px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ===== NAWIGACJA ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.3s;
}

.nav__cta:hover {
  background: var(--color-accent-dark);
}

/* ===== SECTION BASE ===== */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-surface);
}

.section--dark {
  background: var(--color-text);
  color: #fff;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section__header {
  max-width: 720px;
  margin-bottom: 60px;
}

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__header h2 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section__header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero--full .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 900px;
}

.hero__text h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero--full .hero__buttons {
  justify-content: center;
}

/* ===== MOCKUP IMAGES ===== */
.mockup-grid {
  display: grid;
  gap: 32px;
  justify-items: center;
}

.mockup-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.mockup-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.mockup-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.mockup-grid--hero {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-end;
}

.mockup-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.mockup-img:hover {
  transform: translateY(-4px);
}

.mockup-img--sm {
  max-width: 260px;
  width: 100%;
}

.mockup-img--md {
  max-width: 320px;
  width: 100%;
}

.mockup-img--lg {
  max-width: 100%;
  width: 100%;
}

.mockup-img--full {
  width: 100%;
  max-width: 800px;
}

/* ===== SPLIT LAYOUT (text + image) ===== */
.split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 3fr 2fr;
}

.split--even {
  grid-template-columns: 1fr 1fr;
}

.split__text {
  padding-left: 20px;
}

.split--even .split__visual img {
  max-width: 360px;
}

.split__text h2 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.split__text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.split__visual {
  display: flex;
  justify-content: center;
}

.split__visual img {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* ===== EMAIL GRID ===== */
.email-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

.email-grid img {
  max-width: 300px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.email-grid img:hover {
  transform: translateY(-4px);
}

/* ===== STEP INDICATOR (Version B) ===== */
.journey-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.journey-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.journey-step__label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== PILLAR CARDS (Version C) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.pillar-card {
  padding: 28px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--color-border);
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

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

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  padding: 32px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===== CTA FORM ===== */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  margin: 0 auto;
}

.cta-form input {
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  transition: background 0.2s;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
  background: rgba(255, 255, 255, 0.18);
}

.cta-form .btn {
  margin-top: 8px;
}

/* ===== FOOTER ===== */
/* ===== CONTACT SPLIT ===== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-right: 40px;
}

.contact-split__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.contact__avatar-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.contact__avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact__person-info h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact__person-info p {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.contact__person-info a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.contact__person-info a:hover {
  color: var(--color-accent);
}

.contact-split__right .section__header {
  margin-bottom: 24px;
}

.contact-split__right .section__header h2 {
  color: #fff;
}

.contact-split__right .section__header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer__brand .nav__logo {
  color: #fff;
  display: inline-block;
  margin-bottom: 8px;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer__links ul {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 40px 32px;
  text-align: center;
  font-size: 0.8rem;
}

.footer__bottom p {
  margin: 0;
  line-height: 1.6;
}

/* Secondary company/legal lines — smaller and dimmer than copyright */
.footer__bottom p + p {
  margin-top: 4px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.01em;
}

/* Extra breathing room between copyright and the business-info block */
.footer__bottom p:nth-of-type(2) {
  margin-top: 14px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.pricing-card--highlight {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.pricing-card--highlight .pricing-card__name {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card--highlight .pricing-card__price {
  color: #fff;
}

.pricing-card--highlight .pricing-card__setup {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card--highlight .pricing-card__hosting {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card--highlight .pricing-card__header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card--highlight .pricing-card__features li {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.pricing-card__header {
  min-height: 140px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pricing-card__setup {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.pricing-card__hosting {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 4px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.pricing-card__features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

/* ===== HAMBURGER ===== */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .mockup-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-grid--hero {
    flex-wrap: wrap;
  }

  .split,
  .split--reverse,
  .split--even {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .email-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer__links ul {
    justify-content: center;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 40px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero__inner {
    padding: 40px 20px;
    gap: 32px;
  }

  .hero__text h1 {
    font-size: 1.75rem;
  }

  .hero__sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0;
  }

  .section__inner {
    padding: 0 20px;
  }

  .section__header {
    margin-bottom: 32px;
  }

  .section__header h2 {
    font-size: 1.6rem;
  }

  .section__header p {
    font-size: 1rem;
  }

  .split__text h2 {
    font-size: 1.6rem;
  }

  .split__text p {
    font-size: 1rem;
  }

  .mockup-grid--3,
  .mockup-grid--4,
  .mockup-grid--2 {
    grid-template-columns: 1fr;
  }

  .mockup-grid--hero {
    gap: 16px;
  }

  .mockup-img--sm {
    max-width: 220px;
  }

  .email-grid {
    grid-template-columns: 1fr;
  }

  .email-grid img {
    max-width: 280px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__inner {
    padding: 0 20px 40px;
  }

  .footer__links ul {
    flex-direction: column;
    gap: 10px;
  }

  .contact-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-right: 0;
  }

  .faq-question {
    font-size: 1rem;
  }

  .contact__avatar-wrap {
    width: 100px;
    height: 100px;
  }

  .footer__bottom {
    padding: 16px 20px;
  }
}
