/* Noted - Professional SaaS Landing Page Styles */

:root {
  --near-black: #0a0a0a;
  --warm-white: #fafaf8;
  --off-white: #f4f3ef;
  --muted-gray: #888888;
  --amber-accent: #d4a843;
  --teal-accent: #0f6e56;
  --border-color: #e5e5e5;
  --dark-border: #1a1a1a;
  --glass-bg: rgba(250, 250, 248, 0.8);
  
  --ff-display: 'Syne', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background-color: var(--warm-white);
  color: var(--near-black);
  line-height: 1.6;
  font-weight: 300; /* Editorial thin look */
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

/* --- Navigation --- */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent;
}

.fixed-nav.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--near-black);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  border-radius: 8px;
  font-size: 1.2rem;
}

.brand-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Buttons --- */
.btn-pill-black {
  background: var(--near-black);
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-pill-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-pill-black.lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-pill-white {
  background: white;
  color: var(--near-black);
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.btn-ghost {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--near-black);
  opacity: 0.8;
  padding: 10px 15px;
  transition: opacity 0.3s ease;
}

.btn-ghost:hover {
  opacity: 1;
}

.btn-ghost.lg {
  font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 110, 86, 0.05); /* Teal tint */
  border: 1px solid rgba(15, 110, 86, 0.1);
  color: var(--teal-accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 110, 86, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(15, 110, 86, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 110, 86, 0); }
}

.hero-headline {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  margin-bottom: 24px;
}

.hero-headline .muted-gray {
  color: #ccc;
}

.hero-subtext {
  font-size: 1.35rem;
  color: var(--muted-gray);
  max-width: 650px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--muted-gray);
  opacity: 0.6;
}

/* --- Animations --- */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
}

.animate-up.active {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Screenshots Section --- */
.screenshots {
  padding: 100px 0;
  overflow: visible;
}

.screenshots-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.browser-frame {
  background: white;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  width: 50%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.browser-frame.right-frame {
  transform: translateY(60px);
}

.browser-frame.hover-lift:hover {
  transform: translateY(-4px);
}

.browser-frame.right-frame.hover-lift:hover {
  transform: translateY(56px);
}

.caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted-gray);
  text-align: center;
  font-weight: 500;
}

/* --- Features Section --- */
.features {
  padding: 140px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--near-black);
}

.eyebrow.amber { color: var(--amber-accent); }

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
}

.feature-card {
  background: white;
  padding: 60px 40px;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--off-white);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted-gray);
  font-weight: 400;
}

/* --- Who It's For (Dark) --- */
.dark-bg {
  background-color: var(--near-black);
  color: white;
}

.who-it-is-for {
  padding: 140px 0;
}

.white { color: white; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.who-card {
  background: #0a0a0a;
  border: 1px solid var(--dark-border);
  padding: 60px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.who-card:hover {
  border-color: #333;
  background: #111;
}

.who-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
}

.who-icon {
  font-size: 2.5rem;
  margin-bottom: 32px;
}

.who-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.who-card p {
  color: #888;
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pills span {
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ccc;
}

/* --- How It Works --- */
.off-white-bg {
  background-color: var(--off-white);
}

.how-it-works {
  padding: 140px 0;
}

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

.how-step {
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 800;
  color: #ddd;
  line-height: 1;
  margin-bottom: 24px;
}

.how-step h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.how-step p {
  color: var(--muted-gray);
  font-size: 1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.amber-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, rgba(212, 168, 67, 0) 70%);
  pointer-events: none;
}

.white.lg { font-size: 4rem; margin-bottom: 32px; }

.cta-subtext {
  font-size: 1.4rem;
  color: #888;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  padding: 100px 0 40px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

.brand-col .footer-desc {
  margin-top: 24px;
  color: #666;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: white;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #666;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--dark-border);
  color: #444;
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-headline { font-size: 4rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-headline { font-size: 3rem; }
  .screenshots-grid { flex-direction: column; align-items: center; }
  .browser-frame { width: 100%; }
  .browser-frame.right-frame { transform: none !important; }
  .who-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .white.lg { font-size: 2.5rem; }
  .container { padding: 0 24px; }
}

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