/* INDEX.CSS */

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

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --dark-bg: #0f172a;
  --card-bg: #1e293b;
  --nav-bg: #1e293b;
  --text-color: #e2e8f0;
  --text-secondary: #94a3b8;
  --light-text: #f8fafc;
  --border-radius: 12px;
  --card-shadow: 0 10px 25px -5px rgba(0,0,0,0.25);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--dark-bg);
}

body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.7;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

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

header {
  background: rgba(30, 41, 59, 0.8);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0;
  display: block;
  position: relative;
  font-size: 15px;
  letter-spacing: 0px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: 500;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.5; transform: scale(0.95); }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-color);
  margin: 4px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.btn {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0px;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-text);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.hero {
  min-height: 90vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text);
  font-weight: 700;
  letter-spacing: 0px;
}

.hero h1 .highlight {
  color: var(--primary-color);
  display: block;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  opacity: 0.9;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  position: absolute;
  top: 0%;
  right: -10%;
  overflow: hidden;
}

.hero-image img {
  margin-top: 30px;
  max-width: 90%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
  animation: float 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}

section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--light-text);
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text-secondary);
}

.modes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.mode-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
}

.mode-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.mode-card h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.mode-card p {
  margin-bottom: 30px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 25px;
  border: 4px solid var(--primary-color);
  padding: 5px;
  background: var(--dark-bg);
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.team-member h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--light-text);
  font-weight: 600;
}

.team-member span {
  color: var(--primary-color);
  font-weight: 500;
  display: block;
  margin-bottom: 20px;
  font-size: 15px;
}

.team-member .social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.team-member .social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.team-member .social a:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-3px);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--light-text);
  position: relative;
  font-weight: 700;
}

.about-text h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: -15px;
  left: 0;
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-item h3 {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 5px solid var(--card-bg);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.shop-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.shop-item.popular::before {
  content: 'Popularne';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary-color);
  color: #fff;
  padding: 5px 40px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(45deg);
  z-index: 2;
}

.shop-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 25px;
  transition: var(--transition);
}

.shop-item:hover img {
  transform: scale(1.1) rotate(5deg);
}

.shop-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--light-text);
  font-weight: 600;
}

.shop-item .price {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 700;
}

.shop-item .features {
  margin-bottom: 25px;
  text-align: left;
  list-style: none;
}

.shop-item .features li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 25px;
}

.shop-item .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

footer {
  background: linear-gradient(45deg, #0f172a, #1e293b);
  padding: 80px 0 40px;
  margin-top: 80px;
  color: var(--text-secondary);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
}

.footer-column h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--light-text);
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 20px;
}

.footer-links a:hover::before {
  left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 18px;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}


.toc {
    position: absolute;
    top: -10%;
    right: -60%;
    transform: translateY(-50%);
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 400px;
    color: var(--light-text);
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
  }
    
  .toc h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .toc ul li {
    margin-bottom: 8px;
  }
  
  .toc ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .toc ul li a:hover {
    color: var(--primary-color);
  }
  
    .toc ul li a::before {
        content: '› ';
        margin-right: 5px;
        color: var(--primary-color);
    }
    @media (max-width: 1200px) {
        .hero h1 {
          font-size: 48px;
        }
        .about-image::before {
          display: none;
        }
        .hero-image {
          max-width: 100%;
          margin: 0 auto;
          top: 10%;
          right: -20%;
        }
      }
      
      @media (max-width: 992px) {
        section {
          padding: 80px 0;
        }
        .hero {
          min-height: 70vh;
          padding: 80px 0;
        }
        .about-content {
          flex-direction: column;
        }
        .about-image {
          order: -1;
          margin-bottom: 30px;
        }

        .hero-image {
          max-width: 100%;
          margin: 0 auto;
          top: 10%;
          right: -20%;
        }
      }
      
      @media (max-width: 768px) {
        .hero {
          flex-direction: column;
          text-align: center;
          padding: 60px 0;
        }
        .hero-content {
          order: 2;
        }
        .hero-image {
          order: 1;
          margin-bottom: 40px;
        }
        .hero-buttons {
          justify-content: center;
        }
        .stats {
          grid-template-columns: repeat(1, 1fr);
        }
        .menu-toggle {
          display: flex;
        }
        .nav-links {
          display: none;
          flex-direction: column;
          position: absolute;
          top: 80px;
          left: 0;
          width: 100%;
          background: var(--nav-bg);
          align-items: center;
          padding: 30px 0;
          box-shadow: 0 5px 10px rgba(0,0,0,0.3);
          transform: translateY(-150%);
          transition: transform 0.3s ease-in-out;
          z-index: 99;
        }
        .nav-links.active {
          display: flex;
          transform: translateY(0);
        }
        .nav-links li {
          margin: 15px 0;
        }
        .nav-right {
          display: none;
        }
        .section-header h2 {
          font-size: 32px;
        }
        .hero h1 {
          font-size: 36px;
        }
        .hero-image img {
          max-width: 300px;
        }
        .hero-image {
            display: none;
          }
        /* Modyfikacja dla .toc - wyświetlanie pod treścią hero */
        .toc {
          position: static;
          transform: none;
          margin: 20px auto 0;
          text-align: center;
          animation: none;
          filter: none;
        }
      }
      
      @media (max-width: 576px) {
        section {
          padding: 60px 0;
        }
        .hero {
          padding: 40px 0;
        }
        .hero h1 {
          font-size: 32px;
        }
        .section-header h2 {
          font-size: 28px;
        }
        .btn {
          padding: 10px 20px;
          font-size: 14px;
        }
        .hero p {
          font-size: 16px;
        }
        .hero-buttons {
          flex-direction: column;
          gap: 15px;
        }
        .hero-image img {
          max-width: 250px;
        }
        /* Ukrycie całej sekcji .hero-image na bardzo małych ekranach */
        .hero-image {
          display: none;
        }
        /* Opcjonalne dostosowanie .toc dla bardzo małych ekranów */
        .toc {
          margin-top: 15px;
          max-width: 90%;
          padding: 15px;
        }
      }
      