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

:root {
  --white: #ffffff;
  --deep-yellow: #d6a200;
  --electric-yellow: #f4c400;
  --dark-golden: #a37c00;
  --soft-gray: #e6eaf0;
  --warm-yellow-surface: #fff9e8;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.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-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-desktop {
  display: none;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-list a:hover,
.nav-list a:focus {
  color: var(--deep-yellow);
}

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

.nav-list a:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 2px;
}

.cta-button {
  display: inline-block;
  background: var(--electric-yellow);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(244, 196, 0, 0.3);
}

.cta-button:hover {
  background: var(--deep-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(244, 196, 0, 0.4);
}

.cta-button:focus {
  outline: 2px solid var(--dark-golden);
  outline-offset: 2px;
}

.header .cta-button {
  display: none;
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: var(--warm-yellow-surface);
}

.hamburger:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 2px;
}

.hamburger-icon .line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .line-2 {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.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: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

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

.mobile-nav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
  color: var(--deep-yellow);
}

.mobile-nav-list a:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.mobile-cta {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

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

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  background: var(--soft-gray);
  opacity: 0.5;
}

.grid-line-1 {
  width: 1px;
  height: 100%;
  left: 20%;
  box-shadow: 0 0 20px rgba(214, 162, 0, 0.1);
}

.grid-line-2 {
  width: 1px;
  height: 100%;
  right: 30%;
  box-shadow: 0 0 20px rgba(214, 162, 0, 0.1);
}

.grid-line-3 {
  height: 1px;
  width: 100%;
  top: 60%;
  box-shadow: 0 0 20px rgba(214, 162, 0, 0.1);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep-yellow);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.hero-shape {
  width: 100%;
  max-width: 400px;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.features {
  background: var(--warm-yellow-surface);
}

.features h2,
.testimonials h2,
.pricing h2,
.contact h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--deep-yellow);
  text-align: center;
  margin-bottom: 3rem;
  text-wrap: balance;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--soft-gray);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(214, 162, 0, 0.1);
  border-color: var(--electric-yellow);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

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

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--deep-yellow);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-left: 3px solid var(--electric-yellow);
  background: var(--warm-yellow-surface);
  border-radius: 0 8px 8px 0;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--deep-yellow);
}

.testimonial-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing {
  background: var(--warm-yellow-surface);
}

.pricing-grid {
  display: grid;
  gap: 2rem;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 2px solid var(--deep-yellow);
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(214, 162, 0, 0.15);
}

.pricing-card:focus-within {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 4px;
}

.pricing-label {
  display: inline-block;
  background: var(--electric-yellow);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pricing-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--deep-yellow);
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card-featured {
  border-color: var(--electric-yellow);
  box-shadow: 0 4px 20px rgba(244, 196, 0, 0.2);
}

.contact {
  background: var(--white);
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

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

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-container p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--deep-yellow);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--dark-golden);
  text-decoration: underline;
}

.footer-links a:focus {
  outline: 2px solid var(--electric-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--electric-yellow);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

.cookie-notice p {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cookie-accept {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
}

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

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

.legal-page {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--deep-yellow);
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--soft-gray);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.25rem;
  color: var(--deep-yellow);
  margin-bottom: 1rem;
  text-align: left;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .header-container {
    padding: 1rem 3rem;
  }

  .nav-desktop {
    display: block;
  }

  .header .cta-button {
    display: inline-block;
  }

  .hamburger {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    padding: 5rem;
  }

  .hero-visual {
    display: flex;
  }

  .section-container {
    padding: 7rem 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem 3rem;
  }

  .cookie-notice {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .header-container {
    padding: 1.25rem 5rem;
  }

  .hero-container {
    padding: 7rem 5rem;
  }

  .section-container {
    padding: 7.5rem 5rem;
  }

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

  .footer-container {
    padding: 2.5rem 5rem;
  }
}
