/* ===================================================
   Landing Page — Coffee Timer LP
   Clean, modern, high-contrast design for kitchen use
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- Reset & Variables ---------- */
:root {
  --lp-bg:        #0a0a0a;
  --lp-surface:   #141414;
  --lp-card:      #1a1a1a;
  --lp-border:    rgba(255,255,255,0.08);
  --lp-text:      #f0f0f0;
  --lp-muted:     #9ca3af;
  --lp-accent:    #f59e0b;
  --lp-accent-dk: #d97706;
  --lp-accent-lt: #fbbf24;
  --lp-gradient:  linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --lp-font:      'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --lp-max-w:     820px;
  --lp-radius:    16px;
}

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

.lp-page {
  margin: 0;
  padding: 0;
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp-page img { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.lp-container {
  width: 100%;
  max-width: var(--lp-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.lp-section {
  padding: 80px 0;
}

.lp-section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lp-section-sub {
  text-align: center;
  color: var(--lp-muted);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.lp-accent { color: var(--lp-accent); }

/* ========== HEADER ========== */
.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.lp-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.lp-logo span { color: var(--lp-accent); }

.lp-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--lp-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.lp-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.45);
}

/* ========== HERO ========== */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6);
}

.lp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.6) 0%,
    rgba(10,10,10,0.2) 40%,
    rgba(10,10,10,0.8) 100%
  );
  z-index: 1;
}

.lp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 680px;
}

.lp-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-accent);
  margin-bottom: 24px;
  background: rgba(245,158,11,0.08);
  letter-spacing: 0.02em;
}

.lp-hero__title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lp-hero__title em {
  font-style: normal;
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero__desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--lp-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.lp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--lp-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 40px rgba(245,158,11,0.35);
  border: none;
  cursor: pointer;
}

.lp-hero__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 50px rgba(245,158,11,0.5);
}

.lp-hero__cta svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

.lp-hero__note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ========== PROBLEM ========== */
.lp-problem {
  background: var(--lp-surface);
}

.lp-problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.lp-problem-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.lp-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.lp-problem-card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.lp-problem-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.lp-problem-card__text {
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.7;
}

/* ========== SOLUTION ========== */
.lp-solution {
  background: var(--lp-bg);
}

.lp-solution-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lp-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.lp-solution-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.lp-solution-item__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--lp-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.lp-solution-item__body {
  flex: 1;
}

.lp-solution-item__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.lp-solution-item__text {
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.8;
}

/* ========== RECIPES ========== */
.lp-recipes {
  background: var(--lp-surface);
}

.lp-recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.lp-recipe-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.lp-recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(245,158,11,0.3);
}

.lp-recipe-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245,158,11,0.12);
  color: var(--lp-accent);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.lp-recipe-card__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.lp-recipe-card__desc {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.lp-recipe-card__steps {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.lp-recipe-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lp-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.lp-recipe-card:hover::after {
  transform: scaleX(1);
}

/* ========== CTA ========== */
.lp-cta-section {
  background: var(--lp-bg);
  text-align: center;
  padding: 100px 0 120px;
}

.lp-cta__title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.lp-cta__sub {
  color: var(--lp-muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.lp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 56px;
  background: var(--lp-gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 40px rgba(245,158,11,0.35);
  border: none;
  cursor: pointer;
}

.lp-cta__btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 50px rgba(245,158,11,0.5);
}

.lp-cta__btn svg {
  width: 22px; height: 22px;
  fill: currentColor;
}

.lp-cta__note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ========== FOOTER ========== */
.lp-footer {
  border-top: 1px solid var(--lp-border);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ========== FEATURES (How it works) ========== */
.lp-features {
  background: var(--lp-bg);
}

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

.lp-feature-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--lp-radius);
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.lp-feature-card:hover {
  border-color: var(--lp-border);
  background: rgba(255,255,255,0.02);
}

.lp-feature-card__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.lp-feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-feature-card__text {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.7;
}

/* ========== ANIMATIONS ========== */
@keyframes lp-fadein-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.lp-animate.lp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .lp-section { padding: 56px 0; }

  .lp-hero__content { padding: 100px 20px 60px; }

  .lp-solution-item {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

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

  .lp-recipe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .lp-hero__cta {
    padding: 16px 40px;
    font-size: 16px;
  }

  .lp-cta__btn {
    padding: 18px 44px;
    font-size: 18px;
  }

  .lp-cta-section { padding: 64px 0 80px; }
}

@media (max-width: 380px) {
  .lp-recipe-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Subtle glow behind hero CTA ---------- */
.lp-hero__cta-wrap {
  position: relative;
  display: inline-block;
}

.lp-hero__cta-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(30px);
  animation: lp-pulse-glow 3s ease-in-out infinite;
}

@keyframes lp-pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* ---------- Scrollbar ---------- */
.lp-page::-webkit-scrollbar { width: 6px; }
.lp-page::-webkit-scrollbar-track { background: var(--lp-bg); }
.lp-page::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
