/* TaskPouch Design System - Modern, Ultra-Clean SaaS (Indigo/Violet/Slate) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --tp-primary: #4f46e5;
  --tp-primary-hover: #4338ca;
  --tp-primary-light: #eef2ff;
  --tp-primary-border: #c7d2fe;
  --tp-accent: #06b6d4;
  --tp-accent-green: #10b981;
  --tp-accent-amber: #f59e0b;
  --tp-text-main: #0f172a;
  --tp-text-muted: #475569;
  --tp-text-light: #94a3b8;
  --tp-bg: #f8fafc;
  --tp-surface: #ffffff;
  --tp-surface-alt: #f1f5f9;
  --tp-border: #e2e8f0;
  --tp-border-focus: #6366f1;
  --tp-radius-sm: 8px;
  --tp-radius: 14px;
  --tp-radius-lg: 20px;
  --tp-radius-full: 9999px;
  --tp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --tp-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  --tp-shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.09), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --tp-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tp-mono: 'JetBrains Mono', monospace;
  --tp-max-width: 1160px;
}

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

html {
  font-family: var(--tp-font);
  background-color: var(--tp-bg);
  color: var(--tp-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Universal Button & Form Reset */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--tp-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Site Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tp-text-main);
  letter-spacing: -0.025em;
}

.brand img {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.brand-text {
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  color: var(--tp-text-muted);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 8px 14px;
  border-radius: var(--tp-radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item a:hover, .nav-item a.active {
  color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.nav-badge {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--tp-radius-full);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  color: var(--tp-text-muted);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 8px 14px;
  border-radius: var(--tp-radius-sm);
  transition: all 0.2s ease;
  background: none;
  border: none;
  font-family: inherit;
}

.dropdown-trigger svg {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-trigger:hover, 
.nav-dropdown:hover .dropdown-trigger,
.nav-dropdown.is-open .dropdown-trigger {
  color: var(--tp-primary);
  background: var(--tp-primary-light);
}

.dropdown-trigger:hover svg,
.nav-dropdown:hover .dropdown-trigger svg,
.nav-dropdown:focus-within .dropdown-trigger svg,
.nav-dropdown.is-open .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  min-width: 300px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  padding: 10px 14px;
  border-radius: var(--tp-radius-sm);
  text-decoration: none;
  color: var(--tp-text-main);
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item strong {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--tp-text-main);
}

.dropdown-item span {
  font-size: 0.775rem;
  color: var(--tp-text-muted);
  line-height: 1.35;
}

.dropdown-item:hover {
  background: var(--tp-primary-light);
}

.dropdown-item:hover strong {
  color: var(--tp-primary);
}

/* ========================================================
   HERO SECTION
   ======================================================== */

.hero {
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-primary-light);
  border: 1px solid var(--tp-primary-border);
  color: var(--tp-primary);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--tp-radius-full);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.1);
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  color: var(--tp-text-main);
}

.hero-highlight {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--tp-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 14px 26px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-full);
  width: fit-content;
  margin: 0 auto;
  box-shadow: var(--tp-shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tp-text-muted);
}

.trust-item svg {
  color: var(--tp-accent-green);
}

/* ========================================================
   HUB & CARD GRIDS
   ======================================================== */

.hub-section {
  padding: 44px 0 64px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 52px;
}

.hub-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  padding: 38px 34px;
  box-shadow: var(--tp-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tp-shadow-lg);
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.hub-card.image-card::before {
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

.hub-card.calc-card::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.hub-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.hub-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}

.hub-icon.image-icon {
  background: var(--tp-primary-light);
  color: var(--tp-primary);
}

.hub-icon.calc-icon {
  background: #ecfdf5;
  color: var(--tp-accent-green);
}

.hub-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--tp-text-main);
}

.hub-desc {
  font-size: 0.95rem;
  color: var(--tp-text-muted);
}

.tool-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--tp-surface-alt);
  border: 1px solid transparent;
  border-radius: var(--tp-radius);
  text-decoration: none;
  color: var(--tp-text-main);
  transition: all 0.2s ease;
}

.tool-item:hover {
  background: var(--tp-surface);
  border-color: var(--tp-primary-border);
  box-shadow: var(--tp-shadow-sm);
  transform: translateX(4px);
}

.tool-item-info strong {
  display: block;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--tp-text-main);
}

.tool-item-info span {
  font-size: 0.825rem;
  color: var(--tp-text-muted);
}

.tool-arrow {
  color: var(--tp-primary);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.tool-item:hover .tool-arrow {
  transform: translateX(4px);
}

/* ========================================================
   TOOL WORKSPACE & CONTROLS (PRO SAAS UI)
   ======================================================== */

.tool-page-header {
  padding: 48px 0 28px;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--tp-text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--tp-primary);
  text-decoration: none;
  font-weight: 600;
}

.tool-title {
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.25;
  color: var(--tp-text-main);
}

.tool-subtitle {
  font-size: 1.075rem;
  color: var(--tp-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Presets Bar */
.presets-bar {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--tp-shadow-sm);
}

.presets-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.presets-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pill-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--tp-border);
  background: #f8fafc;
  color: #334155;
  padding: 8px 18px;
  border-radius: var(--tp-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.pill-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px -2px rgba(15, 23, 42, 0.06);
}

.pill-btn.active, .pill-btn.pill-active {
  background: var(--tp-primary-light);
  border-color: var(--tp-primary);
  color: var(--tp-primary-hover);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.18);
}

/* Tool Workspace Card */
.workspace-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 22px;
  padding: 40px;
  margin-bottom: 56px;
  box-shadow: var(--tp-shadow);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.preview-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.preview-container {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  transition: all 0.2s ease;
}

.preview-container:hover {
  border-color: var(--tp-primary);
  background: #f5f3ff;
}

/* Form Controls */
.control-group {
  display: flex;
  flex-direction: column;
}

.control-label {
  font-size: 0.925rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}

.control-input, .control-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--tp-text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-input:focus, .control-select:focus {
  outline: none;
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* File Input */
input[type="file"].control-input {
  height: 52px;
  padding: 8px 12px;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
}

input[type="file"].control-input::file-selector-button {
  background: var(--tp-primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}

input[type="file"].control-input::file-selector-button:hover {
  background: var(--tp-primary-hover);
}

/* Information Card */
.info-spec-card {
  background: #f8fafc;
  border: 1px solid var(--tp-border);
  border-left: 4px solid var(--tp-primary);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.7;
}

.info-spec-card strong {
  color: var(--tp-text-main);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--tp-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: var(--tp-primary-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

/* Result Bar */
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  margin-top: 20px;
}

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

.result-badge {
  background: var(--tp-accent-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--tp-radius-full);
  text-transform: uppercase;
}

.result-text {
  font-size: 0.925rem;
  color: #065f46;
  font-weight: 600;
}

/* ========================================================
   EDITORIAL GUIDES, STEP CARDS & COMPARISONS
   ======================================================== */

.guide-section {
  margin: 64px 0 48px;
  padding-top: 16px;
}

.guide-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--tp-text-main);
  letter-spacing: -0.025em;
  margin: 48px 0 20px;
  line-height: 1.3;
}

.guide-section h2:first-child {
  margin-top: 0;
}

.guide-section p {
  color: var(--tp-text-muted);
  font-size: 0.975rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px 0 44px;
}

.guide-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
}

.guide-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--tp-primary);
  background: var(--tp-primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.guide-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tp-text-main);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--tp-text-muted);
  margin: 0;
}

/* Feature Comparison Table */
.specs-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 18px;
  padding: 34px 28px;
  margin-bottom: 44px;
  box-shadow: var(--tp-shadow-sm);
}

.specs-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tp-border);
}

.specs-table th, .specs-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--tp-border);
  font-size: 0.925rem;
}

.specs-table th {
  background: var(--tp-surface-alt);
  font-weight: 700;
  color: var(--tp-text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.specs-table td strong {
  color: var(--tp-primary);
}

/* Checklist */
.guide-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-checklist li {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.guide-checklist.warning li {
  border-left: 4px solid var(--tp-accent-amber);
}

.guide-checklist li strong {
  color: var(--tp-text-main);
}

/* ========================================================
   FAQ ACCORDION
   ======================================================== */

.faq-section {
  margin: 64px 0 48px;
  padding-top: 24px;
  border-top: 1px solid var(--tp-border);
}

.faq-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
  color: var(--tp-text-main);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #c7d2fe;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--tp-text-main);
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
  color: var(--tp-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.935rem;
  color: var(--tp-text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ========================================================
   TASKPOUCH FOOTER
   ======================================================== */

.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 56px 0 36px;
  margin-top: 72px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  flex-direction: column;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 960px) {
  .hub-grid, .workspace-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .preview-panel {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .workspace-card {
    padding: 24px 18px;
    border-radius: 18px;
    margin-bottom: 40px;
  }
  .presets-bar {
    padding: 14px 16px;
  }
}
