html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem 1rem 1rem;
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #eee;
}
.logo {
  font-weight: 700;
  text-decoration: none;
}

.ai-color {
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: brightness(1.1) saturate(1.2);
}


nav {
  display: flex;
  gap: 2rem;
}
nav a {
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #888;
  border-top: 1px solid #eee;
}

/* First Section */

.first-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  padding: 3rem 1rem;
}

#pictures-s1 {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#pictures-s1 img {
  width: 40vw;
  height: auto;
}
#text-s1 {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

#text-s1 h1 {
  font-size: 2.5rem;
  margin: 0;
}

#text-s1 h1:hover, .about h2:hover {
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: brightness(1.1) saturate(1.2);
}



#text-s1 p {
  font-size: 1.25rem;
  color: #5b5b6e;
  margin: 0;
  font-weight: 500;
  padding-top: 0.5rem;
}

.bt1 {
  padding: 0.8rem 1.4rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 1rem;
  background: #222;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  align-self: center;
}
.bt1 .arrow-icon svg {
  width: 1.8em;
  height: 2.3em;
  display: block;
}
.bt1:hover {
  background: linear-gradient(90deg, #7c3aed, #a78bfa, #818cf8);
  box-shadow: 0 4px 16px 0 rgba(120, 120, 180, 0.12);
  transform: scale(1.03);
}

.bt1 span {
  vertical-align: middle;
  margin-left: 0.3em;
  display: inline-block;
  transition: transform 0.2s;
}
#text-s1:hover span {
  transform: translateX(4px) scale(1.1);
}

.bt2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.45rem 1.1rem;
  font-size: 0.98rem;
  border: none;
  border-radius: 0.7rem;
  background: #222;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  height: 2.2rem;
  line-height: 1.1;
}
.bt2 .arrow-icon svg {
  width: 1.2em;
  height: 1.2em;
  display: block;
}
.bt2 span {
  vertical-align: middle;
  margin-left: 0.2em;
  display: inline-block;
  transition: transform 0.2s;
}
.bt2:hover {
  background: linear-gradient(90deg, #7c3aed, #a78bfa, #818cf8);
  box-shadow: 0 2px 8px 0 rgba(120, 120, 180, 0.10);
  transform: scale(1.04);
}
.bt2:hover span {
  transform: translateX(3px) scale(1.08);
}

/* Second Section */

.about {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 3.5rem 1rem 2.5rem 1rem;
  max-width: 1100px;
  margin: 2rem auto 2rem auto;
}
.about-tile {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  min-width: 180px;
  min-height: 120px;
  height: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.about-tile.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.about-tile h2 {
  margin: 0;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #222;
  text-align: left;
  line-height: 1.05;
  width: 100%;
}
.about-text {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.about-text.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.about-text p {
  font-size: 1.15rem;
  color: #444;
  text-align: justify;
  margin: 0;
  line-height: 1.7;
  width: 100%;
}


@media (max-width: 900px) {
  .first-section {
    flex-direction: column;
    gap: 2.5rem;
    padding: 4rem 1rem;

  }
  #pictures-s1 img {
    width: 70vw;
  }

  .logo{
    font-size: 1.5rem;
  }

  .about {
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem 1rem;
  }
  .about-tile, .about-text {
    width: 100%;
    min-width: 0;
    padding: 1.2rem 1.5rem;
    height: auto;
  }
  .about-text {
    padding-left: 0;
  }
}


@media (max-width: 600px) {
  header {
    font-size: 1.3rem;
    gap: 0.5rem;
  }
  nav {
    gap: 1rem;
  }
} 