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

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #6c3de8;
  --primary-light: #8b5cf6;
  --primary-dark: #4c1d95;
  --accent: #00d4ff;
  --accent-glow: #00d4ff80;
  --neon-purple: #bf5af2;
  --neon-blue: #0ea5e9;
  --bg-darkest: #020817;
  --bg-dark: #0a0f1e;
  --bg-card: #0d1530;
  --bg-card2: #111827;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --text-white: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #64748b;
  --gradient: linear-gradient(135deg, #6c3de8, #00d4ff);
  --gradient2: linear-gradient(135deg, #bf5af2, #6c3de8);
  --gradient3: linear-gradient(135deg, #0ea5e9, #6c3de8);
  --shadow-neon: 0 0 20px rgba(108, 61, 232, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-darkest);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== BACKGROUND PARTICLES ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108,61,232,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(2, 8, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 8px rgba(108,61,232,0.6));
}
.nav-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(108,61,232,0.4);
  transition: var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,61,232,0.6) !important;
}
.nav-cta::after { display: none !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,61,232,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(108,61,232,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108,61,232,0.1);
  transform: translateY(-3px);
}

/* ===== SECTION HELPERS ===== */
.section { padding: 100px 2rem; position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.section-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(108,61,232,0.3);
  box-shadow: var(--shadow-neon);
  transform: translateY(-5px);
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2,8,23,0.95) 40%, rgba(2,8,23,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,61,232,0.15);
  border: 1px solid rgba(108,61,232,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.stat-item {}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(108,61,232,0.4);
  border: 1px solid rgba(108,61,232,0.2);
}
.hero-float-card {
  position: absolute;
  background: rgba(13,21,48,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}
.hero-float-card.card1 { bottom: 30px; left: -20px; animation-delay: 0s; }
.hero-float-card.card2 { top: 20px; right: -20px; animation-delay: 1.5s; }
.float-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

/* ===== MARQUEE / CLIENTS ===== */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.2);
}
.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--text-light); }
.marquee-item span { color: var(--primary-light); }

/* ===== SERVICES / PRODUCTS ===== */
#products { background: transparent; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.product-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.product-icon.blue { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.2); }
.product-icon.purple { background: rgba(108,61,232, 0.1); border: 1px solid rgba(108,61,232, 0.2); }
.product-icon.pink { background: rgba(191,90,242, 0.1); border: 1px solid rgba(191,90,242, 0.2); }
.product-icon.green { background: rgba(16,185,129, 0.1); border: 1px solid rgba(16,185,129, 0.2); }
.product-icon.orange { background: rgba(245,158,11, 0.1); border: 1px solid rgba(245,158,11, 0.2); }
.product-icon.red { background: rgba(239,68,68, 0.1); border: 1px solid rgba(239,68,68, 0.2); }
.product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.product-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(108,61,232,0.15);
  border: 1px solid rgba(108,61,232,0.2);
  color: var(--primary-light);
}

/* ===== ABOUT ===== */
#about { background: rgba(0,0,0,0.15); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  color: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(108,61,232,0.5);
}
.about-img-badge .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-img-badge .lbl { font-size: 0.75rem; opacity: 0.9; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.about-feature:hover {
  border-color: rgba(108,61,232,0.3);
  background: rgba(108,61,232,0.05);
}
.about-feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(108,61,232,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.about-feature p { font-size: 0.85rem; color: var(--text-light); }

/* ===== TEAM SECTION ===== */
#team { background: transparent; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  border-radius: var(--radius);
}
.team-card:hover::after { opacity: 0.05; }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid rgba(108,61,232,0.3);
  box-shadow: 0 0 25px rgba(108,61,232,0.3);
  position: relative; z-index: 1;
}
.team-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative; z-index: 1;
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  position: relative; z-index: 1;
  margin-bottom: 1rem;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  position: relative; z-index: 1;
}
.social-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover {
  background: rgba(108,61,232,0.2);
  border-color: rgba(108,61,232,0.4);
  color: var(--primary-light);
}

/* ===== VIDEO SECTION ===== */
#video-section {
  padding: 80px 2rem;
  background: rgba(0,0,0,0.2);
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(108,61,232,0.4);
  border: 1px solid rgba(108,61,232,0.2);
  margin-top: 2.5rem;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d1530, #1a1040);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(108,61,232,0.6);
  transition: var(--transition);
  position: relative; z-index: 1;
  animation: pulse-ring 2s ease-in-out infinite;
}
.play-btn:hover { transform: scale(1.1); }
.video-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative; z-index: 1;
  text-align: center;
}
.video-sub { font-size: 0.85rem; color: var(--text-muted); position: relative; z-index: 1; }

/* ===== CAREERS ===== */
#careers { background: transparent; }
.careers-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 4rem;
  min-height: 350px;
  display: flex;
  align-items: center;
}
.careers-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/careers_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.careers-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2,8,23,0.9) 50%, rgba(2,8,23,0.5));
}
.careers-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  max-width: 600px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.job-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-header { display: flex; justify-content: space-between; align-items: flex-start; }
.job-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.job-dept { font-size: 0.8rem; color: var(--accent); }
.job-badge {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
  white-space: nowrap;
}
.job-info { display: flex; gap: 1rem; flex-wrap: wrap; }
.job-info-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.job-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
}
.job-apply:hover { gap: 10px; color: var(--accent); }

/* ===== CONTACT ===== */
#contact { background: rgba(0,0,0,0.15); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.contact-info-item:hover { border-color: rgba(108,61,232,0.3); }
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-info-value { font-size: 0.95rem; font-weight: 500; margin-top: 2px; }
.contact-form-card { padding: 2.5rem; border-radius: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-light); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-card); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108,61,232,0.05);
  box-shadow: 0 0 0 3px rgba(108,61,232,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

/* Phone Input with +91 prefix */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-right: none;
  border-radius: 10px 0 0 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  user-select: none;
}
.phone-input-wrap input {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Captcha Box */
.captcha-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.captcha-question-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.captcha-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.captcha-badge {
  background: linear-gradient(135deg, rgba(108,61,232,0.25), rgba(0,212,255,0.2));
  border: 1px dashed var(--accent);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Outfit', monospace, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  user-select: none;
}
.captcha-refresh {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.captcha-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.captcha-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}
.captcha-input-wrap input {
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  text-align: center;
  font-weight: 600;
}
.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}
.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.field-error.visible {
  display: block;
}
.input-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  padding: 60px 2rem 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.8rem; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
}
.footer-social:hover {
  background: rgba(108,61,232,0.2);
  border-color: rgba(108,61,232,0.4);
  color: var(--primary-light);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-col ul li a::before {
  content: '›';
  color: var(--primary);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--primary-light); }

/* ===== TOAST / NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(108,61,232,0.5);
  z-index: 9999;
  transform: translateX(200%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(0); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(108,61,232,0.6); }
  70% { box-shadow: 0 0 0 20px rgba(108,61,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(108,61,232,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== 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; }

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(108,61,232,0.5);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { transform: translateY(-3px); }

/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-darkest);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-bar {
  width: 180px; height: 3px;
  background: var(--glass-border);
  border-radius: 3px;
  overflow: hidden;
}
.loader-bar-inner {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  animation: loading 1.5s ease-in-out forwards;
}
@keyframes loading {
  from { width: 0; }
  to { width: 100%; }
}

/* ===== MOBILE MENU ===== */
.nav-mobile {
  position: fixed;
  top: 80px; right: 0; bottom: 0;
  width: 280px;
  background: rgba(2,8,23,0.98);
  backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  padding: 2rem;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.nav-mobile a:hover {
  background: rgba(108,61,232,0.1);
  color: var(--text-white);
  padding-left: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { order: -1; }
  .hero-visual { max-width: 100%; }
  .hero-float-card.card1 { left: 0; }
  .hero-float-card.card2 { right: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-badge { right: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 1.2rem; }
  .hero-title { font-size: 2rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .careers-hero-content { padding: 2rem 1.5rem; }
}
