/* =========================================================
   ZORIN DARK THEME — CLEAN FULL CSS
   ========================================================= */

/* ===== ROOT VARIABLES ===== */
:root {
  --bg: #05070D;
  --panel: #0E1624;
  --panel-secondary: #111C2E;
  --border: #243044;

  --blue: #2F80ED;
  --blue-hover: #1D6ED8;
  --cyan: #00D1FF;
  --green: #22C55E;
  --amber: #F59E0B;
  --red: #EF4444;
  --purple: #8B5CF6;

  --text: #F5F7FA;
  --text-muted: #9AA4B2;

  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.22s ease;

  --container: 1180px;
}

/* ===== HERO H1 GRADIENTS ===== */
--hero-gradient-motion: linear-gradient(135deg, #F8FAFC 0%, #2F80ED 45%, #00D1FF 100%);
--hero-gradient-build: linear-gradient(135deg, #F8FAFC 0%, #10B981 45%, #A3E635 100%);
--hero-gradient-logic: linear-gradient(135deg, #F8FAFC 0%, #8B5CF6 45%, #D946EF 100%);
--hero-gradient-analytics: linear-gradient(135deg, #F8FAFC 0%, #00D1FF 40%, #6366F1 100%);
--hero-gradient-assistant: linear-gradient(135deg, #F8FAFC 0%, #EC4899 42%, #7C3AED 100%);
--hero-gradient-cad: linear-gradient(135deg, #F8FAFC 0%, #F59E0B 42%, #FB7185 100%);
--hero-gradient-workstation: linear-gradient(135deg, #F8FAFC 0%, #38BDF8 42%, #2563EB 100%);

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg: #F5F7FA;
  --panel: #FFFFFF;
  --panel-secondary: #EEF2F7;
  --border: #CBD5E1;

  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --cyan: #0891B2;
  --green: #16A34A;
  --amber: #D97706;
  --red: #DC2626;
  --purple: #7C3AED;

  --text: #0F172A;
  --text-muted: #64748B;

  /* ===== EXTENDED BRAND COLORS ===== */
--mint: #6EE7B7;
--emerald: #10B981;
--lime: #A3E635;

--pink: #EC4899;
--rose: #FB7185;
--fuchsia: #D946EF;

--violet: #7C3AED;
--indigo: #6366F1;
--deep-purple: #4C1D95;

--ice: #E0F7FF;
--soft-white: #F8FAFC;
--steel: #94A3B8;

/* ===== HERO H1 GRADIENTS ===== */
--hero-gradient-motion: linear-gradient(135deg, #F8FAFC 0%, #2F80ED 45%, #00D1FF 100%);
--hero-gradient-build: linear-gradient(135deg, #F8FAFC 0%, #10B981 45%, #A3E635 100%);
--hero-gradient-logic: linear-gradient(135deg, #F8FAFC 0%, #8B5CF6 45%, #D946EF 100%);
--hero-gradient-analytics: linear-gradient(135deg, #F8FAFC 0%, #00D1FF 40%, #6366F1 100%);
--hero-gradient-assistant: linear-gradient(135deg, #F8FAFC 0%, #EC4899 42%, #7C3AED 100%);
--hero-gradient-cad: linear-gradient(135deg, #F8FAFC 0%, #F59E0B 42%, #FB7185 100%);
--hero-gradient-workstation: linear-gradient(135deg, #F8FAFC 0%, #38BDF8 42%, #2563EB 100%);
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* ===== CONTAINER ===== */
.container {
  width: min(100% - 4rem, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 22, 36, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

/* ===== LOGO ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}

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

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.dropdown-arrow {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.nav-item:hover > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

/* ---------- Desktop Dropdowns ---------- */

.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 250px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;

  background: rgba(14, 22, 36, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  z-index: 3000;
}

.nav-item:hover > .dropdown-menu {
  display: flex;
}

.platform-dropdown,
.resources-dropdown {
  flex-direction: row;
  gap: 2.5rem;
  min-width: 540px;
  padding: 1.4rem 1.6rem;
}

.dropdown-column,
.resources-column {
  min-width: 210px;
}

.dropdown-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.6rem 0;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.dropdown-link:hover {
  color: var(--cyan);
}

.dropdown-link-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0;
}

.dropdown-link-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.dropdown-link.active,
.dropdown-link.active .dropdown-link-title,
.dropdown-link.active .dropdown-link-sub {
  color: var(--cyan);
}

/* ---------- Desktop Nav Buttons ---------- */

.nav-actions .btn {
  height: 42px;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 16px;
  white-space: nowrap;
  font-weight: 700;
}

.mobile-toggle,
.mobile-menu-toggle {
  display: none;
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 768px) {
  :root {
    --mobile-nav-width: min(48vw, 320px);
    --mobile-sub-width: calc(100vw - var(--mobile-nav-width));
  }

  body.nav-open {
    overflow: hidden;
  }

  .header {
    z-index: 8000;
  }

  .nav-container {
    height: 64px;
    gap: 16px;
  }

  .logo {
    flex: 0 0 auto;
  }

  /* ---------- Hamburger ---------- */

  .mobile-toggle {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 9002;

    width: 44px;
    height: 44px;
    padding: 0;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    background: transparent;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    outline: none;
    cursor: pointer;
  }

  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease,
      background 0.2s ease;
  }

  .mobile-toggle.active {
    background: rgba(0, 209, 255, 0.10);
    border: 1px solid rgba(0, 209, 255, 0.20);
  }

  .mobile-toggle.active span {
    background: var(--cyan);
  }

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

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

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

  /* ---------- Right Mobile Menu ---------- */

  .nav {
    position: fixed;
    top: 64px;
    right: calc(-1 * var(--mobile-nav-width));
    left: auto;

    width: var(--mobile-nav-width);
    height: calc(100vh - 64px);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

    padding: 22px;
    margin: 0;
    gap: 18px;

    background:
      linear-gradient(180deg, rgba(14, 22, 36, 0.99), rgba(5, 7, 13, 0.99));

    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -26px 0 80px rgba(0, 0, 0, 0.72);

    overflow-y: auto;
    overflow-x: visible;

    z-index: 9000;
    transition: right 0.28s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-item {
    width: 100%;
    position: static;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--text);
    font-weight: 600;
  }

  .nav-link:hover,
  .nav-link.active,
  .nav-item.mobile-submenu-open > .nav-link {
    color: var(--cyan);
    background: rgba(0, 209, 255, 0.12);
    border-color: rgba(0, 209, 255, 0.30);
  }

  .nav-link.active {
    box-shadow:
      inset 3px 0 0 var(--cyan),
      0 0 18px rgba(0, 209, 255, 0.10);
  }

  .nav-item.mobile-submenu-open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-item:hover > .dropdown-menu {
    display: none;
  }

  /* ---------- Left Mobile Submenu ---------- */

  .dropdown-menu,
  .platform-dropdown,
  .resources-dropdown {
    position: fixed;
    top: 64px;
    right: var(--mobile-nav-width);
    left: auto;

    width: var(--mobile-sub-width);
    max-width: none;
    min-width: 0;
    height: calc(100vh - 64px);

    display: none;
    flex-direction: column;
    gap: 18px !important;
      padding: 24px clamp(18px, 5vw, 34px) 34px !important;
    margin: 0;

    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);

    background:
      linear-gradient(180deg, rgba(11, 18, 32, 0.99), rgba(4, 7, 14, 0.99));

    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.62);

    overflow-y: auto;
    overflow-x: hidden;
    z-index: 8999;
  }

  .nav-item.mobile-submenu-open > .dropdown-menu {
    display: flex;
    gap: 20px !important;
  }

  .platform-dropdown,
  .resources-dropdown {
    flex-direction: column;
  }

  .dropdown-column,
  .resources-column {
    width: 100%;
    min-width: 0;
  }

  .dropdown-heading {
    color: var(--amber);
    margin: 4px 0 10px;
    white-space: normal;
    font-size: 0.72rem;
  }

  .dropdown-link {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    white-space: normal;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;

    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);

    color: var(--text);
    text-decoration: none;
  }

  .dropdown-link-title {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .dropdown-link-sub {
    color: var(--text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
  }

  .dropdown-link:hover,
  .dropdown-link.active {
    background: rgba(0, 209, 255, 0.12);
    border-color: rgba(0, 209, 255, 0.32);
  }

  .dropdown-link:hover .dropdown-link-title,
  .dropdown-link.active .dropdown-link-title,
  .dropdown-link.active .dropdown-link-sub {
    color: var(--cyan);
  }

  .dropdown-link.active {
    box-shadow:
      inset 3px 0 0 var(--cyan),
      0 0 18px rgba(0, 209, 255, 0.10);
  }

  .nav-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .nav-actions .btn {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
  }
}

/* ---------- Very Small Screens ---------- */

@media (max-width: 520px) {
  :root {
    --mobile-nav-width: min(86vw, 360px);
    --mobile-sub-width: min(86vw, 360px);
  }

  .dropdown-menu,
  .platform-dropdown,
  .resources-dropdown {
    right: 0;
    width: var(--mobile-sub-width);
    z-index: 9003;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);

  border: none;
  cursor: pointer;
  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    filter var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--panel-secondary);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-primary {
  color: #FFFFFF;
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-large {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 0 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 7, 13, 0.8) 0%,
      rgba(5, 7, 13, 0.92) 100%
    );
}

.hero-fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 2rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.5rem;
  padding: 0.42rem 1.15rem;

  color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;

  font-size: 0.83rem;
  font-weight: 650;

  box-shadow: 0 0 28px rgba(0, 209, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero h1 {
  margin-bottom: 1.1rem;

  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;

  color: var(--text);
  background: var(
    --page-hero-gradient,
    linear-gradient(135deg, #F8FAFC 0%, #2F80ED 45%, #00D1FF 100%)
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   PRODUCT PAGE HERO H1 GRADIENT THEMES
   Added one class to <body> per page
   ========================================================= */

   .page-motion-ai {
    --page-hero-gradient: var(--hero-gradient-motion);
  }
  
  .page-buildspace {
    --page-hero-gradient: var(--hero-gradient-build);
  }
  
  .page-zorin-logic {
    --page-hero-gradient: var(--hero-gradient-logic);
  }
  
  .page-z-analytics {
    --page-hero-gradient: var(--hero-gradient-analytics);
  }
  
  .page-zorin-assistant {
    --page-hero-gradient: var(--hero-gradient-assistant);
  }
  
  .page-zorin3d {
    --page-hero-gradient: var(--hero-gradient-cad);
  }
  
  .page-workstation {
    --page-hero-gradient: var(--hero-gradient-workstation);
  }

.hero-subtitle {
  margin-bottom: 1.25rem;
  color: var(--cyan);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-open {
  margin-bottom: 2.4rem;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 700;
}

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

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.container,
.section.container,
.section > .container {
  width: min(1100px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* For sections written as <section class="section container"> */
.section.container {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.section.alt {
  background: var(--panel-secondary);
  margin: 0;
}

.section.alt .container {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-radius: 16px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--cyan);
  line-height: 1.15;
}

.section-desc {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================================================
   CARDS
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
}

/* =========================================================
   FEATURE GRID
   ========================================================= */

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;

  padding: 1.35rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-icon {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: var(--cyan);
  font-size: 1.45rem;
  line-height: 1;
}

.feature-item h3 {
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: var(--text-muted);
}

/* =========================================================
   USE CASES / MOTION TASKS
   ========================================================= */

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

.use-case {
  min-height: 68px;
  display: flex;
  align-items: center;

  padding: 1.1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 9px;

  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;

  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.use-case:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(0, 209, 255, 0.35);
  transform: translateY(-2px);
}

/* =========================================================
   WORKFLOW
   ========================================================= */

.workflow-steps {
  max-width: 720px;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.workflow-steps li {
  margin-bottom: 0.7rem;
  padding-left: 0.35rem;
}

.workflow-steps li::marker {
  color: var(--cyan);
  font-weight: 800;
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */

.eco-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.eco-message {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 650;
}

/* =========================================================
   PRICING
   ========================================================= */

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

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: rgba(0, 209, 255, 0.65);
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.14);
}

.price {
  margin: 1rem 0;
  color: var(--cyan);
  font-size: 2.5rem;
  font-weight: 800;
}

.price span {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.pricing-features {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
  text-align: left;
}

.pricing-features li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--cyan);
  font-size: 0.72rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

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

.testimonial {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.testimonial p {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-style: italic;
}

.author {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 650;
}

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

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

.faq-item {
  padding: 1.35rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-item h3 {
  margin-bottom: 0.55rem;
  color: var(--cyan);
}

.faq-item p {
  color: var(--text-muted);
}

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-section {
  padding: 6rem 0;
  background: var(--panel);
  text-align: center;
}

.cta-section .container {
  max-width: 860px;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

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

.footer {
  padding: 4rem 0 1.5rem;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.7rem;
  color: var(--text-muted);
}

.footer-links h4 {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

/* =========================================================
   FOOTER CONTENT POSITION POLISH
   Moves footer content slightly to the right
   ========================================================= */

   .footer .container {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
  }

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 66px);
    padding: 5.5rem 0 4.5rem;
  }

  .hero-content {
    padding-inline: 1rem;
  }

  .section {
    padding: 4.5rem 0;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .hero-actions .btn {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
  }

  .card-grid,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

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

/* =========================================================
SAFE MOBILE SUBMENU LINK POLISH
Does NOT change panel position, nav width, hero, sections, or footer.
========================================================= */

@media (max-width: 768px) {

/* Keep submenu panel exactly as your current code controls it.
  Only center the content inside it. */
.dropdown-menu {
 align-items: center !important;
}

/* Center grouped columns inside Platform / Resources only */
.dropdown-column,
.resources-column {
 width: 100% !important;
 max-width: 340px !important;
 margin-left: auto !important;
 margin-right: auto !important;

 display: flex !important;
 flex-direction: column !important;
 gap: 12px !important;
}

/* Center heading above the cards */
.dropdown-heading {
 width: 100% !important;
 text-align: center !important;
 margin: 2px 0 2px !important;
}

/* Center standalone dropdown links:
  Applications and Templates menus do not have dropdown-column wrappers. */
.dropdown-menu > .dropdown-link {
 width: 100% !important;
 max-width: 340px !important;
 margin-left: auto !important;
 margin-right: auto !important;
}

/* Polish the mobile dropdown cards themselves */
.dropdown-link {
 min-height: 60px !important;
 padding: 13px 16px !important;

 align-items: center !important;
 justify-content: center !important;
 text-align: center !important;

 border-radius: 15px !important;
}

.dropdown-link-title,
.dropdown-link-sub {
 width: 100% !important;
 text-align: center !important;
}

.dropdown-link-title {
 font-size: 0.96rem !important;
 line-height: 1.15 !important;
}

.dropdown-link-sub {
 font-size: 0.63rem !important;
 line-height: 1.15 !important;
 letter-spacing: 0.075em !important;
}
}

/* Very small phones: keep your existing overlay behavior.
Only reduce width slightly so cards do not touch edges. */
@media (max-width: 520px) {
.dropdown-column,
.resources-column,
.dropdown-menu > .dropdown-link {
 max-width: calc(100vw - 44px) !important;
}
}

/* =========================================================
   FOOTER RESTORE — keep footer from becoming one long column
   Add at very bottom of styles.css
   ========================================================= */

   @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr !important;
      align-items: start !important;
    }
  
    .footer-brand {
      grid-column: 1 / -1 !important;
    }
  }
  
  @media (max-width: 420px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 1.5rem 1rem !important;
    }
  
    .footer-brand {
      grid-column: 1 / -1 !important;
    }
  
    .footer-links h4 {
      font-size: 0.78rem !important;
    }
  
    .footer-links a,
    .footer-links li {
      font-size: 0.88rem !important;
    }
  }

  /* =========================================================
   ZORIN3D COMPATIBILITY WITH SHARED PRODUCT CSS
   ========================================================= */

.page-zorin3d {
  --page-hero-gradient: var(
    --hero-gradient-cad,
    linear-gradient(135deg, #F8FAFC 0%, #F59E0B 42%, #FB7185 100%)
  );
}

.hero-title {
  margin-bottom: 1.1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;

  background: var(--page-hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* =========================================================
   PROFESSIONAL PAGE ACCENT SYSTEM
   One page class controls the whole product color identity
   ========================================================= */

/* Default / MotionAI */
body {
  --page-accent: var(--cyan);
  --page-accent-2: var(--blue);
  --page-accent-3: var(--green);
  --page-warm: var(--amber);
  --page-glow: rgba(0, 209, 255, 0.16);
}

/* Zorin3D CAD */
.page-zorin3d {
  --page-accent: #F59E0B;
  --page-accent-2: #FB7185;
  --page-accent-3: #38BDF8;
  --page-warm: #FBBF24;
  --page-glow: rgba(245, 158, 11, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #F59E0B 42%,
    #FB7185 100%
  );
}

/* BuildSpace */
.page-buildspace {
  --page-accent: #10B981;
  --page-accent-2: #A3E635;
  --page-accent-3: #38BDF8;
  --page-warm: #F59E0B;
  --page-glow: rgba(16, 185, 129, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #10B981 45%,
    #A3E635 100%
  );
}

/* Zorin-Logic */
.page-zorin-logic {
  --page-accent: #8B5CF6;
  --page-accent-2: #D946EF;
  --page-accent-3: #00D1FF;
  --page-warm: #F59E0B;
  --page-glow: rgba(139, 92, 246, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #8B5CF6 45%,
    #D946EF 100%
  );
}

/* Z-Analytics */
.page-z-analytics {
  --page-accent: #00D1FF;
  --page-accent-2: #6366F1;
  --page-accent-3: #22C55E;
  --page-warm: #F59E0B;
  --page-glow: rgba(0, 209, 255, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #00D1FF 40%,
    #6366F1 100%
  );
}

/* Zorin Assistant */
.page-zorin-assistant {
  --page-accent: #EC4899;
  --page-accent-2: #7C3AED;
  --page-accent-3: #00D1FF;
  --page-warm: #F59E0B;
  --page-glow: rgba(236, 72, 153, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #EC4899 42%,
    #7C3AED 100%
  );
}

/* Workstation */
.page-workstation {
  --page-accent: #38BDF8;
  --page-accent-2: #2563EB;
  --page-accent-3: #22C55E;
  --page-warm: #F59E0B;
  --page-glow: rgba(56, 189, 248, 0.18);

  --page-hero-gradient: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #38BDF8 42%,
    #2563EB 100%
  );
}

/* =========================================================
   APPLY PAGE ACCENT ACROSS PRODUCT UI
   ========================================================= */

.logo,
.nav-link:hover,
.nav-link.active,
.dropdown-link:hover,
.dropdown-link.active,
.dropdown-link.active .dropdown-link-title,
.dropdown-link.active .dropdown-link-sub,
.hero-subtitle,
h2,
.feature-icon,
.price,
.eco-message,
.author,
.faq-item h3 {
  color: var(--page-accent) !important;
}

.badge {
  color: var(--page-accent) !important;
  box-shadow: 0 0 28px var(--page-glow) !important;
}

.dropdown-heading {
  color: var(--page-warm) !important;
}

.hero h1,
.hero-title {
  background: var(--page-hero-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--page-accent),
    var(--page-accent-2)
  ) !important;
  color: #ffffff !important;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--page-accent) 65%, transparent) !important;
  box-shadow: 0 0 30px var(--page-glow) !important;
}

.use-case:hover,
.card:hover,
.feature-item:hover {
  border-color: color-mix(in srgb, var(--page-accent) 42%, transparent) !important;
}

.pricing-features li::before,
.workflow-steps li::marker {
  color: var(--page-accent) !important;
}

.nav-link:hover,
.nav-link.active,
.nav-item.mobile-submenu-open > .nav-link,
.dropdown-link:hover,
.dropdown-link.active {
  border-color: color-mix(in srgb, var(--page-accent) 34%, transparent) !important;
  background: color-mix(in srgb, var(--page-accent) 12%, transparent) !important;
}

.nav-link.active,
.dropdown-link.active {
  box-shadow: none !important;
}

