/* =========================
   UI COMPONENTS
========================= */

/* BUTTONS */
.btn {
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 7px 14px;
  transition: all 0.15s ease;
  text-decoration: none !important;
  font-family: "Inter";
  
}

.btn:hover {
  text-decoration: none !important;
}

.btn-primary {
  background: #2563eb;
  
  color: #fff;
  font-size: 1rem;
  padding: 12px 20px;

  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;

  box-shadow: 0 6px 16px rgba(37,99,235,0.25);

  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #111;

  transform: translateY(-1px);

  box-shadow: 0 6px 18px rgba(37,99,235,0.35);
}

/* GHOST BUTTON (SaaS style) */
.btn-outline-light-custom {
  background: transparent;
  border: 1px solid #111;   /* 🔥 mocny kontrast */
  color: #111;
}

.btn-outline-light-custom:hover {
  background: #f3f4f6;
  border-color: #111;
}

.btn-outline-primary {
  border: 1px solid #111;
  color: #111;
}

.btn-outline-primary:hover {
  background: #f3f4f6;
}

/* INPUTS */
input,
.form-control {
  height: 42px;
  border-radius: 0;

  border: 1.5px solid #9ca3af;
  background: #fcfcfd;

  font-size: 0.95rem;
  padding: 8px 12px;

  margin-bottom: 12px;
}

input:hover,
.form-control:hover {
  border-color: #6b7280;
}

input:focus,
.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}


.mb-3 {
  margin-bottom: 16px !important;
}

/* LABEL */
label {
  font-size: 0.9rem;       /* 🔥 większy */
  font-weight: 600;
  color: #111;              /* mocniejszy kontrast */
  
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.2px;
}



/* CARD */
.card {
  width: 100%;
  max-width: 700px;   /* 🔥 kontrola */

  margin: 0 auto;     /* 🔥 wyśrodkowanie */
  border: 1px solid var(--border);
  

  border-radius: 12px;
  background: #ffffff;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  

  padding: 28px 24px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ALERT */
.alert {
  max-width: 600px;
  margin: 20px auto;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* =========================
   FLAGS – UX PRO LEVEL
========================= */

.flag-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;

  width: 32px;
  height: 22px;

  border-radius: 4px;
  overflow: hidden;

  box-shadow: 0 1px 3px rgba(0,0,0,0.15);

  transition: all 0.2s ease;

  opacity: 0.6;
}

/* obraz */
.flag-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* hover */
.flag-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ACTIVE LANGUAGE */
.flag-btn.active {
  opacity: 1;
  transform: scale(1.05);

  box-shadow:
    0 0 0 2px #2563eb,
    0 4px 10px rgba(0,0,0,0.25);
}

/* klik */
.flag-btn:active {
  transform: scale(0.95);
}

/* =========================
   AUTH ACTIONS (Login/Register)
========================= */

.auth-separator {
  position: relative;
  font-size: 0.8rem;
  color: #111;
  padding: 0 6px;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  background: #111;
  margin: 0 4px;
  vertical-align: middle;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* AUTH PAGE FIX */
.auth-card {
  max-width: 420px;
  margin: 0 auto;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  padding: 24px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  gap: 16px;
  
}
/* =========================
   AUTH CARD VARIANTS
========================= */

/* default spacing */
.auth-card + .auth-card {
  margin-top: 20px;
}

/* DANGER VARIANT */
.auth-card-danger {
  border: 1px solid #fecaca;
  background: #fff5f5;
}

.auth-card-danger h5 {
  color: #dc2626;
}

/* FULL CONSISTENCY */
.auth-card input,
.auth-card .form-control,
.auth-card select,
.auth-card textarea {
  width: 100%;
  box-sizing: border-box;
}
.auth-card * {
  max-width: 100%;
  width: 100%;
}
/* subtle section header */
.auth-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.auth-card form {
  width: 100%;
  max-width: 420px;
}

/* INPUT FULL WIDTH */
.auth-card input,
.auth-card .form-control {
  width: 100%;
  box-sizing: border-box;
}

/* LABEL */
.auth-card label {
  
  margin-bottom: 6px;
}

/* BUTTON FULL WIDTH */
.auth-card .btn {
  width: 100%;
}

/* =========================
   CTA PREMIUM
========================= */

.cta-box {
  max-width: 700px;
  margin: auto;

  padding: 14px 18px;

  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid #bae6fd;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* tekst */
.cta-text {
  font-size: 0.95rem;
  color: #111;
  font-weight: 500;
}

/* button w CTA */
.cta-box .btn {
  white-space: nowrap;
}

/* =========================
   SUBSCRIPTION CTA
========================= */

.subscription-cta {
  text-align: center;
  margin-top: 16px;
}

/* główny styl */
.btn-subscription {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;

  border: none;
  border-radius: 6px;

  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;

  padding: 10px 20px;

  box-shadow: 0 6px 20px rgba(37,99,235,0.35);

  transition: all 0.25s ease;
}

/* hover */
.btn-subscription:hover {
  transform: translateY(-2px) scale(1.02);

  box-shadow: 0 10px 28px rgba(37,99,235,0.45);
}

/* =========================
   ABOUT PAGE
========================= */

.about-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* HERO */
.about-hero {
  margin-bottom: 50px;
}

.about-hero h2 {
  font-size: 32px;
  font-weight: 600;
}

.about-hero p {
  color: #6c757d;
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

/* SECTION */
.about-section {
  margin-bottom: 50px;
}

.about-section h3 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* FEATURE CARDS */
.feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  height: 100%;

  border: 1px solid #e9ecef;

  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: #6c757d;
  margin: 0;
}

/* CTA */
.about-cta {
  margin-top: 40px;
}

.cta-btn {
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 8px;
}

.about-impact {
  margin-top: 15px;
  font-weight: 500;
  color: #0d6efd; /* Twój niebieski */
}

.about-section p {
  max-width: 750px;
}

.about-section h3 {
  font-size: 22px;
}

/* =========================
   TERMS PAGE
========================= */

.terms-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.terms-header {
  margin-bottom: 40px;
}

.terms-header h2 {
  font-weight: 600;
}

.terms-header p {
  font-size: 14px;
}

/* CONTENT */
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* SECTION */
.terms-section {
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.terms-section p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

/* CTA */
.terms-cta {
  margin-top: 40px;
}

/* =========================
   PRIVACY PAGE
========================= */

.privacy-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.privacy-header {
  margin-bottom: 40px;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.privacy-section {
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.privacy-section p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

.privacy-section ul {
  margin-top: 10px;
  padding-left: 18px;
}

.privacy-cta {
  margin-top: 40px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.contact-header {
  margin-bottom: 30px;
}

/* CARD */
.contact-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  max-width: 460px;
}

/* INFO PANEL */
.contact-info {
  background: #f9fafb;
}

/* FORM */
.form-control {
  border-radius: 8px;
}

.contact-container {
  margin-top: 40px;
}

.form-control {

  font-family: 'Inter', sans-serif;
}

/* =========================
   FAQ PAGE
========================= */

.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.faq-header {
  margin-bottom: 40px;
}

/* CARD */
.faq-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 20px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* ACCORDION CLEAN STYLE */
.accordion-item {
  border: none;
  border-bottom: 1px solid #e5e7eb;
}

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

.accordion-button {
  font-weight: 500;
  background: #fff;
  box-shadow: none;
  padding: 16px 10px;
}

.accordion-button:not(.collapsed) {
  color: #2563eb;
  background: #f9fafb;
}

.accordion-body {
  color: #495057;
  padding: 10px 10px 20px;
}

/* CTA */
.faq-cta {
  margin-top: 40px;
}

/* =========================
   TUTORIAL PAGE
========================= */

.tutorial-container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.tutorial-header {
  margin-bottom: 40px;
}

/* STEPS */
.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* SINGLE STEP */
.tutorial-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  padding: 20px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* STEP NUMBER */
.step-number {
  min-width: 40px;
  height: 40px;

  background: #2563eb;
  color: #fff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
}

/* STEP CONTENT */
.step-content h4 {
  margin-bottom: 5px;
  font-weight: 600;
}

.step-content p {
  margin: 0;
  color: #495057;
}

/* CTA */
.tutorial-cta {
  margin-top: 40px;
}

/* MOBILE */
@media (max-width: 768px) {
  .tutorial-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 10px;
  }
}


/* =========================
   PRICING PAGE
========================= */

.pricing-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* HEADER */
.pricing-header {
  margin-bottom: 40px;
}

/* CARD */
.pricing-card {
  position: relative;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  padding: 30px 20px;

  text-align: center;

  transition: all 0.2s ease;
}

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

/* FEATURED PLAN */
.pricing-card.featured {
  border: 2px solid #2563eb;
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);

  background: #2563eb;
  color: #fff;

  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}

/* PRICE */
.pricing-price {
  font-size: 28px;
  font-weight: 600;
  margin: 15px 0;
}

.pricing-price span {
  font-size: 14px;
  color: #6c757d;
}

/* FEATURES */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pricing-features li {
  margin-bottom: 8px;
  color: #495057;
}

/* CTA */
.pricing-cta {
  margin-top: 50px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-card {
    padding: 20px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .about-hero h2 {
    font-size: 24px;
  }

  .about-hero p {
    font-size: 16px;
  }
}

