/* ======================================================
   PROCuro – index.css
   Landing page ONLY (no app dependencies)
   ====================================================== */

/* ======================================================
   RESET + BASE
   ====================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

/* ======================================================
   BRAND TOKENS
   ====================================================== */

:root {
  /* Navy */
  --procuro-navy-900: #0b1c2d;
  --procuro-navy-800: #102a43;
  --procuro-navy-700: #1b3a57;

  /* Teal */
  --procuro-teal-500: #0ea5a4;
  --procuro-teal-600: #0891b2;

  /* Neutrals */
  --procuro-bg-light: #f6f8fa;
  --procuro-bg-white: #ffffff;
  --procuro-border: #e5e7eb;
  --procuro-muted: #6b7280;
  --procuro-white: #ffffff;

  /* Gradients */
  --procuro-gradient: linear-gradient(
    135deg,
    var(--procuro-teal-500),
    var(--procuro-teal-600)
  );
}

/* ======================================================
   LAYOUT
   ====================================================== */

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
  width: 80%;
}

/* ======================================================
   HEADER
   ====================================================== */

.procuro-header-shell,
.procuro-header-shell * {
  box-sizing: border-box;
}

.procuro-header-shell {
  position: sticky;
  top: 0;
  z-index: 100;

  height: 88px;
  background: linear-gradient(
    180deg,
    #0b1c2d 0%,
    #0f2438 100%
  );

  transition:
    height 0.3s ease,
    box-shadow 0.3s ease;

  box-shadow: none;
}

.procuro-header-shell.scrolled {
  height: 64px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* accent line */
.procuro-header-shell::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--procuro-gradient);
}

/* container */
.header-container {
  height: 100%;
  max-width: 90%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.procuro-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.logo-wordmark {
  height: 55px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-monogram {
  position: absolute;
  left: 0;
  height: 48px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.procuro-header-shell.scrolled .logo-wordmark {
  opacity: 0;
  transform: scale(0.9);
}

.procuro-header-shell.scrolled .logo-monogram {
  opacity: 1;
  transform: scale(1);
}

/* nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-left {
  display: flex;
  gap: 24px;
}

.nav-left a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

.nav-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--procuro-teal-500);
  transition: width 0.25s ease;
}

.nav-left a:hover::after,
.nav-left a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  gap: 12px;
}

/* ======================================================
   BUTTON SYSTEM
   ====================================================== */

.procuro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 48px;
  padding: 0 22px;

  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;

  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

/* primary */
.procuro-btn.primary {
  background: var(--procuro-gradient);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(14,165,164,0.35);
}

.procuro-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(14,165,164,0.45);
}

/* secondary */
.procuro-btn.secondary {
  background: #ffffff;
  color: var(--procuro-navy-800);
  border: 1px solid var(--procuro-border);
}

.procuro-btn.secondary:hover {
  background: #f8fafc;
}

/* ghost */
.procuro-btn.ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  height: auto;
  padding: 6px 8px;
}

.procuro-btn.ghost:hover {
  color: #ffffff;
}

/* outline — dla ciemnych teł (hero) */
.procuro-btn.outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.55);
}

.procuro-btn.outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.85);
}

/* sizes */
.procuro-btn.lg {
  height: 56px;
  font-size: 1rem;
}


/* ======================================================
   FORM
   ====================================================== */

.form-field {
  margin-bottom: 20px;
}

/* label */
.procuro-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--procuro-navy-800);
}

/* input */
.procuro-input {
  width: 100%;
  height: 56px;
  padding: 0 16px;

  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;

  border-radius: 14px;
  border: 1px solid var(--procuro-border);
  background: #ffffff;
  color: var(--procuro-navy-900);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* placeholder */
.procuro-input::placeholder {
  color: var(--procuro-muted);
}

/* focus */
.procuro-input:focus {
  outline: none;
  border-color: var(--procuro-teal-500);
  box-shadow: 0 0 0 4px rgba(14,165,164,0.15);
}

/* ======================================================
   ACCT TYPE
   ====================================================== */
.account-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

.account-tile {
  position: relative;
  padding: 20px 20px 20px 52px;

  border: 1px solid var(--procuro-border);
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.account-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

/* RADIO – ukryte, ale działające */
.account-tile input[type="radio"] {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 18px;
  height: 18px;
}

/* HEADER */
.tile-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--procuro-navy-800);
  margin-bottom: 6px;
}

/* DESCRIPTION */
.tile-desc {
  font-size: 0.95rem;
  color: var(--procuro-muted);
  line-height: 1.5;
}

/* PREMIUM BADGE */
.account-tile.premium .tile-badge {
  position: absolute;
  top: -10px;
  right: 16px;

  background: var(--procuro-gradient);
  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ACTIVE / SELECTED */
.account-tile.active,
.account-tile input[type="radio"]:checked ~ * {
  border-color: var(--procuro-teal-500);
  box-shadow: 0 0 0 4px rgba(14,165,164,0.15);
}

/* DISABLED */
.account-tile--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* ======================================================
   HERO
   ====================================================== */

.hero {
  position: relative;
  padding: 112px 0 96px;

  background-image: url("background_hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(11, 28, 45, 0.88) 0%,
    rgba(11, 28, 45, 0.68) 55%,
    rgba(11, 28, 45, 0.92) 100%
  );

  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--procuro-white);
  margin: 0;
  max-width: 760px;
}

.hero-desc {
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ======================================================
   SECTIONS
   ====================================================== */

.procuro-section {
  padding: 80px 0;
}

.procuro-section.light {
  background: var(--procuro-bg-light);
}

.procuro-section.white {
  background: var(--procuro-bg-white);
}

.procuro-section.accent {
  background: var(--procuro-gradient);
  color: #ffffff;
}

.procuro-section.accent .procuro-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.procuro-section.accent .procuro-card:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.procuro-section.accent .procuro-card h3 {
  color: #ffffff;
}

.procuro-section.accent .procuro-card p {
  color: rgba(255,255,255,0.82);
}

/* ======================================================
   SECTION HEADERS
   ====================================================== */

.procuro-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.procuro-header.left {
  text-align: left;
}

.procuro-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--procuro-navy-800);
}

.procuro-header.left h2 {
  border-left: 4px solid var(--procuro-teal-500);
  padding-left: 14px;
}

/* linia dekoracyjna pod h2 dla sekcji accent */
.procuro-header.line {
  text-align: center;
}

.procuro-header.line h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  margin: 14px auto 0;
}

.procuro-header p {
  color: var(--procuro-muted);
}

.procuro-section.accent .procuro-header h2,
.procuro-section.accent .procuro-header p {
  color: #ffffff;
}

#procuro-modules .procuro-header {
  max-width: none;
  margin-left: 0;
}

#procuro-modules .procuro-header.left {
  padding-left: 0;
}

/* ======================================================
   GRID + CARDS
   ====================================================== */

.procuro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.procuro-card {
  background: #ffffff;
  color: var(--procuro-navy-900);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--procuro-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.procuro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.procuro-card-login {
  background: #ffffff;
  color: var(--procuro-navy-900);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--procuro-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.procuro-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--procuro-teal-500);
}

.procuro-svg-icon {
  width: 40px;
  height: 40px;
  display: block;
}

.procuro-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.procuro-card p {
  font-size: 0.95rem;
  color: var(--procuro-muted);
}

/* ======================================================
   ACCORDION
   ====================================================== */
.procuro-accordion {
  border: 1px solid var(--procuro-border);
  border-radius: 16px;
  margin-bottom: 24px;
  background: var(--procuro-bg-white);
  transition: box-shadow 0.25s ease;
}

.procuro-accordion:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

/* ---------- HEADER ---------- */

.procuro-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  border-radius: 16px;

  transition: background 0.2s ease, border-radius 0.2s ease;
}

.procuro-accordion-header:hover {
  background: var(--procuro-bg-light);
  border-radius: 16px;
}

.procuro-accordion.open .procuro-accordion-header {
  border-radius: 16px 16px 0 0;
}

.procuro-accordion-header h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--procuro-navy-800);
}

.procuro-accordion-header p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--procuro-muted);
  max-width: 720px;
  line-height: 1.55;
}

/* ---------- ICON ---------- */

.accordion-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;
  font-weight: 500;

  background: var(--procuro-bg-light);
  color: var(--procuro-teal-500);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.procuro-accordion.open .accordion-icon {
  transform: rotate(45deg);
  background: rgba(14,165,164,0.14);
}

/* ---------- CONTENT ---------- */

.procuro-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 32px;
  background: var(--procuro-bg-light);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding 0.25s ease;
}

.procuro-accordion.open .procuro-accordion-content {
  max-height: 2200px;
  opacity: 1;
  padding: 32px;
}

/* ---------- BLOCKS ---------- */

.accordion-block {
  margin-bottom: 16px;
  max-width: 900px;
}

.accordion-block h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--procuro-navy-800);
}

.accordion-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--procuro-muted);
  line-height: 1.6;
}

/* ---------- SUMMARY ---------- */

.accordion-summary {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--procuro-border);

  font-size: 0.95rem;
  color: var(--procuro-navy-700);
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .procuro-accordion-header {
    padding: 22px 20px;
  }

  .procuro-accordion-content {
    padding: 24px 20px;
  }

  .procuro-accordion-header h2 {
    font-size: 1.25rem;
  }

  .accordion-icon {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}

/* ======================================================
   Sekcja Procuro PRO
   ====================================================== */

.procuro-section.pro {
  background: linear-gradient(
    180deg,
    #0b1c2d 0%,
    #0f2438 100%
  );
  color: #ffffff;
}

.procuro-section.pro h2,
.procuro-section.pro h3 {
  color: #ffffff;
}

.procuro-section.pro p {
  color: rgba(255,255,255,0.85);
}

.procuro-section.pro .procuro-icon {
  color: var(--procuro-teal-500);
}

.procuro-badge {
  margin-left: 6px;
  padding: 6px 12px;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--procuro-teal-500),
    var(--procuro-teal-600)
  );
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  line-height: 1;

  position: relative;
}

.procuro-section.pro .procuro-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}

.procuro-section.pro .procuro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.procuro-section.pro {
  padding: 96px 0;
}

.procuro-section.pro .procuro-btn.primary {
  box-shadow: 0 12px 36px rgba(14,165,164,0.45);
  font-size: 1.05rem;
}

#procuro-pro .procuro-header {
  max-width: none;
  margin-left: 0;
}

#procuro-pro .procuro-header.left {
  padding-left: 0;
}

/* PRO badge w nawigacji */
.nav-pro {
  display: inline-flex;
  align-items: center;
}

.nav-badge {
  font-size: 0.65rem;
  padding: 3px 6px;
  letter-spacing: 0.08em;
}

/* ======================================================
   PRICING HERO
   ====================================================== */
.pricing-hero {
  position: relative;
  padding: 72px 0 96px;
}

/* miękkie przejście do sekcji planów */
.pricing-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(14,165,164,0) 0%,
    var(--procuro-bg-light) 100%
  );
}

/* wewnętrzne wyrównanie */
.pricing-hero-inner {
  text-align: center;
  max-width: 760px;
}

/* nagłówek */
.pricing-hero h1 {
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* opis */
.pricing-hero-sub {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

/* ===== PRICING CARDS ALIGNMENT ===== */

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card-content {
  flex: 1;
}

.pricing-cta {
  margin-top: 32px;
  align-self: center;
}

/* ===== PRICING PLANS GRID ===== */

.pricing-plans-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-features {
  text-align: left;
  margin: 28px 0 0;
  padding-left: 18px;
}

.pricing-features li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--procuro-muted);
  line-height: 1.5;
}

.pricing-price {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 16px 0;
}

.pricing-card--center {
  text-align: center;
}

.pricing-card--featured {
  border: 2px solid var(--procuro-teal-500);
}

/* ======================================================
   FORM CONSENT
   ====================================================== */

.form-consent {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--procuro-muted);
  text-align: center;
  line-height: 1.5;
}

.form-consent a {
  color: var(--procuro-teal-500);
  text-decoration: none;
  font-weight: 600;
}

.form-consent a:hover {
  text-decoration: underline;
}

/* ======================================================
   FOOTER
   ====================================================== */

footer {
  background: var(--procuro-bg-light);
  border-top: 1px solid var(--procuro-border);
  padding: 32px 0;
  font-size: 0.9rem;
}

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

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--procuro-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--procuro-muted);
}

/* ======================================================
   EMAIL VERIFICATION BOX
   ====================================================== */

#verifyBox {
  margin-top: 24px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--procuro-border);
  background: var(--procuro-bg-light);
  text-align: center;
}

#verifyBox h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--procuro-navy-800);
}

#verifyBox p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: var(--procuro-navy-700);
}

#verifyBox strong {
  color: var(--procuro-navy-900);
  font-weight: 700;
}

/* ======================================================
   RESEND VERIFICATION BUTTON
   ====================================================== */

#resendBtn {
  margin-top: 20px;
  height: 44px;
  padding: 0 20px;

  font-size: 0.9rem;
  font-weight: 600;

  border-radius: 10px;
  border: 1px solid var(--procuro-border);
  background: #ffffff;
  color: var(--procuro-navy-800);

  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

#resendBtn:hover {
  background: var(--procuro-bg-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

#resendBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ======================================================
   VERIFICATION MESSAGE
   ====================================================== */

#verifyMsg {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--procuro-teal-600);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 1100px) {
  .procuro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-inline: 16px;
  }

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

  .procuro-section {
    padding: 48px 0;
  }

  .procuro-section.pro {
    padding: 56px 0;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .procuro-btn {
    width: 100%;
    justify-content: center;
  }

  .procuro-header {
    margin-bottom: 36px;
  }

  .procuro-header h2 {
    font-size: 1.6rem;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-right .procuro-btn.ghost {
    display: none;
  }

  .pricing-hero {
    padding: 48px 0 64px;
  }

  .pricing-hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .pricing-hero-sub {
    font-size: 0.95rem;
  }

  .pricing-plans-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .pricing-card--center {
    text-align: left;
  }

  .pricing-price {
    font-size: 1.75rem;
  }

  .pricing-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ======================================================
   CTA SECTION
   ====================================================== */

.cta-content {
  text-align: center;
  max-width: 680px;
}

.cta-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--procuro-navy-800);
  margin: 0 0 16px;
}

.cta-desc {
  margin: 0 0 36px;
  font-size: 1rem;
  color: var(--procuro-muted);
  line-height: 1.7;
}