/* Witrynowo — light flexbox shell */
:root {
  --coral: #f37459;
  --coral-dark: #e05a3d;
  --ink: #222222;
  --ink-soft: #444444;
  --muted: #6b6b6b;
  --paper: #f7f5f3;
  --paper-2: #ebe7e3;
  --white: #ffffff;
  --footer: #333333;
  --max: 1100px;
  --font: "Poppins", "Segoe UI", sans-serif;
  --radius: 4px;
  --ease: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--coral-dark);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34, 34, 34, 0.92);
  backdrop-filter: blur(8px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--coral);
}

.brand span {
  color: var(--coral);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--coral);
}

.nav-menu .has-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.dropdown li {
  color: var(--ink-soft);
  padding: 8px 16px;
  font-size: 0.88rem;
}

.dropdown a {
  color: var(--ink);
  padding: 0;
}

.dropdown a:hover {
  color: var(--coral);
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  display: block;
}

.nav-social a {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Page layout */
.site-main {
  min-height: 50vh;
}

.page-header {
  padding: 48px 0 24px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3d2f2c 55%, #4a3530 100%);
  color: var(--white);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.page-header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36em;
}

.content-wrap {
  padding: 40px 0 64px;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(88vh, 760px);
  padding: 100px 20px 72px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(34, 34, 34, 0.78) 0%, rgba(243, 116, 89, 0.45) 100%),
    radial-gradient(ellipse at 30% 20%, #5a4038 0%, #2a2a2a 55%, #1a1a1a 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.02) 40px,
      rgba(255, 255, 255, 0.02) 41px
    );
  pointer-events: none;
  animation: hero-drift 28s linear infinite;
}

@keyframes hero-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
}

.hero-brand {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  animation: fade-up 0.7s ease both;
}

.hero-brand span {
  color: var(--coral);
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  animation: fade-up 0.7s 0.12s ease both;
}

.hero-lead {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32em;
  animation: fade-up 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  animation: fade-up 0.7s 0.28s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-dark {
  background: linear-gradient(160deg, #1f1f1f 0%, #2c2422 100%);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--coral);
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36em;
  margin: 16px auto 36px;
}

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

/* Features + phone */
.features-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: center;
}

.features-col {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 300px;
}

.features-col.is-right .feature-item {
  text-align: right;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--coral);
}

.feature-item p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.phone-frame {
  flex: 0 0 auto;
  width: min(220px, 42vw);
  border-radius: 28px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: #111;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
}

/* Audience split */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.audience-card {
  flex: 1 1 300px;
}

.audience-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.audience-card ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.audience-card li {
  margin-bottom: 6px;
}

/* Benefits */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.benefit {
  flex: 1 1 200px;
  max-width: 240px;
  text-align: center;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-size: 1.4rem;
  font-weight: 700;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-transform: lowercase;
}

.benefit p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Download */
.download-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.download-copy {
  flex: 1 1 280px;
  max-width: 400px;
  text-align: center;
}

.download-copy .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}

.store-badge:hover {
  background: var(--coral);
  color: var(--white);
}

.download-phones {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.download-phones .phone-frame {
  width: min(160px, 38vw);
  animation: none;
}

.download-phones .phone-frame:nth-child(2) {
  transform: translateY(16px);
}

/* Screens + FAQ */
.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.split-media,
.split-text {
  flex: 1 1 300px;
}

.screen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.screen-grid .phone-frame {
  width: min(150px, 40vw);
  animation: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 14px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--coral);
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 16px 16px 16px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.faq-item ul {
  margin: 0;
  padding-left: 1.2em;
}

/* Video */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.video-pair > div {
  flex: 1 1 300px;
}

.video-pair h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

/* Contact */
.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form,
.contact-side {
  flex: 1 1 280px;
}

.contact-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0cbc6;
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.contact-side {
  text-align: center;
}

.contact-side p {
  color: var(--muted);
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  background: var(--paper-2);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-details {
  margin-top: 24px;
  font-size: 0.95rem;
}

/* Blog list */
.blog-container {
  padding: 8px 0;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-2);
}

.blog-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.blog-preview {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-preview p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.75);
  padding: 36px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner a {
  color: var(--coral);
}

.footer-social {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-social a:hover {
  color: var(--coral);
}

.romlifooter {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.romlidata {
  margin: 40px 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(34, 34, 34, 0.98);
    padding: 12px 0 20px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .has-dropdown:hover > .dropdown {
    display: none;
  }

  .has-dropdown.is-open > .dropdown,
  .nav-menu.is-open .dropdown {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    padding-left: 16px;
  }

  .dropdown li {
    color: rgba(255, 255, 255, 0.7);
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.85);
  }

  .features-col.is-right .feature-item {
    text-align: left;
  }

  .features-col.is-desktop-only {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 80px 20px 56px;
  }

  .map-wrap {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
