/* Kori — heykori.app */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0D9488;
  --primary-light: #2DD4BF;
  --primary-dark: #0A7B71;
  --primary-surface: #E6F7F5;

  --scaffold: #FEFCF9;
  --card: #FFFFFF;
  --card-warm: #FFF9F2;
  --surface: #F3EDE5;

  --text: #1F1B17;
  --text-secondary: #5E5850;
  --text-muted: #9A928A;
  --border: #EDE8E3;

  --coral: #FF6B6B;
  --purple: #8B5CF6;
  --amber: #FBBF24;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--scaffold);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 252, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.nav-brand span {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-surface);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-cta a img {
  height: 48px;
  transition: transform 0.2s;
}
.hero-cta a:hover img { transform: scale(1.05); }
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-visual img {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(13, 148, 136, 0.15), 0 8px 16px rgba(0, 0, 0, 0.06);
}
.hero-visual .phone-frame {
  background: #1E1A17;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.18);
}
.hero-visual .phone-frame img {
  border-radius: 28px;
  box-shadow: none;
}

/* --- Section --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--card-warm); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-icon.teal { background: var(--primary-surface); }
.feature-icon.coral { background: #FFE5E5; }
.feature-icon.purple { background: #EDE9FE; }
.feature-icon.amber { background: #FEF3C7; }
.feature-icon.green { background: #D1FAE5; }
.feature-icon.indigo { background: #E0E7FF; }
.feature-icon.pink { background: #FCE7F3; }
.feature-icon.cyan { background: #CFFAFE; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Screenshots --- */
.screenshots {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots::-webkit-scrollbar { display: none; }
.screenshots img {
  flex-shrink: 0;
  width: 240px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12);
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-annual {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.price-features li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.price-founding {
  background: var(--primary-surface);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover { box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-surface); }

/* --- Comparison Section --- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.comparison-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.comparison-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.comparison-item strong {
  color: var(--text);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .hero-cta { justify-content: center; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.footer-brand span {
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-company {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Legal Pages --- */
.legal-page { padding: 3rem 0 5rem; }
.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.legal-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-surface);
}
.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.legal-page p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.legal-page ul, .legal-page ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}
.legal-page li { margin-bottom: 0.4rem; }
.legal-page strong { color: var(--text); }
.legal-page a {
  color: var(--primary);
  text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.legal-page th {
  background: var(--primary);
  color: white;
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-weight: 600;
}
.legal-page th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.legal-page th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.legal-page td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.legal-page tr:nth-child(even) { background: var(--card-warm); }
.legal-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* --- Support Page --- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.support-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item { margin-bottom: 1.25rem; }
.faq-item summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item summary::before {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  width: 20px;
}
.faq-item[open] summary::before { content: "\2212"; }
.faq-item p {
  padding-left: 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.75rem 0;
}
.contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-item a:hover { text-decoration: underline; }
.deletion-box {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}
.deletion-box h3 {
  color: #92400E;
  margin-bottom: 0.5rem;
}
.deletion-box p {
  color: #78350F;
  font-size: 0.95rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--scaffold);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links.active li { padding: 0.5rem 0; }
  .nav-toggle { display: block; }

  .hero { padding: 3rem 0 2rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; text-align: center; }
  .hero h1 { font-size: 2.25rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual img { max-width: 260px; }

  .section-header h2 { font-size: 1.75rem; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .price-card.popular { transform: none; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 1.5rem; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner h2 { font-size: 1.5rem; }
}
