/* ===== Neovate Technologies - Custom Styles ===== */

:root {
  --navy: #061525;
  --navy-800: #0a1f38;
  --navy-700: #0d2847;
  --cyan: #00C2FF;
  --cyan-dark: #0084FF;
  --cyan-glow: rgba(0, 194, 255, 0.15);
  --cyan-glow-strong: rgba(0, 194, 255, 0.3);
  --white-60: rgba(255,255,255,0.6);
  --white-30: rgba(255,255,255,0.3);
  --white-10: rgba(255,255,255,0.1);
  --white-05: rgba(255,255,255,0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--navy);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.font-heading, h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, var(--cyan-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyan-text { color: var(--cyan); }

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

.glass-nav {
  background: rgba(6,21,37,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(0,194,255,0.05);
  border-color: rgba(0,194,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,194,255,0.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,194,255,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
  transform: translateY(-2px);
}

/* ===== SOCIAL ICON ===== */
.social-icon {
  width: 36px;
  height: 36px;
  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: 8px;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--cyan-glow);
  border-color: rgba(0,194,255,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===== GLOW EFFECTS ===== */
.glow-cyan {
  box-shadow: 0 0 60px rgba(0,194,255,0.15), 0 0 120px rgba(0,194,255,0.05);
}

.glow-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-dot-1 {
  width: 400px;
  height: 400px;
  background: rgba(0,194,255,0.08);
  top: -100px;
  right: -100px;
}

.glow-dot-2 {
  width: 300px;
  height: 300px;
  background: rgba(0,132,255,0.06);
  bottom: -50px;
  left: -50px;
}

/* ===== SECTION STYLES ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

/* ===== STAT COUNTER ===== */
.stat-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TECH BADGE ===== */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}

.tech-badge:hover {
  background: var(--cyan-glow);
  border-color: rgba(0,194,255,0.3);
  color: var(--cyan);
}

/* ===== HERO FLOATING MOCKUP ===== */
.floating-mockup {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.5deg); }
}

/* ===== PULSE RING ===== */
.pulse-ring {
  animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===== CIRCUIT LINES ===== */
.circuit-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-line 3s ease forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* ===== TABS ===== */
.tab-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--cyan);
  border-color: rgba(0,194,255,0.3);
  background: rgba(0,194,255,0.08);
}

/* ===== FORM STYLES ===== */
.form-field {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s;
  outline: none;
}

.form-field:focus {
  border-color: rgba(0,194,255,0.5);
  background: rgba(0,194,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,194,255,0.1);
}

.form-field::placeholder { color: rgba(255,255,255,0.25); }

/* ===== PROJECT CARD ===== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.project-card img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-card:hover img { transform: scale(1.06); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,21,37,0.95) 0%, rgba(6,21,37,0.4) 60%, transparent 100%);
  transition: opacity 0.3s;
}

/* ===== SUBSIDIARY CARD ===== */
.subsidiary-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.subsidiary-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,194,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.subsidiary-card:hover::before { opacity: 1; }

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(0,194,255,0.2);
  transform: translateY(-4px);
}

/* ===== HEADER SCROLL STATE ===== */
.header-scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

/* ===== PROCESS STEP ===== */
.process-step {
  position: relative;
  padding-left: 2rem;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  color: white;
  border-color: var(--cyan);
  background: rgba(0,194,255,0.1);
}

/* ===== INSIGHT CARD ===== */
.insight-card {
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
}

.insight-card:hover {
  border-color: rgba(0,194,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,194,255,0.08);
}

/* ===== VALUE CARD ===== */
.value-card {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s;
}

.value-card:hover {
  background: rgba(0,194,255,0.05);
  border-color: rgba(0,194,255,0.2);
  transform: translateY(-4px);
}

/* ===== LEADER CARD ===== */
.leader-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s;
}

.leader-card:hover {
  border-color: rgba(0,194,255,0.2);
  transform: translateY(-4px);
}

/* ===== CAREER CARD ===== */
.career-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.3s;
}

.career-card:hover {
  border-color: rgba(0,194,255,0.25);
  background: rgba(0,194,255,0.04);
  transform: translateX(4px);
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(0,194,255,0.25);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: white;
  transition: background 0.2s;
}

.faq-btn:hover { background: rgba(0,194,255,0.06); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content.open { max-height: 300px; }

/* ===== DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.3), transparent);
  margin: 0 auto;
  max-width: 400px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stat-counter { font-size: 2rem; }
  .page-hero { min-height: 320px; padding-top: 100px; }
}

/* ===== ANIMATIONS ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: rgba(0,194,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,194,255,0.5); }

/* ===== SELECTION ===== */
::selection { background: rgba(0,194,255,0.3); color: white; }
