
:root {
  --primary: #274c77;
  --primary-dark: #6096ba;
  --secondary: #f72585;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --success: #4cc9f0;
  --warning: #f8961e;
  --danger: #ef233c;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  
  /* Additional derived variables */
  --text-color: var(--dark);
  --text-light: var(--gray);
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --section-bg: #f3f4f6;
  --main-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

        body {
    background: url('/theme/image/background.svg') no-repeat center center fixed;
    background-size: cover;
    background-color: #f0f3fb;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header-baba {
            text-align: center;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
        }

        h1 {
            color: var(--primary-dark);
            margin-bottom: 10px;
        }

        .description {
            color: var(--gray);
            max-width: 800px;
            margin: 0 auto 20px;
        }

        .editor-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .editor-container {
                grid-template-columns: 1fr;
            }
        }

        .code-panel {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .panel-header {
            padding: 12px 20px;
            background: var(--primary);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .panel-title {
            font-weight: 600;
            font-size: 1rem;
        }

        .panel-actions {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 5px 10px;
            border: none;
            border-radius: var(--border-radius);
            background: rgba(255,255,255,0.2);
            color: white;
            cursor: pointer;
            font-size: 0.8rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .btn-icon {
            font-size: 0.9rem;
        }

        .code-area {
            width: 100%;
            min-height: 400px;
            padding: 15px;
            border: none;
            resize: none;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9rem;
            line-height: 1.5;
            background: #f8f9fa;
            color: #333;
        }

        .code-area:focus {
            outline: none;
        }

        .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .action-btn {
            padding: 12px 24px;
            border: none;
            border-radius: var(--border-radius);
            background: var(--primary);
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .action-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .action-btn.secondary {
            background: var(--gray);
        }

        .action-btn.secondary:hover {
            background: #5a6268;
        }

        .action-btn.warning {
            background: var(--warning);
        }

        .action-btn.warning:hover {
            background: #e68a00;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .stat-card {
            background: white;
            padding: 15px 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            text-align: center;
            min-width: 120px;
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }

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

        .options-panel {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 20px;
            margin-top: 30px;
        }

        .options-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .options-title {
            font-size: 1.2rem;
            color: var(--dark);
        }

        .preset-selector {
            padding: 8px 12px;
            border-radius: var(--border-radius);
            border: 1px solid #ddd;
            background: #f8f9fa;
        }

        .option-group {
            margin-bottom: 20px;
        }

        .option-title {
            font-size: 1rem;
            margin-bottom: 10px;
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .option-item {
            margin-bottom: 12px;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .checkbox-label input[type="checkbox"] {
            width: 16px;
            height: 16px;
        }

        .badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            background: var(--warning);
            color: white;
        }

        .dark-mode {
            background: #121212;
            color: #e0e0e0;
        }

        .dark-mode .code-panel,
        .dark-mode .stat-card,
        .dark-mode .options-panel {
            background: #1e1e1e;
            color: #e0e0e0;
        }

        .dark-mode .code-area {
            background: #2d2d2d;
            color: #e0e0e0;
        }

        .dark-mode .panel-header {
            background: #3a0ca3;
        }

        .theme-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            z-index: 100;
        }
        
        



/* === Content Sections - Enhanced === */
.content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  border-bottom: none;
  position: relative;
}



h2 {
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  color: var(--dark);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

/* === Intro Section - Modernized === */
.intro-section {
  background-color: transparent;
  text-align: center;
  padding: 6rem 0;
}

.intro-section h2 {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.intro-section p {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-color);
}

/* === Features Section - Modern Cards === */
.features-section {
  background-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(67, 97, 238, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(67, 97, 238, 0.3);
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color:#274c77;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(67, 97, 238, 0.1);
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* === Use Cases Section - Modern Style === */
.use-cases-section {
  background-color: transparent;
}

.use-case-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.use-case-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.use-case-card h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.use-case-card h3 i {
  margin-right: 12px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.use-case-card p {
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 2rem;
}

/* === Comparison Section - Modern Table === */

.comparison-table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: rgba(67, 97, 238, 0.03);
}

.fa-check {
  color: var(--success);
}

.fa-times {
  color: var(--danger);
}


.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  border: none;
  background: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* === Testimonials - Modern Cards === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid rgba(67, 97, 238, 0.1);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: var(--dark);
  font-weight: 600;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: normal;
}

/* === CTA Section - Modern Style === */
.cta-section {
  text-align: center;
  background-color:transparent;
  padding: 6rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-section p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-color);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.cta-btn i {
  font-size: 1.1rem;
}

.cta-btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.cta-btn.secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-btn.secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .content-wrapper {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .intro-section h2 {
    font-size: 2.5rem;
  }
  
  .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card, .testimonial-card {
    padding: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 0 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .intro-section h2 {
    font-size: 2rem;
  }
  
  .intro-section p, .cta-section p {
    font-size: 1.1rem;
  }
  
  table {
    display: block;
    overflow-x: auto;
  }
}