/* styles.css — Danori Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --color-blue: #015EF4;
  --color-blue-accent: #2E7CFF;
  --color-ink: #0B1220;
  --color-white: #FFFFFF;
  --color-surface: #F2F2F7;
  --color-border: #E6E9EF;
  --color-text-secondary: #8E8E93;
  --color-cta: #F5A623;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: #333;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid #F2F2F7;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  color: var(--color-ink);
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-family: var(--font-body);
  text-decoration: none;
  color: #8E8E93;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.header-cta {
  background: var(--color-blue) !important;
  color: white !important;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--font-body);
  text-decoration: none;
}

.header-cta:hover {
  background: var(--color-blue-accent) !important;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-body);
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #444444;
  font-family: var(--font-body);
}

/* Hero Section */
#hero {
  background: var(--color-blue);
  color: white;
  padding: 6rem 0;
  margin-bottom: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-subtitle {
  max-width: 48ch;
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.5;
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
}

.hero-cta {
  margin-top: 18px;
}

.hero-cta .primary-cta {
  background: #F5A623;
  color: white;
}

.primary-cta {
  display: inline-block;
  background: #F5A623;
  color: white;
  border: none;
  padding: 1.4rem 3rem;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
  margin-bottom: 1rem;
  text-decoration: none;
  font-family: var(--font-body);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
  background: #E8961A;
}

/* Override primary CTA outside hero to be blue */
#how-it-works .primary-cta,
#final-cta .primary-cta {
  background: var(--color-blue);
  color: white;
  box-shadow: 0 6px 20px rgba(1, 94, 244, 0.3);
}

#how-it-works .primary-cta:hover,
#final-cta .primary-cta:hover {
  background: var(--color-blue-accent);
  box-shadow: 0 8px 25px rgba(1, 94, 244, 0.4);
}

.trust-text {
  max-width: 52ch;
  line-height: 1.45;
  margin-top: 4px;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  font-family: var(--font-body);
}

.ios-notice {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

#how-it-works .trust-text {
  color: #1a1a1a;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.steps-cta .trust-text {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #444444;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-screenshot {
  max-width: 350px;
  height: auto;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.hero-screenshot:hover {
  transform: rotate(-4deg) scale(1.02);
}

/* Problem Section */
#problem {
  background: #F2F2F7;
  padding: 4rem 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.problem-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.problem-item h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.problem-item p {
  color: #444444;
  font-family: var(--font-body);
}

/* How It Works */
#how-it-works {
  background: white;
  padding: 4rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  font-family: var(--font-body);
}

.step h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.step p {
  color: #444444;
  font-family: var(--font-body);
}

.steps-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #F2F2F7;
}

#project-screenshot {
  background: #F2F2F7;
  padding: 4rem 0;
  text-align: center;
}

#projects-screenshot {
  background: white;
  padding: 4rem 0;
  text-align: center;
}

.screenshot-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.app-screenshot-image {
  max-width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.app-screenshot-image:hover {
  transform: scale(1.02);
}

/* Before/After */
#before-after {
  background: white;
  padding: 4rem 0;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.before, .after {
  background: #F2F2F7;
  padding: 2rem;
  border-radius: 12px;
}

.before h3 {
  color: #8E8E93;
  font-family: var(--font-body);
}

.after h3 {
  color: var(--color-blue);
  font-family: var(--font-body);
}

.comparison ul {
  list-style: none;
  padding: 0;
}

.comparison ul li {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.2rem;
  color: #444444;
  font-family: var(--font-body);
}

.comparison ul li:before {
  content: "•";
  color: var(--color-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Note from Builder */
#note-from-builder {
  background: var(--color-ink);
  color: white;
  padding: 4rem 0;
}

.builder-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.builder-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

.builder-conclusion {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  max-width: 600px;
  margin: 32px auto;
  line-height: 1.4;
  font-family: var(--font-body);
}

.builder-signature {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.builder-signature strong {
  color: white;
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.builder-signature span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-family: var(--font-body);
}

#note-from-builder h2 {
  color: white;
  font-family: var(--font-body);
}

/* FAQ */
#faq {
  background: white;
  padding: 4rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: #F2F2F7;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-blue);
}

.faq-item h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.faq-item p {
  color: #444444;
  font-family: var(--font-body);
}

/* Final CTA */
#final-cta {
  background: var(--color-blue);
  padding: 4rem 0;
  text-align: center;
}

#final-cta h2 {
  color: white;
  font-family: var(--font-body);
}

#final-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

#final-cta .primary-cta {
  background: #F5A623;
  color: white;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.3);
}

#final-cta .primary-cta:hover {
  background: #E8961A;
}

footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-section:first-child h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-section:first-child p {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0;
}

.danori-blue {
  color: var(--color-blue);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-family: var(--font-body);
}
