/* ============================================
   RAi Works — app.css
   Complete site styles (dark theme)
   ============================================ */

/* --- Font Face: Poppins (self-hosted) --- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins/poppins-latin-700-normal.woff2') format('woff2');
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden !important;
  scroll-padding-top: 80px;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #e2e8f0;
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1rem; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1400px) { .container { max-width: 1440px; } }
@media (min-width: 1600px) { .container { max-width: 1560px; } }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
}
@media (max-width: 991px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.navbar-brand {
  font-weight: 500;
  font-size: 1.25rem;
  color: #e2e8f0;
}
.navbar-brand span { font-weight: 300; font-size: 0.75rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links a {
  color: #a0aec0;
  padding: 0.5rem 0.75rem;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover { color: #e2e8f0; }
.nav-links a.active { color: #e2e8f0; }
.nav-links a.active::after { width: 60%; }
.btn-gemini {
  background-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.btn-gemini:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

/* Hamburger */
.navbar-toggler {
  display: none;
  background: none;
  border: 1px solid rgba(102, 126, 234, 0.4);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.navbar-toggler:hover {
  border-color: rgba(102, 126, 234, 0.6);
  background-color: rgba(102, 126, 234, 0.1);
}
.navbar-toggler svg { color: #e2e8f0; }
@media (max-width: 991px) {
  .nav-links, .navbar .btn-gemini { display: none; }
  .navbar-toggler { display: block; }
}

/* --- Mobile Offcanvas Menu --- */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.offcanvas-overlay.active { opacity: 1; visibility: visible; }

.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 20, 0.98) 0%, rgba(20, 20, 40, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(102, 126, 234, 0.2);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.offcanvas.active { transform: translateX(0); }

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.offcanvas-title {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 1.25rem;
}
.offcanvas-title span { font-weight: 300; font-size: 0.75rem; }
.offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.offcanvas-close:hover { opacity: 1; }
.offcanvas-close svg { color: #e2e8f0; }

.offcanvas-body { padding: 2rem 1.5rem; flex: 1; }
.offcanvas-body .nav-list { display: flex; flex-direction: column; gap: 0.5rem; }
.offcanvas-body .nav-list a {
  color: #cbd5e0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.offcanvas-body .nav-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.offcanvas-body .nav-list a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #fff;
  transform: translateX(5px);
}
.offcanvas-body .nav-list a:hover::before { transform: scaleY(1); }
.offcanvas-body .nav-list a.active {
  background: rgba(102, 126, 234, 0.1);
  color: #fff;
}
.offcanvas-body .nav-list a.active::before { transform: scaleY(1); }
.offcanvas-body .btn-gemini {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
.offcanvas-body .btn-gemini:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}
@media (min-width: 992px) {
  .offcanvas, .offcanvas-overlay { display: none !important; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background-color: #000;
  overflow: hidden;
  max-width: 100vw;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-badge { margin-bottom: 1.5rem; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #fff;
  backdrop-filter: blur(10px);
}
.badge-pill i[data-lucide] { color: #fbbf24; width: 18px; height: 18px; }

.hero h1 {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title-animated {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
}

/* Animated gradient text */
.gradient-text-animated {
  background: linear-gradient(90deg, #667eea 0%, #7c6fd6 8%, #8b5cf6 16%, #a855f7 24%, #c084fc 32%, #d8b4fe 40%, #e9d5ff 48%, #c084fc 56%, #a855f7 64%, #8b5cf6 72%, #7c6fd6 80%, #667eea 88%, #667eea 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 32s ease-in-out infinite;
  display: inline-block;
}
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #ccc;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  padding: 0 1rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #e2e8f0;
  border: none;
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
  cursor: pointer;
  font-family: inherit;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
  color: #e2e8f0;
}
.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-family: inherit;
}
.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Header Gradient Animation --- */
.header__gradient__container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  z-index: 1;
  overflow: hidden;
  max-width: 100vw;
}
.header__gradient__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120vh;
  overflow: hidden;
  max-width: 100vw;
}
.header__gradient__shape {
  position: absolute;
  border-radius: 100%;
  filter: blur(90px);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}
.header__gradient__shape:nth-child(1) {
  top: 5%;
  right: 10%;
  width: 35%;
  height: 35%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.2));
  animation: float1 48s ease-in-out infinite alternate;
}
.header__gradient__shape:nth-child(2) {
  top: 15%;
  left: 50%;
  width: 45%;
  height: 40%;
  background: radial-gradient(circle at center, rgba(147, 51, 234, 0.4), rgba(126, 34, 206, 0.15));
  transform: translate(-50%, -50%);
  animation: float2 54s ease-in-out infinite alternate;
}
.header__gradient__shape:nth-child(3) {
  top: 10%;
  left: 15%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.35), rgba(67, 56, 202, 0.1));
  animation: float3 46s ease-in-out infinite alternate;
}
@keyframes float1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { opacity: 0.6; }
  100% { transform: translate(3%, -3%) scale(1.08); opacity: 0.4; }
}
@keyframes float2 {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { transform: translate(-47%, -53%) scale(1.12); opacity: 0.4; }
}
@keyframes float3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { opacity: 0.55; }
  100% { transform: translate(2%, 2%) scale(1.06); opacity: 0.35; }
}

/* --- Gradient Stat Text --- */
.gradient-stat-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Features Section (Why RAi Works) --- */
.features-section {
  min-height: 100vh;
  padding: 100px 0;
  background-color: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.section-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-align: center;
  color: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
.feature-card .icon {
  margin-bottom: 1.5rem;
}
.feature-card .icon i[data-lucide] {
  width: 48px;
  height: 48px;
  stroke: url(#icon-gradient);
  color: #8b5cf6;
}
.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff;
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 0;
}

/* --- About Section --- */
.content-section {
  min-height: 100vh;
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(15, 15, 30, 0.5) 50%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  align-items: center;
}
.content-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}
.content-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}
.content-section .container { position: relative; z-index: 2; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; }
  .content-section { padding: 80px 0; }
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  animation: pulse-badge 3s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(102, 126, 234, 0.5); }
}

.about-left h2 {
  font-size: 3.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-left p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e0;
}
.about-left p strong {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 575px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
.stat-box:hover::before { transform: scaleX(1); }
.stat-box h3 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.stat-box p {
  font-size: 0.8rem;
  color: #a0aec0;
  margin: 0;
  line-height: 1.3;
}

/* About Visual Cards */
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }

.about-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #8b5cf6, #d946ef);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.about-card:hover::before { transform: scaleX(1); }
.about-card:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(139, 92, 246, 0.12) 100%);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}
.about-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.about-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.about-card:hover .about-card-icon {
  transform: scale(1.08) rotate(-5deg);
}
.about-card-icon i[data-lucide] { width: 28px; height: 28px; color: #8b5cf6; }
.about-card h4 {
  color: #e2e8f0;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.about-card p {
  color: #a0aec0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.about-cta {
  text-align: center;
  margin-top: 1rem;
}
.btn-about-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn-about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
  color: white;
}

/* --- Product Showcase / Services Section --- */
.product-showcase {
  min-height: 100vh;
  padding: 100px 0;
  background-color: #000;
  display: flex;
  align-items: center;
}
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 80px;
}
.showcase-block:last-child { margin-bottom: 0; }
.showcase-block.reversed { direction: rtl; }
.showcase-block.reversed > * { direction: ltr; }
@media (max-width: 767px) {
  .showcase-block, .showcase-block.reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    margin-bottom: 60px;
  }
}

.showcase-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #fff;
}
.showcase-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #a0aec0;
  margin-bottom: 2rem;
}
.feature-list { padding: 0; }
.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  color: #cbd5e0;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}
.feature-list li:hover {
  color: #e2e8f0;
  transform: translateX(5px);
}
.feature-list li i[data-lucide] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #667eea;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

.showcase-media {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}
.showcase-media:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}
.showcase-media::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.15), transparent);
  animation: shimmer 4s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .showcase-media { height: 300px; margin-top: 1.5rem; }
  .showcase-title { font-size: 1.8rem; }
  .showcase-description { font-size: 1rem; }
}

/* --- Process / Stats Section --- */
.stats-section {
  min-height: 100vh;
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 40, 0.3) 50%, rgba(0, 0, 0, 0.95) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.stats-section .container { position: relative; z-index: 2; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 767px) { .process-grid { grid-template-columns: 1fr; } }

.stat-card {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(102, 126, 234, 0.15);
  border-radius: 20px;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}
.stat-card .icon {
  margin-bottom: 1.5rem;
}
.stat-card .icon i[data-lucide] {
  width: 48px;
  height: 48px;
  color: #8b5cf6;
  transition: all 0.4s ease;
}
.stat-card:hover .icon i[data-lucide] {
  transform: scale(1.1);
}
.stat-number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
  display: inline-block;
}
.stat-label {
  font-size: 0.95rem;
  color: #a0aec0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  display: block;
}
.stat-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e0;
  margin: 0;
}

/* CTA within Process */
.cta-block {
  text-align: center;
  margin-top: 5rem;
  padding-top: 3rem;
}
.cta-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #fff;
}
.cta-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.btn-cta-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  cursor: pointer;
  font-family: inherit;
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
  color: #fff;
}

/* --- Footer --- */
.footer {
  background-color: #0a0a0a;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
  gap: 2rem;
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
}

.footer-brand h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-brand h3 span { font-weight: 300; }
.footer-description {
  color: #888;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}
.footer-social a i[data-lucide] { width: 18px; height: 18px; }

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  color: #888;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}
.footer-tagline {
  color: #888;
  margin: 0;
  font-size: 0.9rem;
}
@media (max-width: 575px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* --- Contact / Get Started Form Styles --- */
.page-header {
  padding-top: 100px;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(15, 15, 30, 0.5) 100%);
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1.15rem;
  color: #a0aec0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) { .contact-form { padding: 2rem 1.5rem; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-grid .full-width { grid-column: 1 / -1; }
@media (max-width: 575px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; }
.form-group label {
  color: #cbd5e0;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  color: #e2e8f0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  color: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option {
  background-color: #1a1a2e;
  color: #e2e8f0;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.form-actions .btn-cta-primary {
  width: 100%;
  max-width: 400px;
  justify-content: center;
  padding: 1rem 2rem;
}

/* --- Legal Content (Privacy / Terms) --- */
.legal-content {
  color: #e2e8f0;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.legal-content p {
  font-size: 1rem;
  color: #cbd5e0;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.legal-content ul li {
  font-size: 1rem;
  color: #cbd5e0;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.legal-content ul li strong {
  color: #fff;
  font-weight: 600;
}
.legal-content a {
  color: #667eea;
  transition: color 0.3s ease;
}
.legal-content a:hover {
  color: #8b7fc7;
  text-decoration: underline;
}
.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-footer p {
  color: #888;
  font-size: 0.9rem;
}
@media (max-width: 767px) {
  .legal-content h2 { font-size: 1.5rem; margin-top: 2rem; }
  .legal-content h3 { font-size: 1.2rem; }
  .legal-content p, .legal-content ul li { font-size: 0.95rem; }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* --- Responsive Hero --- */
@media (max-width: 767px) {
  .hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
  .hero-title-animated { padding: 0.75rem 1rem; }
  .hero-subtitle { font-size: 1rem; padding: 0 1.5rem; margin-bottom: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  .hero .container { padding-top: 60px; padding-bottom: 60px; }
  .section-title { font-size: 2rem; }
  .features-section { padding: 60px 0; }
  .feature-card { padding: 2rem 1.5rem; }
  .stats-section { padding: 80px 0; }
  .stat-card { padding: 2.5rem 1.5rem; }
  .stat-number { font-size: 3rem; }
  .product-showcase { padding: 60px 0; }
  .about-left h2 { font-size: 2rem; }
  .cta-title { font-size: 2rem; }
  .cta-subtitle { font-size: 1rem; }
  .page-header h1 { font-size: 2rem; }
  .footer { padding: 60px 0 0; }
  .footer-bottom { margin-top: 40px; padding: 20px 0; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hero h1 { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-title-animated { padding: 0.875rem 1.5rem; }
  .about-left h2 { font-size: 2.5rem; }
}

/* --- Prevent overflow --- */
section { overflow-x: hidden; max-width: 100vw; }
html, body { overflow-x: hidden !important; max-width: 100vw !important; position: relative; }

/* AOS overflow prevention */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
.header__gradient__container, .header__gradient__wrapper { overflow: hidden !important; max-width: 100vw !important; }
.hero { overflow: hidden !important; max-width: 100vw !important; }
