/* NoteFlow – Smart Notes – Landing Site */

:root {
  --bg: #0f1117;
  --bg-card: #1a1d27;
  --bg-elevated: #222633;
  --text: #f0f2f8;
  --text-muted: #9aa3b8;
  --accent: #6c8cff;
  --accent-soft: rgba(108, 140, 255, 0.15);
  --accent-glow: rgba(108, 140, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --success: #4ade80;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #9ab0ff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b6cf6);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  background: #12141c;
  border-radius: 26px;
  overflow: hidden;
  min-height: 480px;
}

.mock-header {
  padding: 1rem 1rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.mock-search {
  width: 28px;
  height: 28px;
  background: var(--bg-elevated);
  border-radius: 8px;
}

.mock-notes {
  padding: 0.5rem 0.75rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.mock-note {
  border-radius: 12px;
  padding: 0.65rem;
  font-size: 0.65rem;
  line-height: 1.35;
  min-height: 72px;
}

.mock-note.wide { grid-column: span 2; }
.mock-note.yellow { background: #fef3c7; color: #78350f; }
.mock-note.blue { background: #dbeafe; color: #1e3a5f; }
.mock-note.green { background: #d1fae5; color: #064e3b; }
.mock-note.purple { background: #ede9fe; color: #4c1d95; }
.mock-note.pink { background: #fce7f3; color: #831843; }
.mock-note-title { font-weight: 700; margin-bottom: 0.2rem; }

section { padding: 4rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(108, 140, 255, 0.3);
  transform: translateY(-3px);
}

.feature-icon { font-size: 1.6rem; margin-bottom: 0.85rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }
.feature-card ul { list-style: none; margin-top: 0.75rem; }
.feature-card li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.25rem 0 0.25rem 1.1rem;
  position: relative;
}
.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 0.75rem;
}

.highlight-strip {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
  padding: 3rem 0;
}

.highlight-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.highlight-item .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.highlight-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.highlight-item p { color: var(--text-muted); font-size: 0.85rem; }

.cta-section { text-align: center; padding: 5rem 0; }

.cta-box {
  background: linear-gradient(135deg, rgba(108, 140, 255, 0.12), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(108, 140, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
}

.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.cta-box p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 500px; margin-inline: auto; }

.legal-page { padding: 3rem 0 5rem; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--text-muted); }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.contact-box a { font-size: 1.1rem; font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
  }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .phone-mockup { order: -1; }
  .phone-frame { width: 240px; }
  .phone-screen { min-height: 400px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
