@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg: #030712;
  --panel: rgba(15, 23, 42, 0.4);
  --line: rgba(59, 130, 246, 0.1);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.3);
  --secondary: #ffffff;
  --accent: #60a5fa;
  --radius: 16px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
  --glass-border: 1px solid rgba(255, 255, 255, 0.05);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Background Effects */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.site-bg .blob {
  z-index: 1; /* keep blobs above video */
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-one {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--primary);
}

.blob-two {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--secondary);
  animation-delay: -5s;
}

.blob-three {
  top: 40%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background: var(--accent);
  animation-delay: -10s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 95%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: 100px;
  z-index: 100;
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero-new {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 150px;
  z-index: 1;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 2;
  text-decoration: none;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--secondary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 4px;
  animation: scrollWheel 2s infinite;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.6);
}

.hero-content-new {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 80px;
  width: 100%;
}

.hero-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.hero-copy-new {
  display: block;
  text-align: left;
}

.hero-copy-new h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.hero-text-new {
  font-size: 1.25rem;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions-new {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-features-bar {
  background: transparent;
  border-top: none;
  padding: 0;
  margin-bottom: 2rem;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.feature-item .f-icon {
  background: rgba(37, 99, 235, 0.2);
  color: #3b82f6;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .f-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-item .f-text strong {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-item .f-text span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid-new {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions-new {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy-new h1 { font-size: 2.5rem; }
  .hero-grid-new { gap: 2rem; }
}

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

.hero-copy h1 {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: none;
  border-radius: 8px;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Glass Cards (Services, Stats, Projects) */
.glass-card, .stat-card, .project-card, .timeline-item, .founder-card {
  background: var(--panel);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.glass-card:hover, .project-card:hover, .founder-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card h3, .project-card h3, .founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.glass-card p, .project-content p, .founder-card p {
  color: var(--muted);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.services-grid > * {
  flex: 1 1 300px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .services-grid > * {
    max-width: calc(50% - 1rem);
  }
}
@media (min-width: 1024px) {
  .services-grid > * {
    max-width: calc(33.333% - 1.33rem);
  }
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.founder-photo {
  margin-bottom: 1.5rem;
}

.founder-photo img {
  width: 100%;
  border-radius: 12px;
  height: 250px;
  object-fit: cover;
}

.founder-info h3 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.founder-info span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-card strong {
  display: block;
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent);
  background: linear-gradient(to right, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-shot {
  height: 200px;
  background: #1f2937;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--muted);
  overflow: hidden;
  position: relative;
}

.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}

.badges span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--muted);
}

.project-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Forms (The Onboarding / Intake Form) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-form {
  background: var(--panel);
  border: var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--secondary);
  font-size: 0.9rem;
}

.contact-form .full, .form-actions {
  grid-column: 1 / -1;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form select option {
  background: var(--bg);
  color: var(--secondary);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
  margin: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Timeline / Process */
.timeline {
  display: grid;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.timeline-item span {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  -webkit-text-stroke: 1px var(--primary);
}

/* Footer */
.footer {
  background: #020617;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer a {
  display: block;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  margin-top: 60px;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Utilities & Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Floating CTA Widget */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-cta .btn {
  box-shadow: 0 10px 40px var(--primary-glow);
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 100px;
  animation: floatAndGlow 3s ease-in-out infinite;
}

@media (max-width: 600px) {
  .floating-cta {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .floating-cta .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

@keyframes floatAndGlow {
  0% { transform: translateY(0) scale(1); box-shadow: 0 10px 30px var(--primary-glow); }
  50% { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.6); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 10px 30px var(--primary-glow); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Hero visual / graphics */
.hero-visual {
  position: relative;
  height: 500px;
}

.glass-panel {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2rem;
  position: absolute;
  width: 80%;
  right: 0;
  top: 50px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s;
  color: #f8fafc;
}

.glass-panel:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.laptop-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.laptop-topbar img {
  width: 30px;
  border-radius: 50%;
}

.growth-chart {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 150px;
}

.growth-chart span {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 4px 4px 0 0;
  height: var(--bar);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 2rem;
    max-width: 100%;
    transform: none !important;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    border-radius: 16px;
  }
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: 3rem;
  }
}


/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background: var(--panel);
  border: var(--glass-border);
  border-radius: 24px;
  width: min(800px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-dialog .contact-form {
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Video Showcase Panel */
.video-panel {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.3);
  position: relative;
}

.video-panel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-ui-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.ui-header {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), transparent);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; box-shadow: 0 0 10px #ff5f56; }
.dot.yellow { background: #ffbd2e; box-shadow: 0 0 10px #ffbd2e; }
.dot.green { background: #27c93f; box-shadow: 0 0 10px #27c93f; }

.ui-footer {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  padding: 20px 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
}

.ui-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #27c93f;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 10px #27c93f;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(39, 201, 63, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

.ui-metric {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* FAQ Styles */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--panel);
  border: var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-item button span {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
  line-height: 1.6;
}

.faq-item.active p {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-item.active button span {
  transform: rotate(45deg);
}


/* Assist Widget / AI Bot Styles */
.assist-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.bot-toggle, .whatsapp-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(59, 130, 246, 0.2);
  cursor: pointer;
  color: var(--accent);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bot-toggle:hover, .whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.need-help-popup {
  position: absolute;
  right: 75px;
  top: 10px;
  background: var(--primary);
  color: white;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  animation: bouncePopup 2s infinite;
  box-shadow: 0 4px 15px rgba(18, 81, 230, 0.3);
}
.need-help-popup::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 7px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary);
}
@keyframes bouncePopup {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

.bot-toggle svg, .whatsapp-float svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.whatsapp-float {
  background: #25d366;
  border-color: #25d366;
  color: var(--secondary);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}
.whatsapp-float:hover {
  background: #1ebc59;
  border-color: #1ebc59;
  color: var(--secondary);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.bot-panel {
  position: absolute;
  bottom: 100%;
  margin-bottom: 20px;
  right: 0;
  width: 350px;
  background: var(--panel);
  border: var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
  overflow: hidden;
}

.assist-widget.open .bot-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.bot-head {
  padding: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.bot-head strong { font-family: var(--font-heading); color: var(--secondary); font-size: 1.25rem; font-weight: 800; }
.bot-head small { color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-top: 4px; }

.bot-messages {
  height: 300px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bot-messages p {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
  animation: fadeIn 0.3s ease backwards;
}

.bot-options {
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.bot-options button {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.bot-options button:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

.bot-whatsapp {
  display: block;
  text-align: center;
  padding: 15px;
  background: #25d366;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}

.bot-whatsapp:hover { background: #1ebc59; }

/* Mobile adjustments */
@media (max-width: 600px) {
  .assist-widget {
    bottom: 20px;
    right: 20px;
  }
  .bot-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 85vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    z-index: 10000;
  }
  .assist-widget.open .bot-panel {
    transform: translateY(0);
  }
  .bot-messages {
    height: calc(80vh - 200px);
  }
}


/* Tech Cloud Styles */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tech-cloud span {
  padding: 12px 24px;
  background: var(--panel);
  border: var(--glass-border);
  border-radius: 100px;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tech-cloud span:hover {
  background: rgba(3, 7, 18, 0.6);
  transform: translateY(-5px) scale(1.05);
  border-color: var(--accent);
  color: var(--secondary);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Founders Section Styles */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.founder-card {
  background: var(--panel);
  border: var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.5);
}
.founder-photo {
  width: 100%;
  height: 280px;
  background: #1e293b;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.founder-card:hover .founder-photo img {
  transform: scale(1.05);
}
.founder-info {
  padding: 2rem;
  text-align: center;
}
.founder-info h3 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}
.founder-info span {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.founder-info p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Chatbot Message Differentiators */
.bot-message {
  padding: 12px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease backwards;
  width: fit-content;
  max-width: 90%;
  clear: both;
  margin-bottom: 8px;
}

.bot-message.bot {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px 16px 16px 4px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: flex-start;
}

.bot-message.user {
  background: rgba(59, 130, 246, 0.2);
  border-radius: 16px 16px 4px 16px;
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.4);
  align-self: flex-end;
  margin-left: auto;
}

/* Override previous incorrect p tag styling if it exists */
.bot-messages p {
  display: none;
}


/* Service Cards Modal */
.service-card {
  cursor: pointer;
}

.service-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.service-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}
