/* ═══════════════════════════════════════════════════
   TERRACLAW — COMPONENTS CSS
   About, Contact, Sandbox pages
═══════════════════════════════════════════════════ */

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 48px 100px;
  background: linear-gradient(180deg, var(--void), var(--deep));
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-b);
  text-align: center;
}

.page-hero .hero-glow {
  width: 500px;
  height: 500px;
}

.page-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
  justify-content: center;
}

.page-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
  margin-left: auto;
  margin-right: auto;
}

.page-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
  margin-left: auto;
  margin-right: auto;
}

/* ── ABOUT PAGE ── */
.about-layout {
  padding: 100px 48px;
  background: var(--void);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--white);
  font-weight: 500;
}

.about-highlight {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-left: 3px solid var(--cyan);
  padding: 32px 36px;
  backdrop-filter: blur(20px);
}

.about-highlight blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 14px;
}

.about-highlight cite {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  font-style: normal;
}

.about-values {
  padding: 100px 48px;
  background: var(--deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-b);
  border: 1px solid var(--glass-b);
  margin-top: 60px;
}

.value-card {
  background: var(--deep);
  padding: 44px 36px;
}

.value-card:hover {
  background: var(--nebula);
}

.value-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  margin-bottom: 20px;
}

.value-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.value-desc {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
  font-weight: 300;
}

.team-section {
  padding: 100px 48px;
  background: var(--void);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.team-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  padding: 36px;
  backdrop-filter: blur(20px);
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.team-avatar {
  width: 56px;
  height: 56px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cyan);
}

.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.team-bio {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  padding: 100px 48px;
  background: var(--void);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info {}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--glass-b);
}

.contact-info-item:first-child {
  border-top: 1px solid var(--glass-b);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 5px;
}

.contact-info-val {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-info-sub {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  margin-top: 3px;
}

/* FORM */
.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  padding: 48px;
}

.form-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.form-sub {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 300;
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

input[type=text],
input[type=email],
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-b);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

input[type=text]:focus,
input[type=email]:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select option {
  background: var(--deep);
  color: var(--white);
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--cyan);
  border: none;
  color: var(--void);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.form-submit:hover {
  background: white;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}

.form-success.show {
  display: block;
}

/* ── SANDBOX PAGE ── */
.sandbox-layout {
  padding: 100px 48px;
  background: var(--void);
}

.sandbox-search {
  max-width: 640px;
  margin: 0 auto 64px;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  padding: 36px;
}

.search-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.search-bar {
  display: flex;
  gap: 0;
}

.search-bar input {
  flex: 1;
  border-right: none;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-b);
  color: var(--white);
  padding: 13px 18px;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  border-color: var(--cyan);
}

.search-bar button {
  background: var(--cyan);
  border: none;
  color: var(--void);
  padding: 13px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.search-bar button:hover {
  background: white;
}

/* FULL EDITOR MOCKUP */
.editor-shell {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.editor-titlebar {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--glass-b);
}

.editor-body {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  height: 560px;
}

.editor-panel {
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid var(--glass-b);
  overflow: hidden;
}

.editor-panel.right {
  border-right: none;
  border-left: 1px solid var(--glass-b);
}

.panel-section-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-b);
  background: rgba(0, 0, 0, 0.2);
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.panel-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.panel-item.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.panel-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-terrain {
  background: #4a8c6a;
}

.dot-buildings {
  background: #4a6a8c;
}

.dot-selected {
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.dot-model {
  background: var(--violet);
  box-shadow: 0 0 6px rgba(124, 77, 255, 0.5);
}

.editor-viewport {
  position: relative;
  background: linear-gradient(160deg, #040812, #080f22 50%, #040a1a);
}

#sandboxCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.editor-toolbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--glass-b);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-group {
  display: flex;
  gap: 6px;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-b);
  color: var(--muted);
  padding: 7px 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-btn:hover,
.toolbar-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.toolbar-sep {
  width: 1px;
  background: var(--glass-b);
  align-self: stretch;
  margin: 0 4px;
}

.toolbar-time {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sandbox-sun-slider {
  width: 120px;
  -webkit-appearance: none;
  height: 2px;
  background: linear-gradient(90deg, #1a2a4a, var(--amber), #1a2a4a);
  outline: none;
}

.sandbox-sun-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 50%;
}

.sandbox-time-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--amber);
  min-width: 44px;
}

.editor-status {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--glass-b);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-item {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28ca41;
}

/* EXPORT PANEL in Sandbox */
.sandbox-export {
  max-width: 1200px;
  margin: 32px auto 0;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.export-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.export-btn {
  background: transparent;
  border: 1px solid var(--glass-b);
  color: var(--muted);
  padding: 10px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.export-btn.ifc {
  border-color: rgba(255, 171, 0, 0.3);
  color: var(--amber);
}

.export-btn.ifc:hover {
  background: var(--amber-dim);
}

.export-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* ── AUTH MODAL ── */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.auth-modal.active {
  display: flex;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 10, 0.9);
  backdrop-filter: blur(8px);
}

.auth-modal-content {
  position: relative;
  z-index: 1;
  background: var(--deep);
  border: 1px solid var(--glass-b);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  animation: fadeUp 0.3s ease-out;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.auth-modal-close:hover {
  color: var(--white);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--glass-b);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.auth-tab:hover {
  color: var(--white);
}

.auth-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.auth-error {
  display: none;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  font-size: 0.82rem;
  color: #ff5050;
  font-weight: 400;
}

.auth-error.success {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.auth-form {}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-b);
  color: var(--white);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  border-color: var(--cyan);
}

.auth-field input::placeholder {
  color: var(--faint);
}

.auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--cyan);
  border: none;
  color: var(--void);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.auth-submit:hover {
  background: white;
}

.auth-submit.loading {
  pointer-events: none;
}

.auth-submit .auth-submit-text {
  display: inline;
}

.auth-submit .auth-submit-loading {
  display: none;
}

.auth-submit.loading .auth-submit-text {
  display: none;
}

.auth-submit.loading .auth-submit-loading {
  display: inline;
}

.auth-links {
  text-align: center;
  margin-top: 20px;
}

.auth-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.auth-terms {
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--faint);
  text-align: center;
  line-height: 1.6;
}

.auth-terms a {
  color: var(--muted);
}

.auth-forgot-text {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── USER MENU ── */
.nav-user-name {
  margin-right: 6px;
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 48px;
  background: var(--deep);
  border: 1px solid var(--glass-b);
  min-width: 220px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease-out;
}

.user-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

.user-menu-header {
  padding: 20px;
  border-bottom: 1px solid var(--glass-b);
  background: rgba(0, 0, 0, 0.2);
}

.user-menu-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.user-menu-email {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.user-menu-plan {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--cyan);
}

.user-menu-items {
  padding: 8px 0;
}

.user-menu-item {
  display: block;
  padding: 12px 20px;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.user-menu-item.highlight {
  color: var(--cyan);
}

.user-menu-item.highlight:hover {
  background: var(--cyan-dim);
}

.user-menu-divider {
  height: 1px;
  background: var(--glass-b);
  margin: 8px 0;
}

/* ── DASHBOARD ── */
.dashboard-layout {
  padding: 120px 48px 80px;
  background: var(--void);
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.dashboard-title {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.dashboard-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  padding: 0;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
}

.project-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--cosmos), var(--deep));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--glass-b);
  position: relative;
  overflow: hidden;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-thumb-placeholder {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.project-card-body {
  padding: 20px;
}

.project-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card-location {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.project-card-meta {
  display: flex;
  gap: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}

.project-card-new {
  border-style: dashed;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.project-card-new-icon {
  width: 64px;
  height: 64px;
  border: 1px dashed var(--glass-b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 16px;
  transition: all 0.3s;
}

.project-card-new:hover .project-card-new-icon {
  border-color: var(--cyan);
  color: var(--cyan);
}

.project-card-new-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s;
}

.project-card-new:hover .project-card-new-text {
  color: var(--white);
}

/* Stats row */
.dashboard-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.dashboard-stat {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  padding: 24px;
  backdrop-filter: blur(20px);
}

.dashboard-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.dashboard-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}

.dashboard-stat-sub {
  font-size: 0.75rem;
  color: var(--faint);
  margin-top: 4px;
}

/* Empty state */
.dashboard-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-b);
}

.dashboard-empty-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.dashboard-empty-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dashboard-empty-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ── NEW PROJECT MODAL ── */
.new-project-modal {}

.new-project-modal .auth-modal-content {
  max-width: 500px;
}

.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--deep);
  border: 1px solid var(--glass-b);
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
}

.location-suggestion {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.location-suggestion:hover {
  background: var(--cyan-dim);
  color: var(--white);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .about-layout {
    padding: 60px 20px;
  }

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

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

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

  .sandbox-layout {
    padding: 60px 20px;
  }

  .editor-body {
    grid-template-columns: 1fr;
  }

  .editor-panel {
    display: none;
  }

  .page-hero {
    padding: 120px 20px 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    padding: 100px 20px 60px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 20px;
  }

  .dashboard-stats {
    flex-direction: column;
  }

  .auth-modal-content {
    margin: 20px;
    padding: 32px;
  }

  .user-menu {
    right: 20px;
  }
}