@import url('fonts.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
}

body {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  color: #333;
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 96%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 123, 175, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #007baf;
  background: linear-gradient(45deg, #007baf, #23a6d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  gap: 10px;
}

.logo i {
  margin-left: 10px;
  font-size: 2rem;
}

.logo img {
  margin-left: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: #444;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
}

nav a:hover {
  color: #007baf;
}

/* Underline effect only for regular nav links, not buttons */
nav a:not(.cta-btn):not(.cta-btn-outline)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #23a6d5;
  transition: width 0.3s ease;
}

nav a:not(.cta-btn):not(.cta-btn-outline):hover::after {
  width: 100%;
}

.cta-btn {
  background: linear-gradient(45deg, #23a6d5, #007baf);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(35, 166, 213, 0.3);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none !important;
  display: inline-block;
  position: relative;
}

/* Remove underline effect from buttons */
.cta-btn::after,
.cta-btn-outline::after {
  display: none !important;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 166, 213, 0.4);
}

.cta-btn-outline {
  background: transparent;
  border: 1.5px solid #23a6d5;
  color: #23a6d5 !important;
  margin-left: 0.75rem;
  text-decoration: none !important;
  display: inline-block;
  border-radius: 14px;
  padding: 0.6rem 1.35rem;
}

.cta-btn-outline:hover {
  background: #23a6d5;
  color: white !important;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #007baf;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  color: #23a6d5;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 9999;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: white;
  padding: 2rem 1.5rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #007baf;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav nav {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: #444;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  background: #f0f9ff;
  color: #007baf;
}

.mobile-nav-btn {
  display: block;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #23a6d5;
  color: #23a6d5;
  text-decoration: none;
}

.mobile-nav-btn:hover {
  transform: translateY(-2px);
}

.mobile-nav-btn.primary {
  background: linear-gradient(45deg, #23a6d5, #007baf);
  color: white;
  border: none;
}

.mobile-nav-btn.primary:hover {
  box-shadow: 0 4px 12px rgba(35, 166, 213, 0.3);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0 1rem;
  min-height: calc(100vh - 150px);
  margin: 0;
}

.container.hero {
  width: auto;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.3rem;
  color: #007baf;
  margin-bottom: 0.8rem;
  line-height: 1.28;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.02rem;
  color: #555;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f0f8ff;
  color: #0b6c92;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  font-size: 0.92rem;
  border: 1px solid rgba(0, 123, 175, 0.12);
}

.hero-highlights i {
  color: #23a6d5;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  width: 100%;
  max-width: 100%;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 430px;
  height: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(227, 243, 255, 0.9));
  border-radius: 24px;
  padding: 1.6rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  box-shadow: 0 18px 50px rgba(35, 166, 213, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(35, 166, 213, 0.15);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

/* Animated Background Circles */
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.circle-1 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(35, 166, 213, 0.22), transparent 70%);
  top: -80px;
  right: -80px;
  animation: floatCircle 8s ease-in-out infinite;
}

.circle-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 123, 175, 0.18), transparent 70%);
  bottom: -40px;
  left: -40px;
  animation: floatCircle 10s ease-in-out infinite reverse;
}

.circle-3 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 75%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatCircle 12s ease-in-out infinite;
}

@keyframes floatCircle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-logo-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 360px;
  flex-shrink: 0;
}

/* Rotating Rings Around Logo */
.logo-ring {
  position: absolute;
  border: 2px solid rgba(35, 166, 213, 0.2);
  border-radius: 50%;
  border-top-color: rgba(35, 166, 213, 0.6);
  border-right-color: rgba(35, 166, 213, 0.4);
  z-index: 1;
}

.ring-1 {
  width: 280px;
  height: 280px;
  animation: rotateRing 15s linear infinite;
}

.ring-2 {
  width: 320px;
  height: 320px;
  animation: rotateRing 20s linear infinite reverse;
  border-top-color: rgba(0, 123, 175, 0.6);
  border-right-color: rgba(0, 123, 175, 0.4);
}

.ring-3 {
  width: 360px;
  height: 360px;
  animation: rotateRing 25s linear infinite;
  border-top-color: rgba(25, 193, 183, 0.5);
  border-right-color: rgba(25, 193, 183, 0.3);
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-logo {
  height: 200px;
  width: auto;
  max-width: 360px;
  filter: drop-shadow(0 15px 35px rgba(35, 166, 213, 0.5));
  animation: float 4s ease-in-out infinite;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(-2deg);
  }
  50% {
    transform: translateY(-25px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.hero-logo:hover {
  transform: scale(1.15) translateY(-10px);
  filter: drop-shadow(0 20px 45px rgba(35, 166, 213, 0.6));
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(35, 166, 213, 0.18), transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.hero-cards-visual {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  width: 100%;
  transform: translateY(12px);
}

.floating-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(35, 166, 213, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(35, 166, 213, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 110px;
  max-width: 110px;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(35, 166, 213, 0.1), transparent);
  transition: left 0.6s ease;
}

.floating-card:hover::before {
  left: 100%;
}

.card-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(35, 166, 213, 0.15), rgba(0, 123, 175, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.floating-card i {
  font-size: 1.25rem;
  color: #23a6d5;
  transition: all 0.3s ease;
}

.floating-card span {
  font-weight: 700;
  color: #007baf;
  font-size: 0.82rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 15px 40px rgba(35, 166, 213, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.8);
  background: white;
  border-color: rgba(35, 166, 213, 0.4);
}

.floating-card:hover .card-icon-wrapper {
  background: linear-gradient(135deg, #23a6d5, #007baf);
  transform: rotate(5deg) scale(1.1);
}

.floating-card:hover i {
  color: white;
  transform: scale(1.1);
}

.floating-card:hover span {
  color: #007baf;
}

.floating-card .card-label-long {
  font-size: 0.78rem;
}

.card-1 {
  animation: floatCard 4s ease-in-out infinite;
  animation-delay: 0s;
}

.card-2 {
  animation: floatCard 4s ease-in-out infinite;
  animation-delay: 1.3s;
}

.card-3 {
  animation: floatCard 4s ease-in-out infinite;
  animation-delay: 2.6s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Removed stats bar for a cleaner hero */

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.3rem;
  margin: 3.5rem 0 2.2rem;
  color: #007baf;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #23a6d5, #007baf);
  border-radius: 2px;
}

/* Features Section */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.feature {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 123, 175, 0.08);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, #23a6d5, #007baf);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: #23a6d5;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #007baf;
  font-size: 1.25rem;
}

.feature-desc {
  color: #666;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Demo Flashcard Styles */
.demo-section {
  background: #cfe8f8;
  padding: 3rem 0;
  margin: 3rem 0;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.8rem;
  align-items: center;
}

.demo-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.demo-info h2 {
  font-size: 2rem;
  color: #0b6c92;
}

.demo-info p {
  color: #4a5b6a;
  line-height: 1.7;
  max-width: 520px;
}

.demo-info .cta-btn {
  align-self: center;
  margin-top: 0.5rem;
}

.demo-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #2b6f9c;
}

.demo-bullets i {
  color: #23a6d5;
  margin-left: 8px;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(35, 166, 213, 0.1);
  border-radius: 50%;
}

.demo-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(0, 123, 175, 0.1);
  border-radius: 50%;
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.demo-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.demo-header h2 {
  color: #007baf;
  font-size: 2.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.demo-header p {
  color: #555;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.demo-preview {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.card-study-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
}

.study-header {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.75rem;
}

.study-header .study-title {
  flex: 1;
}

.study-back-btn {
  border: none;
  background: linear-gradient(45deg, #e9f7fe, #f0f9ff);
  color: #268dae;
  font-weight: bold;
  font-size: 1.08rem;
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 22px;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid rgba(38, 141, 174, 0.2);
}

.study-back-btn:hover {
  background: #e8faff;
  transform: translateY(-2px);
}

.study-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #23a6d5;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.study-progress {
  color: #344860;
  font-size: 1rem;
  background: linear-gradient(45deg, #e9f7fe, #f0f9ff);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.study-cardbox {
  width: 100%;
  max-width: 540px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(19, 150, 209, 0.15);
  padding: 2rem 1.6rem 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 123, 175, 0.1);
  transition: all 0.3s ease;
}

.study-cardbox:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(19, 150, 209, 0.2);
}

.card-question-num {
  font-size: 1rem;
  color: #668fb0;
  background: #f1f8ff;
  padding: 4px 13px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
}

.bookmark-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: all 0.3s ease;
}

.bookmark-btn svg {
  width: 35px;
  height: 35px;
  transition: all 0.3s ease;
}

.bookmark-btn:hover svg path {
  fill: #fdb82c;
}

.bookmark-btn.active svg path {
  fill: #fdb82c;
}

.card-question {
  color: #197faf;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: right;
}

.card-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.1rem;
  margin-top: 0.6rem;
}

.card-option-btn {
  background: #f3f8fe;
  border: 2px solid #eff6ff;
  border-radius: 16px;
  font-size: 1rem;
  color: #266aac;
  outline: none;
  padding: 0.85rem 1.3rem;
  text-align: right;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.card-option-btn:hover {
  background: #e8f4ff;
  transform: translateX(-5px);
}

.card-option-btn.selected {
  border: 2px solid #23a6d5;
  background: #e3f4ff;
  color: #089ad3;
  box-shadow: 0 5px 15px rgba(35, 166, 213, 0.2);
}

.card-option-btn.correct {
  background: #e5fff4;
  border-color: #36cfa1;
  color: #23b985;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(54, 207, 161, 0.2);
}

.card-option-btn.wrong {
  background: #fff2f4;
  border-color: #f1565c;
  color: #e14549;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(241, 86, 92, 0.2);
}

.show-answer-btn {
  margin: 0 auto 0 0;
  background: linear-gradient(90deg, #089ad3 60%, #23b985 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  outline: none;
  border-radius: 50px;
  padding: 0.65rem 2rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(35, 166, 213, 0.4);
  transition: all 0.2s;
  margin-top: 0.8rem;
}

.show-answer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(35, 166, 213, 0.5);
}

.show-answer-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 15px rgba(35, 166, 213, 0.4);
}

.answer-section {
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: #e9fff7;
  border-radius: 16px;
  color: #1a995e;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(68, 215, 172, 0.15);
  border: 1px solid rgba(54, 207, 161, 0.2);
}

.answer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #16bb8a;
}

.answer-expl {
  font-size: 0.95rem;
  color: #34646f;
  line-height: 1.7;
}

.study-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin-top: 1rem;
  gap: 1.8rem;
}

.study-footer-btn {
  background: rgba(255, 255, 255, 0.7);
  color: #6b9bc4;
  font-weight: 500;
  border: 1px solid rgba(35, 166, 213, 0.3);
  outline: none;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(35, 166, 213, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  opacity: 0.85;
}

.study-footer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(35, 166, 213, 0.05), transparent);
  transition: left 0.5s ease;
}

.study-footer-btn:hover:not(:disabled)::before {
  left: 100%;
}

.study-footer-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(35, 166, 213, 0.15);
  background: rgba(240, 249, 255, 0.9);
  border-color: rgba(35, 166, 213, 0.5);
  color: #5a8db0;
  opacity: 1;
}

.study-footer-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(35, 166, 213, 0.1);
  background: rgba(230, 247, 255, 0.8);
}

.study-footer-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: #f5f5f5;
  border-color: #d0d0d0;
  color: #999;
  box-shadow: none;
}

.study-footer-btn.active {
  background: rgba(230, 247, 255, 0.7);
  border-color: rgba(35, 166, 213, 0.4);
  color: #6b9bc4;
  box-shadow: 0 1px 3px rgba(35, 166, 213, 0.1);
}

.cta-section {
  text-align: center;
  margin-top: 2.5rem;
}

.cta-section p {
  margin-bottom: 2rem;
  color: #555;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Ensure hero buttons don't have underline */
.hero-buttons .cta-btn,
.hero-buttons .cta-btn-outline {
  text-decoration: none !important;
}

.hero-buttons .cta-btn::after,
.hero-buttons .cta-btn-outline::after {
  display: none !important;
}

.cta-section .cta-btn {
  text-decoration: none !important;
}

.cta-section .cta-btn::after {
  display: none !important;
}

/* Footer */
footer {
  background: linear-gradient(45deg, #23a6d5, #007baf);
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe7f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1.6rem 0 1rem;
}

.footer-brand .footer-tagline {
  margin-top: 0.75rem;
  color: #b8c7da;
  line-height: 1.6;
  font-size: 0.98rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo-img {
  height: 2.2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-links h4,
.footer-contact h4 {
  color: #f4f8ff;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.footer-links a,
.footer-mail {
  display: block;
  color: #cddae9;
  margin-bottom: 0.45rem;
  font-size: 0.97rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-mail:hover {
  color: #7cc3ff;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  color: #f4f8ff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0 0.9rem;
  text-align: center;
  color: #c1d5eb;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-buttons {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.4rem 0;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
    min-height: auto;
  }
  
  .hero-visual {
    max-width: 100%;
    height: auto;
    min-height: 420px;
    padding: 1.6rem 1.1rem;
    gap: 1rem;
  }
  
  .hero-logo {
    height: 150px;
  }
  
  .hero-logo-container {
    width: 260px;
    height: 260px;
  }
  
  .ring-1 {
    width: 210px;
    height: 210px;
  }
  
  .ring-2 {
    width: 235px;
    height: 235px;
  }
  
  .ring-3 {
    width: 255px;
    height: 255px;
  }
  
  .hero-glow {
    width: 220px;
    height: 220px;
  }
  
  .floating-card {
    padding: 0.75rem 0.95rem;
    min-width: 90px;
    max-width: 100px;
  }
  
  .card-icon-wrapper {
    width: 38px;
    height: 38px;
  }
  
  .floating-card i {
    font-size: 1.2rem;
  }
  
  .floating-card span {
    font-size: 0.78rem;
  }
  
  .hero-stats {
    gap: 0.85rem;
  }
  
  .stat-item {
    min-width: 115px;
    max-width: 140px;
    padding: 0.75rem 0.9rem;
  }
  
  .stat-icon-wrapper {
    width: 38px;
    height: 38px;
  }
  
  .stat-icon-wrapper i {
    font-size: 1.2rem;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
    margin: 3rem 0 2rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  
  .study-header, .study-cardbox, .study-footer {
    max-width: 96vw;
  }
  
  .study-cardbox {
    padding: 1.5rem 1rem 1.3rem 1rem;
  }
  
  .answer-section {
    padding: 0.8rem 1.2rem;
  }
  
  .card-question {
    font-size: 1.1rem;
  }
  
  .card-option-btn {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .demo-info {
    text-align: center;
    align-items: center;
    order: 2;
  }

  .demo-preview {
    order: 1;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-image {
    min-height: auto;
  }
  
  .hero-visual {
    padding: 1.5rem 1rem;
    min-height: 340px;
    gap: 1.25rem;
  }
  
  .hero-logo {
    height: 120px;
  }
  
  .hero-logo-container {
    width: 220px;
    height: 220px;
  }
  
  .ring-1 {
    width: 180px;
    height: 180px;
  }
  
  .ring-2 {
    width: 200px;
    height: 200px;
  }
  
  .ring-3 {
    width: 220px;
    height: 220px;
  }
  
  .hero-glow {
    width: 190px;
    height: 190px;
  }
  
  .hero-cards-visual {
    gap: 0.65rem;
    flex-wrap: wrap;
  }
  
  .floating-card {
    padding: 0.75rem 0.9rem;
    min-width: 90px;
    max-width: 105px;
    flex: 1;
  }
  
  .card-icon-wrapper {
    width: 38px;
    height: 38px;
  }
  
  .floating-card i {
    font-size: 1.2rem;
  }
  
  .floating-card span {
    font-size: 0.7rem;
  }
  
  .hero-stats {
    gap: 0.65rem;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .stat-item {
    flex: 1;
    min-width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    justify-content: center;
  }
  
  .stat-icon-wrapper {
    width: 36px;
    height: 36px;
  }
  
  .stat-icon-wrapper i {
    font-size: 1.1rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    padding: 0.8rem;
  }
  
  .study-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .study-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .study-footer-btn {
    width: 100%;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 1rem;
  }
  
  /* Features section */
  .features {
    padding: 2rem 0;
  }
  
  .feature-list {
    gap: 1.5rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Extra small devices (320px - 479px) */
@media (max-width: 479px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
}
