/* Root Variables */
:root {
  --primary: #001f3f;
  --primary-dark: #000814;
  --secondary: #7209b7;
  --accent: #3a86ff;
  --text-dark: #1a1a1a;
  --text-light: #333333;
  --text-muted: #666666;
  --bg-light: #ffffff;
  --bg-gray: #f5f5f5;
  --border: #e0e0e0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Default desktop nav */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

/* Hamburger Menu Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px; /* below navbar */
    right: 0;
    background: var(--bg-light);
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--border);
    display: none;
  }

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

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 640px) {
  .logo-img {
    width: 32px;
    height: 32px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}

/* Hero Section */
.hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 31, 63, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 31, 63, 0.4);
}

.btn-app {
  background: var(--primary);
  color: white;
  display: inline-block;
  margin-top: 15px;
}

.btn-app:hover {
  background: var(--secondary);
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Features Section */
.mission-section {
  padding: 80px 20px;
  background: var(--bg-gray);
}

.section-title {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.mission-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.mission-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 31, 63, 0.1);
  transform: translateY(-5px);
}

.mission-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.mission-icon img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
}

.mission-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.mission-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Apps Section */
.apps-section {
  padding: 80px 20px;
  background: white;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.app-card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.app-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 31, 63, 0.1);
  transform: translateY(-5px);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
}

.app-header h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
}

.app-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.app-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stat-badge {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.1) 0%, rgba(114, 9, 183, 0.1) 100%);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 31, 63, 0.2);
}

/* About Section */
.about-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-content strong {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.contact-content {
  margin-top: 40px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 50px 20px 20px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Privacy Policy Page Styles */
.policy-section {
  padding: 60px 20px 80px;
  background: white;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 800;
}

.last-updated {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-style: italic;
  font-size: 0.95rem;
}

.policy-content {
  color: var(--text-light);
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.policy-content p {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.policy-content ul {
  margin-left: 25px;
  margin-bottom: 18px;
}

.policy-content li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .hero-title {
    margin-bottom: 15px;
  }

  .stats-section {
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
  }

  .mission-section,
  .apps-section,
  .about-section,
  .contact-section {
    padding: 60px 20px;
  }

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

  .footer-content {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 50px 15px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .stats-section {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 50px;
    padding-top: 30px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .mission-section,
  .apps-section,
  .about-section,
  .contact-section {
    padding: 50px 15px;
  }

  .mission-grid {
    gap: 20px;
  }

  .mission-card {
    padding: 25px 20px;
  }

  .app-card {
    padding: 20px;
  }

  .app-header {
    margin-bottom: 15px;
  }

  .app-icon {
    width: 50px;
    height: 50px;
  }

  .footer {
    padding: 40px 15px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .policy-section h1 {
    font-size: 1.8rem;
  }

  .policy-content h2 {
    font-size: 1.2rem;
    margin-top: 30px;
  }
}
