/* ================================================================
   printing3d.css — 3D Printing Service Page
   Matches Manjulatha Enterprises dark theme
   Colors: bg #09090f | accent #5b3df5→#00d4ff | text rgba(255,255,255,0.85)
================================================================ */

/* ── BASE ── */
.p3d-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.p3d-section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 12px;
}

.p3d-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.2;
}

.p3d-section-title em {
  font-style: normal;
  background: linear-gradient(90deg, #5b3df5, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.p3d-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #5b3df5, #3b1fc9);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 24px rgba(91,61,245,0.4);
}

.p3d-btn-primary:hover {
  background: linear-gradient(135deg, #6d52f7, #4d2fe0);
  box-shadow: 0 8px 32px rgba(91,61,245,0.6);
  transform: translateY(-2px);
}

.p3d-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
}

.p3d-btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.p3d-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #09090f;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  text-align: center;
}

.p3d-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91,61,245,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0,212,255,0.12) 0%, transparent 60%),
    #09090f;
}

.p3d-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.p3d-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(91,61,245,0.5);
  animation: p3dFloat linear infinite;
  bottom: -20px;
}

@keyframes p3dFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { opacity: 0.3; }
  100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}

.p3d-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.p3d-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(91,61,245,0.15);
  border: 1px solid rgba(91,61,245,0.4);
  border-radius: 50px;
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.p3d-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5b3df5;
  animation: p3dPulse 1.5s ease-in-out infinite;
}

@keyframes p3dPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.p3d-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
}

.p3d-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #5b3df5, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p3d-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.p3d-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.p3d-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 32px;
  gap: 0;
}

.p3d-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.p3d-stat strong {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(90deg, #5b3df5, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p3d-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.p3d-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ════════════════════════════════════════════
   WHAT WE PRINT
════════════════════════════════════════════ */
.p3d-what {
  padding: 90px 0;
  background: #0d0d14;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-what .p3d-container { text-align: center; }

.p3d-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.p3d-what-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s;
}

.p3d-what-card:hover {
  border-color: rgba(91,61,245,0.4);
  background: rgba(91,61,245,0.06);
  transform: translateY(-4px);
}

.p3d-what-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91,61,245,0.2), rgba(0,212,255,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: #a78bfa;
}

.p3d-what-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.p3d-what-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
.p3d-how {
  padding: 90px 0;
  background: #09090f;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-how .p3d-container { text-align: center; }

.p3d-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.p3d-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.p3d-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #5b3df5;
  margin-bottom: 16px;
}

.p3d-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b3df5, #3b1fc9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(91,61,245,0.35);
}

.p3d-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.p3d-step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.p3d-step-arrow {
  font-size: 1.4rem;
  color: rgba(91,61,245,0.5);
  padding: 0 12px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   MATERIALS
════════════════════════════════════════════ */
.p3d-materials {
  padding: 90px 0;
  background: #0d0d14;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-materials .p3d-container { text-align: center; }

.p3d-mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p3d-mat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s;
}

.p3d-mat-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}

.p3d-mat-swatch {
  width: 100%;
  height: 7px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.p3d-mat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.p3d-mat-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.p3d-mat-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,212,255,0.1);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,0.25);
}

/* ════════════════════════════════════════════
   PRICING
════════════════════════════════════════════ */
.p3d-pricing {
  padding: 90px 0;
  background: #09090f;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-pricing .p3d-container { text-align: center; }

.p3d-pricing-note {
  color: rgba(255,255,255,0.5);
  margin-top: -24px;
  margin-bottom: 44px;
  font-size: 0.95rem;
}

.p3d-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p3d-price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 20px;
  position: relative;
  transition: all 0.3s;
}

.p3d-price-card:hover {
  border-color: rgba(91,61,245,0.35);
  transform: translateY(-4px);
}

.p3d-price-popular {
  border-color: rgba(91,61,245,0.5) !important;
  background: rgba(91,61,245,0.08) !important;
}

.p3d-popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, #5b3df5, #3b1fc9);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.p3d-price-icon {
  font-size: 1.8rem;
  color: #a78bfa;
  margin-bottom: 16px;
}

.p3d-price-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.p3d-price-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.p3d-price-amt {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.p3d-price-amt strong {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #5b3df5, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p3d-price-btn {
  display: block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #5b3df5, #3b1fc9);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.p3d-price-btn:hover {
  box-shadow: 0 6px 20px rgba(91,61,245,0.45);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   AFFILIATE
════════════════════════════════════════════ */
.p3d-affiliate {
  padding: 90px 0;
  background: #0d0d14;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-affiliate .p3d-container { text-align: center; }

.p3d-affiliate-sub {
  color: rgba(255,255,255,0.5);
  margin-top: -24px;
  margin-bottom: 44px;
  font-size: 0.95rem;
}

.p3d-aff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.p3d-aff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.p3d-aff-card:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.05);
  transform: translateY(-3px);
}

.p3d-aff-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(91,61,245,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #00d4ff;
  flex-shrink: 0;
}

.p3d-aff-info { flex: 1; }

.p3d-aff-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.p3d-aff-info p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
}

.p3d-aff-cta {
  font-size: 0.82rem;
  color: #00d4ff;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.p3d-aff-disclaimer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.p3d-faq {
  padding: 90px 0;
  background: #09090f;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-faq .p3d-container { text-align: center; }

.p3d-faq-list {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p3d-faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.p3d-faq-item.open {
  border-color: rgba(91,61,245,0.4);
}

.p3d-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.p3d-faq-q i {
  transition: transform 0.3s;
  color: #5b3df5;
  flex-shrink: 0;
}

.p3d-faq-item.open .p3d-faq-q i {
  transform: rotate(180deg);
}

.p3d-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.p3d-faq-item.open .p3d-faq-a {
  max-height: 200px;
  padding-bottom: 20px;
}

.p3d-faq-a p {
  padding: 0 24px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   QUOTE FORM
════════════════════════════════════════════ */
.p3d-quote {
  padding: 90px 0 110px;
  background: #0d0d14;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.p3d-quote .p3d-container { text-align: center; }

.p3d-quote-sub {
  color: rgba(255,255,255,0.5);
  margin-top: -24px;
  margin-bottom: 44px;
  font-size: 0.95rem;
}

.p3d-form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.p3d-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.p3d-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p3d-form-full { margin-bottom: 24px; }

.p3d-form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

.p3d-form-field input,
.p3d-form-field select,
.p3d-form-field textarea {
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.p3d-form-field input:focus,
.p3d-form-field select:focus,
.p3d-form-field textarea:focus {
  border-color: rgba(91,61,245,0.6);
  background: rgba(91,61,245,0.05);
}

.p3d-form-field select option {
  background: #1a1a2e;
  color: #fff;
}

.p3d-form-field textarea { resize: vertical; }

.p3d-form-actions { text-align: center; margin-bottom: 24px; }

.p3d-form-success,
.p3d-form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 16px;
}

.p3d-form-success {
  background: rgba(0,200,100,0.1);
  border: 1px solid rgba(0,200,100,0.3);
  color: #4ade80;
}

.p3d-form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .p3d-what-grid { grid-template-columns: repeat(2, 1fr); }
  .p3d-mat-grid { grid-template-columns: repeat(2, 1fr); }
  .p3d-price-grid { grid-template-columns: repeat(2, 1fr); }
  .p3d-aff-grid { grid-template-columns: 1fr; }
  .p3d-steps { flex-direction: column; align-items: center; }
  .p3d-step-arrow { transform: rotate(90deg); padding: 8px 0; }
}

@media (max-width: 600px) {
  .p3d-what-grid { grid-template-columns: 1fr; }
  .p3d-mat-grid { grid-template-columns: 1fr; }
  .p3d-price-grid { grid-template-columns: 1fr; }
  .p3d-form-row { grid-template-columns: 1fr; }
  .p3d-hero-stats { flex-direction: column; gap: 16px; }
  .p3d-stat-div { width: 60px; height: 1px; }
}