/* Prasha Infotech - Page Layouts Stylesheet (pages.css) */

/* 1. Hero Section Layouts (Home) */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(197, 155, 39, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 155, 39, 0.08) 1px, transparent 1px);
  background-size: 55px 55px;
  background-position: center;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid var(--border-color);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: clamp(2.8rem, 5.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 50%, var(--dark-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium Visual Graphic - Glowing abstract */
.hero-graphic-container {
  width: 100%;
  max-width: 460px;
  height: 460px;
  position: relative;
}

.hero-circle-main {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(var(--primary-rgb), 0.25);
  position: absolute;
  top: 0;
  left: 0;
  animation: rotateGraphic 40s linear infinite;
}

.hero-circle-inner {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  position: absolute;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-blob {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, rgba(var(--primary-rgb), 0) 75%);
  position: absolute;
  top: 25%;
  left: 25%;
  filter: blur(40px);
  opacity: 0.35;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-center-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
  z-index: 5;
}

.hero-center-logo svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.hero-orbit-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-orbit-node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.hero-orbit-node-2 { bottom: 15%; left: 5%; transform: translate(-50%, 50%); }
.hero-orbit-node-3 { bottom: 15%; right: 5%; transform: translate(50%, 50%); }

.hero-orbit-node svg {
  width: 20px;
  height: 20px;
}

/* 2. Stats Grid */
.stats-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(var(--primary-rgb), 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* 3. Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 4. Workflow Section */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.workflow-item {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.workflow-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.workflow-item:hover .workflow-step-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #1C1C19;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}

.workflow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.workflow-title {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.workflow-desc {
  font-size: 0.85rem;
}

/* 5. Portfolio Section */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #1C1C19;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 5. Portfolio Section */
.portfolio-card.premium-style {
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid color-mix(in srgb, var(--proj-color, var(--primary)) 12%, transparent);
  border-radius: 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

[data-theme="light"] .portfolio-card.premium-style {
  background: #FFFFFF;
  border-color: color-mix(in srgb, var(--proj-color, var(--primary)) 12%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.portfolio-card.premium-style:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--proj-color, var(--primary)) 35%, transparent);
  box-shadow: var(--shadow-lg), 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 25px rgba(var(--primary-rgb), 0.02);
}

[data-theme="light"] .portfolio-card.premium-style:hover {
  border-color: color-mix(in srgb, var(--proj-color, var(--primary)) 30%, transparent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04), 0 0 20px rgba(var(--primary-rgb), 0.03);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  width: 100%;
}

.portfolio-badge-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio-badge-circle svg {
  width: 24px;
  height: 24px;
}

.portfolio-badge-meta {
  display: flex;
  flex-direction: column;
}

.portfolio-category-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-dots-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 22px;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.15) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.45;
  transition: var(--transition);
}

.portfolio-card.premium-style:hover .portfolio-dots-grid {
  opacity: 0.7;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--text-primary);
  min-height: 4.2rem;
}

.portfolio-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  min-height: 4.8rem;
}

.portfolio-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid color-mix(in srgb, var(--proj-color, var(--primary)) 15%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--proj-color, var(--primary)) 15%, transparent);
  padding: 1.25rem 0;
  margin-bottom: 1.75rem;
}

[data-theme="light"] .portfolio-card-metrics {
  border-color: color-mix(in srgb, var(--proj-color, var(--primary)) 15%, transparent);
}

.metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.35rem;
  justify-content: flex-start;
}

.metric-col:not(:last-child) {
  border-right: 1px solid color-mix(in srgb, var(--proj-color, var(--primary)) 15%, transparent);
}

[data-theme="light"] .metric-col:not(:last-child) {
  border-right-color: color-mix(in srgb, var(--proj-color, var(--primary)) 15%, transparent);
}

.metric-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon svg {
  width: 100%;
  height: 100%;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  margin-top: 0.25rem;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: break-word;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.portfolio-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-top: auto;
  align-self: center;
}

.portfolio-card-btn span {
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.portfolio-card-btn:hover span {
  border-bottom-color: currentColor;
}

.btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, color 0.35s;
}

.btn-arrow-circle svg {
  width: 14px;
  height: 14px;
}

.portfolio-card.premium-style:hover .portfolio-badge-circle {
  box-shadow: 0 0 20px var(--proj-color);
  transform: scale(1.05);
}

.portfolio-card.premium-style:hover .btn-arrow-circle {
  transform: translateX(4px);
  background: var(--proj-color) !important;
  color: #1C1C19 !important;
}

/* 6. Why Choose Us Section */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.why-choose-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-choose-item {
  display: flex;
  gap: 1.25rem;
}

.why-choose-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
}

.why-choose-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* 7. Call To Action Cards */
.cta-box {
  background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.15), transparent 60%), var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 20px var(--shadow-gold);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: radial-gradient(ellipse at bottom left, rgba(var(--accent-rgb), 0.05), transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 8. AI Solutions ROI Tool Widget */
.roi-calculator-container {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.roi-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.roi-slider-val {
  color: var(--primary);
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--border-color);
  outline: none;
  transition: var(--transition);
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
  transition: var(--transition);
}

.roi-slider::-webkit-slider-thumb:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.roi-outputs {
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.roi-output-item {
  display: flex;
  flex-direction: column;
}

.roi-output-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.roi-output-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* 9. About Page Timeline & Team */
.timeline {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
  width: 50%;
  padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--primary);
  position: absolute;
  top: 10px;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo-box {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-photo-box img {
  transform: scale(1.04);
}

.team-photo-box svg {
  width: 64px;
  height: 64px;
  color: rgba(var(--primary-rgb), 0.15);
}

.team-socials {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 10. Contact Us Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-map-box {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
  background: var(--bg-secondary);
}

/* 11. Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-img-box {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.blog-img-box svg {
  width: 50px;
  height: 50px;
  color: rgba(var(--primary-rgb), 0.15);
  transition: var(--transition);
}

.blog-card:hover .blog-img-box svg {
  color: var(--primary);
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-meta svg {
  width: 14px;
  height: 14px;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Detail views */
.detail-hero {
  padding: 8rem 0 4rem 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(var(--primary-rgb), 0.02);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detail-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-graphic-mockup {
  width: 100%;
  max-width: 380px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.mockup-header {
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 0.35rem;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

.mockup-dot:nth-child(1) { background: #FF5F56; opacity: 1; }
.mockup-dot:nth-child(2) { background: #FFBD2E; opacity: 1; }
.mockup-dot:nth-child(3) { background: #27C93F; opacity: 1; }

.mockup-body {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 180px;
}

.mockup-code-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.mockup-code-lines span {
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  opacity: 0.6;
}

.mockup-code-lines .line-1 { width: 80%; background: var(--primary); }
.mockup-code-lines .line-2 { width: 50%; }
.mockup-code-lines .line-3 { width: 70%; }
.mockup-code-lines .line-4 { width: 40%; }

.mockup-stats-pulse {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
}

.pulse-center {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1C19;
  z-index: 2;
  transition: all 0.3s ease;
}

.pulse-center svg {
  width: 22px;
  height: 22px;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulseMockup 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  z-index: 1;
}

@keyframes pulseMockup {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

.detail-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
  align-items: flex-start;
}

.detail-main-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
}

.detail-main-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.detail-main-content ul {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-main-content ul li {
  position: relative;
  padding-left: 1.75rem;
}

.detail-main-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.sidebar-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.tech-tags-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag-badge {
  font-size: 0.8rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  color: var(--text-primary);
}

.blog-quote-box {
  border-left: 3px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
}

/* Hero Dashboard Mockup Layout */
.hero-dashboard-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  z-index: 5;
}

.mockup-frame {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--primary-rgb), 0.05);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

[data-theme="light"] .mockup-frame {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 25px rgba(var(--primary-rgb), 0.03);
}

.mockup-header {
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

[data-theme="light"] .mockup-header {
  background: rgba(0, 0, 0, 0.03);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 0.35rem;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
}

.mockup-dots span:nth-child(1) { background: #FF5F56; opacity: 1; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; opacity: 1; }
.mockup-dots span:nth-child(3) { background: #27C93F; opacity: 1; }

.mockup-address {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

[data-theme="light"] .mockup-address {
  background: rgba(0, 0, 0, 0.04);
}

.mockup-body-img {
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  position: relative;
}

.mockup-body-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition);
}

[data-theme="light"] .mockup-body-img img {
  opacity: 0.95;
}

/* Floating overlay widgets */
.mockup-glass-tag {
  position: absolute;
  background: rgba(var(--bg-secondary-rgb, 19, 19, 17), 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  transition: transform 0.3s ease;
}

[data-theme="light"] .mockup-glass-tag {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.float-tag-1 {
  top: 15%;
  left: -20px;
  animation: float1 6s ease-in-out infinite;
}

.float-tag-2 {
  bottom: 12%;
  right: -30px;
  animation: float2 7s ease-in-out infinite;
}

.status-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27C93F;
  box-shadow: 0 0 10px #27C93F;
  animation: pulseGreen 1.8s infinite;
}

.status-metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-meta {
  display: flex;
  flex-direction: column;
}

.status-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.status-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Charts overlay widget */
.mockup-chart-overlay {
  position: absolute;
  top: -30px;
  right: 15px;
  background: rgba(var(--bg-secondary-rgb, 19, 19, 17), 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 190px;
  z-index: 10;
  animation: float3 8s ease-in-out infinite;
}

[data-theme="light"] .mockup-chart-overlay {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 48px;
  gap: 0.35rem;
}

.chart-bar {
  flex: 1;
  background: rgba(var(--primary-rgb), 0.2);
  border-radius: 3px 3px 0 0;
  height: 0;
  animation: growBar 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.chart-bar::after {
  content: '';
  display: block;
  width: 100%;
  height: var(--height);
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* Animations declarations */
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(12px) rotate(0.5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(39, 201, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

@keyframes growBar {
  to { height: 100%; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.15); }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid, .portfolio-grid, .team-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-item:not(:last-child)::after {
    display: none;
  }
  
  .why-choose-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .detail-container {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  
  .detail-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .detail-hero-content {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid, .portfolio-grid, .team-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 0;
  }
  .timeline-item {
    width: 100%;
    padding: 0 0 0 2rem;
    text-align: left !important;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
    right: auto;
  }
  
  .cta-box {
    padding: 3rem 1.5rem;
  }
  .cta-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   PREMIUM HERO EFFECTS & COUNTER GRAPHS
   ========================================================================== */

/* Hero section premium depth layers */
.hero-visual {
  perspective: 1200px;
}

.hero-dashboard-mockup {
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-glow-orb {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.22) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(65px);
  z-index: 1;
  pointer-events: none;
}

.hero-light-beam {
  position: absolute;
  top: 5%;
  left: 25%;
  width: 6px;
  height: 480px;
  background: linear-gradient(to bottom, transparent, rgba(var(--primary-rgb), 0.35), transparent);
  transform: rotate(-35deg);
  filter: blur(4px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
  animation: beamMove 8s ease-in-out infinite;
}

@keyframes beamMove {
  0%, 100% { transform: translate(-20px, -20px) rotate(-35deg); opacity: 0.45; }
  50% { transform: translate(30px, 30px) rotate(-35deg); opacity: 0.75; }
}

/* Floating particle details */
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

/* Stats Tiny Graphs */
.stat-graph {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 24px;
  width: 32px;
  margin-left: 10px;
  vertical-align: middle;
}

.stat-graph-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 99px;
  height: 0;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.75;
}

.stat-item.revealed .stat-graph-bar:nth-child(1) { height: 35%; transition-delay: 0.1s; }
.stat-item.revealed .stat-graph-bar:nth-child(2) { height: 60%; transition-delay: 0.2s; }
.stat-item.revealed .stat-graph-bar:nth-child(3) { height: 95%; transition-delay: 0.3s; }
.stat-item.revealed .stat-graph-bar:nth-child(4) { height: 75%; transition-delay: 0.4s; }

/* Case Studies Card Glow borders moving gradient background overlay */
.portfolio-card.premium-style::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  transition: background-image 0.4s ease;
}

.portfolio-card.premium-style:hover::before {
  background: linear-gradient(135deg, var(--accent) 0%, transparent 40%, var(--primary) 100%);
}

/* Services hover light glow follow cursor positioning helper */
.services-card-glow-bg {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  transform: translate(-50%, -50%);
  filter: blur(15px);
}

.card-glass:hover .services-card-glow-bg {
  opacity: 1;
}

/* Premium Coded CSS Dashboard Mockup style rules */
.mockup-body-dashboard {
  width: 100%;
  height: 100%;
  background-color: #0c0c0b;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

.db-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.db-card-mini {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(197, 155, 39, 0.08);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.db-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.db-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.db-value.text-gold {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
}

.db-main-chart {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(197, 155, 39, 0.05);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  height: 120px;
}

.db-chart-bg-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 0;
}

.db-chart-bg-lines span {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.015);
}

.db-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.db-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards infinite alternate;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.db-footer-logs {
  background: #050504;
  border: 1px solid rgba(197, 155, 39, 0.04);
  border-radius: 6px;
  padding: 0.6rem;
  font-family: monospace;
  font-size: 0.6rem;
  color: #8c8c87;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.log-entry {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.log-time {
  color: var(--primary);
}

/* ==========================================================================
   AI COMMAND CENTER WIDGET STYLES & TRUST BAR
   ========================================================================== */

.ai-command-center {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 450px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
}

.ai-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Glowing AI Core Orb centerpiece */
.ai-core-orb {
  position: relative;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(var(--primary-rgb), 0.85) 50%, var(--bg-primary) 95%);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 
    0 0 45px rgba(var(--primary-rgb), 0.55),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: pulseCore 5s ease-in-out infinite;
  pointer-events: auto;
}

.ai-core-orb::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(var(--primary-rgb), 0.4);
  border-radius: 50%;
  animation: rotateClockwise 15s linear infinite;
  pointer-events: none;
}

.ai-core-orb::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1.2px dashed rgba(var(--primary-rgb), 0.2);
  border-radius: 50%;
  animation: rotateCounterClockwise 25s linear infinite;
  pointer-events: none;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.ai-core-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: 2;
  pointer-events: none;
  animation: glowScale 5s ease-in-out infinite;
}

.ai-core-symbol {
  font-size: 1.8rem;
  color: #1C1C19;
  font-weight: 800;
  z-index: 6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  animation: rotateSymbol 10s linear infinite;
}

@keyframes rotateSymbol {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCore {
  0%, 100% { transform: scale(1); box-shadow: 0 0 35px rgba(var(--primary-rgb), 0.45), inset 0 0 15px rgba(255, 255, 255, 0.15); }
  50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(var(--primary-rgb), 0.65), inset 0 0 25px rgba(255, 255, 255, 0.25); }
}

@keyframes glowScale {
  0%, 100% { width: 140px; height: 140px; opacity: 0.7; }
  50% { width: 175px; height: 175px; opacity: 1; }
}

/* Connected Orbiting Nodes */
.ai-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-family: var(--font-body);
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 8px 20px var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  user-select: none;
}

.ai-node:hover {
  border-color: var(--accent);
  background: rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.25), 0 0 10px rgba(var(--primary-rgb), 0.15);
}

.node-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.node-text {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 2px;
  pointer-events: none;
}

.ai-node:hover .node-text {
  color: var(--accent);
}

/* Floating Metrics Cards */
.ai-metric-card {
  position: absolute;
  background: var(--bg-glass);
  border: 1.2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 15px 30px var(--shadow-sm);
  z-index: 12;
  will-change: transform;
}

.metric-icon-mini {
  font-size: 1.25rem;
}

.metric-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-lbl {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Layout coordinates for Metric Cards */
.metric-card-1 {
  top: 5%;
  left: -20px;
  animation: cardFloat1 7s ease-in-out infinite;
}

.metric-card-2 {
  top: 15%;
  right: -30px;
  animation: cardFloat2 8s ease-in-out infinite;
}

.metric-card-3 {
  bottom: 12%;
  left: -40px;
  animation: cardFloat3 9s ease-in-out infinite;
}

.metric-card-4 {
  bottom: 5%;
  right: -20px;
  animation: cardFloat4 7.5s ease-in-out infinite;
}

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-12px) translateX(6px) rotate(-0.5deg); }
}

@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(14px) translateX(-8px) rotate(0.5deg); }
}

@keyframes cardFloat3 {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-14px) translateX(8px) rotate(-0.5deg); }
}

@keyframes cardFloat4 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(12px) translateX(-6px) rotate(0.5deg); }
}

/* Trust Bar */
.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.trust-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-text strong {
  color: var(--primary);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  align-items: center;
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: default;
  user-select: none;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.25);
}

.trust-logo .logo-sub {
  font-size: 0.42rem;
  display: block;
  font-weight: 500;
  margin-top: -3px;
  color: var(--text-muted);
}

/* Mobile responsive simplifications */
@media (max-width: 768px) {
  .ai-command-center {
    height: 380px;
  }
  .ai-core-orb {
    width: 70px;
    height: 70px;
  }
  .ai-core-symbol {
    font-size: 1.4rem;
  }
  .ai-node {
    width: 42px;
    height: 42px;
  }
  .node-icon {
    font-size: 0.95rem;
  }
  .node-text {
    display: none;
  }
  .ai-metric-card {
    padding: 0.45rem 0.75rem;
    gap: 0.5rem;
  }
  .metric-icon-mini {
    font-size: 1rem;
  }
  .metric-num {
    font-size: 0.9rem;
  }
  .metric-lbl {
    font-size: 0.5rem;
  }
  .metric-card-1 {
    top: 2%;
    left: 5px;
  }
  .metric-card-2 {
    top: 12%;
    right: 5px;
  }
  .metric-card-3 {
    bottom: 8%;
    left: 5px;
  }
  .metric-card-4 {
    bottom: 2%;
    right: 5px;
  }
  .hero-trust {
    margin-top: 2.5rem;
    text-align: center;
  }
  .trust-logos {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Interactive Screenshot Showcase Gallery */
.screenshot-showcase-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .screenshot-showcase-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.device-mockup-frame {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 25px 60px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

[data-theme="light"] .device-mockup-frame {
  background: #FFFFFF;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.device-mockup-header {
  background: var(--bg-tertiary);
  padding: 0.75rem 1.25rem;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

[data-theme="light"] .device-mockup-header {
  background: #F5F5F0;
}

.device-dots {
  display: flex;
  gap: 6px;
}

.device-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.device-dots span:nth-child(1) { background-color: #E74C3C; opacity: 0.85; }
.device-dots span:nth-child(2) { background-color: #F1C40F; opacity: 0.85; }
.device-dots span:nth-child(3) { background-color: #2ECC71; opacity: 0.85; }

.device-address-bar {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.35rem 1rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
  user-select: none;
}

[data-theme="light"] .device-address-bar {
  background: #FCFCFA;
}

.device-mockup-screen-container {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.device-screen-scroll-wrap {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

/* Inside screen content - custom styled CSS mockups of premium screens! */
.device-screen-content {
  width: 100%;
  min-height: 550px;
  background: var(--bg-primary);
  position: relative;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .device-screen-content {
  background: #FCFCFA;
}

.screenshot-selector-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .screenshot-selector-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.screenshot-selector {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: var(--transition);
  outline: none;
}

.screenshot-selector:hover, .screenshot-selector.active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.04);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.05);
}

@media (max-width: 1024px) {
  .screenshot-selector {
    width: calc(50% - 0.5rem);
  }
  .screenshot-selector:hover, .screenshot-selector.active {
    transform: translateY(-2px);
  }
}

@media (max-width: 600px) {
  .screenshot-selector {
    width: 100%;
  }
}

.selector-icon {
  font-size: 1.6rem;
  background: rgba(var(--primary-rgb), 0.08);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.selector-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.selector-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Custom premium pages mockups layouts inside the device screen */
.preview-nav {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.preview-nav span:nth-child(2) {
  color: var(--primary);
}
.preview-body-wrap {
  padding: 1.5rem;
}
.preview-hero-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.preview-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.preview-item-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}
[data-theme="light"] .preview-item-card {
  background: #F5F5F0;
}
.preview-item-img {
  width: 100%;
  height: 90px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(var(--primary-rgb), 0.2) 70%);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.preview-item-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.preview-item-price {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
}

/* SaaS preview styles */
.preview-saas-dashboard {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.preview-saas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  font-size: 0.75rem;
}
.preview-saas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.preview-saas-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: left;
}
[data-theme="light"] .preview-saas-card {
  background: #F5F5F0;
}
.preview-saas-card h5 {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.preview-saas-card p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.preview-saas-chart {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  justify-content: space-around;
}
[data-theme="light"] .preview-saas-chart {
  background: #F5F5F0;
}
.preview-saas-chart-bar {
  flex: 1;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* Vertical Workflow/Roadmap layout specifically for Service Details */
.workflow-vertical {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  padding-left: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

/* Vertical line connecting the steps */
.workflow-vertical::before {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(2rem + 20px); /* Centered with the 40px circle */
  bottom: 15px;
  width: 2px;
  background: var(--border-color);
  z-index: 1;
}

.workflow-vertical .workflow-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* Remove horizontal line pseudo-element from vertical workflow items */
.workflow-vertical .workflow-item::after {
  display: none !important;
}

.workflow-vertical .workflow-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--primary);
  font-weight: 700;
  transition: var(--transition);
}

.workflow-vertical .workflow-item:hover .workflow-step-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #1C1C19;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.35);
}

.workflow-vertical .workflow-content {
  flex: 1;
  padding-top: 0.2rem;
}

.workflow-vertical .workflow-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.workflow-vertical .workflow-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

