:root {
  --primary-color: #4a6cff;
  --primary-color-dark: #3a5bff;
  --secondary-color: #ffc700;
  --dark-blue: #0d1b3f;
  --text-color: #212529;
  --text-color-light: #f8f9fa;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #dee2e6;
  --success-color: #198754;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(13, 27, 63, 0.08);
  --shadow-lg: 0 15px 30px rgba(13, 27, 63, 0.12);
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  background-color: var(--background-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-blue);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
}

.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-smooth);
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--background-white);
  box-shadow: 0 10px 20px rgba(74, 108, 255, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  color: var(--background-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(74, 108, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-blue);
}

.btn-secondary:hover {
  background-color: rgba(13, 27, 63, 0.05);
  color: var(--dark-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color-light);
  border-color: var(--text-color-light);
}

.btn-outline:hover {
  background-color: var(--text-color-light);
  color: var(--dark-blue);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.main-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.logo:hover {
  color: var(--dark-blue);
}

.logo i {
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-blue);
  cursor: pointer;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color-light);
  padding: 12rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(13, 27, 63, 0.85),
    rgba(74, 108, 255, 0.7)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-integrations {
  margin-top: 5rem;
  opacity: 0.8;
}

.hero-integrations p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.integration-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 2rem;
}

.section-platforma {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--background-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-color-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-light);
  font-size: 2rem;
  box-shadow: 0 8px 15px rgba(74, 108, 255, 0.3);
}

.feature-title {
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 0.95rem;
  color: #6c757d;
}

.section-korzysci {
  padding: 6rem 0;
  background-color: var(--background-white);
}

.benefits-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.benefits-image-column,
.benefits-text-column {
  flex: 1;
}

.benefits-image {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.benefits-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.benefit-item h4 {
  margin-bottom: 0.25rem;
}

.section-historie {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.story-card {
  background-color: var(--background-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--primary-color);
}

.story-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--border-color);
  padding-left: 1rem;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.story-author h4 {
  margin: 0;
  font-size: 1rem;
}

.story-author p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
}

.section-misja {
  padding: 6rem 0;
  background-color: var(--dark-blue);
  color: var(--text-color-light);
}

.mission-vision-wrapper {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.mission-card,
.vision-card {
  flex-basis: 500px;
  padding: 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card h3,
.vision-card h3 {
  color: var(--text-color-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mission-card h3 i,
.vision-card h3 i {
  color: var(--secondary-color);
}

.mission-card p,
.vision-card p {
  color: rgba(248, 249, 250, 0.8);
}

.section-zespol {
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth);
}

.team-member:hover {
  transform: scale(1.05);
}

.team-member-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: var(--background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
}

.team-member-name {
  margin-bottom: 0.25rem;
}

.team-member-role {
  color: var(--primary-color);
  font-weight: 600;
}

.section-opinie {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 250px;
  text-align: center;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-icon {
  font-size: 2rem;
  color: var(--text-color);
}

.author-name {
  font-family: var(--font-primary);
  font-weight: 600;
}

.section-cta {
  padding: 6rem 0;
  text-align: center;
  color: var(--text-color-light);
  position: relative;
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(74, 108, 255, 0.9),
    rgba(13, 27, 63, 0.95)
  );
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.btn-cta {
  background-color: var(--secondary-color);
  color: var(--dark-blue);
  box-shadow: 0 10px 20px rgba(255, 199, 0, 0.3);
}

.btn-cta:hover {
  background-color: #ffda47;
  color: var(--dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 199, 0, 0.4);
}

.cta-guarantee {
  margin-top: 1.5rem;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.main-footer {
  background-color: var(--dark-blue);
  color: rgba(248, 249, 250, 0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(248, 249, 250, 0.7);
  font-size: 1.25rem;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.footer-heading {
  font-size: 1.125rem;
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(248, 249, 250, 0.7);
}

.footer-links a:hover {
  color: var(--text-color-light);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.9rem;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-blue);
  color: var(--text-color-light);
  padding: 1.5rem;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner.visible {
  transform: translateY(0);
}

.cookie-consent-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
}

.cookie-consent-content p {
  margin: 0;
}

.cookie-consent-content a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.notification-hidden {
  display: none;
}

#registration-success-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 3000;
  background-color: var(--background-white);
  color: var(--text-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--success-color);
  overflow: hidden;
  max-width: 400px;
}

.notification-content {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.notification-content i.fa-check-circle {
  font-size: 2rem;
  color: var(--success-color);
}

.notification-content h3 {
  margin-bottom: 0.25rem;
}
.notification-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--background-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-smooth);
  }
  .nav-menu.visible {
    right: 0;
  }
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  .nav-actions {
    display: none;
  }
  .benefits-content {
    flex-direction: column;
  }
  .mission-vision-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
}
