/* ========== Design Tokens ========== */
:root {
  --bg: #f5f7fb;
  --bg-alt: #eef1f6;
  --card: #ffffff;
  --text: #111111;
  --text-light: #ffffff;
  --muted: #6b7280;
  --brand: #16a34a;
  --brand-light: #22c55e;
  --brand-soft: rgba(22, 163, 74, 0.1);
  --brand-glow: rgba(22, 163, 74, 0.4);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.1);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.1);
  --line: rgba(17, 17, 17, 0.08);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

strong {
  font-weight: 600;
  color: var(--text);
}

/* ========== Container ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 47.8px;
  width: auto;
  transition: var(--transition);
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--brand);
}

.header-cta {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
}

.header-cta:hover {
  background: var(--brand);
  color: var(--text-light);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(22, 163, 74, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #f8faf8 0%, #f0f7f0 50%, #e8f5e8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(22, 163, 74, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.5;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.05));
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), transparent);
  top: 60%;
  right: -50px;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.06), transparent);
  bottom: 20%;
  left: 10%;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent);
  top: 30%;
  right: 20%;
  animation-delay: -15s;
}

.shape-5 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), transparent);
  bottom: 40%;
  right: 30%;
  animation-delay: -8s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -30px) rotate(5deg);
  }

  50% {
    transform: translate(-10px, 20px) rotate(-5deg);
  }

  75% {
    transform: translate(30px, 10px) rotate(3deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-tagline {
  font-family: Inter, sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: nowrap;
}

.tagline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: taglineIn 0.6s ease forwards;
}

.tagline-word[data-delay="0"] { animation-delay: 0.2s; }
.tagline-word[data-delay="1"] { animation-delay: 0.4s; }
.tagline-word[data-delay="2"] { animation-delay: 0.6s; }
.tagline-word[data-delay="3"] { animation-delay: 0.8s; }

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

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 1s forwards;
  opacity: 0;
}

.hero-cta-group {
  animation: fadeInUp 0.8s ease 1.2s forwards;
  opacity: 0;
}

.hero-cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}


/* ========== CTA Button ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 20px var(--brand-glow);
  animation: ctaPulse 3s ease-in-out infinite;
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--brand-glow);
  animation: none;
}

.cta-button.primary:active {
  transform: translateY(-1px);
}

.cta-button.glow {
  position: relative;
  overflow: hidden;
}

.cta-button.glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: var(--transition);
}

.cta-button.glow:hover::before {
  opacity: 0.6;
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-button.large {
  padding: 22px 56px;
  font-size: 18px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ========== Section ========== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.3;
}

.section-description {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.text-brand {
  color: var(--brand);
}

.text-danger {
  color: var(--danger);
}

.br-sp {
  display: none;
}

.no-break {
  white-space: nowrap;
}

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-up[data-delay="100"] { transition-delay: 0.1s; }
.fade-up[data-delay="200"] { transition-delay: 0.2s; }
.fade-up[data-delay="300"] { transition-delay: 0.3s; }
.fade-up[data-delay="400"] { transition-delay: 0.4s; }
.fade-up[data-delay="500"] { transition-delay: 0.5s; }

/* ========== Problem ========== */
.problem {
  background: var(--card);
}

.problem-content {
  text-align: center;
}

.problem-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 48px;
}

.highlight {
  background: linear-gradient(transparent 60%, rgba(239, 68, 68, 0.2) 60%);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.problem-card {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}

.problem-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.problem-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== Solution ========== */
.solution {
  background: linear-gradient(135deg, #0d7a3a 0%, #15803d 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solution .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.solution .section-title {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.solution .text-brand {
  color: #bbf7d0;
}

.solution .section-description {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  margin-top: 40px;
}

/* ========== How it Works ========== */
.how-it-works {
  background: var(--bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.works-card {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  transform-style: preserve-3d;
}

.works-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(22, 163, 74, 0.1);
}

.works-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.works-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.works-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.works-card.success {
  border-top: 3px solid var(--brand);
}

.works-card.success .works-icon {
  color: var(--brand);
}

.works-card.danger {
  border-top: 3px solid var(--danger);
}

.works-card.danger .works-icon {
  color: var(--danger);
}

/* ========== App Preview ========== */
.app-preview {
  background: var(--card);
  overflow: hidden;
}

.preview-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.preview-device {
  display: flex;
  justify-content: center;
  position: relative;
}

.device-frame {
  width: 320px;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 36px;
  box-shadow: var(--shadow-xl);
  animation: deviceFloat 6s ease-in-out infinite;
}

.device-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
}

.device-video {
  display: block;
  width: 100%;
  height: auto;
}

.mock-app {
  padding: 20px;
}

.mock-header {
  margin-bottom: 20px;
}

.mock-logo {
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.mock-stats {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.05));
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 20px;
}

.mock-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.mock-stat-value {
  font-family: Inter, sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mock-tasks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mock-task-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.mock-task.done .mock-task-check {
  background: var(--brand);
  color: var(--text-light);
}

.mock-task-check.empty {
  border: 2px solid var(--line);
}

.mock-task-content {
  flex: 1;
  min-width: 0;
}

.mock-task-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-task-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.mock-task-meta.deadline {
  color: var(--danger);
}

.mock-task-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.mock-task-badge.done {
  background: var(--brand-soft);
  color: var(--brand);
}

.mock-task-badge.active {
  background: #dbeafe;
  color: #2563eb;
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.preview-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.preview-feature-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: var(--transition);
}

.preview-feature-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.preview-feature-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== Not For You ========== */
.not-for-you {
  background: var(--bg);
}

.not-for-you .section-title {
  white-space: nowrap;
  font-size: clamp(20px, 5vw, 34px);
  letter-spacing: -0.02em;
}

.not-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 32px;
}

.not-for-card {
  padding: 28px 20px;
  background: var(--card);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}

.not-for-card:hover {
  border-color: var(--danger);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.not-for-icon {
  font-size: 40px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.not-for-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.not-for-message {
  text-align: center;
  font-size: 16px;
  color: var(--danger);
  font-weight: 500;
}

@media (max-width: 480px) {
  .not-for-message {
    white-space: nowrap;
    font-size: clamp(12px, 3.6vw, 15px);
    letter-spacing: -0.01em;
  }
}

/* ========== For You ========== */
.for-you {
  background: var(--card);
}

.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 48px auto 0;
}

.for-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
}

.for-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}

.for-check {
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}

.for-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* ========== Features ========== */
.features {
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--brand);
  transform: scale(1.1) rotate(5deg);
}

.feature-icon {
  font-size: 32px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  filter: grayscale(1) brightness(10);
  animation: iconBounce 0.5s ease;
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.faq-question:hover {
  color: var(--brand);
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ========== Caution ========== */
.caution {
  background: var(--card);
}

.caution-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--warning-soft);
  border: 2px solid var(--warning);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.caution-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.caution-icon {
  font-size: 28px;
}

.caution-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #92400e;
}

.caution-list {
  list-style: none;
}

.caution-list li {
  padding: 14px 0;
  font-size: 15px;
  color: #92400e;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  position: relative;
  padding-left: 28px;
}

.caution-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--warning);
  font-weight: 700;
}

.caution-list li:last-child {
  border-bottom: none;
}

.caution-list strong {
  color: #78350f;
}

/* ========== Final CTA ========== */
.final-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.final-content {
  position: relative;
  z-index: 1;
}

.final-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}

.final-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.final-cta .cta-button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
}

/* ========== Footer ========== */
.footer {
  background: #0f172a;
  color: var(--text-light);
  padding: 60px 24px 40px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

.footer-links-group {
  display: flex;
  gap: 80px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .preview-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .preview-features {
    flex-flow: row wrap;
    justify-content: center;
  }

  .preview-feature {
    flex: 1 1 250px;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .header-nav {
    display: none;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-tagline {
    white-space: normal;
    font-size: clamp(28px, 8vw, 40px);
  }

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

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .for-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .device-frame {
    width: 280px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links-group {
    gap: 40px;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 15px;
  }

  .cta-button.large {
    padding: 18px 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .not-for-grid {
    grid-template-columns: 1fr;
  }

  .br-sp {
    display: block;
  }

  .solution .section-title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .solution .section-description {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 24px;
    text-wrap: balance;
  }

  .works-card p {
    font-size: 13px;
    line-height: 2;
    text-wrap: balance;
    letter-spacing: -0.01em;
  }

  .final-title {
    font-size: clamp(20px, 6.2vw, 28px);
    white-space: nowrap;
    letter-spacing: -0.02em;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 32px;
  }
}

/* ========== Premium Effects ========== */

/* Animated gradient background for hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(22, 163, 74, 0.03) 0%,
    rgba(34, 197, 94, 0.06) 25%,
    rgba(22, 163, 74, 0.03) 50%,
    rgba(34, 197, 94, 0.08) 75%,
    rgba(22, 163, 74, 0.03) 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Shine effect on CTA buttons */
.cta-button.glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
  border-radius: inherit;
}

.cta-button.glow:hover::after {
  left: 100%;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px var(--brand-glow);
  }

  50% {
    box-shadow: 0 4px 40px var(--brand-glow), 0 0 60px rgba(22, 163, 74, 0.2);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(0.5deg);
  }

  75% {
    transform: translateY(-5px) rotate(-0.5deg);
  }
}

/* Glow effect for device */
.preview-device::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.5;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Enhanced card shadows on hover */
.works-card.success:hover {
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15), 0 0 0 1px rgba(22, 163, 74, 0.2);
}

.works-card.danger:hover {
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.2);
}


@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* FAQ item hover effect */
.faq-item:hover {
  transform: translateX(4px);
}

.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transition: var(--transition);
}

.faq-item.open .faq-question::before {
  transform: scaleY(1);
}

/* Problem card enhanced hover */
.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(22, 163, 74, 0.05) 100%);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
  z-index: 0;
}

.problem-card:hover::before {
  opacity: 1;
}

/* For-you check animation */
.for-card:hover .for-check {
  transform: scale(1.2);
  box-shadow: 0 0 20px var(--brand-glow);
}

/* Not-for-you icon hover */
.not-for-card:hover .not-for-icon {
  transform: scale(1.2);
}


/* Preview feature hover */
.preview-feature:hover {
  transform: translateX(8px);
}

.preview-feature:hover .preview-feature-icon {
  transform: scale(1.15) rotate(10deg);
}

/* Header logo hover */
.header-logo:hover img {
  transform: scale(1.05);
}

/* Footer link underline effect */
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Mock task hover */
.mock-task:hover {
  transform: translateX(4px);
  background: rgba(22, 163, 74, 0.05);
}

/* Caution animated stripe */
.caution-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: linear-gradient(90deg, var(--warning), #fbbf24, var(--warning));
  background-size: 200% 100%;
  animation: warningStripe 3s linear infinite;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

@keyframes warningStripe {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: 0% 0;
  }
}
