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

* {
  padding: 0;
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

:root {
  /* Primary Colors */
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-teal: #14b8a6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Spacing */
  --navbar-height: 70px;
  --site-max-width: 1280px;

  /* Font */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 3rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  overflow-x: hidden;
  background-color: var(--white);
  color: var(--gray-900);
}

/* ============ Global Styles ============ */
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  width: 100%;
}

:where(section, footer) .section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-width);
}

section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  overflow: hidden;
}

/* ============ Typography ============ */
.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  max-width: 500px;
  margin: 0;
}

/* ============ Navbar Styling ============ */
header {
  z-index: 100;
  width: 100%;
  position: fixed;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  height: var(--navbar-height);
  top: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .navbar {
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
  max-width: var(--site-max-width)
}

.navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar .nav-logo .logo-text {
  color: var(--gray-900);
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0px !important;
}

.navbar .nav-menu {
  gap: 8px;
  display: flex;
  justify-content: end;
  align-items: center;
  flex: 1;
  margin-bottom: 0px !important;
}

.navbar .nav-menu .nav-item {
  position: relative;
}

.navbar .nav-menu .nav-link {
  padding: 8px 16px;
  color: var(--gray-600);
  font-size: var(--font-size-base);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  border-radius: var(--radius-md);
}

.navbar .nav-menu .nav-link:hover {
  color: var(--primary-color);
  background-color: var(--gray-50);
}

.navbar :where(#menu-open-button, #menu-close-button) {
  display: none;
  font-size: 1.5rem;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.navbar #btnAddUser {
  background-color: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar #btnAddUser:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* ============ Hero Section ============ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding-top: var(--navbar-height);
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-section .hero-details {
  text-align: center;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--gray-100);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.8s ease;
}

.badge-icon {
  font-size: 1.25rem;
}

.hero-section .hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-section .hero-description {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.1);
}

.button-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(79, 70, 229, 0.25);
}

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

.button-secondary:hover {
  background-color: var(--gray-50);
  transform: translateY(-2px);
}

/* ============ About Section ============ */
.about-section {
  background-color: var(--white);
  padding: 80px 0;
}

.about-section .section-content {
  max-width: 850px;
}

.about-header {
  margin-bottom: 40px;
}

.about-header .section-title {
  margin-bottom: 16px;
}

.about-text {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 48px;
}

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

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background-color: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: var(--gray-100);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.feature-item h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-bottom: 0px !important;
}

/* ============ Study Tools Section ============ */
.tools-section {
  background-color: var(--gray-50);
  padding: 80px 0;
}

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

.tools-header .section-title {
  margin-bottom: 16px;
}

.swiper-container {
  position: relative;
  padding-bottom: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.tool-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  font-size: 2rem;
  color: var(--primary-color);
}

.tool-card h3 {
  margin-bottom: 12px;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--gray-900);
}

.tool-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: var(--font-size-base);
}

/* Swiper Customization */
.swiper {
  padding: 20px 0 40px;
  overflow: hidden;
}

.swiper-pagination-bullet {
  background: var(--gray-300);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: var(--radius-md);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--gray-50);
  border-color: var(--primary-color);
}

.swiper-button-disabled {
  opacity: 0 !important;
  cursor: default;
}

/* ============ Footer Section ============ */
.footer-section {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-logo h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo p {
  color: var(--gray-400);
  font-size: var(--font-size-base);
}

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

.footer-column h3 {
  margin-bottom: 16px;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--white);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--gray-400);
  transition: color 0.3s;
  font-size: var(--font-size-sm);
}

.footer-column ul li a:hover {
  color: var(--primary-light);
}

.copyright {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  font-size: var(--font-size-sm);
}

/* ============ Responsive Media Queries ============ */
@media screen and (max-width: 1024px) {
  :root {
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
  }

  .navbar .nav-menu {
    flex: 0;
    gap: 16px;
  }

  .hero-section .hero-title {
    font-size: var(--font-size-3xl);
  }

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

@media screen and (max-width: 768px) {
  :root {
    --navbar-height: 60px;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2rem;
  }

  section {
    padding: 60px 0;
  }

  header .navbar {
    gap: 20px;
    margin: 0 1rem;
  }

  .navbar :is(#menu-open-button, #menu-close-button) {
    display: block;
  }

  .navbar #menu-open-button {
    color: var(--gray-900);
  }

  .navbar .nav-menu #menu-close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    display: block !important;
  }

  .navbar .nav-menu {
    display: flex;
    background: var(--white);
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  body.show-mobile-menu {
    overflow: hidden;
  }

  body.show-mobile-menu header::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    z-index: 4;
  }

  .navbar .nav-menu .nav-item {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .navbar .nav-menu .nav-link {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .navbar #btnAddUser {
    margin-top: 20px;
    width: 80%;
  }

  .hero-section {
    min-height: 100vh;
    padding-top: calc(var(--navbar-height) + 30px);
    padding-bottom: 60px;
    
  }

  .hero-section .hero-details {
    text-align: center;
  }

  .hero-badge {
    font-size: var(--font-size-xs);
    padding: 6px 12px;
  }

  .hero-section .hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-section .hero-description {
    font-size: var(--font-size-base);
    margin-bottom: 32px;
  }

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

  .button {
    width: 100%;
    max-width: 280px;
  }

  .about-section .section-content {
    max-width: 100%;
  }

  .about-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .about-header .section-subtitle {
    margin: 8px auto 0;
  }

  .about-text {
    font-size: var(--font-size-base);
    margin-bottom: 32px;
  }

  .tools-header {
    margin-bottom: 40px;
  }

  .tools-header .section-title {
    font-size: var(--font-size-2xl);
  }

  .tool-card {
    padding: 24px 16px;
    min-height: 250px;
  }

  .tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    font-size: 1.5rem;
  }

  .tool-card h3 {
    font-size: var(--font-size-base);
  }

  .tool-card p {
    font-size: var(--font-size-sm);
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .footer-section .section-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    gap: 40px;
  }

  .footer-logo h2 {
    font-size: var(--font-size-lg);
  }
}

@media screen and (max-width: 480px) {
  :root {
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.75rem;
  }

  .hero-section .hero-title {
    font-size: var(--font-size-2xl);
    line-height: 1.3;
  }

  .hero-badge {
    font-size: var(--font-size-xs);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .about-text {
    font-size: var(--font-size-sm);
  }

  .feature-item {
    padding: 16px;
    gap: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .tool-card {
    padding: 16px 12px;
    min-height: 200px;
  }

  .swiper-pagination {
    bottom: 10px;
  }

  .footer-section .section-content {
    gap: 16px;
    padding-bottom: 24px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-column h3 {
    font-size: var(--font-size-sm);
  }

  .copyright {
    font-size: var(--font-size-xs);
    padding: 16px 0;
  }
}
/* ============ Scroll Animations ============ */

/* Fade In/Out for Feature Items */
.feature-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Animation for Hero Buttons */
.hero-section .buttons .button {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.hero-section .buttons .button:nth-child(2) {
    transform: translateX(50px);
}

.hero-section .buttons .button.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* Typewriter Effect */
.typewriter-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 2.75s step-end infinite;
}

.typewriter-container {
    position: relative;
    display: inline-block;
}

.typewriter-container::after {
    position: absolute;
    right: -8px;
    animation: blink 1s infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

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

/* Ensure sections are initially hidden for scroll animations */
.about-section,
.tools-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.about-section.fade-in-up,
.tools-section.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}
ul{
    padding-left: 0 !important;
}
/* ============ Feedback Section ============ */
.feedback-section {
  background-color: var(--white);
  padding: 80px 0;
}

.feedback-header {
  text-align: center;
}

.feedback-header .section-title {
  margin-bottom: 16px;
}

.feedback-container {
  position: relative;
  padding-bottom: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.feedback-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feedback-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.feedback-header-content {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.feedback-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-right: 16px;
  flex-shrink: 0;
}

.feedback-user-info {
  flex: 1;
}

.feedback-user-name {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.feedback-rating {
  display: flex;
  gap: 4px;
}

.star {
  color: var(--gray-300);
  font-size: var(--font-size-sm);
}

.star.filled {
  color: var(--warning);
}

.feedback-message {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: var(--font-size-base);
  flex: 1;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feedback-date {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

/* Featured badge */
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-color);
  color: var(--white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

/* Empty state */
.feedback-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}

.feedback-empty-icon {
  font-size: 3rem;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.feedback-empty p {
  font-size: var(--font-size-lg);
  margin-bottom: 0;
}

/* Responsive adjustments for feedback section */
@media screen and (max-width: 768px) {
  .feedback-header {
    margin-bottom: 40px;
  }
  
  .feedback-header .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .feedback-card {
    padding: 24px 16px;
    min-height: 250px;
  }
  
  .feedback-avatar {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  
  .feedback-user-name {
    font-size: var(--font-size-sm);
  }
  
  .feedback-message {
    font-size: var(--font-size-sm);
  }
}

@media screen and (max-width: 480px) {
  .feedback-card {
    padding: 16px 12px;
    min-height: 220px;
  }
  
  .feedback-message {
    -webkit-line-clamp: 3;
  }
}
.feedback-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.feedback-section.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}