/* ===== School Management ERP - Product Page Styles ===== */

:root {
  --primary-color: #2563eb;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --light-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

/* ===== Sticky Purchase Button ===== */
.sticky-purchase {
  position: fixed;
  top: 110px;
  right: 30px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sticky-purchase .btn-purchase {
  position: relative;
  background: linear-gradient(135deg, #00c853 0%, #00a843 100%);
  color: white;
  padding: 18px 36px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: 3px solid white;
}

.sticky-purchase .btn-purchase:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 200, 83, 0.6);
  color: white;
}

.purchase-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1a202c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.purchase-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.purchase-text strong {
  font-size: 1.1rem;
}

.purchase-text small {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 600;
}

/* ===== Hero Section ===== */
.school-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.school-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #60a5fa;
}

.hero-badge i {
  color: var(--accent-color);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  display: block;
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero-feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--secondary-color), #059669);
  color: white;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

.demo-credentials {
  margin-top: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.demo-credentials h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-credentials h4 i {
  color: var(--accent-color);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.credential-item {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.credential-item strong {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 4px;
}

.credential-item span {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Courier New", monospace;
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper {
    position: relative;
}
.main-preview {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.floating-badge i {
  font-size: 1.5rem;
}

.badge-1 {
  top: 10%;
  right: -20px;
  color: var(--primary-color);
  animation-delay: 0s;
}

.badge-2 {
  top: 50%;
  left: -20px;
  color: var(--secondary-color);
  animation-delay: 1s;
}

.badge-3 {
  bottom: 10%;
  right: -20px;
  color: var(--accent-color);
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Stats Section ===== */
.school-stats {
  padding: 80px 0;
  background: var(--light-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 2.5rem;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== User Roles Section ===== */
.school-roles {
  padding: 100px 0;
  background: white;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.role-card {
  padding: 32px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}

.role-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.role-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon i {
  font-size: 2.5rem;
  color: white;
}

.role-icon.super-admin {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.role-icon.admin {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.role-icon.accountant {
  background: linear-gradient(135deg, #10b981, #059669);
}

.role-icon.teacher {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.role-icon.librarian {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.role-icon.parent {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.role-icon.student {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.role-card h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.role-card > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.role-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.role-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.role-features i {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* ===== Features Section ===== */
.school-features {
  padding: 100px 0;
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* ===== Screenshots Section ===== */
.school-screenshots {
  padding: 100px 0;
  background: white;
}

.screenshots-slider {
  margin-bottom: 40px;
}

.screenshot-link {
  text-align: center;
   background: #00a843;
}

/* ===== Technology Section ===== */
.school-tech {
  padding: 100px 0;
  background: var(--light-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.tech-item {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tech-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.tech-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon i {
  font-size: 2.5rem;
  color: white;
}

.tech-item h5 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.tech-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Architecture Diagram */
.architecture-diagram {
  background: white;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.diagram-header {
  text-align: center;
  margin-bottom: 32px;
}

.diagram-header i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.diagram-link {
  display: block;
  text-decoration: none;
}

.diagram-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.diagram-image-wrapper:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.architecture-image {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.diagram-image-wrapper:hover .diagram-overlay {
  opacity: 1;
}

.view-text {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-text i {
  font-size: 2rem;
}

/* ===== Videos Section ===== */
.school-videos {
  padding: 100px 0;
  background: white;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.video-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: var(--dark-bg);
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  text-decoration: none;
}

.play-button:hover {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.play-button i {
  font-size: 2rem;
  color: white;
  margin-left: 5px;
}

.video-content {
  padding: 24px;
}

.video-content h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.video-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* ===== Version History ===== */
.school-versions {
  padding: 100px 0;
  background: var(--light-bg);
}

.version-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.version-item {
  padding: 32px;
  background: white;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition);
}

.version-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.version-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.version-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.version-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.version-changes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.version-changes li {
  padding: 10px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.version-changes i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== Installation Guide ===== */
.school-installation {
  padding: 100px 0;
  background: white;
}

.installation-steps {
  max-width: 900px;
  margin: 0 auto 60px;
}

.step-item {
  display: flex;
  gap: 32px;
  padding: 32px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  transition: var(--transition);
}

.step-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.code-block {
  background: var(--dark-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  overflow-x: auto;
}

.code-block code {
  color: #10b981;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
}

kbd {
  background: var(--dark-bg);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
}

.text-success {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 16px;
}

.prerequisites {
  background: var(--light-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.prerequisites h4 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.prerequisites h4 i {
  color: var(--accent-color);
}

.prereq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.prereq-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-md);
  font-weight: 500;
}

.prereq-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* ===== Pricing Section ===== */
.school-pricing {
  padding: 100px 0;
  background: var(--light-bg);
}

.pricing-card-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.pricing-header {
  text-align: center;
  padding: 48px 32px 32px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.pricing-header h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pricing-price .currency {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 8px;
}

.pricing-price .amount {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-price .period {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-top: 32px;
}

.pricing-description {
  font-size: 1.125rem;
  opacity: 0.9;
}

.pricing-features {
  padding: 48px 32px;
}

.pricing-features h4 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.pricing-features strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-features span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-footer {
  padding: 32px;
  text-align: center;
  background: var(--light-bg);
}

.pricing-footer .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.money-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.money-back i {
  color: var(--secondary-color);
}

.payment-methods {
  text-align: center;
  margin-top: 48px;
}

.payment-methods p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 40px;
  opacity: 0.7;
  transition: var(--transition);
}

.payment-icons img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== Support Section ===== */
.school-support {
  padding: 100px 0;
  background: white;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.support-card {
  text-align: center;
  padding: 32px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.support-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.support-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon i {
  font-size: 2.5rem;
  color: white;
}

.support-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.support-card p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.support-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.support-link:hover {
  color: var(--secondary-color);
}

/* ===== FAQ Section ===== */
.school-faq {
  padding: 100px 0;
  background: var(--light-bg);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ===== CTA Section ===== */
.school-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  position: relative;
  overflow: hidden;
}

.school-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-feature i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .sticky-purchase {
    display: none;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

.btn-purchase {
  background: linear-gradient(135deg, var(--accent-success) 0%, #00a843 100%);
  color: white;
  padding: 18px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-purchase:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.5);
  color: white;
}

.btn-purchase i {
  font-size: 1.3rem;
}

.pricing-note {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-note i {
  color: var(--accent-success);
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.payment-methods img {
  height: 30px;
  opacity: 0.7;
  transition: var(--transition);
}

.payment-methods img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Guarantee Section */
.guarantee-section {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.guarantee-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.guarantee-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-success) 0%, #00a843 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-icon i {
  font-size: 2.5rem;
  color: white;
}

.guarantee-text h4 {
  color: white;
  margin: 0 0 8px 0;
  font-size: 1.5rem;
}

.guarantee-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 1rem;
}

/* Package Details Section */
.erp-package-details {
  padding: 80px 0;
  background: white;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.package-item {
  background: var(--light-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 2px solid transparent;
}

.package-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  background: white;
}

.package-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.package-icon i {
  font-size: 2rem;
  color: white;
}

.package-item h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.package-item > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.package-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-item li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Sticky Purchase Button - Always Visible ===== */
.sticky-purchase {
  position: fixed;
  top: 110px; /* Below header */
  right: 30px;
  z-index: 998; /* Below header (999) but above content */
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* Animation on page load */
@keyframes slideInRight {
  from {
    transform: translateX(200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.sticky-purchase {
  animation: slideInRight 0.6s ease-out 0.5s both;
}

/* Button styling */
.sticky-purchase .btn-purchase {
  background: linear-gradient(135deg, #00c853 0%, #00a843 100%);
  color: white;
  padding: 16px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.sticky-purchase .btn-purchase:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 200, 83, 0.6);
  color: white;
}

.sticky-purchase .btn-purchase i {
  font-size: 1.3rem;
  animation: bounce 2s ease-in-out infinite;
}

/* Bounce animation for icon */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Pulse effect */
.sticky-purchase .btn-purchase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  background: inherit;
  z-index: -1;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Hide on mobile to avoid blocking content */
@media (max-width: 768px) {
  .sticky-purchase {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
  }

  .sticky-purchase .btn-purchase {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .sticky-purchase .btn-purchase {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* Ensure button doesn't overlap with header */
@media (min-width: 769px) {
  body.scrolled .sticky-purchase {
    top: 100px; /* Adjust if header shrinks on scroll */
  }
}

/* ===== Mobile Responsive Fixes ===== */

/* Base responsive adjustments */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }

  /* Hero Section */
  .erp-hero {
    padding: 60px 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding-right: 0;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }
}

/* Tablet and Mobile */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* Section Spacing */
  section {
    padding: 50px 0 !important;
  }

  /* Typography */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  /* Hero Section */
  .erp-hero {
    padding: 40px 0;
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-text {
    text-align: center;
    padding: 0;
  }

  .hero-badge {
    justify-content: center;
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 100%;
  }

  /* Feature Badges */
  .feature-badges {
    flex-direction: column;
    gap: 12px;
  }

  .feature-badge {
    width: 100%;
    justify-content: center;
  }

  /* Stats Section */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 24px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Features Grid */
  .features-grid,
  .advanced-features-grid,
  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card,
  .advanced-feature-card,
  .package-item {
    padding: 24px;
  }

  /* Screenshots */
  .screenshots-slider {
    padding: 0;
  }

  .screenshot-item {
    padding: 0 10px;
  }

  /* Technology Stack */
  .tech-categories {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .youtube-cta {
    padding: 24px 16px;
  }

  .youtube-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .youtube-cta-content > i {
    font-size: 3rem;
  }

  .btn-youtube {
    width: 100%;
    justify-content: center;
  }

  /* Version History */
  .version-timeline {
    padding-left: 20px;
  }

  .version-item {
    padding-left: 30px;
  }

  .version-item::before {
    left: -20px;
  }

  /* Support Section */
  .support-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing Section */
  .pricing-card-wrapper {
    max-width: 100%;
  }

  .pricing-header {
    padding: 40px 20px 24px;
  }

  .pricing-header h3 {
    font-size: 1.5rem;
  }

  .pricing-price .amount {
    font-size: 3rem;
  }

  .pricing-features {
    padding: 24px 20px;
  }

  .pricing-features li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pricing-footer {
    padding: 24px 20px;
  }

  .btn-purchase {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }

  .payment-methods {
    flex-wrap: wrap;
    gap: 12px;
  }

  .payment-methods img {
    height: 24px;
  }

  /* Guarantee Section */
  .guarantee-content {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .guarantee-icon {
    width: 60px;
    height: 60px;
  }

  .guarantee-icon i {
    font-size: 2rem;
  }

  .guarantee-text h4 {
    font-size: 1.25rem;
  }

  /* CTA Section */
  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sticky Purchase Button - Move to Bottom */
  .sticky-purchase {
    top: auto !important;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    z-index: 999;
  }

  .sticky-purchase .btn-purchase {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .purchase-badge {
    top: -8px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .purchase-text strong {
    font-size: 1rem;
  }

  .purchase-text small {
    font-size: 0.8rem;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  /* Container */
  .container {
    padding: 0 12px;
  }

  /* Typography */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Hero */
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn i {
    font-size: 1rem;
  }

  /* Stats */
  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Feature Cards */
  .feature-card,
  .advanced-feature-card {
    padding: 20px;
  }

  .feature-icon,
  .advanced-feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon i,
  .advanced-feature-icon i {
    font-size: 1.5rem;
  }

  .feature-card h4,
  .advanced-feature-card h4 {
    font-size: 1.1rem;
  }

  /* Technology Stack */
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-item {
    padding: 16px;
  }

  /* Pricing */
  .pricing-header {
    padding: 30px 16px 20px;
  }

  .pricing-header h3 {
    font-size: 1.25rem;
  }

  .pricing-price .amount {
    font-size: 2.5rem;
  }

  .pricing-features {
    padding: 20px 16px;
  }

  .pricing-features h4 {
    font-size: 1.25rem;
  }

  .pricing-features li strong {
    font-size: 1rem;
  }

  .pricing-features li span {
    font-size: 0.85rem;
  }

  /* Package Details */
  .package-item {
    padding: 20px;
  }

  .package-icon {
    width: 60px;
    height: 60px;
  }

  .package-icon i {
    font-size: 1.75rem;
  }

  /* Videos */
  .video-card h4 {
    font-size: 1.1rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 1.5rem;
  }

  /* YouTube CTA */
  .youtube-cta h4 {
    font-size: 1.25rem;
  }

  .youtube-cta p {
    font-size: 0.9rem;
  }

  /* Version History */
  .version-item {
    padding-left: 24px;
  }

  .version-number {
    font-size: 1rem;
  }

  /* Support */
  .support-item {
    padding: 20px;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }

  /* Sticky Button */
  .sticky-purchase {
    padding: 10px 12px;
  }

  .sticky-purchase .btn-purchase {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .purchase-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
  }
}

/* Extra Small Devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .pricing-price .amount {
    font-size: 2rem;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .erp-hero {
    padding: 30px 0;
  }

  .hero-content {
    flex-direction: row;
    gap: 30px;
  }

  .hero-text {
    text-align: left;
    flex: 1;
  }

  .hero-image {
    flex: 1;
    margin-top: 0;
  }

  .sticky-purchase {
    display: none; /* Hide on landscape to avoid blocking content */
  }
}
