/* ===========================
   CSS Variables (Theme)
   =========================== */
:root {
  /* カラーパレット */
  --color-primary: #00b4d8;
  --color-primary-dark: #0096c7;
  --color-secondary: #90e0ef;
  --color-background: #ffffff;
  --color-background-alt: #f8f9fa;
  --color-text: #212529;
  --color-text-light: #6c757d;
  --color-border: #dee2e6;

  /* グラデーション */
  --gradient-hero: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);

  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* フォント */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;

  /* レイアウト */
  --container-max-width: 1200px;
  --container-padding: 1rem;

  /* トランジション */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

  /* ボーダーラジウス */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

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

/* ===========================
   Container & Layout
   =========================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--spacing-lg) 0;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

.section__title {
  font-size: var(--font-size-xxl);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
}

.btn--primary {
  background: var(--gradient-hero);
  color: white;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: var(--font-size-lg);
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===========================
   Badge
   =========================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--color-background-alt);
  color: var(--color-text);
  margin-right: var(--spacing-xs);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: var(--gradient-hero);
  color: white;
  padding: var(--spacing-xl) 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

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

.hero__content {
  flex: 1;
  text-align: center;
}

.hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

.hero__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .hero__logo {
    justify-content: flex-start;
  }

  .hero__icon {
    width: 56px;
    height: 56px;
  }
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.hero__badges {
  margin-bottom: var(--spacing-md);
}

.hero__badges .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.hero__buttons .btn--primary {
  background: white;
  color: var(--color-primary);
}

.hero__buttons .btn--primary:hover,
.hero__buttons .btn--primary:focus-visible {
  background: var(--color-background-alt);
}

.hero__buttons .btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero__buttons .btn--secondary:hover,
.hero__buttons .btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 480px) {
  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero__buttons {
    justify-content: flex-start;
  }
}

.hero__visual {
  flex: 1;
  width: 100%;
}

.app-mockup {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-lg);
}

.app-mockup__image {
  border-radius: var(--radius-md);
  width: 100%;
}

@media (min-width: 768px) {
  .hero__container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero__content {
    text-align: left;
  }

  .hero__title {
    font-size: var(--font-size-xxl);
  }
}

/* ===========================
   Trust Section
   =========================== */
.trust {
  background-color: var(--color-background-alt);
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.trust__card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.trust__card:hover {
  transform: translateY(-4px);
}

.trust__icon {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  justify-content: center;
}

.trust__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.trust__desc {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   Comparison Section
   =========================== */
.comparison {
  background-color: var(--color-background);
}

/* 切り替えボタン */
.comparison__buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.comparison__btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
}

.comparison__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.comparison__btn--active {
  background: var(--gradient-hero);
  color: white;
  border-color: var(--color-primary);
}

.comparison__btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* スライダーラッパー */
.comparison__wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-slider {
  display: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-slider--active {
  display: block;
}

.comparison-slider__container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: ew-resize;
  user-select: none;
  overflow: hidden;
  background-color: #f0f0f0;
}

/* After画像（右側・背面） */
.comparison-slider__after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Before画像のラッパー（左側・前面、clip-pathでマスク） */
.comparison-slider__before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(0 50% 0 0);
}

/* Before画像（固定位置） */
.comparison-slider__before {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.comparison-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-slider__handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: white;
}

.comparison-slider__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.comparison-slider__labels {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm);
  background: var(--color-background-alt);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.label--before {
  color: var(--color-text-light);
}

.label--after {
  color: var(--color-primary);
}

.comparison__note {
  display: none;
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

@media (max-width: 767px) {
  .comparison__note {
    display: block;
  }
}

/* ===========================
   Features Section
   =========================== */
.features {
  background-color: var(--color-background-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card--highlight {
  background: var(--gradient-hero);
  color: white;
}

.feature-card__icon {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  justify-content: center;
}

.feature-card--highlight .feature-card__icon {
  color: white;
}

.feature-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.feature-card__desc {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

.feature-card--highlight .feature-card__desc {
  color: rgba(255, 255, 255, 0.9);
}

.feature-card__stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
}

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  display: block;
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   How-to-Use Section
   =========================== */
.how-to-use {
  background-color: var(--color-background);
}

/* タブUI */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--spacing-md);
  gap: var(--spacing-sm);
}

.tabs__tab {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--transition-fast);
  color: var(--color-text-light);
  font-family: var(--font-family);
}

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

.tabs__tab--active {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}

.tabs__tab:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.tabs__panel {
  display: none;
}

.tabs__panel--active {
  display: block;
}

/* ステップ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

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

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.step__content {
  flex: 1;
}

.step__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.step__desc {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   Settings Section
   =========================== */
.settings {
  background-color: var(--color-background-alt);
}

.settings-table {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.settings-table__row {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.settings-table__row:last-child {
  border-bottom: none;
}

.settings-table__label {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.settings-table__value {
  color: var(--color-text-light);
  line-height: 1.7;
}

.settings-table__value code {
  background-color: var(--color-background-alt);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.settings-table__value .example {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .settings-table__row {
    flex-direction: row;
    gap: var(--spacing-md);
  }

  .settings-table__label {
    flex: 0 0 200px;
    margin-bottom: 0;
  }

  .settings-table__value {
    flex: 1;
  }
}

/* ===========================
   Controls Section
   =========================== */
.controls {
  background-color: var(--color-background);
}

.controls__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.control-item {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.control-item__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.control-item__desc {
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .controls__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
  background-color: var(--color-background-alt);
}

.notice {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.notice__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.notice__list {
  list-style-position: inside;
  color: var(--color-text);
  line-height: 1.8;
}

.notice__list li {
  margin-bottom: var(--spacing-xs);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__question {
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--color-text);
  font-size: var(--font-size-base);
  transition: background-color var(--transition-fast);
}

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

.faq-item__question:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}

.faq-item__question::marker {
  content: '';
}

.faq-item__question::before {
  content: '+';
  display: inline-block;
  margin-right: var(--spacing-xs);
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-item__question::before {
  content: '−';
}

.faq-item__answer {
  padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   Requirements Section
   =========================== */
.requirements {
  background-color: var(--color-background-alt);
}

.requirements__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .requirements__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.requirements__card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.requirements__os {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
}

.requirements__os svg {
  color: var(--color-primary);
}

.requirements__table {
  width: 100%;
  border-collapse: collapse;
}

.requirements__table th,
.requirements__table td {
  padding: var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.requirements__table th {
  width: 80px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.requirements__table td {
  color: var(--color-text-light);
}

.requirements__table tr:last-child th,
.requirements__table tr:last-child td {
  border-bottom: none;
}

.requirements__table small {
  display: block;
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ===========================
   Download Section
   =========================== */
.download {
  background-color: var(--color-background);
  text-align: center;
}

.download__desc {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
}

.download__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 500px;
  margin: 0 auto;
}

.btn--download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn--download:hover,
.btn--download:focus-visible {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--download svg {
  flex-shrink: 0;
}

.btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn__label {
  font-size: var(--font-size-base);
  font-weight: 700;
}

.btn__size {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

@media (min-width: 768px) {
  .download__buttons {
    flex-direction: row;
    max-width: 700px;
  }

  .btn--download {
    flex: 1;
  }
}

/* ===========================
   SmartScreen Section
   =========================== */
.smartscreen {
  background-color: var(--color-background);
}

.smartscreen__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  color: var(--color-text-light);
  line-height: 1.8;
}

.smartscreen__intro strong {
  color: var(--color-text);
}

.smartscreen__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
}

@media (min-width: 768px) {
  .smartscreen__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.smartscreen__step {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.smartscreen__step-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--color-background-alt);
  border-bottom: 1px solid var(--color-border);
}

.smartscreen__step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.smartscreen__step-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
}

.smartscreen__step-content {
  padding: var(--spacing-md);
}

.smartscreen__image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--color-border);
}

.smartscreen__step-desc {
  color: var(--color-text-light);
  line-height: 1.7;
}

.smartscreen__note {
  display: flex;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: var(--radius-lg);
  border-left: 4px solid #4caf50;
}

.smartscreen__note svg {
  flex-shrink: 0;
  color: #4caf50;
  margin-top: 2px;
}

.smartscreen__note-title {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.smartscreen__note-text {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   Buy Section
   =========================== */
.buy {
  background: var(--gradient-hero);
  color: white;
}

.buy .section__title {
  color: white;
}

.buy__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.price {
  margin-bottom: var(--spacing-lg);
}

.price__value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.price__currency {
  font-size: var(--font-size-xl);
  margin-left: 0.25rem;
}

.price__label {
  display: block;
  font-size: var(--font-size-lg);
  margin-top: var(--spacing-xs);
  opacity: 0.9;
}

.buy__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.buy__buttons .btn {
  background: white;
  color: var(--color-primary);
}

.buy__buttons .btn:hover,
.buy__buttons .btn:focus-visible {
  background: var(--color-background-alt);
}

@media (min-width: 768px) {
  .buy__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.buy__note {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background-color: var(--color-text);
  color: white;
  padding: var(--spacing-lg) 0;
}

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

.footer__copyright {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.footer__note {
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

.footer__link {
  color: white;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer__link:hover,
.footer__link:focus-visible {
  opacity: 0.7;
  text-decoration: underline;
}

/* ===========================
   Scroll Animation
   =========================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===========================
   Accessibility
   =========================== */
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip to main content (hidden by default) */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1rem;
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
}

.skip-to-main:focus {
  left: 0;
}
