/* Resetowanie stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Zmienne kolorów */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #3b82f6;
  --bg-light: #f8fafc;
  --text-gray: #64748b;
  --text-dark: #1e293b;
  --white: #fff;
  --black: #000;
  --border: #e2e8f0;
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
}

/* Podstawowe style */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5em;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

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

ul {
  list-style: none;
}

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

/* Przyciski */
.button-primary {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
  color: var(--white);
}

.button-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.button-secondary:hover {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: var(--white);
  transform: translateY(-2px);
}

/* Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  text-align: center;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-bottom: 30px;
}

.desktop-nav {
  flex: 1;
}

.desktop-nav ul {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  font-size: 1.1rem;
  white-space: nowrap;
}

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

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

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

.cta-button {
  margin-top: 10px;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: var(--white);
  min-width: 250px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px 0;
  z-index: 10;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--primary);
  padding-left: 25px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Services section */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.25rem;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-text {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--primary-hover);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* SEO Content section */
.seo-content {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.seo-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.seo-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.seo-content h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 3rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.seo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.seo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.seo-box:hover::before {
  opacity: 1;
}

.seo-box-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.seo-box:hover .seo-box-icon {
  transform: scale(1.1);
}

.seo-box h3 {
  color: var(--text-dark);
  margin: 0 0 20px;
  font-size: 1.75rem;
  position: relative;
  padding-bottom: 15px;
}

.seo-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.seo-box:hover h3::after {
  width: 100px;
}

.seo-box p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.seo-box .seo-list {
  margin: 0;
  padding: 0;
}

.seo-box .seo-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.seo-box .seo-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.seo-box .seo-list li:hover {
  color: var(--text-dark);
  transform: translateX(5px);
}

.seo-box .seo-list li:hover::before {
  transform: translateX(5px);
}

.seo-box strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* CTA section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 2.5rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.cta .button-primary {
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 32px;
}

.cta .button-primary:hover {
  background: var(--bg-light);
  color: var(--primary-hover);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 40px;
}

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

.footer-column h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--footer-text);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: var(--footer-text);
  font-weight: 500;
  transition: all 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .desktop-nav ul {
    gap: 20px;
  }
  
  .desktop-nav a {
    font-size: 1rem;
  }
  
  .header-main {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .header-main {
    display: none;
  }
  
  .cta-button {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-info {
    margin-bottom: 20px;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .seo-box {
    padding: 30px;
  }
  
  .seo-content h2 {
    font-size: 2.5rem;
  }
  
  .seo-box h3 {
    font-size: 1.5rem;
  }
  
  .seo-box p,
  .seo-box .seo-list li {
    font-size: 1rem;
  }
} 