/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #9625eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1d4ed8;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: #9625eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: #9625eb;
  border: 2px solid #9625eb;
}

.btn-secondary:hover {
  background-color: #9625eb;
  color: white;
}

.btn-tertiary {
  background-color: #f3f4f6;
  color: #374151;
}

.btn-tertiary:hover {
  background-color: #e5e7eb;
  color: #374151;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: white;
  padding: 1rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cookie-toggle input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.brand-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #9625eb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #374151;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background-color: #f8fafc;
}

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

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.service-card li:last-child {
  border-bottom: none;
}

.service-card li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.advantage-number {
  background-color: #9625eb;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.advantage-item h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.advantage-item p {
  color: #6b7280;
}

/* Testimonials Section */
.testimonials {
  background-color: #f8fafc;
}

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

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: #374151;
  font-size: 1.125rem;
}

.testimonial-author h4 {
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image img {
  width: 80px;
  height: 80px;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
}

.blog-content h3 a {
  color: #1f2937;
  text-decoration: none;
}

.blog-content h3 a:hover {
  color: #9625eb;
}

.blog-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.read-more {
  color: #9625eb;
  font-weight: 500;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  background-color: #f8fafc;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-icon {
  font-size: 1.5rem;
  color: #9625eb;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: #6b7280;
  margin-bottom: 0;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  color: #1f2937;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #6b7280;
  margin-bottom: 0;
}

.contact-item a {
  color: #9625eb;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 2rem;
}

.social-links h4 {
  margin-bottom: 1rem;
  color: #1f2937;
}

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

.social-icons a {
  color: #6b7280;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #9625eb;
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9625eb;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: #6b7280;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
}

.newsletter-form .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background-color: #13041e;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-text {
  color: white;
}

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

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

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #d1d5db;
}

/* Page-specific Styles */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  text-align: center;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.page-hero h1 {
  font-size: 3rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: #6b7280;
}

/* About Page */
.about-content {
  padding: 4rem 0;
}

.about-sections {
  max-width: 800px;
  margin: 0 auto;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.about-section p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.about-section ul {
  margin-bottom: 1rem;
}

.about-section li {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.why-choose-item {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
}

.why-choose-item h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.why-choose-item p {
  color: #6b7280;
  margin-bottom: 0;
}

.cta-section {
  background-color: #9625eb;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #dbeafe;
  margin-bottom: 2rem;
}

.cta-content .btn-primary {
  background-color: white;
  color: #9625eb;
}

.cta-content .btn-primary:hover {
  background-color: #f3f4f6;
}

/* Thanks Page */
.thanks-section {
  padding: 8rem 0 4rem;
  text-align: center;
}

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
}

.thanks-icon {
  margin-bottom: 2rem;
}

.thanks-content h1 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.thanks-detail {
  color: #6b7280;
  margin-bottom: 2rem;
}

.thanks-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.thanks-info {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.thanks-info h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.thanks-info ul {
  list-style: none;
  text-align: left;
}

.thanks-info li {
  color: #6b7280;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.thanks-info li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #9625eb;
}

.thanks-contact {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
}

.thanks-contact h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.thanks-contact p {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

/* Legal Pages */
.legal-content {
  padding: 6rem 0 4rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-header h1 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: #6b7280;
}

.legal-sections {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.legal-section h3 {
  color: #374151;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.legal-section p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-bottom: 1rem;
}

.legal-section li {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.contact-details {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details a {
  color: #9625eb;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Article Pages */
.article-content {
  padding: 6rem 0 4rem;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-date,
.article-category {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  background-color: #f3f4f6;
  border-radius: 20px;
}

.article-header h1 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.article-header .article-image {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-header .article-image img {
  width: 80px;
  height: 80px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-body h2 {
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: #374151;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  background-color: #e0e7ff;
  color: #3730a3;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.article-cta {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.article-cta p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.related-articles {
  background-color: #f8fafc;
  padding: 4rem 0;
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

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

.article-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card .article-image {
  height: 200px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card .article-image img {
  width: 80px;
  height: 80px;
}

.article-card .article-content {
  padding: 1.5rem;
}

.article-card h3 {
  margin-bottom: 0.5rem;
}

.article-card h3 a {
  color: #1f2937;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #9625eb;
}

.article-card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: center;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .services-grid,
  .advantages-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    flex-direction: column;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }
}
