/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #FF6A2C;          /* warm orange */
  --primary-dark: #E0531A;
  --accent: #D32F2F;           /* deep red */
  --accent-soft: #FF5252;
  --text: #1A1A1A;
  --text-light: #5C5C66;
  --bg: #ffffff;
  --bg-light: #FFF8F2;         /* warm off-white */
  --bg-soft: #FFF1E6;
  --bg-dark: #1F1A17;
  --border: #ECECEC;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(20,20,20,0.06);
  --shadow-lg: 0 14px 40px rgba(255,106,44,0.18);
  --max-width: 1180px;
  --transition: 0.25s ease;
  --gradient: linear-gradient(135deg, #FF6A2C 0%, #D32F2F 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar .logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.navbar .logo .logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255,106,44,0.35);
}

.navbar .logo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-light); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(1100px 500px at 50% -10%, #FFE3D2 0%, #FFF8F2 55%, #ffffff 100%);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero .badge {
  display: inline-block;
  padding: 6px 14px;
  background: #FFF1E6;
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #FFD9BD;
}

.hero h1 { font-size: 3.1rem; font-weight: 800; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text-light); max-width: 640px; margin: 0 auto 36px; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(255,106,44,0.35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,106,44,0.45); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid #FFC9A8; }
.btn-outline:hover { background: var(--bg-soft); color: var(--primary-dark); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Mic illustration ===== */
.mic-illustration {
  margin: 50px auto 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 5rem;
  box-shadow: 0 0 0 14px rgba(255,106,44,0.12), 0 0 0 28px rgba(255,106,44,0.06), 0 24px 50px rgba(211,47,47,0.35);
  position: relative;
}

.mic-illustration::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 2px dashed rgba(255,106,44,0.25);
  animation: spin 30s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Sections ===== */
.features { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-title p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all var(--transition);
}

.feature-card:hover { border-color: #FFC9A8; box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.feature-card .icon {
  width: 52px; height: 52px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== How It Works ===== */
.how-it-works { padding: 90px 0; background: var(--bg-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.step { text-align: center; }

.step .step-number {
  width: 60px; height: 60px;
  background: var(--gradient); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(255,106,44,0.3);
}

.step h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Modes (Note Taker / BabyCode) ===== */
.modes { padding: 90px 0; }

.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.mode-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border-left: 4px solid var(--primary);
}

.mode-card.babycode { border-left-color: var(--accent); }
.mode-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); font-weight: 700; }
.mode-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 12px; }
.mode-card ul { margin-left: 20px; color: var(--text-light); font-size: 0.95rem; }
.mode-card li { margin-bottom: 6px; }

/* ===== Blog ===== */
.blog-section { padding: 90px 0; background: var(--bg-light); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.blog-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #FFC9A8; }

.blog-card .blog-thumb {
  height: 180px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: #fff;
}

.blog-card .blog-body { padding: 24px; }
.blog-card .blog-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.blog-card .read-more { font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }

/* ===== CTA ===== */
.cta-section {
  padding: 90px 0;
  background: var(--gradient);
  text-align: center;
  color: #fff;
}

.cta-section h2 { font-size: 2.2rem; margin-bottom: 14px; font-weight: 800; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 30px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-section .btn { background: #fff; color: var(--primary-dark); }
.cta-section .btn:hover { background: #FFF1E6; transform: translateY(-2px); }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: #C9C0B7; padding: 60px 0 30px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; font-weight: 700; }
.footer-col p { font-size: 0.9rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #B8AFA6; font-size: 0.9rem; }
.footer-col ul a:hover { color: #fff; }

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}
.footer-logo .logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #877E76;
}

/* ===== Page Header ===== */
.page-header {
  background: radial-gradient(900px 360px at 50% -20%, #FFE3D2 0%, #FFF8F2 60%, #ffffff 100%);
  padding: 70px 0 50px;
  text-align: center;
}

.page-header h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.page-header p { color: var(--text-light); font-size: 1.05rem; }

/* ===== Content Pages ===== */
.page-content { padding: 60px 0; }
.page-content .content-wrapper { max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 1.5rem; margin: 36px 0 12px; color: var(--text); font-weight: 700; }
.page-content h3 { font-size: 1.2rem; margin: 24px 0 10px; font-weight: 700; }
.page-content p { margin-bottom: 16px; color: var(--text-light); }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: var(--text-light); }
.page-content li { margin-bottom: 8px; }
.page-content strong { color: var(--text); }

/* ===== Blog Single ===== */
.blog-post h2 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.3rem; font-weight: 700; }
.blog-post h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: 700; }
.blog-post p { margin-bottom: 1rem; }
.blog-post ul, .blog-post ol { margin: 0.5rem 0 1rem 1.5rem; }
.blog-post li { margin-bottom: 0.4rem; color: var(--text-light); }
.blog-post code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.9rem; color: var(--primary-dark); }

/* ===== Contact Form ===== */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.95rem; color: var(--text); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,106,44,0.12); }
.form-group textarea { height: 150px; resize: vertical; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.faq-item p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Data Safety Table ===== */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--bg-soft); font-weight: 700; font-size: 0.9rem; color: var(--text); }
.data-table td { font-size: 0.9rem; color: var(--text-light); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1rem; }
  .features-grid, .blog-grid, .mode-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.7rem; }
  .page-header h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .mic-illustration { width: 150px; height: 150px; font-size: 3.5rem; }
  .cta-section h2 { font-size: 1.7rem; }
}
