/* INNER PAGES SHARED STYLES */

/* Page Hero */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.ph-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0fdf8 0%, #f8fafb 60%, #fff 100%);
  z-index: 0;
}
.ph-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(102,241,194,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102,241,194,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ph-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.page-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--brand-dark); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* Services blocks */
.alt-bg { background: #f8fafb; }

.svc-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.svc-block-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.svc-block-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.appdev-icon { background: rgba(102,241,194,0.15); color: var(--brand-dark); }
.techsvc-icon { background: rgba(102,241,194,0.12); color: var(--brand-dark); }
.bi-icon { background: rgba(102,241,194,0.12); color: var(--brand-dark); }
.pm-icon { background: rgba(102,241,194,0.12); color: var(--brand-dark); }

.svc-block-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.svc-block-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

.svc-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.svc-items-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.svc-item-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
}
.svc-item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(102,241,194,0.3);
  transform: translateY(-2px);
}
.svc-item-card.featured {
  border-color: rgba(102,241,194,0.25);
  background: linear-gradient(135deg, #f0fdf8, white);
}

.sic-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102,241,194,0.1);
  border-radius: 10px;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.svc-item-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.svc-item-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.sic-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

.svc-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
}
.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-img-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

/* Products page */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-header {
  padding: 2rem 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-card-header img { height: 44px; }
.product-card-body { padding: 1.5rem 2rem 2rem; }
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.product-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.coming-soon-card {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
}
.coming-soon-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* About page */
.about-main-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 800px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.team-card-info {
  padding: 1.5rem;
}
.team-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.team-card-info .role {
  font-size: 0.875rem;
  color: var(--brand-dark);
  font-weight: 500;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--bg-dark);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pricing-price-annual {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-price-annual span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-free-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--brand-dark);
  background: rgba(102,241,194,0.12);
  border: 1px solid rgba(102,241,194,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.pricing-price-monthly {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}
.pricing-features { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--brand-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.pricing-features .extras li::before { content: '+'; color: var(--msapi); }

/* Pin CTA button to bottom of every pricing card */
.pricing-card > .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.pricing-extras {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.pricing-extras-list { list-style: none; }
.pricing-extras-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--border);
}

/* Model Source API landing */
.msapi-hero {
  background: linear-gradient(135deg, #fff8f5 0%, #fff 60%);
}
.msapi-highlight {
  color: var(--msapi);
  position: relative;
  display: inline-block;
}
.msapi-highlight::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--msapi);
  border-radius: 2px;
}

.features-grid-msapi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
}
.feat-card:hover {
  border-color: rgba(255,133,89,0.3);
  box-shadow: 0 8px 24px var(--msapi-glow);
  transform: translateY(-2px);
}
.feat-icon {
  width: 44px; height: 44px;
  background: rgba(255,133,89,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--msapi);
  margin-bottom: 1rem;
}
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feat-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact form */
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--msapi);
  box-shadow: 0 0 0 3px var(--msapi-glow);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: none;
}
.form-msg.success { background: rgba(102,241,194,0.15); color: var(--brand-dark); border: 1px solid rgba(102,241,194,0.3); display: block; }
.form-msg.error { background: rgba(255,85,85,0.1); color: #e53e3e; border: 1px solid rgba(255,85,85,0.2); display: block; }

/* Video embed */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 1024px) {
  .svc-items-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-msapi { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .svc-block-header { flex-direction: column; }
  .svc-items-grid, .svc-items-grid.two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid-msapi { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE ADDITIONS — inner.css
══════════════════════════════════════════ */

/* Page hero */
@media (max-width: 768px) {
  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero-title { font-size: clamp(1.75rem, 6vw, 2.6rem); }
  .page-breadcrumb { font-size: .8rem; }
}
@media (max-width: 480px) {
  .page-hero-title { font-size: 1.6rem; }
}

/* About page */
@media (max-width: 768px) {
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-hero-visual { display: none; }
  .team-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
}
@media (max-width: 480px) {
  .team-card { padding: 1.5rem; }
}

/* Pricing */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
  .pricing-card { padding: 1.5rem; }
}

/* MSAPI Features */
@media (max-width: 768px) {
  .features-grid-msapi { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .msapi-landing-hero { text-align: center; }
  .msapi-hero-actions { flex-direction: column; align-items: center; }
  .msapi-hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* Products page old */
.products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Generic inner section */
@media (max-width: 768px) {
  .svc-block-header { flex-direction: column; gap: 1.5rem; }
  .svc-block-title { font-size: 1.5rem; }
}
