:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --secondary: #10b981;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--darker);
  color: var(--light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

span {
  color: var(--primary-light);
}

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

#typing-text {
  display: inline-block;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--light);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: var(--darker);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
}

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

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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


.hero {
  padding: 180px 0 100px;
  background: linear-gradient(to bottom, var(--darker), var(--dark));
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--lighter);
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--gray-light);
  margin-bottom: 30px;
  max-width: 600px;
}

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

.hero-image {
  flex: 1;
}

.card {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 400px;
  margin-left: auto;
}

.card-header {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border);
}

.card-header span {
  color: var(--primary-light);
  font-weight: 600;
}

.pill {
  background-color: var(--secondary);
  color: white;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-content {
  padding: 20px;
}

.stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-light);
}

.subject-distribution {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subject {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subject span {
  font-size: 0.875rem;
  color: var(--gray-light);
}

.progress-bar {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary-light), var(--secondary));
  border-radius: 3px;
}


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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--lighter);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.features {
  padding: 100px 0;
  background-color: var(--dark);
}

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

.feature-card {
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--lighter);
}

.feature-card p {
  color: var(--gray-light);
  margin-bottom: 16px;
}

.feature-card ul {
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--gray-light);
  font-size: 0.9375rem;
}

.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-light);
  border-radius: 50%;
}


.how-it-works {
  padding: 100px 0;
  background-color: var(--darker);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  text-align: center;
  padding: 40px 30px;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    to bottom right,
    var(--primary-light),
    var(--secondary)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--lighter);
}

.step p {
  color: var(--gray-light);
  font-size: 0.9375rem;
}

.benefits {
  padding: 100px 0;
  background-color: var(--dark);
}

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

.benefit-card {
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--lighter);
}

.benefit-card p {
  color: var(--gray-light);
}


.cta {
  padding: 100px 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
}

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


.footer {
  padding: 60px 0 30px;
  background-color: var(--darker);
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  flex: 1;
  min-width: 300px;
}

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

.footer-brand p {
  color: var(--gray);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.link-group {
  min-width: 150px;
}

.link-group h4 {
  color: var(--lighter);
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.link-group a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.875rem;
}


@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .card {
    margin: 0 auto;
  }

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

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

  .section-header h2 {
    font-size: 2rem;
  }

  .navigation {
    display: none;
  }

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