.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body, h1, h2, h3, p, ul, li {
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: #1a1a1a;
  margin: 0;
  overflow-x: hidden;
}

@keyframes fadeInSidebar {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar ul li:nth-child(1) {
  animation-delay: 0s;
}

.sidebar ul li:nth-child(2) {
  animation-delay: 0s;
}

.sidebar ul li:nth-child(3) {
  animation-delay: 0s;
}

.sidebar ul li:nth-child(4) {
  animation-delay: 0s;
}

.sidebar ul li:nth-child(5) {
  animation-delay: 0s;
}

.special2 {
  position: relative;
  display: inline-block;
  opacity: 1;
  color: #fff;
  padding: 2%;
  background: linear-gradient(to right, #26e0da, #9a24e8);
  border-radius: 0.5rem;
  text-decoration: none;
}

.sidebar {
  height: 100%;
  width: 25%;
  position: fixed;
  background-color: #1a1a1a;
  overflow-x: hidden;
  z-index: 99;
  border-right: 0.5px solid #333;
}

.sidebarinsides {
  padding: 20%;
  padding-right: 15%;
  padding-bottom: 0;
}

.sidebar ul li {
  opacity: 0;
  transform: translateX(0);
  animation: fadeInSidebar 0.5s ease forwards;
  padding-top: 25%;
}

.myname a {
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.sidebarinsides ul {
  list-style: none;
  padding: 0;
  padding-top: 5%;
}

.sidebar ul li a {
  color: #5c5c5c;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  transition: color 0.3s ease;
  display: inline;
}

.sidebar ul li a:hover {
  color: #fff;
}

.sidebar ul li a.special2,
.sidebar ul li a.special2:hover {
  color: #fff;
}

.sidebar .sidebarinsides ul li a.active {
  color: white;
}

.hwanglander-link {
  text-decoration: none;
  color: inherit;
}

.hwanglander {
  color: #0e0e0e;
  margin-top: 50%;
  font-size: 1rem;
}

.popup-image,
.popup-image2 {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.popup-image img,
.popup-image2 img {
  max-width: 100%;
  max-height: 80vh;
}

.overlay,
.overlay2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.732);
  z-index: 999;
}

.topbar,
.mediasidebar {
  display: none;
}

.main {
  width: 75%;
  margin-left: 25%;
  color: #fff;
  background: #1a1a1a;
}

.hero {
  min-height: 100vh;
  padding: 8% 6% 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: #26e0da;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.hero h1,
.section-heading h2,
.focus-copy h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 72rem;
  font-size: 12vw;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(to left, #26e0da, #9a24e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 span {
  display: block;
}

.hero-kicker {
  margin: 1.2rem 0 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 2;
  text-align: center;
}

.hero-subtitle,
.section-heading p,
.problem-strip p,
.module-card p,
.focus-copy p,
.flow-step p {
  color: #bdbdbd;
  line-height: 2;
}

.hero-subtitle {
  max-width: 48rem;
  margin: 1.4rem auto 0;
  font-size: 1rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.primary-action,
.secondary-action {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: linear-gradient(to left, #9a24e8, #26e0da);
}

.secondary-action {
  color: #fff;
  border: 1px solid #333;
  background: rgba(255, 255, 255, 0.05);
}

.automation-visual {
  position: relative;
  width: min(100%, 56rem);
  min-height: 24rem;
  border: 1px solid #333;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(38, 224, 218, 0.15), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.automation-visual::before,
.automation-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(38, 224, 218, 0.5), transparent);
  transform: translate(-50%, -50%) rotate(22deg);
}

.automation-visual::after {
  background: linear-gradient(90deg, transparent, rgba(154, 36, 232, 0.55), transparent);
  transform: translate(-50%, -50%) rotate(-24deg);
}

.signal-card,
.hub,
.module-grid {
  position: absolute;
  z-index: 2;
}

.signal-card {
  width: 9.8rem;
  min-height: 5rem;
  display: grid;
  place-items: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.3);
}

.signal-card i {
  font-size: 1.35rem;
}

.call-card {
  left: 1.8rem;
  top: 2.1rem;
  background: #9a24e8;
}

.chat-card {
  right: 1.8rem;
  top: 6.8rem;
  background: #1bb9b4;
}

.hub {
  left: 50%;
  top: 48%;
  width: 9.8rem;
  height: 9.8rem;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 50%;
  background: #0e0e0e;
  color: #fff;
  text-align: center;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.42);
}

.hub i {
  color: #26e0da;
  font-size: 2rem;
}

.hub-ring {
  position: absolute;
  inset: -1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(38, 224, 218, 0.32);
}

.module-grid {
  left: 50%;
  bottom: 1.8rem;
  width: calc(100% - 3.2rem);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.module-grid div {
  min-height: 5.2rem;
  padding: 0.9rem 0.45rem;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  border: 1px solid #333;
  border-radius: 0.5rem;
  background: rgba(26, 26, 26, 0.9);
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.module-grid i {
  color: #26e0da;
  font-size: 1.25rem;
}

.problem-strip,
.modules-section,
.owner-focus,
.flow-section,
.form-section {
  padding: 6% 6%;
}

.problem-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #1a1a1a;
}

.problem-strip div {
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid #262626;
  border-radius: 0.5rem;
  background: #181818;
  box-shadow: 0 0.35rem 1.2rem rgba(0, 0, 0, 0.24);
}

.problem-strip span {
  color: #26e0da;
  font-weight: 800;
}

.problem-strip h2 {
  margin: 1rem 0 0.8rem;
  font-size: 2rem;
  line-height: 2;
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading h2,
.focus-copy h2 {
  font-size: 2rem;
  background: linear-gradient(to left, #26e0da, #9a24e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p,
.focus-copy p {
  font-size: 1rem;
}

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

.module-card {
  min-height: 17.5rem;
  padding: 1.7rem;
  border: 1px solid #262626;
  border-radius: 0.5rem;
  background: #181818;
  box-shadow: 0 0.35rem 1.2rem rgba(0, 0, 0, 0.24);
}

.module-card i {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.5rem;
  color: #fff;
  background: linear-gradient(to left, #9a24e8, #26e0da);
}

.module-card h3,
.flow-step h3 {
  margin: 1.35rem 0 0.75rem;
  font-size: 2rem;
  line-height: 2;
}

.owner-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 4rem;
  align-items: center;
  margin: 0 6% 4%;
  padding: 5%;
  border: 1px solid #262626;
  border-radius: 0.5rem;
  background: #181818;
  box-shadow: 0 0.35rem 1.2rem rgba(0, 0, 0, 0.24);
}

.focus-list {
  display: grid;
  gap: 0.8rem;
}

.focus-list div {
  min-height: 4rem;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  background: #1f1f1f;
  font-weight: 800;
}

.focus-list i {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #26e0da;
  color: #1a1a1a;
  font-size: 0.85rem;
}

.flow-section {
  display: grid;
  grid-template-columns: 1fr 2.6rem 1fr 2.6rem 1fr 2.6rem 1fr;
  align-items: center;
}

.flow-step {
  min-height: 14rem;
  padding: 1.5rem;
  border: 1px solid #262626;
  border-radius: 0.5rem;
  background: #181818;
  box-shadow: 0 0.35rem 1.2rem rgba(0, 0, 0, 0.24);
}

.flow-step span {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #9a24e8;
  color: #fff;
  font-weight: 800;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, #9a24e8, #26e0da);
}

.jokeform {
  height: 45rem;
  padding: 0;
  border: 1px solid #262626;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.jokeform.visible,
.form-section .jokeform {
  opacity: 1;
  transform: translateY(0);
}

.jokeform iframe {
  border: none;
  width: 100%;
  height: 100%;
}

footer {
  text-align: center;
  padding: 10%;
  padding-top: 5%;
  justify-content: center;
}

.footermedia a {
  color: #a3a3a3;
  font-size: 1.3rem;
  padding: 2%;
}

.copyright {
  color: #a3a3a3;
  font-size: 1rem;
  padding-top: 5%;
}

@media screen and (min-width: 1024px) and (max-width: 1250px) {
  .myname a {
    font-size: 2.5rem;
  }

  .sidebar ul li {
    padding-top: 35%;
  }

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

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .sidebar {
    width: 25%;
  }

  .myname a {
    font-size: 2.5rem;
  }

  .sidebarinsides {
    padding-bottom: 0;
  }

  .sidebar ul li {
    padding-top: 35%;
  }

  .main {
    width: 75%;
    margin-left: 25%;
  }

  .hero,
  .owner-focus {
    grid-template-columns: 1fr;
  }

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

  .problem-strip,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 1.8rem;
    justify-self: center;
  }
}

@media screen and (max-width: 985px) {
  .myname a {
    font-size: 2rem;
  }

  .sidebar ul li {
    padding-top: 35%;
  }
}

@media screen and (max-width: 769px) {
  .sidebar {
    display: none;
  }

  .hwanglander2 {
    color: #0e0e0e;
    margin-top: 20%;
    font-size: 1rem;
  }

  .main {
    width: 100%;
    margin-left: 0;
    padding-top: 5rem;
  }

  .hero {
    min-height: auto;
    padding: 14% 6% 12%;
    gap: 3rem;
  }

  .hero h1 {
    font-size: 20vw;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .automation-visual {
    min-height: 31rem;
  }

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

  .problem-strip,
  .modules,
  .owner-focus,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 1.8rem;
    justify-self: center;
  }

  .problem-strip,
  .modules-section,
  .owner-focus,
  .flow-section,
  .form-section {
    padding: 12% 6%;
  }

  .owner-focus {
    margin: 0 6% 8%;
  }

  .topbar {
    display: flex;
    background-color: #1a1a1a;
    color: #fff;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 5rem;
    z-index: 10;
    transition: transform 0.5s ease;
  }

  .topbar.hidden {
    transform: translateY(-100%);
  }

  .topbar2 {
    width: 100%;
    padding: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .open {
    font-size: 1.3rem;
    color: #fff;
  }

  .open:hover,
  .close:hover {
    cursor: pointer;
  }

  .sidebar2 {
    padding: 5%;
    padding-left: 13%;
    padding-top: 3%;
    z-index: 1000;
  }

  .mediasidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    color: #fff;
    transition: left 0.3s ease;
    z-index: 10;
  }

  .mediasidebar.opened {
    left: 0;
  }

  .myname2 {
    text-align: left;
  }

  .myname2 a {
    text-decoration: none;
    color: #fff;
    font-size: 4rem;
  }

  .sidebarinsides2 {
    padding: 5%;
    padding-top: 0;
    color: #fff;
    list-style: none;
    text-align: left;
  }

  .sidebarinsides2 ul {
    list-style: none;
    padding: 0;
  }

  .sidebarinsides2 ul li {
    padding-top: 20%;
    font-size: 1rem;
  }

  .sidebarinsides2 ul li a {
    list-style: none;
    text-decoration: none;
    color: #5c5c5c;
  }

  .sidebarinsides2 ul li a.active {
    color: #fff;
  }

  .close {
    padding: 7%;
    padding-bottom: 0;
    font-size: 1.3rem;
    color: #fff;
  }

  .footermedia a {
    padding: 4%;
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 314px) and (max-width: 769px) {
  .footermedia a {
    padding: 4%;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 430px) {
  .signal-card {
    width: 8.8rem;
    min-height: 4.8rem;
    font-size: 0.9rem;
  }

  .call-card {
    left: 1rem;
  }

  .chat-card {
    right: 1rem;
  }

  .hub {
    width: 8.8rem;
    height: 8.8rem;
  }
}

@media screen and (max-width: 499px) {
  .hero h1 {
    font-size: 18vw;
  }

  .problem-strip h2,
  .section-heading h2,
  .focus-copy h2,
  .module-card h3,
  .flow-step h3 {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .hero-subtitle,
  .section-heading p,
  .problem-strip p,
  .module-card p,
  .focus-copy p,
  .flow-step p {
    line-height: 1.5;
  }
}

@media screen and (max-width: 250px) {
  .main {
    display: none;
  }

  .hwanglander {
    padding-top: 10%;
  }

  .topbar {
    display: none;
  }

  .sidebar {
    display: block;
    width: 100%;
  }

  .sidebarinsides {
    padding: 10%;
  }

  .myname a {
    font-size: 2.5rem;
  }

  .sidebarinsides ul {
    padding: 4%;
    padding-top: 5%;
  }

  .sidebar2 {
    display: none;
  }
}
