/* ===== Technology1 Root Landing Page Styles ===== */

/* Hero glow animation */
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes glowPulse2 {
  0%, 100% { opacity: 0.2; transform: scale(1.05); }
  50% { opacity: 0.45; transform: scale(1); }
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, -40px) rotate(-3deg); }
  75% { transform: translate(-30px, -10px) rotate(4deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -30px) rotate(-4deg); }
  50% { transform: translate(20px, -15px) rotate(6deg); }
  75% { transform: translate(10px, -35px) rotate(-2deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-25px, -25px) rotate(8deg); }
  66% { transform: translate(15px, -45px) rotate(-5deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero section */
.hero-bg {
  position: relative;
  overflow: hidden;
  background: #0b0f1a;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  left: 60%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  animation: glowPulse2 8s ease-in-out infinite;
  pointer-events: none;
}

/* Floating geometric shapes */
.geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}

.geo-1 {
  top: 15%;
  left: 8%;
  width: 80px;
  height: 80px;
  border: 2px solid #7c3aed;
  border-radius: 12px;
  transform: rotate(15deg);
  animation: float1 12s ease-in-out infinite;
}

.geo-2 {
  top: 25%;
  right: 12%;
  width: 60px;
  height: 60px;
  border: 2px solid #a78bfa;
  border-radius: 50%;
  animation: float2 10s ease-in-out infinite;
}

.geo-3 {
  bottom: 20%;
  left: 15%;
  width: 40px;
  height: 40px;
  background: #7c3aed;
  border-radius: 8px;
  transform: rotate(45deg);
  animation: float3 14s ease-in-out infinite;
}

.geo-4 {
  bottom: 30%;
  right: 8%;
  width: 100px;
  height: 100px;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  animation: float1 16s ease-in-out infinite reverse;
}

.geo-5 {
  top: 60%;
  left: 45%;
  width: 30px;
  height: 30px;
  background: #a78bfa;
  border-radius: 6px;
  animation: float2 11s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Dark section grid pattern */
.grid-pattern {
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Dashboard mockup */
.dashboard-mockup {
  background: #1e1e2e;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.15),
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(124, 58, 237, 0.08);
}

.dashboard-topbar {
  background: #16162a;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
}

.dashboard-bar {
  height: 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.dashboard-chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding-top: 12px;
}

.dashboard-chart-bar span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 0;
}

/* Feature card hover */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

/* Industry card */
.industry-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Stat card number animation */
.stat-number {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA gradient */
.cta-gradient {
  background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
  position: relative;
  overflow: hidden;
}

.cta-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Button shine effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 120%;
}

/* ===== Sub-page prose styling ===== */
.page-prose {
  color: #374151;
  font-size: 1.075rem;
  line-height: 1.8;
}

.page-prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.page-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-prose p {
  margin-bottom: 1.25rem;
}

.page-prose ul, .page-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.page-prose ul { list-style-type: disc; }
.page-prose ol { list-style-type: decimal; }

.page-prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.page-prose a {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.page-prose a:hover {
  color: #6d28d9;
}

.page-prose strong {
  font-weight: 600;
  color: #111827;
}

.page-prose blockquote {
  border-left: 3px solid #7c3aed;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #6b7280;
  font-style: italic;
}

/* Contact form input styling */
.contact-input {
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
