/* ============================================
   GLASS LANDING - Landing, Cases & Legal Pages
   ============================================ */

/* === PAGE BACKGROUND === */
body {
  background: var(--bg-gradient-primary);
  background-attachment: fixed;
  min-height: 100vh;
}

/* === HEADER (Glass Navigation) === */
.header {
  background: var(--glass-bg-header);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-bottom: var(--glass-border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-heading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-heading);
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* === HERO SECTION === */
.hero {
  background: var(--bg-gradient-accent);
  color: white;
  padding: 8rem 0 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: var(--font-extrabold);
  margin-bottom: 1.5rem;
  line-height: var(--leading-tight);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* === CTA BUTTONS === */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: var(--text-base);
  font-family: var(--font-primary);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* === STATS SECTION === */
.stats {
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg-card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: var(--font-extrabold);
  background: var(--bg-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: var(--font-medium);
}

/* === ABOUT SECTION === */
.about {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.section-subtitle {
  text-align: center;
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* === CASES SECTION === */
.cases {
  padding: 6rem 0;
}

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

.case-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glass), var(--shadow-glow-primary);
  border-color: rgba(124, 58, 237, 0.3);
}

.case-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border-color-light);
}

.case-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  line-height: 1.3;
}

.case-company {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tag {
  background: rgba(124, 58, 237, 0.15);
  color: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.case-body {
  padding: 1.5rem;
}

.case-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-metric {
  text-align: center;
}

.metric-value {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-success);
  display: block;
}

.metric-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.case-link {
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.case-link:hover {
  color: var(--text-heading);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--bg-gradient-cta);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-section h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
  color: white;
}

.cta-section p {
  font-size: var(--text-xl);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-semibold);
  font-size: var(--text-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glass-sm);
  transition: all 0.3s ease;
}

.telegram-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glass);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.telegram-icon {
  font-size: 1.5rem;
}

/* === FOOTER === */
.footer {
  background: var(--glass-bg-sidebar);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  color: white;
  padding: 3rem 0 2rem 0;
  text-align: center;
  border-top: var(--glass-border-light);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-heading);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border-color-light);
  padding-top: 2rem;
  color: var(--text-muted);
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  padding: 1rem 0;
  margin-top: 80px;
  border-bottom: var(--glass-border-light);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.breadcrumb a {
  color: var(--color-primary-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--text-heading);
}

/* === AI CASES LIST PAGE === */
.filters {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  padding: 2rem 0;
  border-bottom: var(--glass-border-light);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.filter-select,
.filter-input {
  padding: 0.75rem;
  border: 1px solid var(--glass-border-color-light);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  background: var(--glass-bg-input);
  color: var(--text-primary);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.results-count {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border-color-light);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-input);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: var(--font-primary);
}

.loading-spinner {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-primary-light);
  animation: glass-spin 1s ease-in-out infinite;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-results h3 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination button {
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.pagination button:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--text-heading);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* === AI CASE DETAIL PAGE === */
.case-hero {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  padding: 4rem 0;
  border-bottom: var(--glass-border-light);
}

.case-title-main {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  color: var(--text-heading);
  line-height: var(--leading-tight);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.case-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
}

.case-meta-icon {
  font-size: 1.1rem;
}

.case-tags-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.case-tag-main {
  background: rgba(124, 58, 237, 0.15);
  color: var(--color-primary-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.case-content {
  padding: 4rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  gap: 3rem;
}

.metrics-section {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  padding: 4rem 0;
  margin: 4rem 0;
  border-top: var(--glass-border-light);
  border-bottom: var(--glass-border-light);
}

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

.metric-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: var(--glass-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass-sm);
  text-align: center;
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-value-large {
  font-size: 2.5rem;
  font-weight: var(--font-extrabold);
  background: var(--bg-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.metric-label-large {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
}

.metric-description {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.content-section p {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 2.5rem;
  bottom: -2rem;
  width: 2px;
  background: var(--glass-border-color-light);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 2rem;
  height: 2rem;
  background: var(--bg-gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-semibold);
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.tech-item {
  background: var(--glass-bg-hover);
  border: 1px solid var(--glass-border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.1);
}

.challenges-list,
.lessons-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.challenges-list li,
.lessons-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.challenge-icon {
  color: var(--color-warning);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.lesson-icon {
  color: var(--color-success);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.cta-bottom {
  background: var(--bg-gradient-accent);
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-top: 4rem;
}

.cta-bottom h2 {
  color: white;
}

.cta-bottom p {
  color: rgba(255, 255, 255, 0.9);
}

.back-to-cases {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-light);
  text-decoration: none;
  font-weight: var(--font-semibold);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-to-cases:hover {
  color: var(--text-heading);
}

/* === LEGAL PAGES === */
.legal-page {
  background: var(--bg-gradient-primary);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-heading);
  padding-top: 40px;
}

.legal-header h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.legal-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.legal-content {
  background: var(--glass-bg-card);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  border: var(--glass-border);
  color: var(--text-secondary);
}

.legal-content h2 {
  color: var(--text-heading);
  font-size: var(--text-2xl);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border-color-light);
}

.legal-content h3 {
  color: var(--text-heading);
  font-size: var(--text-xl);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: var(--leading-relaxed);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: var(--leading-relaxed);
}

.legal-content a {
  color: var(--color-primary-light);
}

.legal-intro {
  font-size: var(--text-lg);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border-color-light);
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--font-medium);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.legal-back-link:hover {
  color: var(--text-heading);
}

/* Contact page specific */
.contact-card {
  background: var(--glass-bg-hover);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--text-heading);
  margin-top: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  margin-bottom: 0.75rem;
}

.contact-icon .icon {
  font-size: 2rem;
}

.contact-email {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: var(--font-medium);
}

.contact-email:hover {
  text-decoration: underline;
}

.response-time {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.support-title {
  margin-bottom: 1.5rem;
}

/* Company info / Requisites */
.company-info {
  background: var(--glass-bg-hover);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
}

.company-info h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.info-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.info-label .icon {
  font-size: 1rem;
  line-height: 1;
}

.info-value {
  font-weight: var(--font-medium);
  color: var(--text-primary);
  font-size: var(--text-base);
  padding-left: 1.5rem;
}

.tax-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(var(--accent-primary-rgb, 99, 102, 241), 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-primary);
}

.tax-info .info-icon {
  flex-shrink: 0;
}

.tax-info p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service info section */
.service-info {
  margin: 2rem 0;
}

.service-info h2 {
  margin-bottom: 1.5rem;
}

.service-description {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--glass-bg-hover);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-icon .icon {
  font-size: 2.5rem;
}

.service-text h3 {
  margin-top: 0;
  color: var(--text-heading);
}

.service-features {
  background: var(--glass-bg-hover);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.service-features h3 {
  margin-top: 0;
  color: var(--text-heading);
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-features li {
  padding: 0.5rem 0;
}

/* Contact bottom message */
.contact-message {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--glass-bg-hover);
  border: var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.message-icon .icon {
  font-size: 2rem;
}

.message-text p {
  margin: 0 0 0.5rem 0;
}

.message-text p:last-child {
  margin-bottom: 0;
}

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* === CLICKABLE TAGS & FILTER CHIPS === */
.case-tag-link,
.tech-item-link {
  text-decoration: none;
  cursor: pointer;
}

.case-tag-link:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.5);
}

.tech-item-link:hover {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}

/* Tags on list cards */
.case-tag.case-tag-process,
.case-tag.case-tag-tech {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-tag.case-tag-process:hover,
.case-tag.case-tag-tech:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.5);
}

.case-tag.case-tag-tech {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  border-color: rgba(16, 185, 129, 0.2);
}

.case-tag.case-tag-tech:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Active filter chips */
.active-filters {
  margin-top: 1rem;
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.2);
  color: var(--color-primary-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.filter-chip-close {
  background: none;
  border: none;
  color: var(--color-primary-light);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.filter-chip-close:hover {
  opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 6rem 0 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid,
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .case-title-main {
    font-size: var(--text-3xl);
  }

  .case-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content-section h2 {
    font-size: var(--text-2xl);
  }

  .tech-stack {
    gap: 0.5rem;
  }

  .timeline-item {
    margin-bottom: 1.5rem;
  }

  .legal-content {
    padding: 24px;
  }

  .legal-header h1 {
    font-size: var(--text-3xl);
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .service-description {
    flex-direction: column;
  }

  .contact-message {
    flex-direction: column;
  }

  .company-info {
    padding: 1.25rem;
  }
}

/* === LUCIDE ICON SIZING === */
.logo svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: var(--accent-primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-heading);
}

.case-meta-icon svg {
  width: 18px;
  height: 18px;
}

.challenge-icon svg {
  width: 20px;
  height: 20px;
}

.lesson-icon svg {
  width: 20px;
  height: 20px;
}

.telegram-icon svg {
  width: 24px;
  height: 24px;
}

.contact-icon .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-primary);
}

.info-label .icon svg {
  width: 16px;
  height: 16px;
}

.info-icon .icon svg {
  width: 20px;
  height: 20px;
}

.service-icon .icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-primary);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 0.4rem;
  stroke: var(--accent-primary);
}

.message-icon .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-primary);
}
