:root {
  --primary-color: #1a365d;
  --secondary-color: #159895;
  --accent-color: #57c5b6;
  --dark-color: #0f2027;
  --text-color: #2d3748;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-navigation {
  background: #ffffff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

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

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
  background-color: rgba(21, 152, 149, 0.1);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,58.7C960,64,1056,64,1152,58.7L1200,56L1200,120L0,120Z" fill="rgba(255,255,255,0.1)"/></svg>') bottom repeat-x;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.typewriter-text {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-right: 3px solid var(--accent-color);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: typing 3s steps(30) 1s both, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-primary:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.features-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

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

.feature-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

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

.feature-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-color);
  line-height: 1.7;
}

.tooltip-trigger {
  cursor: help;
  position: relative;
}

.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

.latest-posts {
  padding: 80px 0;
  background-color: #ffffff;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 3rem;
}

.post-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.post-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

.post-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.post-content {
  padding: 25px;
}

.post-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-excerpt {
  color: var(--text-color);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

.trust-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

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

.trust-item {
  text-align: center;
  padding: 30px 20px;
}

.trust-item i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.trust-item h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.trust-item p {
  color: var(--text-color);
  line-height: 1.7;
}

.main-footer {
  background-color: var(--dark-color);
  color: #ffffff;
  padding: 60px 0 20px;
}

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

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-section p,
.footer-section ul {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-reg {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  padding: 25px;
  z-index: 10000;
  display: none;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-text p {
  color: var(--text-color);
  line-height: 1.6;
}

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

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid;
  font-size: 0.95rem;
}

.cookie-btn.accept-all {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
}

.cookie-btn.accept-all:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.cookie-btn.customize {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.cookie-btn.customize:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.cookie-btn.decline {
  background-color: transparent;
  color: #7f8c8d;
  border-color: #7f8c8d;
}

.cookie-btn.decline:hover {
  background-color: #7f8c8d;
  color: #ffffff;
}

@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 15px;
    border-radius: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .typewriter-text {
    font-size: 2.2rem;
    white-space: normal;
    border-right: none;
    animation: none;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card,
  .trust-item {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}