/* =========================================================
   ABOUT PAGE
   Perfect modern design
========================================================= */

/* ---------------------------------------------------------
   Page Setup
--------------------------------------------------------- */
@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.page-about {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  overflow-x: hidden;
  /* Фон страницы */
  background: #0a0f0a; /* Темный зеленоватый фон */
  font-family: "Geologica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Background layers */
.page-about::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(34, 197, 94, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 197, 94, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Grid pattern */
.page-about::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.about {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */
.about-hero {
  margin-bottom: 120px;
  position: relative;
}

.about-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
}

/* Left Content */
.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Badge */
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .about-badge {
    margin: 0 auto;
  }
}

.about-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Title */
.about-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #4ade80 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.about-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(240, 253, 244, 0.7);
  margin: 0;
  max-width: 540px;
}

@media (max-width: 1024px) {
  .about-subtitle {
    margin: 0 auto;
  }
}

/* Actions */
.about-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .about-actions {
    justify-content: center;
  }
}

/* Buttons */
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.about-btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #07111f;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.about-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.about-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}

.about-btn--primary:hover::before {
  transform: translateX(100%);
}

.about-btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f0fdf4;
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.about-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Meta Grid */
.about-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .about-meta {
    max-width: 400px;
    margin: 16px auto 0;
  }
}

@media (max-width: 480px) {
  .about-meta {
    grid-template-columns: 1fr;
  }
}

.about-meta__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(17, 24, 17, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.about-meta__item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(17, 24, 17, 0.7);
}

.about-meta__icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.about-meta__k {
  font-size: 11px;
  color: rgba(240, 253, 244, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-meta__v {
  font-size: 15px;
  font-weight: 600;
  color: #f0fdf4;
}

.about-meta__v--accent {
  color: #22c55e;
}

/* ---------------------------------------------------------
   VISUAL CARD (Right Side)
--------------------------------------------------------- */
.about-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-hero__visual {
    order: -1;
  }
}

.about-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(17, 24, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: float-card 6s ease-in-out infinite;
  overflow: hidden;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.about-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
  opacity: 0.4;
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.about-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.about-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.about-card__dot:nth-child(1) { background: #ff5f57; }
.about-card__dot:nth-child(2) { background: #febc2e; }
.about-card__dot:nth-child(3) { background: #28c840; }

.about-card__status {
  margin-left: auto;
  font-size: 12px;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-card__status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.about-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.about-card__logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}

.about-card__logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.about-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card__stat {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.about-card__stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #22c55e;
  line-height: 1;
  margin-bottom: 6px;
}

.about-card__stat-label {
  font-size: 11px;
  color: rgba(240, 253, 244, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------
   FEATURES SECTION
--------------------------------------------------------- */
.about-section {
  margin-bottom: 100px;
}

.about-section__head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-section__label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.about-h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #f0fdf4;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-p {
  font-size: 17px;
  color: rgba(240, 253, 244, 0.6);
  line-height: 1.6;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.about-feature {
  position: relative;
  padding: 32px;
  background: rgba(17, 24, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.about-feature:hover {
  transform: translateY(-8px);
  background: rgba(17, 24, 17, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-feature__icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.about-feature__icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: all 0.3s;
}

.about-feature:hover .about-feature__icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  transform: scale(1.05);
}

.about-feature__title {
  font-size: 20px;
  font-weight: 700;
  color: #f0fdf4;
  margin-bottom: 10px;
}

.about-feature__text {
  font-size: 15px;
  color: rgba(240, 253, 244, 0.6);
  line-height: 1.6;
}

.about-feature__line {
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.about-feature:hover .about-feature__line {
  transform: scaleX(1);
}

/* ---------------------------------------------------------
   TIMELINE SECTION
--------------------------------------------------------- */
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.about-timeline__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    #22c55e 0%, 
    #22c55e 33%,
    rgba(255, 255, 255, 0.1) 33%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

@media (max-width: 640px) {
  .about-timeline__line {
    left: 16px;
  }
}

.about-timeline__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-timeline__item {
  position: relative;
  display: flex;
  gap: 32px;
  padding-left: 72px;
}

@media (max-width: 640px) {
  .about-timeline__item {
    padding-left: 56px;
  }
}

.about-timeline__dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(17, 24, 17, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

@media (max-width: 640px) {
  .about-timeline__dot {
    left: 4px;
  }
}

.about-timeline__item--active .about-timeline__dot {
  border-color: #22c55e;
  background: #22c55e;
}

.about-timeline__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  opacity: 0;
  animation: timeline-pulse 2s infinite;
}

.about-timeline__item--active .about-timeline__dot::after {
  opacity: 1;
}

@keyframes timeline-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.about-timeline__content {
  flex: 1;
  padding: 24px 28px;
  background: rgba(17, 24, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s;
}

.about-timeline__content:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.about-timeline__item--active .about-timeline__content {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.2);
}

.about-timeline__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 253, 244, 0.7);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-timeline__item--active .about-timeline__badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.about-timeline__title {
  font-size: 17px;
  font-weight: 600;
  color: #f0fdf4;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   CTA SECTION
--------------------------------------------------------- */
.about-cta {
  margin-bottom: 40px;
}

.about-cta__card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(17, 24, 17, 0.6) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.about-cta__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

@media (max-width: 768px) {
  .about-cta__card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

.about-cta__title {
  font-size: 28px;
  font-weight: 800;
  color: #f0fdf4;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about-cta__text {
  color: rgba(240, 253, 244, 0.6);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

.about-cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about-cta__actions {
    justify-content: center;
    width: 100%;
  }
}

/* ---------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-left"].is-visible {
  transform: translateX(0);
}

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .about-card,
  .about-feature,
  .about-btn {
    animation: none;
    transition: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .page-about {
    padding-top: 80px;
  }
  
  .about {
    padding: 20px 16px 60px;
  }
  
  .about-hero {
    margin-bottom: 80px;
  }
  
  .about-actions {
    flex-direction: column;
  }
  
  .about-btn {
    width: 100%;
  }
  
  .about-card {
    padding: 20px;
  }
  
  .about-feature {
    padding: 24px;
  }
  
  .about-cta__card {
    padding: 24px 20px;
  }
}