/* ===========================
   Clozyx — Global Styles
   =========================== */

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

:root {
  /* Catppuccin Latte */
  --color-bg: #eff1f5;
  --color-bg-card: #e6e9ef;
  --color-bg-card-hover: #ccd0da;
  --color-border: #bcc0cc;
  --color-accent: #1e66f5;
  --color-accent-light: #7287fd;
  --color-accent-glow: rgba(30, 102, 245, 0.15);
  --color-text: #4c4f69;
  --color-text-muted: #6c6f85;
  --color-heading: #4c4f69;
  --color-white: #ffffff;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 16px rgba(76, 79, 105, 0.12);
  --transition: 0.2s ease;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-heading);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  line-height: 1.25;
}

p {
  margin-bottom: 1em;
}

/* ===========================
   Layout Utilities
   =========================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--color-accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-light);
  border: 1.5px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-nav {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.btn-nav:hover {
  background: var(--color-accent-light);
  color: var(--color-white) !important;
}

/* ===========================
   Header / Navigation
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 241, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-heading) !important;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 26px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}

.nav a:hover {
  color: var(--color-heading);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 102, 245, 0.07), transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 102, 245, 0.06);
  border: 1px solid rgba(30, 102, 245, 0.15);
  color: var(--color-accent-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Features Grid (Home)
   =========================== */

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(30, 102, 245, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 102, 245, 0.06);
  border: 1px solid rgba(30, 102, 245, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===========================
   CTA Banner
   =========================== */

.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 102, 245, 0.06) 0%, rgba(30, 102, 245, 0.02) 100%);
  border: 1px solid rgba(30, 102, 245, 0.15);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Features Page
   =========================== */

.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 2rem 0 5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-detail h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-detail p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.feature-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.feature-detail ul li::before {
  content: '✓';
  color: var(--color-accent-light);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-visual {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  min-height: 360px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

/* ===========================
   Blog
   =========================== */

.blog-listing {
  padding: 2rem 0 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(30, 102, 245, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: inherit;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.tag {
  background: rgba(30, 102, 245, 0.06);
  color: var(--color-accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.blog-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 0;
}

.blog-card-link {
  font-size: 0.9rem;
  color: var(--color-accent-light);
  font-weight: 600;
}

/* Blog Post */
.post {
  padding: 3rem 0 5rem;
}

.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.post-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.post-content {
  max-width: 700px;
}

.post-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.post-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--color-text-muted);
}

.post-content li {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.post-content code {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--color-accent-light);
}

.post-content pre {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.post-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.post-content figure {
  margin: 2.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-content figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-content .lightbox-trigger {
  cursor: zoom-in;
  display: block;
}

/* CSS-only lightbox via :target */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
  text-decoration: none;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.post-content figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* ===========================
   About Page
   =========================== */

.about-section {
  padding: 3rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.about-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.values-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: fit-content;
}

.values-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.value-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.value-icon {
  color: var(--color-accent-light);
  flex-shrink: 0;
  display: flex;
  margin-top: 2px;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ===========================
   Contact Page
   =========================== */

.contact-section {
  padding: 3rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-feedback-success,
.form-feedback-error {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback-success {
  background: rgba(64, 160, 43, 0.12);
  color: #40a02b;
  border: 1px solid rgba(64, 160, 43, 0.25);
}

.form-feedback-error {
  background: rgba(210, 15, 57, 0.08);
  color: #d20f39;
  border: 1px solid rgba(210, 15, 57, 0.18);
}

.signup-confirmation {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid rgba(64, 160, 43, 0.25);
  border-radius: 10px;
  text-align: center;
}

.signup-confirmation-icon {
  font-size: 2.5rem;
}

.signup-confirmation h3 {
  font-size: 1.4rem;
  color: var(--color-text);
  margin: 0;
}

.signup-confirmation p {
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.contact-item-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  display: flex;
}

.contact-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===========================
   Divider
   =========================== */

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand .logo-img {
  display: block;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-text);
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  width: 100%;
}

/* ===========================
   Product Mock UI  (Catppuccin Latte — matches real app)
   =========================== */

/*
 * Surface hierarchy (Catppuccin Latte):
 *   base    #eff1f5  main pane bg
 *   mantle  #e6e9ef  cards / paper / titlebar
 *   crust   #dce0e8  sidebar bg
 *   surface0 #ccd0da  count badges / misc surfaces
 *   surface1 #bcc0cc  input bg
 *   surface2 #acb0be  borders
 *   subtext0 #6c6f85  dimmed labels
 *   text     #4c4f69  body copy
 *   primary  #0067E2  brand blue
 *   mauve    #8839ef  AI elements only
 */

.mock-ui {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-radius: var(--radius);
  border: 1px solid #ccd0da;
  box-shadow: 0 4px 24px rgba(76, 79, 105, 0.13), 0 1px 4px rgba(76, 79, 105, 0.08);
}

.mock-bar {
  background: #e6e9ef;
  border-bottom: 1px solid #ccd0da;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mock-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bcc0cc;
}

.mock-bar-title {
  flex: 1;
  text-align: center;
  color: #8c8fa1;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mock-pill {
  font-size: 0.58rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
}

.mock-pill.blue   { background: rgba(0, 103, 226, 0.1);   color: #0067E2; }
.mock-pill.green  { background: rgba(64, 160, 43, 0.1);   color: #40a02b; }
.mock-pill.orange { background: rgba(254, 100, 11, 0.1);  color: #fe640b; }
.mock-pill.purple { background: rgba(136, 57, 239, 0.1);  color: #8839ef; }
.mock-pill.gray   { background: rgba(108, 112, 134, 0.12); color: #6c6f85; }
.mock-pill.red    { background: rgba(210, 15, 57, 0.1);   color: #d20f39; }

.mock-chrome {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 310px;
}

.mock-nav {
  width: 110px;
  background: #dce0e8;
  border-right: 1px solid #ccd0da;
  padding: 0.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.mock-nav-item {
  padding: 0.3rem 0.5rem;
  color: #8c8fa1;
  font-size: 0.58rem;
  border-radius: 3px;
  margin: 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mock-nav-item.active {
  background: rgba(0, 103, 226, 0.1);
  color: #0067E2;
  box-shadow: inset 2px 0 0 #0067E2;
  margin-left: 0;
  padding-left: 0.6rem;
  border-radius: 0 3px 3px 0;
}

.mock-pane {
  flex: 1;
  padding: 0.6rem 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.65rem;
  background: #eff1f5;
}

.mock-pane-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4c4f69;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #ccd0da;
  margin-bottom: 0.1rem;
}

.mock-search {
  background: #e6e9ef;
  border: 1px solid #ccd0da;
  border-radius: 5px;
  padding: 0.28rem 0.5rem;
  color: #8c8fa1;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
}

.mock-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 103, 226, 0.12);
  color: #0067E2;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-row-label {
  color: #4c4f69;
  font-size: 0.62rem;
  flex: 1;
}

.mock-notice {
  margin-top: auto;
  background: rgba(0, 103, 226, 0.07);
  border: 1px solid rgba(0, 103, 226, 0.2);
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
  color: #0067E2;
  font-size: 0.58rem;
  font-weight: 500;
}

/* AI pane */
.mock-ai-chip {
  background: rgba(136, 57, 239, 0.07);
  border: 1px solid rgba(136, 57, 239, 0.2);
  border-radius: 5px;
  padding: 0.25rem 0.5rem;
  color: #8839ef;
  font-size: 0.58rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mock-score-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.3rem;
}

.mock-score-label {
  flex: 1;
  color: #4c4f69;
  font-size: 0.62rem;
}

.mock-score-track {
  width: 44px;
  height: 4px;
  background: #ccd0da;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.mock-score-fill {
  height: 100%;
  border-radius: 2px;
}

.mock-score-num {
  font-size: 0.6rem;
  font-weight: 700;
  width: 20px;
  text-align: right;
}

.mock-draft {
  margin-top: auto;
  background: #e6e9ef;
  border: 1px solid #ccd0da;
  border-radius: 5px;
  padding: 0.35rem 0.5rem;
}

.mock-draft-header {
  font-size: 0.58rem;
  color: #8839ef;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.mock-draft-text {
  color: #5c5f77;
  font-size: 0.58rem;
  line-height: 1.4;
}

/* Pipeline */
.mock-pipeline {
  display: flex;
  gap: 0.45rem;
  padding: 0.6rem;
  flex: 1;
  overflow: hidden;
  background: #eff1f5;
}

.mock-pipeline-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.mock-col-header {
  font-size: 0.6rem;
  font-weight: 700;
  color: #6c6f85;
  padding: 0.15rem 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.mock-col-count {
  background: #dce0e8;
  color: #8c8fa1;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 0.55rem;
}

.mock-deal {
  background: #ffffff;
  border: 1px solid #ccd0da;
  border-radius: 5px;
  padding: 0.3rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.mock-deal-name {
  color: #4c4f69;
  font-size: 0.6rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-deal-value {
  color: #8839ef;
  font-size: 0.6rem;
  font-weight: 700;
}

/* Activity feed */
.mock-feed-event {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  padding: 0.15rem 0;
}

.mock-feed-text {
  font-size: 0.6rem;
  color: #6c6f85;
  line-height: 1.4;
}

.mock-feed-text strong {
  color: #4c4f69;
}

.mock-feed-time {
  font-size: 0.55rem;
  color: #acb0be;
  margin-left: 0.25rem;
}

.mock-sync-status {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  color: #40a02b;
  font-weight: 500;
}

.mock-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #40a02b;
  flex-shrink: 0;
}

/* Integrations */
.mock-int-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.3rem;
}

.mock-int-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-int-icon.gmail   { background: rgba(210, 15, 57, 0.1);   color: #d20f39; }
.mock-int-icon.gcal    { background: rgba(0, 103, 226, 0.1);   color: #0067E2; }
.mock-int-icon.api     { background: rgba(136, 57, 239, 0.1);  color: #8839ef; font-family: var(--font-mono); }
.mock-int-icon.webhook { background: rgba(254, 100, 11, 0.1);  color: #fe640b; }

.mock-int-name {
  flex: 1;
  color: #4c4f69;
  font-size: 0.6rem;
}

.mock-export-row {
  margin-top: auto;
  background: rgba(136, 57, 239, 0.07);
  border: 1px solid rgba(136, 57, 239, 0.18);
  border-radius: 5px;
  padding: 0.3rem 0.5rem;
  color: #8839ef;
  font-size: 0.58rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sidebar structure */
.mock-nav-logo {
  padding: 0.45rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid #ccd0da;
  flex-shrink: 0;
}

.mock-logo-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(30, 102, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-logo-name {
  font-size: 0.62rem;
  font-weight: 700;
  color: #4c4f69;
  letter-spacing: -0.01em;
}

.mock-nav-searchbar {
  margin: 0.3rem 0.35rem;
  padding: 0.22rem 0.4rem;
  background: #eff1f5;
  border: 1px solid #ccd0da;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #8c8fa1;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.mock-kbd {
  margin-left: auto;
  background: #dce0e8;
  border: 1px solid #ccd0da;
  border-radius: 2px;
  padding: 0 3px;
  font-size: 0.5rem;
  color: #8c8fa1;
  flex-shrink: 0;
}

.mock-nav-section {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c8fa1;
  padding: 0.3rem 0.6rem 0.1rem;
  flex-shrink: 0;
}

.mock-nav-item svg {
  flex-shrink: 0;
}

.mock-nav-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Dashboard stat cards */
.mock-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.mock-stat-card {
  background: #ffffff;
  border: 1px solid #ccd0da;
  border-radius: 5px;
  padding: 0.35rem 0.4rem;
}

.mock-stat-val {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4c4f69;
  line-height: 1;
  margin-bottom: 0.12rem;
}

.mock-stat-key {
  font-size: 0.5rem;
  color: #8c8fa1;
  line-height: 1;
}

.mock-pane-subtitle {
  font-size: 0.58rem;
  font-weight: 600;
  color: #6c6f85;
  margin-top: 0.2rem;
  margin-bottom: 0.05rem;
}

.mock-bar-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.08rem 0;
}

.mock-bar-label {
  font-size: 0.52rem;
  color: #8c8fa1;
  width: 56px;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-bar-track {
  flex: 1;
  height: 5px;
  background: #dce0e8;
  border-radius: 3px;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  background: #0067E2;
  border-radius: 3px;
}

.mock-bar-num {
  font-size: 0.5rem;
  color: #6c6f85;
  width: 12px;
  text-align: right;
  flex-shrink: 0;
}

/* AI model cards */
.mock-model-card {
  background: #ffffff;
  border: 1px solid #ccd0da;
  border-radius: 5px;
  padding: 0.35rem 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mock-model-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(136, 57, 239, 0.1);
  color: #8839ef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-server-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(64, 160, 43, 0.1);
  color: #40a02b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-model-info {
  flex: 1;
  min-width: 0;
}

.mock-model-name {
  font-size: 0.6rem;
  font-weight: 600;
  color: #4c4f69;
  margin-bottom: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-model-badges {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .nav {
    gap: 1.25rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    width: auto;
  }
}

@media (max-width: 480px) {
  .nav a:not(.btn-nav) {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   Mobile Navigation
   =========================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-card);
  padding: 1rem 0;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--color-text-muted);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav a:hover {
  background: var(--color-bg-card-hover);
  color: var(--color-heading);
}

.mobile-nav .btn-nav {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--color-white) !important;
}

.mobile-nav .btn-nav:hover {
  background: var(--color-accent-light);
  color: var(--color-white) !important;
}

@media (max-width: 480px) {
  .nav-toggle {
    display: flex;
  }

  .nav .btn-nav {
    display: none;
  }
}

/* ============================================================
   Legal pages (Privacy Policy, Terms, etc.)
   ============================================================ */

.legal-section {
  padding: 3rem 0 5rem;
}

.legal-content {
  max-width: 740px;
}

.legal-content > p:first-child {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  font-size: 1.0rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-accent-light);
}
