/* ===== BASE STYLES ===== */
:root {
  --primary: #6537eb;
  --primary-light: #b033db;
  --primary-dark: #d34478;
  --secondary: #fc7152;
  --accent: #fa5a39;
  --accent-light: #e84852;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-heavy: rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--accent-light), var(--accent));
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Background Decorative Elements */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

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

.shape-2 {
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: var(--primary);
}

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

.shape-4 {
  top: 60%;
  left: 15%;
  width: 200px;
  height: 200px;
  background: var(--secondary);
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #6537eb 0%, #b033db 25%, #d34478 50%, #fc7152 75%, #e84852 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-enhanced {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* ===== HEADER STYLES ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

#logo {
  width: 36px;
  height: auto;
}

.site-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #6537eb 0%, #b033db 25%, #d34478 50%, #fc7152 75%, #e84852 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.main-nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--accent);
}

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

.download-btn {
  background: var(--gradient-secondary);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(232, 72, 82, 0.3);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 72, 82, 0.4);
}

.download-btn:after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 180px 0 100px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.headline {
  font-family: "Poppins", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tagline-wrapper {
  height: 40px;
  margin-bottom: 20px;
}

.tagline {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}

.primary-btn {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 5px 15px rgba(232, 72, 82, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 72, 82, 0.4);
  color: white;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border: 2px solid var(--secondary);
  box-shadow: 0 5px 15px var(--shadow);
}

.secondary-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 1);
  color: var(--accent);
  box-shadow: 0 8px 25px var(--shadow);
}

.btn-icon {
  font-size: 20px;
}

.app-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

.hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
}

/* App Showcase Styles */
.app-showcase {
  position: relative;
  z-index: 2;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 570px;
  background-color: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 60px var(--shadow-heavy);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background-color: #111;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 3;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}


.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  background: white;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow);
  animation: float 3s ease-in-out infinite;
  z-index: 1;
}

.badge-1 {
  top: 60px;
  right: -50px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 100px;
  left: -80px;
  animation-delay: 1.5s;
}

.badge-icon {
  font-size: 24px;
  margin-right: 10px;
}

.badge-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* University Note */
.university-note {
  text-align: center;
  margin-top: 40px;
  padding: 15px;
  background-color: rgba(101, 55, 235, 0.1);
  border-radius: var(--radius);
}

.university-note p {
  color: var(--text-light);
  font-size: 16px;
}

.university-note a {
  font-weight: 600;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  background-color: var(--background-alt);
}

.steps {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.step {
  flex: 1;
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-heavy);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(232, 72, 82, 0.3);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.step-description {
  color: var(--text-light);
  font-size: 15px;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-heavy);
}

.feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  z-index: -1;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.feature-description {
  color: var(--text-light);
  font-size: 15px;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
  background-color: var(--background-alt);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category {
  background: white;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
}

.category:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 40px var(--shadow-heavy);
  background: var(--gradient);
}

.category:hover .category-name {
  color: white;
}

.category-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.category-name {
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark);
  transition: var(--transition);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.quote:before,
.quote:after {
  content: '"';
  font-size: 50px;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
}

.quote:before {
  top: -20px;
  left: -15px;
}

.quote:after {
  bottom: -40px;
  right: -15px;
}

.student-info {
  margin-top: 30px;
}

.student-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

.student-school {
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background-color: var(--accent);
  transform: scale(1.2);
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.download-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.download-content {
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.download-title {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.download-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.app-store-button {
  display: inline-block;
  transition: var(--transition);
  max-width: 200px;
  margin: 0 auto;
}

.app-store-button:hover {
  transform: scale(1.05);
}

.app-store-button img {
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* ===== FOOTER ===== */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-branding {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 60px;
  margin-bottom: 20px;
}

.footer-slogan {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.social-icon {
  width: 20px;
  height: 20px;
  color: white;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 150px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-size: 15px;
  transition: var(--transition);
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.contact-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link:hover {
  color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 36px;
  }

  .headline {
    font-size: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .headline {
    font-size: 40px;
  }

  .steps {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 10px 15px var(--shadow);
  }

  .main-nav.active {
    max-height: 300px;
    padding: 20px 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 30px;
  }

  .headline {
    font-size: 34px;
  }

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

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .feature-card,
  .category {
    padding: 20px 15px;
  }

  .app-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .quote {
    font-size: 16px;
  }

  .app-badge {
    width: 40px;
    height: 40px;
  }

  .badge-icon {
    width: 24px;
    height: 24px;
  }
}

