/* NurtureTech.in - Core Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Modern Color Palette — Cool Indigo + Violet */
  --primary: #6366f1;
  /* Indigo 500 */
  --primary-light: #818cf8;
  /* Indigo 400 */
  --primary-dark: #4f46e5;
  /* Indigo 600 */
  --primary-glow: rgba(99, 102, 241, 0.25);
  --accent: #a78bfa;
  /* Violet 400 */
  --accent-glow: rgba(167, 139, 250, 0.2);
  --surface-gradient: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);

  /* Neutrals */
  --background: #0a0a0f;
  --surface: #141420;
  --surface-raised: #1c1c2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);

  /* Text */
  --text-main: #f0f0f5;
  --text-secondary: #9090a7;
  --text-muted: #5a5a72;
  --white: #ffffff;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 120px 24px;
  --container-width: 1140px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.gradient-text {
  background: var(--surface-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.08);
}

/* ---- Hero ---- */
.hero {
  padding: 180px 24px 140px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Section ---- */
.section {
  padding: var(--section-padding);
}

.section-heading {
  text-align: center;
  margin-bottom: 64px;
}

.section-heading p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}

/* Tag / Label */
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
}

.tag-violet {
  background: rgba(167, 139, 250, 0.15);
  color: var(--accent);
}

/* ---- App Cards ---- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

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

.app-card.trovey-card::before {
  background: linear-gradient(90deg, #E8BE72, #f3cf8c);
}

.app-card.ayuta-card::before {
  background: var(--surface-gradient);
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 28px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.app-card h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.app-card .app-description {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.features-list {
  list-style: none;
  margin-bottom: 36px;
}

.features-list li {
  padding: 10px 0;
  color: var(--text-main);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li .feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trovey-card .feature-dot {
  background: #E8BE72;
}

.ayuta-card .feature-dot {
  background: var(--primary-light);
}

.app-card .btn {
  width: 100%;
}

/* Trovey-specific button */
.btn-trovey {
  background: linear-gradient(135deg, #d4a843, #E8BE72);
  color: #1a1200;
  box-shadow: 0 4px 14px rgba(232, 190, 114, 0.25);
}

.btn-trovey:hover {
  box-shadow: 0 8px 24px rgba(232, 190, 114, 0.35);
  transform: translateY(-2px);
}

/* ---- Mission Section ---- */
.mission {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.mission-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
}

/* ---- Footer ---- */
.footer {
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer .logo {
  margin-bottom: 12px;
}

.footer .copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

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

.delay-3 {
  animation-delay: 0.3s;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 20px;
  }

  .hero {
    padding: 140px 20px 100px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    padding: 36px 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}