:root {
  --primary-color: #6366f1;
  --secondary-color: #3b82f6;
  --accent-color: #ec4899;
  --success-color: #10b981;
  --text-light: #ffffff;
  --text-dark: #1f2937;
  --bg-dark: #0f172a;
  --bg-card-dark: #1e293b;
  --bg-light: #f8fafc;
  --bg-card-light: #ffffff;
  --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-light: 0 10px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
  --bg-primary: var(--bg-dark);
  --bg-secondary: var(--bg-card-dark);
  --text-primary: var(--text-light);
  --shadow: var(--shadow-dark);
}

[data-theme="light"] {
  --bg-primary: var(--bg-light);
  --bg-secondary: var(--bg-card-light);
  --text-primary: var(--text-dark);
  --shadow: var(--shadow-light);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

/* Navbar Styles */
.custom-navbar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-icon img {
  height: 30px;
  width: 30px;
  margin-right: 10px;
  border-radius: 50%;
  margin-bottom: 5px;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-link {
  font-weight: 500;
  margin: 0 1rem;
  position: relative;
  transition: opacity 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--text-light);
  transition: width 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark), #1a2f5f);
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero h1 {
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  margin-bottom: 3rem;
}

.btn-download {
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  font-size: 1rem;
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
}

.btn-playstore {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: white;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.btn-playstore:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
  color: white;
}

.btn-apk {
  background: transparent;
  border: 2px solid #6366f1;
  color: #6366f1;
}

.btn-apk:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Sections */
.how-it-works,
.trust-system,
.features,
.download-section,
.team,
.cta-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.badge-pill {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* Step Cards */
.step-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

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

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 5px;
  right: 5px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.step-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-primary);
  opacity: 0.8;
  line-height: 1.6;
}

/* Trust Cards */
.trust-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.badge-icon {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
}

.safety-icon {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.trust-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  opacity: 0.85;
}

.trust-list i {
  color: var(--success-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--text-primary);
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Download Section */
.phone-mockup-container {
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 10px solid #1e293b;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  margin: 0 auto;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.3s;
}

.phone-mockup:hover {
  transform: rotateY(-10deg) rotateX(3deg);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-mockup img{
    width: 100%;
    height: 100%;
}

.download-box {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.download-item {
  display: flex;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s;
}

.download-item:hover {
  background: rgba(99, 102, 241, 0.1);
}

.download-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  color: white;
}

.playstore-icon {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.apk-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.download-info h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.download-info p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.download-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

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

.stat-col h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-col p {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Team Section */
.team-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: all 0.3s;
}

.team-avatar:hover img {
  transform: scale(1.1);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-avatar:hover .avatar-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-btn:hover {
  background: var(--accent-color);
  transform: scale(1.2);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-college {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.contact-link:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-playstore-cta {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  transition: all 0.3s;
}

.btn-playstore-cta:hover{
  border: 2 px solid white;
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a, #1a2f5f);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-section h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #cbd5e1;
  transition: color 0.3s;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer-bottom p {
  opacity: 0.7;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  margin: 0 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 5px;
  transition: all 0.3s;
}

.toggle-circle {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: white;
  left: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 12px;
}

[data-theme="light"] .toggle-circle {
  left: 34px;
}

.toggle-icon {
  position: absolute;
  color: white;
  font-size: 14px;
}

.toggle-icon.sun {
  right: 8px;
}

.toggle-icon.moon {
  left: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

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

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

  .btn-download {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .nav-link {
    margin: 0 0.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .how-it-works,
  .trust-system,
  .features,
  .download-section,
  .team,
  .cta-section {
    padding: 3rem 0;
  }

  .step-card,
  .feature-card,
  .team-card {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }
}
