/* ============================================================
   AURA3D — Aura Studio Manufacturing Division
   Extends global style.css — Light, minimal, premium
   Matches new HTML structure (aura3d-hero, aura3d-intro, etc.)
   ============================================================ */

/* ─── NAV ACTIVE STATE (inherits from global) ──────────────── */
.nav-link--active {
  color: var(--color-black) !important;
  font-weight: 700 !important;
}
.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-blue);
}

/* ─── AURA3D HERO ─────────────────────────────────────────── */
.aura3d-hero {
  padding-top: var(--nav-height);
}
.aura3d-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.aura3d-hero-left {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.1s;
}
.aura3d-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}
.aura3d-hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.aura3d-hero-title .line {
  display: block;
}
.aura3d-hero-title .line--blue {
  color: var(--color-blue);
  font-style: italic;
}
.aura3d-hero-sub {
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2rem;
}
.aura3d-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.aura3d-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.aura3d-stat {
  text-align: left;
}
.aura3d-stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-blue);
  font-family: var(--font-mono);
}
.aura3d-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-400);
}
.aura3d-hero-right {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.25s;
}
.aura3d-hero-quote {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  border-left: 2px solid var(--color-blue);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-black);
}
.aura3d-hero-right-text {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ─── INTRO SECTION ───────────────────────────────────────── */
.aura3d-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.aura3d-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.aura3d-intro-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 1rem 0 1.5rem;
}
.aura3d-intro-desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.aura3d-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.pillar-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pillar-title {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.pillar-desc {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}
.aura3d-intro-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aura3d-feature-card {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: all var(--transition-fast);
}
.aura3d-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.aura3d-feature-card p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
}
.aura3d-feature-card:hover {
  transform: translateX(5px);
}

/* ─── SERVICES SECTION (grid cards) ───────────────────────── */
.aura3d-services {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  border-top: 1px solid var(--color-gray-200);
}
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}
.services-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-gray-200);
  border-left: 1px solid var(--color-gray-200);
}
.service-card {
  padding: 2rem;
  border-right: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}
.service-card:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
}
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-blue);
}
.service-icon {
  font-size: 1.5rem;
}
.service-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.service-tags li {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 2px;
  color: var(--color-gray-600);
}
.service-card--wide {
  grid-column: span 2;
}
.service-tags--inline {
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ─── PRODUCTS SECTION ────────────────────────────────────── */
.aura3d-products {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.products-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
}
.products-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pf-btn {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-gray-200);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pf-btn:hover,
.pf-btn.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  border: 1px solid var(--color-gray-200);
  border-radius: 3px;
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--color-white);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-svg {
  width: 60%;
  height: 60%;
  opacity: 0.4;
}
.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 2px;
}
.product-badge--hot { background: #cc0000; }
.product-badge--new { background: var(--color-blue); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,2,254,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-quick-view {
  padding: 0.5rem 1.2rem;
  background: white;
  border: none;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.product-info { padding: 1rem; }
.product-info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.product-name { font-size: 0.95rem; font-weight: 700; }
.product-rating { display: flex; align-items: center; gap: 0.25rem; font-size: 0.7rem; }
.stars { color: #ffcc00; letter-spacing: 2px; }
.rating-count { color: var(--color-gray-400); margin-left: 0.25rem; }
.product-material {
  font-size: 0.7rem;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
  font-family: var(--font-secondary);
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--color-blue); }
.btn-add-cart {
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: 1px solid var(--color-gray-200);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-add-cart:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-black);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 3px;
  font-size: 0.8rem;
  transform: translateX(120%);
  transition: transform var(--transition-base);
  z-index: 1000;
}
.cart-toast.visible { transform: translateX(0); }
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-gray-200);
  padding: 0.75rem 2rem;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 99;
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-count, .cart-total {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ─── FORM SECTION (matches contact page) ─────────────────── */
.aura3d-form {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  border-top: 1px solid var(--color-gray-200);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.form-left {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.form-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 1rem 0;
}
.form-intro {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.process-step {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-blue);
  width: 36px;
}
.process-step strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--color-gray-600);
}
.form-right {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 3px;
  padding: 2rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
  display: none;
}
.form-success.visible { display: block; }
.success-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.success-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.success-body {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: flex; gap: 1rem; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.req { color: var(--color-blue); }
.form-input, select, textarea {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 3px;
  transition: all var(--transition-fast);
  width: 100%;
  outline: none;
}
.form-input:focus, select:focus, textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-glow);
}
.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-gray-400);
}
textarea { resize: vertical; min-height: 120px; }
.char-count {
  font-size: 0.65rem;
  text-align: right;
  color: var(--color-gray-400);
}
.file-upload {
  border: 1px dashed var(--color-gray-300);
  border-radius: 3px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--color-gray-100);
}
.file-upload:hover { border-color: var(--color-blue); }
.file-input { display: none; }
.file-upload-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.file-upload-text { font-size: 0.85rem; color: var(--color-gray-600); }
.file-browse { color: var(--color-blue); font-weight: 600; }
.file-upload-formats { font-size: 0.7rem; color: var(--color-gray-400); margin-top: 0.25rem; }
.file-selected { margin-top: 0.5rem; font-size: 0.75rem; color: var(--color-blue); }

/* Budget options */
.budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.budget-opt {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.budget-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.budget-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--color-gray-200);
  border-radius: 2px;
  background: white;
  transition: all var(--transition-fast);
  user-select: none;
}
.budget-opt:hover .budget-chip {
  border-color: var(--color-blue);
  color: var(--color-blue);
}
.budget-radio:checked + .budget-chip {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
}

.form-note { font-size: 0.7rem; color: var(--color-gray-400); }
.btn-submit { position: relative; min-width: 160px; justify-content: center; }
.btn-submit.loading .submit-text, .btn-submit.loading .submit-arrow { opacity: 0; }
.submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.loading .submit-spinner { display: block; }

/* ─── CTA SECTION (dark background, premium) ───────────────── */
.aura3d-cta {
  background: var(--color-black);
  color: white;
  padding: 5rem 2rem;
  overflow: hidden;
  position: relative;
}
.aura3d-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
}
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}
.cta-title em { color: var(--color-blue); font-style: normal; }
.cta-body {
  font-size: 0.95rem;
  opacity: 0.7;
  max-width: 500px;
  margin-bottom: 2rem;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-logo-large {
  opacity: 0.15;
  text-align: center;
}
.cta-logo-square {
  width: 80px;
  height: 80px;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.cta-logo-bar { width: 32px; height: 6px; background: white; }
.cta-logo-label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .aura3d-hero-inner, .aura3d-intro-inner, .form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-left { position: static; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-logo-large { display: none; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .products-grid { gap: 1rem; }
  .form-row--2 { grid-template-columns: 1fr; }
  .aura3d-hero-stats { justify-content: space-between; }
}
@media (max-width: 480px) {
  .aura3d-hero-stats { flex-direction: column; gap: 0.5rem; }
  .budget-options { gap: 0.4rem; }
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── MODAL AND TOAST (used by admin.js etc.) ───────────────── */
.checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.checkout-modal-content {
  background: white;
  max-width: 1000px;
  width: 90%;
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.checkout-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}
.checkout-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.checkout-left h3, .checkout-right h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.checkout-left .form-group {
  margin-bottom: 1rem;
}
.checkout-left label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.checkout-left input, .checkout-left select, .checkout-left textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 4px;
}
.order-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.modal-cart-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.modal-remove {
  background: none;
  border: none;
  color: #cc0000;
  cursor: pointer;
  font-size: 0.7rem;
}
.order-totals {
  margin: 1rem 0;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.discount-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.discount-row input {
  width: 120px;
  padding: 0.3rem;
}
.discount-row button {
  padding: 0.3rem 0.8rem;
  background: var(--color-black);
  color: white;
  border: none;
  cursor: pointer;
}
.grand-total {
  font-weight: 800;
  font-size: 1.1rem;
  border-top: 1px solid #ddd;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}
.payment-method {
  margin: 1rem 0;
}
.payment-option {
  margin: 0.5rem 0;
}
@media (max-width: 768px) {
  .checkout-two-columns {
    grid-template-columns: 1fr;
  }
}

/* Status Modal with Spinner */
.status-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.status-modal.visible {
  opacity: 1;
  visibility: visible;
}
.status-modal-content {
  background: white;
  max-width: 400px;
  width: 90%;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 20px 35px rgba(0,0,0,0.2);
  animation: statusSlideIn 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
@keyframes statusSlideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.status-icon.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--color-blue);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 1s linear infinite;
}
.status-modal-content.success .status-icon { color: #0a8a3a; }
.status-modal-content.error .status-icon { color: #cc0000; }
.status-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.status-modal-content p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.status-close-btn {
  background: var(--color-black);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.status-close-btn:hover {
  background: var(--color-blue);
  transform: scale(1.02);
}