/* KNOW US PAGE STYLES */

/* --- GLOBAL VARS & UTIL --- */
:root {
  --accent: #00f2ea;
  --accent-glow: rgba(0, 242, 234, 0.3);
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-card: rgba(255, 255, 255, 0.1);
  --text-muted: #aaa;
}

body {
  overflow-x: hidden;
}

.know-us-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Typography Overrides */
h1,
h2,
h3,
h4 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--border-card);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(0, 242, 234, 0.05);
}

.section-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* --- COMBINED ABOUT SECTION --- */
.about-combined-section {
  padding: 8rem 0 6rem;
  margin-top: 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  max-width: 600px;
}

.about-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #fff;
}

.about-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #fff;
  padding: 0.8rem 0;
}

.about-features i {
  color: var(--accent);
  font-size: 1.2rem;
  min-width: 24px;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 242, 234, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* --- WHY ANEXEE (Comparison/Cols) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 6rem 0;
  text-align: center;
}

.stats-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 242, 234, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 234, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.stat-large .stat-number {
  font-size: 6rem;
  margin-bottom: 1rem;
}

.stat-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.stat-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1rem;
  color: #aaa;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.stat-label-top {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* --- PHILOSOPHY (Horizontal Scroll / Flex) --- */
.philosophy-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.philo-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1.2rem;
  color: #fff;
  cursor: default;
  transition: all 0.3s;
}

.philo-pill:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
}

/* --- WHAT WE BUILD (Bento Grid) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.bento-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  z-index: 2;
}

.bento-item p {
  font-size: 0.95rem;
  z-index: 2;
  opacity: 0.7;
}

/* Specific Bento Layout */
.bento-large {
  grid-column: span 2;
}
.bento-tall {
  grid-row: span 2;
}

/* Background deco for bento items */
.bento-bg-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 10rem;
  opacity: 0.03;
  transition: all 0.5s;
  color: #fff;
}

.bento-item:hover .bento-bg-icon {
  transform: scale(1.1) rotate(5deg);
  opacity: 0.07;
}

/* --- HOW WE WORK (Timeline-ish) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: -1rem;
  position: relative;
  z-index: 0;
}

.step-content {
  position: relative;
  z-index: 1;
}

/* --- TRUST (Stats/Logos) --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  margin-top: 3rem;
}

.trust-item h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.trust-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* --- VISION --- */

.vision-section {
  text-align: center;
  padding: 8rem 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 242, 234, 0.05) 0%,
    transparent 60%
  );
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-badge {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(0, 242, 234, 0.3);
  border-radius: 50px;
  background: rgba(0, 242, 234, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 234, 0.1);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  max-width: 300px;
}

.vision-statement {
  font-size: 3rem; /* Larger as per image */
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
}

.vision-statement span {
  color: var(--accent);
  display: block;
  margin-top: 0.5rem;
}

.vision-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding: 0 2rem;
}

.vision-img-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.3s;
}

.vision-img-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.vision-img-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* --- CTA --- */
.final-cta {
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--border-card);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2.5rem;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

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

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid,
  .bento-grid,
  .stats-bento-grid,
  .process-steps,
  .vision-image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .bento-large,
  .bento-tall,
  .stat-large,
  .stat-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .stat-card {
    min-height: 180px;
  }

  .stat-large .stat-number {
    font-size: 4rem;
  }

  .about-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .vision-statement {
    font-size: 1.8rem;
  }
}

/* --- RESTORED COMMUNITY / TEAM SECTION --- */
.community-section-wrapper {
  text-align: center;
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin: 4rem auto;
  max-width: 900px;
}

.team-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  margin: 0 auto 1rem auto;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00f2ea, #0088ff);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
}

.team-card:hover .team-avatar::after {
  opacity: 1;
}

.team-info {
  margin-top: 0.5rem;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.3rem 0;
  font-family: "Space Grotesk", sans-serif;
}

.team-role {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
  opacity: 0.8;
}

/* Social Buttons */
.social-buttons-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
}

.social-btn-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 180px;
}

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

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

.icon-telegram {
  background: #0088cc;
  color: white;
}
.icon-instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}

.social-text {
  text-align: left;
}

.social-count {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.social-label {
  font-size: 0.85rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
