/* ═══════════════════════════════════════════════════════════
   TaskFlow — Landing Page Styles
   ═══════════════════════════════════════════════════════════ */

:root {
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --accent: #2A9D8F;
  --accent-hover: #238578;
  --accent-light: #E8F5F2;
  --border: #E2E8F0;
  --radius-lg: 14px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease-out;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42,157,143,0.3);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.0625rem;
  gap: 8px;
  border-radius: 10px;
}

/* ─── HERO ─── */
.hero {
  pt-top: 72px; /* offset navbar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 32px 60px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── HERO VISUAL (Mockup) ─── */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 10;
}

.browser-mockup {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: translateY(0);
  animation: floatApp 6s ease-in-out infinite;
}

@keyframes floatApp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.browser-header {
  height: 38px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

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

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* Glow Blobs behind mockup */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.5;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #A78BFA; /* purple tint */
  top: -100px;
  left: -50px;
}

.blob-2 {
  width: 500px;
  height: 400px;
  background: var(--accent); /* teal tint */
  bottom: -50px;
  right: -100px;
}

/* ─── FEATURES ─── */
.features {
  padding: 40px 32px 100px;
  background: var(--bg);
  position: relative;
  z-index: 10;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-links .nav-link {
    display: none;
  }
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-date {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9375rem;
  font-family: var(--font-heading);
}

.footer-quote {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-style: italic;
  max-width: 600px;
}
