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

:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --primary-light: #FEF3C7;
  --forest: #166534;
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --text: #1C1917;
  --text-muted: #78716C;
  --border: #E7E5E4;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

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

.logo-icon { font-size: 22px; }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.lang-switcher { display: flex; gap: 4px; }

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.lang-btn:hover, .lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--bg-card); color: var(--text); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* HERO */
.hero {
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 520px; }

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* PHONE FRAME */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.phone-frame {
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: #0f0f0f;
  border-radius: 28px;
  overflow: hidden;
  min-height: 400px;
}

.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-screenshot {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  display: block;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.app-preview {
  padding: 16px;
  height: 100%;
}

.preview-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-dot.red { background: #FF5F57; }
.preview-dot.yellow { background: #FFBD2E; }
.preview-dot.green { background: #28C840; }

.preview-content { display: flex; flex-direction: column; gap: 10px; }

.preview-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-card-icon { font-size: 20px; }

.preview-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #f5f5f5;
}

.preview-card-sub {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}

.preview-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
}

.preview-badge.green { background: rgba(22,101,52,0.3); color: #4ade80; }
.preview-badge.yellow { background: rgba(245,158,11,0.2); color: #fbbf24; }

.preview-ai {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(22,101,52,0.1));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.preview-ai-icon { font-size: 14px; margin-top: 1px; }

.preview-ai-text {
  font-size: 10px;
  color: #d4b483;
  line-height: 1.5;
}

/* SECTIONS */
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* FEATURES */
.features { padding: 80px 0; background: var(--bg-card); }

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-icon { font-size: 32px; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* HOW IT WORKS */
.how { padding: 80px 0; }

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.step {
  text-align: center;
  max-width: 240px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

.step-arrow {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 32px;
}

/* PWA */
.pwa {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.pwa-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.pwa-content { max-width: 560px; }

.pwa h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pwa p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 24px; }

.pwa-steps { display: flex; flex-direction: column; gap: 12px; }

.pwa-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.pwa-os {
  background: rgba(245,158,11,0.2);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 56px;
  text-align: center;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-copy { color: var(--text-muted); font-size: 13px; }

/* WHY RECORDS */
.why { padding: 80px 0; background: var(--bg-card); }

.why-quote {
  text-align: center;
  margin-bottom: 56px;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(22,101,52,0.06) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(245,158,11,0.2);
  position: relative;
}

.quote-mark {
  display: block;
  font-size: 72px;
  line-height: 0.5;
  color: var(--primary);
  font-family: Georgia, serif;
  margin-bottom: 16px;
  opacity: 0.4;
}

.why-quote p {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0 auto 12px;
}

.quote-author {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

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

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.problem-icon { font-size: 32px; margin-bottom: 14px; }

.problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* THREE LAYERS */
.layers { padding: 80px 0; background: var(--bg); }

.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.layer-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.layer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.layer-1 {
  background: var(--bg-card);
  border: 2px solid var(--border);
}

.layer-2 {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2200 100%);
  color: white;
  border: 2px solid rgba(245,158,11,0.3);
}

.layer-3 {
  background: linear-gradient(135deg, #0f2b1a 0%, #1a3d2b 100%);
  color: white;
  border: 2px solid rgba(22,101,52,0.4);
}

.layer-num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}

.layer-1 .layer-num { color: var(--primary); }
.layer-2 .layer-num { color: #fbbf24; }
.layer-3 .layer-num { color: #4ade80; }

.layer-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.layer-1 h3 { color: var(--text); }
.layer-2 h3, .layer-3 h3 { color: white; }

.layer-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.layer-1 p { color: var(--text-muted); }
.layer-2 p { color: rgba(255,255,255,0.7); }
.layer-3 p { color: rgba(255,255,255,0.7); }

.layer-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.layer-1 .layer-tag { background: var(--primary-light); color: var(--primary-dark); }
.layer-2 .layer-tag { background: rgba(245,158,11,0.2); color: #fbbf24; }
.layer-3 .layer-tag { background: rgba(74,222,128,0.15); color: #4ade80; }

/* LONG TERM VALUE */
.longterm { padding: 80px 0; background: var(--bg-card); }

.longterm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.longterm-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.longterm-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.longterm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.longterm-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.longterm-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.longterm-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s;
}

.stat-card:hover { transform: translateX(4px); }

.stat-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  min-width: 64px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* COMMUNITY */
.community { padding: 80px 0; background: var(--bg); }

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.community-icon { font-size: 40px; margin-bottom: 16px; }

.community-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 240px; }
  .nav a { display: none; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; }
  .pwa-inner { flex-direction: column; text-align: center; }
  .pwa-step { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin-left: 0; }
  .layers-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .longterm-inner { grid-template-columns: 1fr; gap: 40px; }
  .longterm-visual { grid-template-columns: 1fr; }
  .stat-card { padding: 20px; }
  .stat-num { font-size: 36px; min-width: 48px; }
  .problem-grid { grid-template-columns: 1fr; }
}
