/*
  Direct, Practical, and Welcoming Aesthetics
  Reducing "distant SaaS" vibes to increase immediate actionability
  and the "This is what I was looking for" feeling.
*/
:root {
  /* Vibrant, modern primary but grounded */
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-light: #e0e7ff;
  
  /* Minimalist Backgrounds */
  --color-bg-base: #fafafa;
  --color-bg-surface: #ffffff;
  --color-bg-alt: #f1f5f9;
  
  /* Typography */
  --color-text-title: #0f172a;
  --color-text-body: #475569;
  --color-text-muted: #64748b;
  
  /* Borders */
  --color-border: #e2e8f0;
  
  /* Fonts */
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-8: 0.5rem;
  --spacing-16: 1rem;
  --spacing-24: 1.5rem;
  --spacing-32: 2rem;
  --spacing-48: 3rem;
  --spacing-64: 4rem;
  --spacing-100: 6rem;
  
  /* Shadows */
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  --shadow-btn: 0 8px 20px -4px rgba(79, 70, 229, 0.3);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --max-width: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--color-text-body);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper { overflow-x: hidden; }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-24);
}

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

/* Typography Hierarchy */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text-title);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-16);
  line-height: 1.3;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-text-body);
  max-width: 650px;
  margin: 0 auto var(--spacing-48);
  line-height: 1.7;
}

.section-inner { padding: var(--spacing-64) 0; }
@media (min-width: 768px) { .section-inner { padding: var(--spacing-100) 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(79, 70, 229, 0.4);
}

.btn-large {
  padding: 1.125rem 3rem;
  font-size: 1.125rem;
  width: 100%;
  max-width: 340px;
}

/* 1. HERO SECTION - The "Immediate Answer" */
.hero-section {
  position: relative;
  background-color: var(--color-bg-surface);
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section { padding: 130px 0 80px; }
}

.glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at bottom, var(--color-primary-light) 0%, rgba(255,255,255,0) 60%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-container { position: relative; z-index: 1; text-align: center;}
.hero-content { max-width: 860px; margin: 0 auto;}

.modern-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--spacing-24);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-text-title);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--spacing-24);
}

.highlight-text {
  color: var(--color-primary);
  font-size: 1.15em;
  font-weight: 900;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-title);
  margin-bottom: var(--spacing-32);
  font-weight: 500;
  line-height: 1.6;
}

/* User identity cues right in the hero */
.hero-usecase-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: var(--spacing-48);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.usecase-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-title);
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-subtle);
}
.usecase-pill.highlight-pill {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-24);
}

.hero-notes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-body);
  font-weight: 600;
  margin-bottom: var(--spacing-32);
}
@media (min-width: 600px) {
  .hero-notes { flex-direction: row; gap: var(--spacing-32); }
}

.note-item { display: flex; align-items: center; gap: 0.5rem; }
.icon-circle {
  width: 18px; height: 18px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 12px; height: 12px;}

.scroll-prompt {
  margin-top: var(--spacing-32);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.scroll-arrow svg {
  width: 20px; height: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

/* 2. Concrete Use-case Section (Moved up) */
.usecase-section { background-color: var(--color-bg-base); }

.concrete-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
  margin-bottom: var(--spacing-64);
}
@media (min-width: 768px) {
  .concrete-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-32); }
}

.concrete-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.concrete-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

/* Photographic Background */
.concrete-visual {
  width: 100%;
  height: 220px;
  position: relative;
  background-size: cover; background-position: center; overflow: hidden;
}

.visual-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1));
}

.phone-frame-realistic {
  position: absolute; bottom: -20px; right: 20px;
  width: 110px; height: 160px;
  background: white; border-radius: 10px 10px 0 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 2px solid #e2e8f0; border-bottom: none;
  overflow: hidden; padding: 6px; display: flex; flex-direction: column;
}

.mock-header { height: 20px; background: #f1f5f9; border-radius: 4px; margin-bottom: 6px;}
.mock-map { flex: 1; background: #dcfce7; border-radius: 4px; }
.mock-title { height: 14px; width: 80%; background: #bfdbfe; border-radius: 4px; margin-bottom: 10px; }
.mock-line { height: 6px; width: 100%; background: #f1f5f9; border-radius: 3px; margin-bottom: 6px; }
.mock-btn { margin-top: auto; height: 16px; background: var(--color-primary); border-radius: 8px; }
.mock-circle { width: 30px; height: 30px; border-radius: 50%; background: #fbcfe8; margin: 10px auto; }
.mock-line-center { width: 60%; height: 6px; background: #f1f5f9; border-radius: 3px; margin: 8px auto; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top:auto;}
.mock-grid div { height: 30px; background: #fef3c7; border-radius: 2px; }

.concrete-content { padding: var(--spacing-24); flex: 1;}

.card-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.concrete-title {
  font-size: 1.125rem; font-weight: 800; color: var(--color-text-title);
  margin-bottom: 0.5rem; line-height: 1.4;
}

.concrete-body { font-size: 0.9375rem; color: var(--color-text-body); }

/* Refresh Hero */
.refresh-hero {
  display: flex; flex-direction: column; background: var(--color-bg-surface);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card); overflow: hidden;
}
@media (min-width: 800px) {
  .refresh-hero { flex-direction: row; }
  .refresh-content { flex: 1; padding: var(--spacing-48) var(--spacing-48) !important; display:flex; flex-direction: column; justify-content: center;}
  .refresh-visual { flex: 1.2; height: auto !important; min-height: 300px;}
}

.refresh-content { padding: var(--spacing-32) var(--spacing-24); }
.refresh-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: #047857; background: #d1fae5; padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill); margin-bottom: 1rem;
}

.refresh-visual { position: relative; height: 200px; background-size: cover; background-position: center; }
.visual-overlay-strong { position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(135deg, rgba(15,23,42,0.6), rgba(15,23,42,0.3)); }

.before-after-phones {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 1rem;
}

.old-messy-phone {
  width: 70px; height: 120px; background: repeating-linear-gradient(0deg, #f1f5f9, #f1f5f9 2px, white 2px, white 6px);
  border-radius: 8px; opacity: 0.6; padding: 4px; border: 2px solid #cbd5e1;
}
.refresh-arrow { color: white; width: 24px; height: 24px; }
.new-clean-phone {
  width: 85px; height: 140px; background: white; border-radius: 10px;
  padding: 6px; border: 2px solid #e2e8f0; box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.clean-image { height: 30px; background: #34d399; border-radius: 4px; margin-bottom: 8px; }
.clean-line { height: 8px; background: #f1f5f9; border-radius: 4px; }


/* 3. Pricing Section */
.pricing-section {
  background-color: var(--color-bg-base);
}

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

.pricing-main-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden; margin-bottom: var(--spacing-24);
}

.card-hero-pattern {
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--color-primary), #a855f7);
}

.plan-header {
  padding: var(--spacing-48) var(--spacing-32) var(--spacing-32);
  text-align: center; border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-base);
}

.plan-eyebrow {
  display: inline-block; font-size: 0.875rem; font-weight: 700;
  color: var(--color-text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}

.price-display {
  display: flex; align-items: flex-start; justify-content: center;
  margin-bottom: 0.5rem; color: var(--color-text-title);
}

.price-currency { font-size: 1.5rem; font-weight: 600; margin-top: 0.5rem; margin-right: 0.2rem; }
.price-amount { font-size: 4.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }

.plan-guarantee {
  display: inline-block; background: var(--color-bg-alt); color: var(--color-text-body);
  padding: 0.375rem 1rem; border-radius: var(--radius-pill); font-size: 0.875rem;
  font-weight: 600; margin-top: var(--spacing-16);
}

.plan-features {
  padding: var(--spacing-32); display: flex; flex-direction: column; gap: var(--spacing-32);
}

@media (min-width: 600px) {
  .plan-features { flex-direction: row; gap: var(--spacing-48); padding: var(--spacing-48); }
}

.feature-col { flex: 1; }
.feature-divider { width: 1px; background-color: var(--color-border); display: none; }
@media (min-width: 600px) { .feature-divider { display: block; } }

.feature-title { font-size: 1rem; font-weight: 700; color: var(--color-text-title); margin-bottom: var(--spacing-16); }

.modern-list { display: flex; flex-direction: column; gap: 0.75rem; }
.modern-list li { position: relative; padding-left: 1.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--color-text-title);}
.modern-list li::before {
  content: ''; position: absolute; left: 0; top: 0.5rem; width: 6px; height: 6px;
  border-radius: 50%; background-color: var(--color-primary);
}

.addons-container {
  padding: var(--spacing-24); background-color: var(--color-bg-base);
  border: 1px dashed var(--color-border); border-radius: var(--radius-md);
  text-align: center;
}
.addons-info h3 { font-size: 1rem; font-weight: 700; color: var(--color-text-title); margin-bottom: 0.25rem; }
.addons-info p { font-size: 0.875rem; color: var(--color-text-body); }


/* 4. Modern Consult Section */
.consult-section { background-color: var(--color-bg-base); border-top: 1px solid var(--color-border); }

.consult-box {
  background: var(--color-bg-surface); border-radius: var(--radius-lg);
  padding: var(--spacing-48) var(--spacing-24); border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: var(--spacing-48); box-shadow: var(--shadow-card);
}

@media (min-width: 800px) {
  .consult-box { flex-direction: row; padding: var(--spacing-64); align-items: center; gap: var(--spacing-64); }
}

.consult-content { flex: 1.2; }
.consult-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; color: var(--color-text-title);
  line-height: 1.3; margin-bottom: var(--spacing-32); letter-spacing: -0.02em;
}

.consult-list { display: flex; flex-direction: column; gap: var(--spacing-24); }
.consult-list li { font-size: 0.9375rem; line-height: 1.6; }
.consult-list li strong { display: block; font-size: 1.0625rem; color: var(--color-text-title); margin-bottom: 0.25rem; }

.consult-actions {
  flex: 0.8; display: flex; flex-direction: column; align-items: flex-start;
  background-color: var(--color-bg-base); padding: var(--spacing-32);
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
}

.cta-message-box { margin-bottom: var(--spacing-24); }
.cta-statement { font-size: 1.125rem; font-weight: 700; color: var(--color-text-title); margin-bottom: 0.5rem; }
.cta-statement::before { content: '✓'; color: var(--color-primary); margin-right: 0.5rem; }


/* Footer */
.modern-footer { background-color: var(--color-text-title); padding: var(--spacing-48) 0; text-align: center; color: #94a3b8; font-size: 0.875rem; }
