:root {
  /* Base colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-light: #f5f5f5;
  --color-gray-light-2: #E8E8E8;
  --color-gray-medium: #999999;
  --color-gray-dark: #333333;
  
  /* Brand gradients */
  --logo-gradient: linear-gradient(90deg, #7b3fe4, #35d0ba);
  --logo-gradient-vertical: linear-gradient(180deg, #7b3fe4, #35d0ba);
  --cta-gradient: linear-gradient(90deg, #ff7a59, #ffce4f);
  --cta-gradient-vertical: linear-gradient(180deg, #ff7a59, #ffce4f);
  
  /* UI colors */
  --color-primary-ui: #0046ff;
  --color-primary-ui-medium: #3788ff;
  --color-primary-ui-light: #eaf3ff;
  
  /* Accents */
  --accent-secondary: #40c9a7;
  
  /* Text colors */
  --text-main: #1e2a33;
  --text-soft: #55626e;
  --bg-soft: #f7f9fc;
  --border-neutral: #e3e8ef;
  
  /* Typography */
  --font-primary: "Manrope", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  overflow-x: hidden;
  background: radial-gradient(circle at top left, var(--color-primary-ui-light) 0, #ffffff 45%, var(--bg-soft) 100%);
  margin: 0;
  padding: 0;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* Navigation - Fixed */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  pointer-events: none;
  background: transparent;
}

.nav-left,
.nav-right {
  pointer-events: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-black);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

/* Scroll Indicator - Fixed */
.scroll-indicator {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

.scroll-arrow {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-text-stroke: 2px var(--color-white);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.scroll-arrow:hover {
  opacity: 1;
}

.scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot {
  width: clamp(8px, 1.2vw, 12px);
  height: clamp(8px, 1.2vw, 12px);
  border-radius: 50%;
  background: var(--color-white);
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dot.active {
  opacity: 1;
  transform: scale(1.5);
}

/* Main Content */
.main-content {
  position: relative;
}

/* Section */
.section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--color-gray-light);
}

.section-content {
  position: relative;
}

.section-split {
  display: grid;
  grid-template-columns: 651fr 300fr;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 2;
}

.section-left {
  background: var(--color-white);
  position: relative;
  z-index: 1;
}

.section-right {
  background: var(--color-black);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Particles Canvas */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
  cursor: crosshair;
}

/* Content Wrapper */
.content-wrapper {
  padding: 0 80px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}


/* Decorative Box */
.decorative-box {
  position: absolute;
  background: transparent;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255, 255, 255, 0.8) 8px,
    rgba(255, 255, 255, 0.8) 10px
  );
  padding: 12px 20px;
}

.decorative-start {
  top: 0;
  left: 0;
  transform: translateY(130px) translateX(-79px) rotate(90deg);
  transform-origin: center;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 30px;
  color: var(--color-gray-medium);
  white-space: nowrap;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(0, 0, 0, 0.3) 8px,
    rgba(0, 0, 0, 0.3) 10px
  );
}

.decorative-right {
  bottom: 40px;
  right: 40px;
  width: 120px;
  height: 120px;
  padding: 0;
  /* Lines almost black, dark gray */
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(0, 0, 0, 0.6) 8px,
    rgba(0, 0, 0, 0.6) 10px
  );
}

/* Main Content Area */
.main-content-area {
  width: 60%;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* Section 02 - Full width content */
.section-02 .main-content-area {
  width: 100%;
}

.section-number {
  position: absolute;
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 900;
  background-image: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.15;
  top: -40px;
  left: -20px;
  z-index: -1;
  line-height: 1;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}

.section-description {
  font-size: 1.5rem;
  color: var(--text-soft);
  line-height: 2.3rem;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.read-more {
  margin-top: 48px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 5px;
  background-image: var(--cta-gradient);
  box-shadow: 0 4px 12px rgba(255, 122, 89, 0.3);
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 122, 89, 0.4);
}

/* Social Links */
.social-links {
  position: fixed;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-gray-medium);
  z-index: 1001;
}

.social-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-secondary);
  transform: translateY(-1px);
}

.dot-separator {
  color: var(--color-gray-medium);
}

/* Small Icon */
.small-icon {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 24px;
  height: 24px;
  background: var(--color-black);
}

/* Central Photo - Overlapping */
.central-photo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 30.909%;
  aspect-ratio: 1 / 1;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  /* Position so 2/3 is on white, 1/3 on black */
  /* If photo width is 30.909%, and white area is 68.45%, we need to position it */
  /* so that 2/3 of photo (20.606%) is in white, 1/3 (10.303%) is in black */
  /* White area ends at 68.45%, so photo should start at 68.45% - 20.606% = 47.844% */
  left: 47.844%;
}

.central-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Central Photo Mobile - Hidden on desktop, shown on mobile */
.central-photo-mobile {
  display: none;
}

/* Section 02 & 03 variations */
.section-02 .section-left {
  background: var(--bg-soft);
}

.section-03 .section-left {
  background: var(--color-white);
}

.section-04 .section-left {
  background: var(--bg-soft);
}

.section-05 .section-left {
  background: var(--color-white);
}

.section-06 .section-left {
  background: var(--bg-soft);
}

.section-07 .section-left {
  background: var(--color-white);
}

.section-08 .section-left {
  background: var(--bg-soft);
}

/* Team Section Styles */
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

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

/* Team Members List */
.team-members-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.team-member-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 0;
}

.team-member-content {
  flex: 1;
}

.team-member-header {
  margin-bottom: 16px;
}

.team-member-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.team-member-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content-area {
    width: 80%;
  }
  
  .section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 20px;
  }
  
  .section-description {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 32px;
  }

  .read-more {
    margin-top: 32px;
  }
  .section {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .section-split {
    grid-template-columns: 70fr 30fr;
    min-height: auto;
    height: auto;
    position: relative;
  }

  .section-right {
    display: block;
    background: var(--color-black);
  }
  
  /* Team section on mobile */
  .section-02 .main-content-area {
    width: 100%;
  }
  
  .team-member-item {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
  }
  
  .team-avatar {
    width: 100px;
    height: 100px;
    margin: 50px 0 20px 0;
  }
  
  .team-members-list {
    margin-top: 32px;
    gap: 32px;
  }
  
  .team-member-name {
    font-size: 1.5rem;
  }
  
  .team-member-title {
    font-size: 0.9rem;
  }
  
  .team-member-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .team-member-header {
    margin-bottom: 12px;
  }

  .content-wrapper {
    padding: 100px 40px 60px;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Hide desktop central photo on small screens */
  .central-photo {
    display: none;
  }

  /* Show mobile central photo on small screens */
  .section {
    position: relative;
  }
  
  .central-photo-mobile {
    display: block;
    margin-bottom: 32px;
    z-index: 10;
  }
  
  .central-photo-mobile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    background: var(--color-white);
  }

  .main-content-area {
    order: 2;
  }

  .scroll-indicator {
    right: 20px;
  }

  .nav {
    padding: 20px 24px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 80px 24px 32px;
  }

  .main-content-area {
    width: 100%;
  }

  .section-number {
    font-size: 5rem;
    top: -30px;
    left: -10px;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .section-description {
    font-size: 1rem;
    line-height: 1.6rem;
    margin-bottom: 24px;
  }

  .read-more {
    margin-top: 24px;
    font-size: 0.9rem;
  }

  .central-photo-mobile {
    margin-bottom: 24px;
  }

  .team-members-list {
    margin-top: 24px;
    gap: 24px;
  }

  .team-member-item {
    gap: 20px;
  }

  .team-member-header {
    margin-bottom: 12px;
  }

  .social-links {
    left: 24px;
    bottom: 24px;
    font-size: 0.8rem;
  }

  .decorative-start {
    display: none;
  }
}

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px 80px 40px;
  position: relative;
  z-index: 100;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 1rem;
  color: var(--color-gray-medium);
  margin: 0;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 8px 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gray-medium);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-icon {
  font-size: 1.2rem;
  display: inline-block;
  width: 24px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--color-gray-medium);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-placeholder {
  opacity: 0.5;
  font-style: italic;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer {
    padding: 48px 40px 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 24px 24px;
  }

  .footer-content {
    gap: 32px;
    margin-bottom: 24px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-link {
    font-size: 0.95rem;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.85rem;
  }
}

