/*
Theme Name: BoatRace LP
Author: BR Company
Description: Custom LP Theme converted from HTML
Version: 1.0
*/

:root {
  --color-primary: #0b1d36;
  --color-primary-dark: #050e1a;
  --color-primary-light: #1e3a5f;
  --color-accent: #d4af37;
  --color-accent-light: #f3d576;
  --color-text: #1a202c;
  --color-text-muted: #4a5568;
  --color-text-light: #718096;
  --color-text-on-dark: #f7fafc;
  --color-bg: #fdfdfd;
  --color-bg-alt: #f4f6f8;
  --color-bg-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-warning: #c05621;
  --color-warning-bg: #fffaf0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(11, 29, 54, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(11, 29, 54, 0.15);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 0 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.header-cta {
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.header-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 10px;
  transition: all 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== HERO / FV ===== */
.hero {
  min-height: 100vh;
  padding: 88px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 29, 54, 0.95) 0%, rgba(11, 29, 54, 0.85) 100%),
    url('images/main_visual.png') center/cover no-repeat;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
  pointer-events: none;
  animation: rotateLight 20s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
  text-align: center;
  position: relative;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-on-dark);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.btn-icon {
  font-size: 1.2rem;
}

/* 免責・注意（FV内） */
.hero-notice {
  background: rgba(11, 29, 54, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.hero-notice-title {
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.hero-notice-body {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.section-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  text-align: left;
}

/* ===== SECTION 1: このLPでできること ===== */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.purpose-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

.purpose-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
}

.purpose-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(11, 29, 54, 0.2);
}

.purpose-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.purpose-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: left;
}

/* ===== SECTION 2: 3つの提供スタイル ===== */
.style-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.style-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: var(--shadow-md);
}

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

.style-card-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: linear-gradient(to bottom, #ffffff, #fafbfd);
}

.style-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.style-card:nth-child(1) .style-card-tag {
  background: rgba(26, 91, 196, 0.1);
  color: #1a5bc4;
  border: 1px solid rgba(26, 91, 196, 0.2);
}

.style-card:nth-child(2) .style-card-tag {
  background: rgba(26, 140, 76, 0.1);
  color: #1a8c4c;
  border: 1px solid rgba(26, 140, 76, 0.2);
}

.style-card:nth-child(3) .style-card-tag {
  background: rgba(196, 122, 26, 0.1);
  color: #c47a1a;
  border: 1px solid rgba(196, 122, 26, 0.2);
}

.style-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.style-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.style-card-body {
  padding: 24px 28px;
}

.style-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.style-card-list {
  list-style: none;
  margin-bottom: 20px;
}

.style-card-list li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.style-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.style-card-note {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.style-card-footer {
  padding: 0 28px 28px;
}

.style-card-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.style-card-cta:hover {
  background: var(--color-primary-dark);
}

.style-card-cta-sub {
  display: block;
  margin-top: 10px;
  background: white;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.style-card-cta-sub:hover {
  background: var(--color-primary);
  color: white;
}

/* ===== SECTION 3: 点数が多い理由 ===== */
.explanation-box {
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.explanation-content {
  padding: 60px;
}

.explanation-points {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.explanation-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.explanation-point-num {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.explanation-point-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

.explanation-point-text strong {
  color: var(--color-primary-dark);
}

.explanation-warning {
  background: var(--color-warning-bg);
  border: 1px solid rgba(192, 86, 33, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.explanation-warning-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-warning);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.explanation-warning-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== SECTION 4: データの読み方 ===== */
.data-reading-intro {
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.data-reading-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.data-reading-points {
  display: grid;
  gap: 16px;
}

.data-reading-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.data-reading-point-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.data-reading-point p {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
}

.data-reading-point strong {
  color: var(--color-primary);
}

.data-steps {
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.data-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.data-step {
  background: #fafbfd;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}

.data-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: white;
  border-color: rgba(212, 175, 55, 0.2);
}

.data-step-header {
  margin-bottom: 16px;
}

.data-step-num {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.data-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.data-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.data-notice {
  background: var(--color-warning-bg);
  border: 1px solid rgba(192, 86, 33, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.data-notice p {
  font-size: 0.85rem;
  color: var(--color-warning);
  margin: 0;
  line-height: 1.7;
}

.data-notice p+p {
  margin-top: 4px;
}

.data-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Reverting CTAs in Data Reading section to Classic Style */
.data-cta-group .btn-primary {
  background: var(--color-primary);
  /* Uses the Navy color but solid, no gradient */
  color: white;
  box-shadow: 0 4px 14px rgba(11, 29, 54, 0.3);
  filter: none;
}

.data-cta-group .btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 29, 54, 0.4);
}

.data-cta-group .btn-secondary {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  backdrop-filter: none;
}

.data-cta-group .btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.data-supplement {
  text-align: left;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== SECTION 5: よくある質問 ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.2);
}

.faq-question {
  padding: 24px;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.faq-q-label {
  background: var(--color-primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 24px 24px;
  padding-left: 68px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== SECTION 6: 責任あるギャンブル ===== */
.responsible-box {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  text-align: center;
}

.responsible-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.responsible-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.responsible-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.responsible-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(to bottom, #0b1d36, #050e1a);
  color: white;
  padding: 80px 24px 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: rgba(255, 255, 255, 0.2);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

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

.footer-info-section h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-info-section p,
.footer-info-section a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  text-decoration: none;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1050;
    animation: fadeIn 0.3s ease-in-out;
  }

  .nav-links.mobile-active li .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .hero {
    min-height: 100vh;
    padding: 72px 12px 40px;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

  .section {
    padding: 60px 20px;
  }

  .data-reading-intro,
  .data-steps {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .explanation-content {
    padding: 24px;
  }

  .responsible-box {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

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

  .style-cards {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    flex-direction: column;
    text-align: center;
  }

  .purpose-icon {
    margin: 0 auto;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner>* {
  animation: fadeInUp 0.6s ease-out backwards;
}

.hero-label {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.3s;
}

.hero-cta-group {
  animation-delay: 0.4s;
}

.hero-notice {
  animation-delay: 0.5s;
}

/* ===== STICKY FOOTER ===== */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: none;
}

.sticky-footer.visible {
  transform: translateY(0);
}

.sticky-footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-footer-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.sticky-footer-btn {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

/* ===== DIAGNOSTIC CHART ===== */
.diagnostic-section {
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
  padding: 60px 24px;
  margin-bottom: 40px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.diagnostic-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.diagnostic-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.diagnostic-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.diagnostic-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.diagnostic-step.active {
  display: block;
}

.diagnostic-question {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-primary-dark);
}

.diagnostic-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diagnostic-btn {
  padding: 16px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
  position: relative;
}

.diagnostic-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
}

.diagnostic-btn::after {
  content: '👉';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.diagnostic-btn:hover::after {
  opacity: 1;
}

.diagnostic-result {
  text-align: center;
}

.diagnostic-result-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.diagnostic-result-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.diagnostic-result-desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ===== STYLE CARD ENHANCEMENTS ===== */
.style-card.recommended {
  border: 2px solid var(--color-accent);
  position: relative;
}

.style-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.8rem;
  border-bottom-left-radius: var(--radius-md);
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.style-card {
  cursor: pointer;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {
  .sticky-footer {
    display: block;
    /* Shown only on mobile */
  }

  .diagnostic-card {
    padding: 24px;
  }

  .diagnostic-question {
    font-size: 1.1rem;
  }
}

/* ===== PRE-FOOTER CTA ===== */
.pre-footer-cta {
  text-align: center;
  padding: 60px 24px;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
}

.pre-footer-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}