/* ai-product-dev-model-deployment.css */

.pdev-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--clr-surface-2);
  overflow: hidden;
  padding-top: 5rem;
}

.pdev-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(181,36,106,0.06) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(26,46,68,0.04) 0%, transparent 50%);
  z-index: 1;
}

.pdev-hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pdev-hero-content {
  flex: 1 1 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(181,36,106,0.2);
  background: var(--clr-accent-pale);
  margin-bottom: 1.5rem;
}
.pdev-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

.pdev-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.pdev-hero-title em {
  font-style: normal;
  color: var(--clr-accent);
}

.pdev-hero-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 650px;
}



/* Animations */
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
@keyframes pulseCore { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Reveal Classes */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.in { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.in { opacity: 1; transform: scale(1); }

.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* Section Base */
.pdev-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pdev-h2 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.pdev-h2 em {
  font-style: normal;
  color: var(--clr-accent);
}
.pdev-p {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Sec 1: Engineering */
.pdev-eng {
  padding: 8rem 0;
  background: var(--clr-surface);
}
.pdev-eng-grid {
  display: flex;
  gap: 4rem;
  align-items: center;
}
.pdev-eng-text { flex: 1 1 50%; }
.pdev-eng-visual { flex: 1 1 50%; }

.pdev-eng-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pdev-ef-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--clr-surface-2);
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  transition: transform 0.3s, border-color 0.3s;
}
.pdev-ef-item:hover {
  transform: translateX(10px);
  border-color: var(--clr-accent);
}
.pdev-ef-item i {
  font-size: 1.8rem;
  color: var(--clr-accent);
  background: var(--clr-surface);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(26,46,68,0.05);
}
.pdev-ef-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.pdev-ef-item p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin: 0;
}

.pdev-eng-graphic {
  position: relative;
  width: 100%;
  height: 450px;
  background: var(--clr-surface-2);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--clr-border);
}

.pdev-layer {
  position: absolute;
  border-radius: 16px;
  background: var(--clr-surface);
  box-shadow: 0 10px 30px rgba(26,46,68,0.05);
  border: 1px solid var(--clr-border);
  transition: transform 0.5s ease;
}
.layer-back {
  width: 300px;
  height: 200px;
  transform: translateY(-40px) scale(0.9);
  opacity: 0.5;
}
.layer-mid {
  width: 340px;
  height: 220px;
  transform: translateY(0) scale(0.95);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pdev-code-line {
  height: 8px;
  background: var(--clr-surface-3);
  border-radius: 4px;
}
.layer-front {
  width: 380px;
  height: 140px;
  transform: translateY(60px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1.5rem;
}
.pdev-eng-graphic:hover .layer-back { transform: translateY(-50px) scale(0.9) rotate(-2deg); }
.pdev-eng-graphic:hover .layer-front { transform: translateY(70px) scale(1.02); }

.pdev-perf-stat {
  text-align: center;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.pdev-perf-stat span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 0.2rem;
}


/* Sec 2: Workflow */
.pdev-workflow {
  padding: 8rem 0;
  background: var(--clr-surface-2);
}
.pdev-center-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}
.pdev-center-header .pdev-p {
  margin: 0 auto;
}

.pdev-flow-container {
  display: flex;
  justify-content: center;
}
.pdev-flow-nodes {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  position: relative;
}
.pdev-flow-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  transition: transform 0.3s;
}
.pdev-flow-node:hover {
  transform: translateY(-10px);
}
.pdev-fn-icon {
  width: 70px;
  height: 70px;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  box-shadow: 0 8px 20px rgba(26,46,68,0.05);
}
.pdev-flow-node:hover .pdev-fn-icon {
  border-color: var(--clr-accent);
  background: var(--clr-accent);
  color: #fff;
}
.pdev-fn-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.pdev-fn-content p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
.pdev-flow-line {
  flex: 0 0 80px;
  height: 2px;
  background: var(--clr-border);
  margin-top: 35px;
  position: relative;
}
.pdev-flow-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--clr-accent);
  transition: width 0.5s ease;
}
.pdev-flow-nodes:hover .pdev-flow-line::after {
  width: 100%;
}


/* Sec 3: Benefits */
.pdev-benefits {
  padding: 8rem 0;
  background: var(--clr-surface);
}
.pdev-benefits-grid {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-direction: row-reverse;
}
.pdev-b-text { flex: 1 1 50%; }
.pdev-b-visual { 
  flex: 1 1 50%; 
  position: relative;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdev-b-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.pdev-b-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.pdev-b-dot {
  width: 12px;
  height: 12px;
  background: var(--clr-accent-pale);
  border: 2px solid var(--clr-accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.pdev-b-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.pdev-b-item p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin: 0;
}

.pdev-glass-card {
  width: 320px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(26,46,68,0.08);
  position: relative;
  z-index: 2;
}
.pdev-gc-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-align: center;
}
.pdev-gc-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  border-bottom: 2px solid var(--clr-surface-3);
  padding-bottom: 0.5rem;
}
.pdev-bar {
  width: 60px;
  background: var(--clr-surface-3);
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: height 1s ease;
}
.pdev-bar-accent {
  background: linear-gradient(to top, var(--clr-accent), var(--clr-accent-light));
}
.pdev-bar-lbl {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}
.pdev-glass-float {
  position: absolute;
  top: 10%;
  right: 5%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 0.8rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(26,46,68,0.05);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.pdev-glass-float i {
  color: var(--clr-accent);
  font-size: 1.2rem;
}


/* Sec 4: CTA */
.pdev-cta {
  padding: 4rem 0 6rem 0;
  background: var(--clr-surface);
}
.pdev-cta-box {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26,46,68,0.05);
}
.pdev-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(181,36,106,0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(26,46,68,0.05) 0%, transparent 60%);
  z-index: 1;
}
.pdev-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.pdev-cta-content h2 {
  color: var(--clr-primary);
}
.pdev-cta-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}


/* Responsive */
@media (max-width: 992px) {
  .pdev-hero-inner, .pdev-eng-grid, .pdev-benefits-grid {
    flex-direction: column;
    text-align: center;
  }
  .pdev-hero-content, .pdev-eng-text, .pdev-b-text {
    max-width: 100%;
  }
  .pdev-hero-desc, .pdev-p {
    margin-left: auto;
    margin-right: auto;
  }
  .pdev-hero-cta {
    justify-content: center;
  }
  .pdev-ef-item, .pdev-b-item {
    text-align: left;
  }
  .pdev-flow-nodes {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .pdev-flow-line {
    width: 2px;
    height: 40px;
    margin-top: 0;
  }
  .pdev-flow-line::after {
    height: 0;
    width: 100%;
    transition: height 0.5s ease;
  }
  .pdev-flow-nodes:hover .pdev-flow-line::after {
    height: 100%;
  }
}
@media (max-width: 768px) {
  .pdev-hero-title {
    font-size: 2.2rem;
  }
  .pdev-eng-graphic {
    height: 350px;
  }
}
