.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-50) 0%,
    var(--primary-100) 50%,
    var(--primary-200) 100%
  );
  overflow: hidden;
  padding: var(--spacing-xxxxl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-500) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--neutral-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-xl);
  font-size: 0.875rem;
  color: var(--secondary-600);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: var(--secondary-800);
}

.hero__description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--secondary-600);
  max-width: 600px;
  margin: 0 auto var(--spacing-xxxl);
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xxxxl);
}

.hero__image {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  animation: fadeInUp var(--transition-slow) ease-out;
}

.hero__image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 164, 123, 0.1) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.features {
  background-color: var(--neutral-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  padding: var(--spacing-xxxl);
  background-color: var(--primary-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-100);
  transition: all var(--transition-normal);
}

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

.feature-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--accent-500) 100%
  );
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  color: var(--neutral-white);
}

.feature-card__icon svg {
  width: 32px;
  height: 32px;
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-800);
  margin-bottom: var(--spacing-sm);
}

.feature-card__description {
  font-size: 1rem;
  color: var(--secondary-600);
  line-height: 1.75;
}

.steps {
  background-color: var(--primary-50);
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xxxl);
  counter-reset: steps;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--accent-500) 100%
  );
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-lg);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-white);
  box-shadow: var(--shadow-md);
}

.step-item__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-800);
  margin-bottom: var(--spacing-sm);
}

.step-item__description {
  font-size: 1rem;
  color: var(--secondary-600);
  line-height: 1.75;
}

.screenshots {
  background-color: var(--neutral-white);
}

.screenshots__carousel {
  display: flex;
  gap: var(--spacing-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--spacing-md) 0;
  -webkit-overflow-scrolling: touch;
}

.screenshots__carousel::-webkit-scrollbar {
  height: 8px;
}

.screenshots__carousel::-webkit-scrollbar-track {
  background: var(--neutral-outline);
  border-radius: var(--radius-full);
}

.screenshots__carousel::-webkit-scrollbar-thumb {
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.screenshot-item {
  flex: 0 0 300px;
  scroll-snap-align: center;
}

.screenshot-item__image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.screenshot-item__caption {
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--secondary-600);
}

.faq {
  background-color: var(--primary-50);
}

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

.faq-item {
  background-color: var(--neutral-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  border: 1px solid var(--neutral-outline);
}

.faq-item__question {
  width: 100%;
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary-800);
  text-align: left;
  transition: background-color var(--transition-fast);
}

.faq-item__question:hover {
  background-color: var(--primary-50);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  transition: transform var(--transition-normal);
}

.faq-item__icon svg {
  width: 24px;
  height: 24px;
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal),
    padding var(--transition-normal);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-content {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--secondary-600);
  line-height: 1.75;
}

.download {
  background: linear-gradient(
    135deg,
    var(--secondary-800) 0%,
    var(--secondary-900) 100%
  );
  color: var(--neutral-white);
}

.download .section-title,
.download .section-subtitle {
  color: var(--neutral-white);
}

.download .section-subtitle {
  opacity: 0.8;
}

.download__badges {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--neutral-white);
  border-radius: var(--radius-lg);
  color: var(--secondary-800);
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.store-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.store-badge__icon {
  width: 32px;
  height: 32px;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge__store {
  font-size: 0.625rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.store-badge__download {
  font-size: 1rem;
}

.footer {
  background-color: var(--neutral-white);
  padding: var(--spacing-xxxxl) 0 var(--spacing-xxxl);
  border-top: 1px solid var(--neutral-outline);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer__logo svg {
  width: 40px;
  height: 40px;
}

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-800);
}

.footer__links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer__link {
  color: var(--secondary-600);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary-600);
}

.footer__copyright {
  font-size: 0.875rem;
  color: var(--secondary-500);
  text-align: center;
}

/* Privacy Page Components */
.privacy-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-50) 0%,
    var(--primary-100) 50%,
    var(--primary-200) 100%
  );
  overflow: hidden;
  padding: var(--spacing-xxxxl) 0;
}

.privacy-hero::before,
.privacy-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.privacy-hero::before {
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-500) 0%, transparent 70%);
  opacity: 0.12;
}

.privacy-hero::after {
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
  opacity: 0.1;
}

.privacy-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

.privacy-hero__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-xl);
  background: linear-gradient(
    135deg,
    var(--primary-500) 0%,
    var(--accent-500) 100%
  );
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.privacy-hero__icon svg {
  width: 60px;
  height: 60px;
  color: var(--neutral-white);
}

.privacy-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(
    135deg,
    var(--primary-600) 0%,
    var(--accent-600) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-lg);
}

.privacy-hero__date {
  font-size: 1rem;
  color: var(--secondary-500);
  margin-bottom: var(--spacing-xl);
}

.privacy-hero__description {
  font-size: 1.125rem;
  color: var(--secondary-600);
  line-height: 1.75;
}

.privacy-back-link {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: 10;
}

.privacy-card {
  background-color: var(--neutral-surface);
  border: 1px solid var(--neutral-outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xxl);
  margin-bottom: var(--spacing-lg);
}

.privacy-alert {
  background-color: var(--primary-50);
  border: 2px solid var(--accent-500);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.privacy-alert::before {
  content: '!';
  position: absolute;
  top: -14px;
  left: var(--spacing-md);
  background: var(--accent-500);
  color: var(--neutral-white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.privacy-section {
  margin-bottom: var(--spacing-xxxl);
}

.privacy-subsection {
  margin-bottom: var(--spacing-xl);
  padding-left: var(--spacing-lg);
}

.privacy-link {
  color: var(--primary-600);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.privacy-link:hover {
  color: var(--primary-700);
}

@media (max-width: 768px) {
  .privacy-hero::before {
    width: 300px;
    height: 300px;
  }

  .privacy-hero::after {
    width: 250px;
    height: 250px;
  }

  .privacy-hero__icon {
    width: 100px;
    height: 100px;
  }

  .privacy-hero__icon svg {
    width: 50px;
    height: 50px;
  }

  .privacy-back-link {
    top: var(--spacing-md);
    right: var(--spacing-md);
  }
}

.language-switcher {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 1000;
}

.language-switcher__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-100);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-600);
  transition: all var(--transition-normal);
}

.language-switcher__btn:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-200);
}

.language-switcher__btn.active {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--neutral-white);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.error-page__content {
  text-align: center;
  max-width: 500px;
}

.error-page__code {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-600) 0%,
    var(--accent-600) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

.error-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-800);
  margin-bottom: var(--spacing-md);
}

.error-page__description {
  font-size: 1.125rem;
  color: var(--secondary-600);
  margin-bottom: var(--spacing-xl);
}

.language-selector {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-50) 0%,
    var(--primary-100) 50%,
    var(--primary-200) 100%
  );
  padding: var(--spacing-lg);
}

.language-selector__content {
  text-align: center;
  max-width: 600px;
}

.language-selector__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary-800);
  margin-bottom: var(--spacing-lg);
}

.language-selector__description {
  font-size: 1.125rem;
  color: var(--secondary-600);
  margin-bottom: var(--spacing-xxxl);
}

.language-selector__options {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.language-selector__option {
  flex: 1;
  min-width: 200px;
  padding: var(--spacing-xxxl);
  background-color: var(--neutral-white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary-100);
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.language-selector__option:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.language-selector__flag {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.language-selector__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-800);
  margin-bottom: var(--spacing-xs);
}

.language-selector__native {
  font-size: 1rem;
  color: var(--secondary-500);
}
