@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap");

:root {
  --primary: #008080;
  --primary-light: #00b3b3;
  --primary-dark: #004d4d;
  --secondary: #ff8c00;
  --accent: #ffcc00;
  --bg-light: #f4fcfc;
  --bg-white: #ffffff;
  --text-main: #1a2e2e;
  --text-muted: #5a7575;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 10px 40px rgba(0, 128, 128, 0.08);
  --shadow-large: 0 20px 60px rgba(0, 128, 128, 0.15);
  --radius: 18px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme {
  --bg-light: #0a1919;
  --bg-white: #0f2424;
  --text-main: #e0f2f2;
  --text-muted: #a0bdbd;
  --glass: rgba(15, 36, 36, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Glassmorphism Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -1.5px;
}

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Theme Toggle */
.theme-btn {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.theme-btn:hover {
  transform: translateY(-2px);
}

body.light-theme .moon,
body.dark-theme .sun {
  display: none;
}

/* Buttons */
.btn {
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 128, 128, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-light);
  box-shadow: 0 15px 30px rgba(0, 128, 128, 0.3);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 40%;
  left: 30%;
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
}

.badge {
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  padding: 20px;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 40px;
  box-shadow: var(--shadow-large);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Features */
.features {
  padding: 140px 0;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.features-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 50px;
  background: var(--bg-light);
  border-radius: 30px;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}

.feature-card:hover {
  background: var(--bg-white);
  border-color: var(--primary);
  transform: translateY(-12px);
  box-shadow: var(--shadow-large);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
  padding: 140px 0;
  background: var(--bg-light);
}

.steps-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: -30px;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.step p {
  color: var(--text-muted);
}

/* Tech Stack */
.tech-section {
  padding: 120px 0;
  background: var(--bg-white);
}

.tech-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.tech-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.tech-pill {
  padding: 15px 30px;
  background: var(--bg-light);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.tech-pill:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* Universities Section */
.universities-section {
  padding: 120px 0;
  background: var(--bg-light);
}

.universities-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.universities-section .section-title p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 60px;
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.university-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.university-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--primary);
}

.university-logo-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 24px;
  padding: 15px;
}

.university-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.university-logo-placeholder {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 24px;
  font-size: 2.5rem;
}

.placeholder-icon {
  display: block;
}

.university-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.university-acronym {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.accuracy-note {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 30px 40px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  text-align: center;
}

.accuracy-note p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.accuracy-note strong {
  color: var(--primary);
}

/* Download Section */
.download-section {
  padding: 100px 0;
}

.download-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px;
  background: var(--primary);
  border-radius: 40px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-large);
}

.download-container h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.download-container p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-large {
  padding: 20px 40px;
  flex-direction: column;
  min-width: 250px;
}

.btn-large span {
  font-size: 1.25rem;
  display: block;
}

.btn-large small {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Footer */
footer {
  padding: 100px 0 40px;
  background: var(--bg-white);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 80px;
}

.footer-brand p {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  max-width: 1300px;
  margin: 60px auto 0;
  padding: 40px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-image img {
    transform: none;
  }

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

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .download-buttons {
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .universities-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .university-card {
    padding: 30px 20px;
  }

  .accuracy-note {
    padding: 20px;
  }

  .accuracy-note p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .nav-btn {
    display: none;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.playstore-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
