/* ============================================
   Send & Print 3D — Warm Kinetic Theme
   ============================================ */

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

:root {
  --cream: #faf5ef;
  --cream-dark: #f0e8dc;
  --ink: #1a1714;
  --ink-light: #7a7268;
  --ink-lighter: #bbb4a8;
  --orange: #e85d26;
  --orange-light: #f4a261;
  --orange-glow: rgba(232, 93, 38, 0.15);
  --border: #e2dbd2;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 99px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: 1.2rem; font-weight: 700; }

.accent { color: var(--orange); }
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 48px 0;
}

/* --- Navigation --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo .logo-3d { color: var(--orange); }

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

.nav-links a {
  font-size: 0.88rem;
  color: var(--ink-light);
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-links a.btn-nav {
  background: var(--orange);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.84rem;
  transition: background 0.2s;
}

.nav-links a.btn-nav:hover { background: #d14f1c; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  transition: all 0.25s;
  letter-spacing: -0.2px;
}

.btn-primary:hover {
  background: #d14f1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--ink-light);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding: 36px 0 24px;
  position: relative;
}

.hero-content { max-width: 600px; position: relative; z-index: 2; }

.hero p {
  margin-top: 16px;
  color: var(--ink-light);
  font-size: 1.05rem;
  max-width: 460px;
  line-height: 1.6;
}

.hero-ctas {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-blob {
  position: absolute;
  right: 0;
  top: 20px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  opacity: 0.12;
  animation: morph 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes morph {
  0%   { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  33%  { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; }
  66%  { border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%; }
  100% { border-radius: 55% 45% 45% 55% / 50% 55% 45% 50%; }
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 24px 24px 24px 0;
  border-top: 1.5px solid var(--border);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-lighter);
  margin-bottom: 8px;
}

.step h3 { margin-bottom: 4px; }

.step p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* --- Banner --- */
.banner {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  margin: 0 0 48px;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.08;
}

.banner h2 { color: var(--cream); position: relative; z-index: 1; }
.banner p {
  color: var(--ink-lighter);
  margin-top: 12px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s;
}

.pricing-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.pricing-card .card-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-lighter);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; }

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
}

.pricing-card .price-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-light);
}

.pricing-card .card-desc {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(232,93,38,0.03) 0%, var(--white) 100%);
}

/* --- Callout Box --- */
.callout {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.callout-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.callout h3 { margin-bottom: 4px; }
.callout p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.5; }

/* --- About Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 16px;
}

.service-area {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.service-area h3 {
  color: var(--cream);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.area-group { margin-bottom: 16px; }

.area-group-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-lighter);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.area-group p {
  font-size: 0.88rem;
  color: var(--cream-dark);
  line-height: 1.5;
}

/* --- Contact --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card .card-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-lighter);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s;
}

.contact-card a:hover { color: #d14f1c; }

.contact-card p {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin-top: 6px;
}

/* --- Upload Zone --- */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  background: var(--white);
  position: relative;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--orange);
  background: rgba(232, 93, 38, 0.03);
}

.upload-zone.dragover {
  transform: scale(1.01);
  box-shadow: 0 0 0 4px var(--orange-glow);
}

.upload-icon {
  width: 72px;
  height: 72px;
  background: var(--orange-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: transform 0.3s;
}

.upload-zone:hover .upload-icon { transform: translateY(-4px); }

.upload-zone h3 { font-size: 1.3rem; margin-bottom: 8px; }

.upload-zone p {
  color: var(--ink-light);
  font-size: 0.9rem;
}

.upload-zone .browse-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-formats {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.upload-formats span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--cream-dark);
  border-radius: var(--radius-pill);
  color: var(--ink-light);
}

.upload-progress {
  display: none;
  margin-top: 24px;
}

.upload-progress.active { display: block; }

.progress-bar {
  height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s;
}

.upload-file-info {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  text-align: left;
}

.upload-file-info.active { display: flex; align-items: center; gap: 14px; }

.upload-file-info .file-icon {
  font-size: 1.4rem;
}

.upload-file-info .file-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.upload-file-info .file-size {
  font-size: 0.78rem;
  color: var(--ink-light);
}

/* --- Upload Tabs --- */
.upload-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.upload-tab {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  border: none;
  color: var(--ink-light);
  transition: all 0.2s;
  font-family: var(--font-body);
}

.upload-tab:not(:last-child) { border-right: 1.5px solid var(--border); }

.upload-tab.active {
  background: var(--ink);
  color: var(--cream);
}

.upload-tab:hover:not(.active) { background: var(--cream-dark); }

.upload-panel { display: none; }
.upload-panel.active { display: block; }

/* --- File List --- */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cream-dark);
  border-radius: var(--radius);
}

.file-item .file-icon { flex-shrink: 0; }
.file-item .file-details { flex: 1; min-width: 0; }
.file-item .file-name { font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .file-size { font-size: 0.75rem; color: var(--ink-light); }

.file-item .file-remove {
  background: none;
  border: none;
  color: var(--ink-lighter);
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s;
}

.file-item .file-remove:hover { color: var(--orange); }

/* --- Link Input --- */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.link-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s;
}

.link-row input:focus {
  outline: none;
  border-color: var(--orange);
}

.link-row input::placeholder { color: var(--ink-lighter); }

.link-row .link-remove {
  background: none;
  border: none;
  color: var(--ink-lighter);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}

.link-row .link-remove:hover { color: var(--orange); }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  margin-top: 8px;
}

.btn-add:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-add .plus {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

/* --- Footer --- */
.footer {
  border-top: 1.5px solid var(--border);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-light);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: 1.5px solid var(--border);
    gap: 16px;
  }
  .nav-toggle { display: flex; }

  .hero-blob { width: 200px; height: 200px; right: -40px; top: 0; }

  .steps { grid-template-columns: 1fr; }
  .step { border-top: 1.5px solid var(--border); }

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

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

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

  .footer { flex-direction: column; gap: 12px; text-align: center; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; justify-content: center; }

  .callout { flex-direction: column; }
}
