/* style.css - COMPLETE WITH PHOTO SHARPENING FIXES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #0a0f12;
  color: #e0eef5;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* animated tech background */
.gear {
  position: fixed;
  border-radius: 50%;
  border: 2px dashed rgba(0, 200, 255, 0.1);
  z-index: -1;
  animation: rotate 40s linear infinite;
}

.gear1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  border-width: 4px;
  border-color: rgba(74, 163, 255, 0.08);
}

.gear2 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -100px;
  border: 3px dotted rgba(0, 255, 200, 0.08);
  animation-duration: 50s;
  animation-direction: reverse;
}

.circuit-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(74, 163, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 100, 100, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 2rem;
  position: relative;
  z-index: 5;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.logo i {
  color: #4aa3ff;
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(74, 163, 255, 0.3));
}

.logo span span {
  color: #4aa3ff;
  font-weight: 300;
}

.india-badge {
  background: linear-gradient(135deg, #1a4d8c, #0a2b5e);
  padding: 0.5rem 1.4rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(74, 163, 255, 0.2);
  animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 15px rgba(74, 163, 255, 0.2); }
  50% { box-shadow: 0 0 30px rgba(74, 163, 255, 0.4); }
  100% { box-shadow: 0 0 15px rgba(74, 163, 255, 0.2); }
}

/* hero grid */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0 4rem;
}

/* photo card - with SHARP image fixes */
.photo-card {
  background: rgba(20, 30, 40, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: 2rem;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-circle {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 1.5rem;
  background: #1a2a35;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 2px solid rgba(74, 163, 255, 0.3);
  box-shadow: 0 0 30px rgba(74, 163, 255, 0.2);
}

/* CRITICAL: Photo sharpening fixes */
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  image-rendering: auto;
  image-rendering: crisp-edges;  /* Helps with sharpness */
  image-rendering: high-quality;
  -webkit-transform: translateZ(0); /* Hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: contrast(1.02) brightness(1.02); /* Slight enhancement */
}

.photo-card h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.founder-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4aa3ff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.tiny-badge {
  background: rgba(74, 163, 255, 0.1);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #a3d0ff;
  border: 1px solid rgba(74, 163, 255, 0.3);
  margin-bottom: 1rem;
}

.quote {
  color: #b0d0e5;
  font-style: italic;
}

/* mission card */
.mission-card {
  background: rgba(20, 30, 40, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 163, 255, 0.2);
  border-radius: 2rem;
  padding: 2rem;
}

.future-tag {
  color: #a3d0ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.mission-card h1 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.8rem;
  color: #ffffff;
}

.highlight {
  background: linear-gradient(145deg, #1a4d8c, #0a2b5e);
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  color: white;
  display: inline-block;
}

/* product showcase */
.product-showcase {
  margin: 2rem 0;
}

.product-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  background: rgba(0,0,0,0.2);
  border-radius: 1rem;
  border-left: 3px solid #4aa3ff;
}

.coming-soon {
  opacity: 0.9;
}

.product-icon {
  background: rgba(74, 163, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4aa3ff;
  font-size: 1.3rem;
}

/* make flag */
.make-flag {
  background: rgba(0, 30, 50, 0.6);
  padding: 1.2rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  border: 1px solid #4aa3ff;
}

.flag-chakra {
  font-size: 1.8rem;
  color: #4aa3ff;
}

/* robots row */
.robots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.robot-card {
  background: rgba(20, 30, 40, 0.9);
  backdrop-filter: blur(5px);
  padding: 1.8rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid rgba(74, 163, 255, 0.3);
  transition: all 0.3s ease;
}

.robot-card:hover {
  transform: translateY(-5px);
  border-color: #4aa3ff;
  box-shadow: 0 10px 25px rgba(74, 163, 255, 0.2);
}

.robot-img i {
  font-size: 3rem;
  color: #4aa3ff;
  margin-bottom: 1rem;
}

.robot-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: white;
}

.coming-label {
  color: #a3d0ff;
  font-size: 0.9rem;
}

.coming-label i {
  color: #4aa3ff;
  margin-right: 5px;
}

/* vision block (long paragraph) */
.vision-block {
  margin: 4rem 0;
  background: linear-gradient(145deg, #0f1a22, #071016);
  border-radius: 2rem;
  padding: 3rem;
  border: 1px solid rgba(74, 163, 255, 0.2);
  position: relative;
}

.vision-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.vision-quote {
  font-size: 4rem;
  color: #4aa3ff;
  opacity: 0.1;
  position: absolute;
  top: -20px;
  right: 0;
}

.vision-block h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.vision-paragraph {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #c0d8e8;
  line-height: 1.8;
}

.vision-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 163, 255, 0.2);
}

.vision-signature {
  color: #4aa3ff;
  font-weight: 500;
  font-size: 1.1rem;
}

/* stats row */
.stats-row {
  display: flex;
  justify-content: space-around;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(74, 163, 255, 0.05);
  border-radius: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4aa3ff;
  line-height: 1.2;
}

.stat-label {
  color: #b0d0e5;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* footer */
footer {
  margin-top: 4rem;
  text-align: center;
  color: #8faec9;
  font-size: 0.9rem;
  border-top: 1px solid rgba(74, 163, 255, 0.2);
  padding-top: 2rem;
}

footer i {
  color: #ff5e5e;
}

/* animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 0.8s forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideRight 0.8s forwards;
}

@keyframes slideLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* responsiveness */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .robots-row {
    grid-template-columns: 1fr;
  }
  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mission-card h1 {
    font-size: 1.8rem;
  }
  .vision-block {
    padding: 2rem;
  }
  .vision-block h3 {
    font-size: 1.5rem;
  }
}

/* Extra sharpening for high DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .founder-photo {
    image-rendering: crisp-edges;
  }
}
