 /* Reset and base styles */
 a { 
  text-decoration: none;
  color:black;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background-color: #ffffff;
}
/* Color variables - Unified Blue Palette */
:root {
  --dark-blue: #414141;
  --main-font: "Geologica", sans-serif;
  --primary-blue: #2980b9;
  --primary-blue-dark: #21618c;
  --secondary-blue: #3190cf;
  --accent-blue-light: #40a0d6;
  --accent-blue-lighter: #4fb0dd;
  --accent-orange: #f59e0b;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-500: #718096;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --gray-900: #171923;
}
/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue-light) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
}
.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
}
.btn-ghost {
  background-color: transparent;
  color: var(--gray-600);
  border: none;
}
.btn-ghost:hover {
  color: var(--primary-blue);
}
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
}
.icon-sm {
  width: 1rem;
  height: 1rem;
}
.icon-lg {
  width: 2rem;
  height: 2rem;
}
/* Header */
.header {
  padding: 7px 0px;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #0099ff 0%, #0061a1 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(41, 128, 185, 0.35), 0 2px 4px -1px rgba(41, 128, 185, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.logo-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}
.logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px -4px rgba(41, 128, 185, 0.4), 0 4px 8px -2px rgba(41, 128, 185, 0.25);
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
}

.nav {
  display: flex;
  gap: 3rem;
}
.nav a {
  font-family: var(--main-font);
  font-size: 17px;
  font-weight: 300;
  color: var(--dark-blue);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(41, 128, 185, 0.4);
}
.nav a:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}
.nav a:hover::before {
  width: 100%;
}
.nav a.active {
  color: var(--primary-blue);
  font-weight: 600;
}
.nav a.active::before {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f7fafc 0%, #ffffff 50%, #f7fafc 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(41, 128, 185, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}


.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text {
  text-align: left;
}
.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hed-icon{
width:21px;
height:21px;
}
.hero-subtitle {
  font-size: 1.375rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  max-width: 90%;
}
/* Hero Section for static pages */
.hero-section {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fafc 0%, #ffffff 50%, #f7fafc 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41, 128, 185, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section .hero-text {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-section .hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}
.hero-section .hero-subtitle {
  font-size: 1.375rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  max-width: 100%;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.hero-image:hover img {
  transform: scale(1.02);
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-demo-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
  max-width: 18rem;
  animation: slideInUp 1s ease-out 0.6s both;
  border: 1px solid rgba(41, 128, 185, 0.1);
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.demo-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.demo-card-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -4px rgba(41, 128, 185, 0.35), 0 2px 4px -1px rgba(41, 128, 185, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.demo-card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}
.demo-card-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}
.demo-card-message {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
}
/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.2), transparent);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue-light));
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}
.feature-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 1.75rem;
  padding: 2.75rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--accent-blue-light));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(41, 128, 185, 0.4);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(41, 128, 185, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 50px -12px rgba(41, 128, 185, 0.25);
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}
.feature-card.teachers {
  border-color: var(--secondary-blue);
}
.feature-card.teachers::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}
.feature-card.teachers:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px -10px rgba(41, 128, 185, 0.2);
}
.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
}
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  box-shadow: 0 10px 24px -6px rgba(41, 128, 185, 0.35), 0 4px 8px -2px rgba(41, 128, 185, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover .feature-icon::before {
  opacity: 1;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 16px 32px -8px rgba(41, 128, 185, 0.4), 0 8px 16px -4px rgba(41, 128, 185, 0.25);
}
.feature-icon.students {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.feature-icon.teachers {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.feature-item:hover {
  background: var(--gray-50);
  transform: translateX(5px);
}
.feature-item-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(41, 128, 185, 0.3), 0 2px 4px -1px rgba(41, 128, 185, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.feature-item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-item:hover .feature-item-icon::before {
  opacity: 1;
}
.feature-item-icon.icon-blue-1 {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.feature-item-icon.icon-blue-2 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.3), 0 2px 4px -1px rgba(16, 185, 129, 0.15);
}
.feature-item-icon.icon-blue-3 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 16px -4px rgba(245, 158, 11, 0.3), 0 2px 4px -1px rgba(245, 158, 11, 0.15);
}
.feature-item-icon.icon-blue-4 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 6px 16px -4px rgba(139, 92, 246, 0.3), 0 2px 4px -1px rgba(139, 92, 246, 0.15);
}
.feature-item:hover .feature-item-icon.icon-blue-1 {
  box-shadow: 0 10px 24px -4px rgba(41, 128, 185, 0.4), 0 4px 8px -2px rgba(41, 128, 185, 0.25);
}
.feature-item:hover .feature-item-icon.icon-blue-2 {
  box-shadow: 0 10px 24px -4px rgba(16, 185, 129, 0.4), 0 4px 8px -2px rgba(16, 185, 129, 0.25);
}
.feature-item:hover .feature-item-icon.icon-blue-3 {
  box-shadow: 0 10px 24px -4px rgba(245, 158, 11, 0.4), 0 4px 8px -2px rgba(245, 158, 11, 0.25);
}
.feature-item:hover .feature-item-icon.icon-blue-4 {
  box-shadow: 0 10px 24px -4px rgba(139, 92, 246, 0.4), 0 4px 8px -2px rgba(139, 92, 246, 0.25);
}
.feature-item:hover .feature-item-icon {
  transform: scale(1.18) translateY(-2px);
}
.feature-item-content h4 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
}
.feature-item-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}
/* Benefits Section */
.benefits-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
  position: relative;
}
.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.2), transparent);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.benefit-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 2px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.benefit-card:hover::before {
  transform: scaleX(1);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(41, 128, 185, 0.2);
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}
.benefit-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 24px -6px rgba(41, 128, 185, 0.35), 0 4px 8px -2px rgba(41, 128, 185, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.benefit-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.benefit-card:hover .benefit-icon::before {
  opacity: 1;
}
.benefit-icon.icon-benefit-1 {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.benefit-icon.icon-benefit-2 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.35), 0 4px 8px -2px rgba(16, 185, 129, 0.2);
}
.benefit-icon.icon-benefit-3 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.35), 0 4px 8px -2px rgba(245, 158, 11, 0.2);
}
.benefit-card:hover .benefit-icon.icon-benefit-1 {
  box-shadow: 0 16px 32px -8px rgba(41, 128, 185, 0.4), 0 8px 16px -4px rgba(41, 128, 185, 0.25);
}
.benefit-card:hover .benefit-icon.icon-benefit-2 {
  box-shadow: 0 16px 32px -8px rgba(16, 185, 129, 0.4), 0 8px 16px -4px rgba(16, 185, 129, 0.25);
}
.benefit-card:hover .benefit-icon.icon-benefit-3 {
  box-shadow: 0 16px 32px -8px rgba(245, 158, 11, 0.4), 0 8px 16px -4px rgba(245, 158, 11, 0.25);
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.12) rotate(5deg);
}
.benefit-icon .icon {
  width: 2rem;
  height: 2rem;
  color: white;
}
.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.benefit-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}
/* Education Approach Section */
.approach-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  position: relative;
}
.approach-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.2), transparent);
}
.approach-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: center;
}
.approach-description {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.approach-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.approach-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.approach-item-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -4px rgba(41, 128, 185, 0.35), 0 2px 4px -1px rgba(41, 128, 185, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.approach-item-icon.icon-approach-1 {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.approach-item-icon.icon-approach-2 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.approach-item-icon.icon-approach-3 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.approach-item-icon.icon-approach-4 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.approach-item-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.approach-item:hover .approach-item-icon::before {
  opacity: 1;
}
.approach-item:hover .approach-item-icon {
  transform: scale(1.15) translateY(-2px);
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  box-shadow: 0 12px 28px -6px rgba(41, 128, 185, 0.4), 0 4px 8px -2px rgba(41, 128, 185, 0.25);
}
.approach-item-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}
.approach-item-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.approach-item-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
}
.approach-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.visual-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue-light) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  color: white;
  box-shadow: 0 15px 35px -8px rgba(41, 128, 185, 0.4), 0 6px 12px -3px rgba(41, 128, 185, 0.25);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.visual-card:hover::before {
  opacity: 1;
}
.visual-card:nth-child(even) {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--accent-blue-light) 100%);
}
.visual-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(41, 128, 185, 0.45), 0 8px 16px -4px rgba(41, 128, 185, 0.3);
}
.visual-card .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}
.visual-card:hover .icon {
  transform: scale(1.1);
}
.visual-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
  position: relative;
}
.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.2), transparent);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: top;
}
.faq-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(49, 130, 206, 0.15);
}
.faq-item:hover::before {
  transform: scaleY(1);
}
.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(49, 130, 206, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}
.faq-item.active::before {
  transform: scaleY(1);
}
.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-question {
  padding-bottom: 1.25rem;
}
.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
  transition: color 0.3s ease;
}
.faq-item.active .faq-question h3 {
  color: var(--primary-blue);
}
.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-blue);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
}
.faq-item:hover .faq-icon {
  color: var(--secondary-blue);
  transform: translateY(-2px) scale(1.1);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg) scale(1.1);
  color: var(--primary-blue-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease-in-out 0.1s;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
  opacity: 1;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease-in-out 0.15s;
}
.faq-answer p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  transform: translateY(-10px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
              opacity 0.4s ease-in-out 0.1s;
  opacity: 0;
}
.faq-item.active .faq-answer p {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
              opacity 0.5s ease-in-out 0.2s;
}
/* Footer */
.footer {
  background: linear-gradient(180deg, #0f1419 0%, #1a202c 100%);
  color: var(--gray-300);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(41, 128, 185, 0.3) 50%, transparent 100%);
}
.footer-content {
  display: grid;
  grid-template-columns: 2.5fr 1.2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.footer-section {
  position: relative;
}
.footer-section:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}
.footer-section h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, transparent 100%);
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 0.75rem;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-section ul li:hover {
  opacity: 1;
  transform: translateX(4px);
}
.footer-section ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}
.footer-section ul li a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}
.footer-section ul li a:hover {
  color: white;
  padding-left: 8px;
}
.footer-section ul li a:hover::before {
  width: 6px;
}
.footer-logo {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo .logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}
.footer-section:first-child p {
  color: var(--gray-400);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 90%;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
}
.btn-login {
border: solid 2px var(--primary-blue);
color: var(--primary-blue);
padding: 0.4rem 1.5rem;
}

.btn-login:hover {
border: solid 2px var(--primary-blue);
color: white;
background-color: var(--primary-blue);
}

.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* === Универсальные стили для всех элементов в generator-interface === */

/* Общие стили для input, textarea, select */
.generator-interface input,
.generator-interface textarea,
.generator-interface select {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--gray-300);
border-radius: 0.5rem;
font-size: 0.875rem;
font-family: inherit;
color: var(--gray-800);
background-color: white;
transition: all 0.2s ease;
outline: none;
}

/* Фокус — подсветка активного поля */
.generator-interface input:focus,
.generator-interface textarea:focus,
.generator-interface select:focus {
border-color: var(--primary-blue);
box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.3);
transform: translateY(-1px);
}

/* Состояние readonly (например, в демо) */
.generator-interface input:read-only,
.generator-interface textarea:read-only,
.generator-interface select:disabled {
background-color: var(--gray-100);
color: var(--gray-600);
cursor: not-allowed;
border-color: var(--gray-200);
opacity: 1;
}

/* Улучшенный вид для select — с кастомной стрелкой */
.generator-interface select:not(:disabled) {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 12px;
appearance: none;
cursor: pointer;
}

/* Скрыть стрелку у disabled select */
.generator-interface select:disabled {
background-image: none;
}

/* Стиль для textarea — можно задать минимальную высоту */
.generator-interface textarea {
min-height: 120px;
resize: vertical;
}

/* Универсальный стиль для кнопок */
.generator-interface button {
align-self: flex-start;
padding: 0.75rem 1.25rem;
background: var(--primary-blue);
color: white;
border: none;
border-radius: 0.5rem;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ховер для кнопок */
.generator-interface button:hover:not(:disabled) {
background: var(--primary-blue-dark);
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Фокус — для доступности */
.generator-interface button:focus {
outline: 2px solid var(--primary-blue);
outline-offset: 2px;
}

/* Состояние disabled — визуально понятно */
.generator-interface button:disabled {
background: var(--gray-300);
color: var(--gray-500);
cursor: not-allowed;
transform: none;
box-shadow: none;
opacity: 1;
}

/* === УЛУЧШЕННЫЙ СТИЛЬ ДЛЯ РАДИОКНОПОК В ГЕНЕРАТОРЕ ТЕСТОВ === */

/* Контейнер с радиокнопками */
.generator-output div[style*="margin-left"] {
display: flex;
flex-direction: column;
gap: 0.5rem; /* Уменьшенное расстояние между вариантами */
}

/* Группа радиокнопка + лейбл */
.generator-output div[style*="margin-left"] div {
display: flex;
align-items: flex-start;
gap: 0.5rem;
line-height: 1.4;
}

/* Стиль для самой радиокнопки (input[type=radio]) */
.generator-output div[style*="margin-left"] input[type="radio"] {
flex-shrink: 0;
width: 16px;
height: 16px;
margin-top: 3px; /* Центрируем кружок по вертикали относительно текста */
accent-color: var(--primary-blue); /* Синий цвет кружка — в стиле Erudia */
cursor: default; /* Поскольку disabled, курсор не меняется */
}



.shadow_block {
display:flex;
/*background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1)); */
padding:7px 15px;
border-radius:10px;
justify-content: space-between;
gap:12px;
align-items: center;
user-select: none;
}

.shadow_block:hover{
color: var(--primary-blue);
cursor:pointer;
}







.window {
display: none;
position: absolute;
top: calc(100% + 10px);
left: 75%;
transform: translateX(-50%) scale(0.95);
background-color: #fff;
border-radius: 12px;
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
z-index: 1000;
width: 280px;
box-sizing: border-box;
opacity: 0;
transition: all 0.2s ease;
overflow: hidden;
}

.window.active {
display: block;
opacity: 1;
transform: translateX(-50%) scale(1);
}

.window-header {
padding: 16px 20px;
border-bottom: 1px solid #eaeaea;

}

.window-header h3 {
margin: 0 0 4px 0;
font-size: 16px;
font-weight: 600;
color: #333;
}

.window-header p {
margin: 0;
font-size: 14px;
color: #666;
}

.window-menu {
list-style: none;
margin: 0;
padding: 0;
}

.window-menu li {
padding: 12px 20px;
cursor: pointer;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
transition: all 0.2s ease;
}



.window-menu li:last-child {
border-bottom: none;
}

.window-menu i {
margin-right: 10px;
font-size: 14px;
color: #888;
}

.window-menu a {
text-decoration: none;
color: #333;
display: flex;
align-items: center;
width: 100%;
}

.window-menu .logout {
color: #e74a3b;
font-weight: 500;
}

.window-menu .logout i {
color: #e74a3b;
}

.window-menu .logout:hover {
background-color: #f8d7da;
color: #721c24;
}

/* ===== PERSONAL CABINET STYLES ===== */

/* Personal Cabinet Header */
.personal-header {
background: white;
border-bottom: 1px solid #e5e7eb;
padding: 0 1rem;
}

.header-container {
max-width: 1280px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
height: 4rem;
}

.personal-header .logo {
display: flex;
align-items: center;
gap: 0.5rem;
}

.personal-header .logo-icon {
width: 2rem;
height: 2rem;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 0.875rem;
}

.personal-header .logo-text {
font-size: 1.25rem;
font-weight: 600;
color: #1f2937;
}

.personal-header .user-info {
display: flex;
align-items: center;
gap: 1rem;
}

.personal-header .user-avatar {
width: 2.5rem;
height: 2.5rem;
background: linear-gradient(135deg, #3b82f6, #10b981);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
}

.personal-header .user-details {
text-align: right;
display: none;
}

.personal-header .user-name {
font-size: 0.875rem;
font-weight: 600;
color: #1f2937;
}

.personal-header .user-subscription {
font-size: 0.75rem;
color: #6b7280;
}

/* Personal Container */
.personal-container {
max-width: 1280px;
margin: 2rem auto;
padding: 0 1rem;
}

.personal-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

@media (min-width: 1024px) {
.personal-grid {
  grid-template-columns: 2fr 1fr;
}
.personal-header .user-details {
  display: block;
}
}

/* Personal Cards */
.personal-card {
background: white;
border-radius: 1rem;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
border: 1px solid #e5e7eb;
padding: 1.5rem;
}

.dashboard-header {
margin-bottom: 1.5rem;
}

.dashboard-title {
font-size: 1.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 0.5rem;
}

.dashboard-description {
color: #6b7280;
font-size: 0.875rem;
}

/* Tools List */
.tool-item {
padding: 1rem;
border: 1px solid #e5e7eb;
border-radius: 0.75rem;
margin-bottom: 1rem;
cursor: pointer;
transition: all 0.2s ease;
}

.tool-item:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
border-color: #d1d5db;
}

.tool-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
}

.tool-info {
display: flex;
align-items: flex-start;
gap: 0.75rem;
flex: 1;
}

.tool-icon {
width: 2.5rem;
height: 2.5rem;
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.25rem;
}

.tool-content {
flex: 1;
}

.tool-name {
font-weight: 600;
color: #1f2937;
margin-bottom: 0.25rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.tool-description {
font-size: 0.875rem;
color: #6b7280;
}

.tool-button {
padding: 0.5rem 1rem;
border-radius: 0.5rem;
font-weight: 600;
font-size: 0.875rem;
border: none;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: inline-block;
}

.tool-button-available {
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
}

.tool-button-available:hover {
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.tool-button-unavailable {
background: #f3f4f6;
color: #9ca3af;
cursor: not-allowed;
}

.badge {
font-size: 0.75rem;
background: #fef3c7;
color: #d97706;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
font-weight: 600;
}

/* Activity List */
.activity-item {
padding: 0.75rem;
background: #f9fafb;
border-radius: 0.5rem;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}

.activity-content {
display: flex;
align-items: center;
gap: 0.75rem;
flex: 1;
}

.activity-dot {
width: 0.5rem;
height: 0.5rem;
background: #3b82f6;
border-radius: 50%;
}

.activity-text {
flex: 1;
}

.activity-tool {
font-weight: 600;
color: #1f2937;
font-size: 0.875rem;
}

.activity-action {
color: #6b7280;
font-size: 0.875rem;
}

.activity-time {
font-size: 0.75rem;
color: #9ca3af;
}

/* Profile Card */
.profile-card {
text-align: center;
}

.profile-avatar {
width: 4rem;
height: 4rem;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
margin: 0 auto 1rem;
font-size: 1.25rem;
}


.head-profile-avatar {
width: 35px;
height: 35px;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
margin: 0 auto;
font-size: 15px;
}



.profile-name {
font-weight: 600;
color: #1f2937;
margin-bottom: 0.25rem;
}

.profile-email {
color: #6b7280;
font-size: 0.875rem;
margin-bottom: 0.5rem;
}

.profile-subscription {
display: inline-block;
background: #3498db50;
color: #307db0;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
margin-bottom: 0.5rem;
}

.profile-join {
color: #9ca3af;
font-size: 0.75rem;
}

/* Stats */
.stats-item {
display: flex;
justify-content: space-between;
padding: 0.5rem 0;
}

.stats-label {
color: #6b7280;
font-size: 0.875rem;
}

.stats-value {
font-weight: 600;
color: #1f2937;
}

/* Settings */
.settings-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem;
border-radius: 0.5rem;
cursor: pointer;
transition: background 0.2s ease;
}

.settings-item:hover {
background: #f9fafb;
}

.settings-icon {
color: #6b7280;
font-size: 0.875rem;
}

.settings-text {
color: #4b5563;
font-size: 0.875rem;
text-decoration: none;
}

.settings-text:hover {
color: #1f2937;
}

/* Error Page */
.error-page {
display: flex;
justify-content: center;
align-items: center;
min-height: 50vh;
}

.error-content {
text-align: center;
}

.error-content h1 {
font-size: 2rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1rem;
}

.error-content p {
font-size: 1.125rem;
color: #6b7280;
margin-bottom: 2rem;
}

/* Иконки (можно заменить на Font Awesome или SVG) */
.icon-clock::before { content: "🕒"; }
.icon-folder::before { content: "📁"; }
.icon-gear::before { content: "⚙️"; }
.icon-exit::before { content: "🚪"; }



.krug{
display: flex;
justify-content: center;
border: 2px solid #308fcd;
border-radius: 50%;
width: 35px;
height: 35px;
}



/* Стиль для label */
.generator-output div[style*="margin-left"] label {
font-size: 0.875rem;
color: var(--gray-700);
cursor: default;
margin: 0;
padding: 0;
user-select: none;
}

/* Убираем лишние отступы у label, если они заданы инлайн */
.generator-output div[style*="margin-left"] label {
margin-bottom: 0;
}


/*    //////////////////////////////////////////////////////////////////////*/


/* Оверлей с плавным появлением */
.erudia-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0);
display: none;
justify-content: center;
align-items: center;
z-index: 10000;
opacity: 0;
transition: all 0.3s ease;
}

.erudia-overlay.active {
background: rgba(0, 0, 0, 0.5);
opacity: 1;
}

/* Форма с анимацией появления */
.erudia-login-form {
background: #ffffff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
width: 360px;
position: relative;
transform: scale(0.7);
opacity: 0;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.erudia-overlay.active .erudia-login-form {
transform: scale(1);
opacity: 1;
}

/* Заголовок формы */
.erudia-form-header {
text-align: center;
margin-bottom: 25px;
}

.erudia-form-header h2 {
margin: 0 0 8px 0;
color: #2c3e50;
font-size: 24px;
font-weight: 600;
line-height: 1.3;
}

.erudia-form-header p {
margin: 0;
color: #7f8c8d;
font-size: 14px;
}

/* Группы полей */
.erudia-form-group {
margin-bottom: 20px;
}

.erudia-form-group label {
display: block;
margin-bottom: 8px;
color: #2c3e50;
font-weight: 500;
font-size: 14px;
}

.erudia-form-group label a.erudia-forgot-link {
float: right;
color: #3498db;
text-decoration: none;
font-weight: normal;
font-size: 12px;
}

.erudia-form-group label a.erudia-forgot-link:hover {
color: #2980b9;
text-decoration: underline;
}

.erudia-form-content input {
width: 100%;
padding: 14px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 14px;
box-sizing: border-box;
font-family: Arial, sans-serif;
transition: all 0.3s ease;
}

.erudia-form-content input:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
transform: translateY(-1px);
}

.erudia-form-content input:hover {
border-color: #bdc3c7;
}

/* Чекбокс "Запомнить меня" */
.erudia-checkbox-group {
margin-bottom: 25px;
}

.erudia-checkbox-container {
display: flex;
align-items: center;
cursor: pointer;
font-size: 14px;
color: #2c3e50;
user-select: none;
}

.erudia-checkbox-container input {
position: absolute;
opacity: 0;
cursor: pointer;
width: 0;
height: 0;
}

.erudia-checkmark {
height: 20px;
width: 20px;
background-color: #fff;
border: 2px solid #bdc3c7;
border-radius: 4px;
margin-right: 10px;
transition: all 0.3s ease;
position: relative;
}

.erudia-checkbox-container:hover .erudia-checkmark {
border-color: #3498db;
}

.erudia-checkbox-container input:checked ~ .erudia-checkmark {
background-color: #3498db;
border-color: #3498db;
}

.erudia-checkmark:after {
content: "";
position: absolute;
display: none;
left: 6px;
top: 2px;
width: 6px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}

.erudia-checkbox-container input:checked ~ .erudia-checkmark:after {
display: block;
}

/* Кнопка отправки */
.erudia-submit-btn {
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
padding: 14px;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
width: 100%;
font-family: Arial, sans-serif;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
position: relative;
overflow: hidden;
}

.erudia-submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.erudia-submit-btn:active {
transform: translateY(0);
}

.erudia-submit-btn:disabled {
background: #bdc3c7;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

/* Футер формы */
.erudia-form-footer {
text-align: center;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid #ecf0f1;
}

.erudia-form-footer p {
margin: 0;
color: #7f8c8d;
font-size: 14px;
}

.erudia-register-link {
color: #3498db;
text-decoration: none;
font-weight: 600;
}

.erudia-register-link:hover {
color: #2980b9;
text-decoration: underline;
}

/* Кнопка закрытия */
.erudia-close-btn {
position: absolute;
top: 20px;
right: 20px;
font-size: 28px;
cursor: pointer;
color: #aaa;
font-weight: normal;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
}

.erudia-close-btn:hover {
color: #2c3e50;
background-color: #f8f9fa;
}

/* Кнопка вызова формы */
.erudia-login-trigger {
padding: 10px 20px;
background: linear-gradient(135deg, #3182ce 0%, #2980b9 100%);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
font-family: Arial, sans-serif;
font-weight: 600;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
text-decoration: none;
}

.erudia-login-trigger:hover {
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.erudia-login-trigger:active {
transform: translateY(0);
}



























/*    регистрация  */
/* Общие стили для формы регистрации */
.page_form__inner {
max-width: 600px;
margin: 0 auto;
padding: 30px;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Заголовок */
.title.h1 {
text-align: center;
color: #2c3e50;
font-size: 28px;
font-weight: 600;
margin-bottom: 25px;
line-height: 1.3;
}

/* Описание */
.regtext {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin-bottom: 25px;
border-left: 4px solid #3498db;
color: #555;
line-height: 1.6;
}

.regtext a {
color: #3498db;
text-decoration: none;
font-weight: 600;
}

.regtext a:hover {
color: #2980b9;
text-decoration: underline;
}

/* Форма */
.page_form__form {
margin-top: 20px;
}

/* Список формы */
.ui-form {
list-style: none;
padding: 0;
margin: 0;
}

/* Группа полей */
.form-group {
margin-bottom: 20px;
position: relative;
}

/* Лейблы */
.form-group label {
display: block;
margin-bottom: 8px;
color: #2c3e50;
font-weight: 500;
font-size: 14px;
}

/* Поля ввода */
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
width: 100%;
padding: 14px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 14px;
font-family: Arial, sans-serif;
box-sizing: border-box;
transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[type="text"]:hover,
.form-group input[type="password"]:hover,
.form-group input[type="email"]:hover,
.form-group textarea:hover,
.form-group select:hover {
border-color: #bdc3c7;
}

/* Текстовая область */
.form-group textarea {
min-height: 100px;
resize: vertical;
}

/* Кнопки */
.btn {
display: inline-block;
padding: 12px 24px;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
border: none;
border-radius: 6px;
font-size: 14px;
font-family: Arial, sans-serif;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
text-align: center;
box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn:active {
transform: translateY(0);
}

.btn:disabled {
background: #bdc3c7;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

/* Специальные стили для проверки логина */
.login_check {
display: flex;
gap: 10px;
}

.login_check input {
flex: 1;
}

.login_check .btn {
padding: 14px 20px;
white-space: nowrap;
}

/* Результат проверки регистрации */
#result-registration {
margin-top: 10px;
padding: 12px;
border-radius: 6px;
font-size: 13px;
font-weight: 500;
}

#result-registration.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}

#result-registration.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}

/* Капча */
.c-captcha {
display: flex;
flex-direction: column;
gap: 15px;
}

.c-captcha img {
max-width: 200px;
height: auto;
border: 1px solid #ddd;
border-radius: 4px;
}

.c-captcha input {
max-width: 200px;
}

/* Таблица дополнительных полей */
.xfields {
width: 100%;
border-collapse: collapse;
}

.xfields td {
padding: 8px;
vertical-align: top;
}

.xfields td:first-child {
width: 30%;
font-weight: 500;
color: #2c3e50;
}

/* Кнопка отправки формы */
.form_submit {
text-align: center;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #ecf0f1;
}

.form_submit .btn {
padding: 14px 30px;
font-size: 16px;
min-width: 200px;
}


























/* Адаптивность */
@media (max-width: 768px) {
.page_form__inner {
padding: 20px;
margin: 15px;
}

.title.h1 {
font-size: 24px;
}

.regtext {
padding: 15px;
}

.login_check {
flex-direction: column;
}

.login_check .btn {
width: 100%;
}

.c-captcha {
align-items: flex-start;
}

.c-captcha input {
max-width: none;
width: 100%;
}
}

@media (max-width: 480px) {
.page_form__inner {
padding: 15px;
}

.title.h1 {
font-size: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
padding: 12px;
}

.btn {
padding: 10px 20px;
font-size: 13px;
}

.form_submit .btn {
width: 100%;
min-width: auto;
}
}

/* Стили для ошибок валидации */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
border-color: #e74c3c;
box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group .error-message {
color: #e74c3c;
font-size: 12px;
margin-top: 5px;
display: block;
}

/* Стили для успешных полей */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
border-color: #27ae60;
box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Прелоадер для кнопок */
.btn.loading {
position: relative;
pointer-events: none;
opacity: 0.7;
}

.btn.loading::after {
content: "";
position: absolute;
width: 16px;
height: 16px;
top: 50%;
left: 50%;
margin-left: -8px;
margin-top: -8px;
border: 2px solid transparent;
border-top: 2px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*    регистрация  */



















/* Адаптивность */
@media (max-width: 480px) {
.erudia-login-form {
width: 90%;
margin: 20px;
padding: 25px 20px;
}

.erudia-form-header h2 {
font-size: 20px;
}
}




/*    //////////////////////////////////////////////////////////////////////*/
































/* Адаптивность: на мобильных кнопки — по ширине */
@media (max-width: 768px) {
.generator-interface button {
align-self: stretch;
width: 100%;
justify-content: center;
}
}





/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
      display: none;
  }
  .mobile-menu-btn {
      display: block;
  }
  .hero {
      padding: 4rem 0 3rem;
      min-height: auto;
  }
  .hero-content {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2.5rem;
  }
  .hero-title {
      font-size: 2.75rem;
  }
  .hero-subtitle {
      max-width: 100%;
      font-size: 1.125rem;
  }
  .hero-section {
      padding: 4rem 0 3rem;
  }
  .hero-section::before,
  .hero-section::after {
      display: none;
  }
  .hero-section .hero-title {
      font-size: 2.75rem;
  }
  .hero-section .hero-subtitle {
      font-size: 1.125rem;
  }
  .hero-actions {
      justify-content: center;
  }
  .hero-text {
      text-align: center;
  }
  .features {
      padding: 4rem 0;
  }
  .features-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  .benefits-section {
      padding: 4rem 0;
  }
  .benefits-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
  .approach-section {
      padding: 4rem 0;
  }
  .approach-content {
      grid-template-columns: 1fr;
      gap: 2.5rem;
  }
  .approach-visual {
      order: -1;
  }
  .faq-section {
      padding: 4rem 0;
  }
  .footer-content {
      grid-template-columns: 1fr;
      gap: 2.5rem;
  }
  .footer-section:not(:first-child)::before {
      display: none;
  }
  .footer-section h4 {
      font-size: 1rem;
      margin-bottom: 1.25rem;
  }
  .footer {
      padding: 3rem 0 1.5rem;
  }
  .footer-logo {
      margin-bottom: 1.25rem;
  }
  .footer-logo .logo-text {
      font-size: 1.3rem;
  }
  .footer-section:first-child p {
      max-width: 100%;
  }
  .hero-demo-card {
      display: none;
  }
  .section-title {
      font-size: 2.25rem;
  }
  .section-subtitle {
      font-size: 1.125rem;
  }
  .hero::before,
  .hero::after {
      display: none;
  }
}
@media (max-width: 480px) {
  .hero {
      padding: 3rem 0 2.5rem;
  }
  .hero-title {
      font-size: 2.25rem;
      line-height: 1.2;
  }
  .hero-subtitle {
      font-size: 1rem;
      margin-bottom: 2rem;
  }
  .hero-section {
      padding: 3rem 0 2.5rem;
  }
  .hero-section .hero-title {
      font-size: 2.25rem;
      line-height: 1.2;
  }
  .hero-section .hero-subtitle {
      font-size: 1rem;
  }
  .section-title {
      font-size: 1.875rem;
  }
  .section-subtitle {
      font-size: 1rem;
  }
  .hero-actions {
      flex-direction: column;
      align-items: stretch;
  }
  .hero-actions .btn {
      width: 100%;
      justify-content: center;
  }
  .form-row {
      grid-template-columns: 1fr;
  }
  .feature-card,
  .benefit-card {
      padding: 2rem;
  }
  .features-grid,
  .benefits-grid {
      gap: 1.5rem;
  }
}