@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --white: #FFFFFF;
  --deep-blue: #0A3D91;
  --electric-blue: #1B6CFF;
  --navy-blue: #062A63;
  --soft-gray: #E6EAF0;
  --light-blue: #F5F8FF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--navy-blue);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--soft-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-blue);
  letter-spacing: -0.5px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-blue);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-blue);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a:focus {
  color: var(--electric-blue);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--electric-blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(27, 108, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(27, 108, 255, 0.4);
}

.btn-primary:focus {
  outline: 2px solid var(--navy-blue);
  outline-offset: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-blue);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-blue);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--electric-blue);
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: var(--light-blue);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(27, 108, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 108, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--navy-blue);
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0.85;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 450px;
  height: auto;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero::before {
    width: 100%;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text p {
    font-size: 1.05rem;
  }
}

.features {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-gray), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--navy-blue);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid var(--soft-gray);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--electric-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 40px rgba(10, 61, 145, 0.1);
  transform: translateY(-5px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  animation: float 3s ease-in-out infinite;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card:nth-child(2) .feature-icon {
  animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
  animation-delay: 1s;
}

.feature-card:nth-child(4) .feature-icon {
  animation-delay: 1.5s;
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--navy-blue);
  opacity: 0.8;
}

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

@media (max-width: 600px) {
  .features {
    padding: 80px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

.testimonials {
  padding: 120px 0;
  background: var(--light-blue);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(10, 61, 145, 0.05);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--electric-blue);
  border-radius: 0 0 4px 4px;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--navy-blue);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: var(--soft-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar svg {
  width: 28px;
  height: 28px;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--navy-blue);
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 80px 0;
  }
  
  .testimonial-card {
    padding: 40px 32px;
  }
}

.pricing {
  padding: 120px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: 16px;
  border: 2px solid var(--deep-blue);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: var(--light-blue);
}

.pricing-card.featured::before {
  content: 'Popularny';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--navy-blue);
  opacity: 0.8;
  margin-bottom: 24px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.7;
}

.pricing-features {
  margin: 32px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--navy-blue);
  border-bottom: 1px solid var(--soft-gray);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.pricing-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pricing-card .btn-primary {
  width: 100%;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 80px 0;
  }
  
  .pricing-card {
    padding: 40px 32px;
  }
}

footer {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--soft-gray);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer-inner a {
  font-size: 0.9rem;
  color: var(--deep-blue);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-inner a:hover,
.footer-inner a:focus {
  color: var(--electric-blue);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--soft-gray);
  padding: 20px 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-notice.active {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-inner p {
  font-size: 0.9rem;
  color: var(--navy-blue);
}

.cookie-inner button {
  padding: 12px 24px;
  background: var(--deep-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-inner button:hover,
.cookie-inner button:focus {
  background: var(--electric-blue);
}

.cookie-inner button:focus {
  outline: 2px solid var(--navy-blue);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-content {
  padding: 140px 0 80px;
  min-height: 100vh;
}

.page-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin: 40px 0 16px;
}

.page-content p {
  font-size: 1rem;
  color: var(--navy-blue);
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content ul {
  margin: 16px 0 16px 24px;
  list-style: disc;
}

.page-content li {
  font-size: 1rem;
  color: var(--navy-blue);
  margin-bottom: 8px;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
