body {
    background-color: #eee;
    font-family: 'Lato', sans-serif;
}
div {
    display: block;
    unicode-bidi: isolate;
}
#page-wrapper {
    position: relative;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
  position: fixed;
  top: 0;
  min-height: 75px;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #eee;
}
.logo {
    width: 60vw;
}
.logo > img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 20px;
}
nav {
    font-weight: 400;
}
nav > ul {
    width: 35vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
li {
    list-style: none;
}
.logo > img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 20px;
}
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 200px;
    margin-top: 50px;
}
#hero input[type='email'] {
    max-width: 275px;
    width: 100%;
    padding: 5px;
}
#hero input[type='submit'] {
    max-width: 150px;
    width: 100%;
    height: 30px;
    margin: 15px 0;
    border: 0;
    background-color: #f1c40f;
}
.btn {
    padding: 0 20px;
    height: 40px;
    font-size: 1em;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px black solid;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
}
form {
    display: block;
    margin-top: 0em;
    unicode-bidi: isolate;
}
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}
#features {
    margin-top: 30px;
}
.grid {
  display: flex;
}
#features .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 125px;
  width: 20vw;
  color: darkorange;
}
  .fa, .fas {
    font-weight: 900;
  }
.fa, .far, .fas {
    font-family: "Font Awesome 5 Free";
}

.fa-3x {
    font-size: 3em;
}
.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

#features .desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 125px;
    width: 80vw;
    padding: 5px;
}
#how-it-works {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
#how-it-works > iframe {
    max-width: 560px;
    width: 100%;
}
#pricing {
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 3);
    margin: 10px;
    border: 1px solid #000;
    border-radius: 3px;
}
.product > .level {
    background-color: #ddd;
    color: black;
    padding: 15px 0;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
}
.product > ol {
    margin: 15px 0;
}
.product > ol > li {
    padding: 5px 0;
}
li {
    list-style: none;
}
.product > button {
    border: 0;
    margin: 15px 0;
    background-color: #f1c40f;
    font-weight: 400;
}
a {
    color: #000;
    text-decoration: none;
}
footer {
    margin-top: 30px;
    background-color: #ddd;
    padding: 20px;
}
footer > ul {
    display: flex;
    justify-content: flex-end;
}
footer > ul > li {
    padding: 0 10px;
}
footer > span {
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    font-size: 0.9em;
    color: #444;
}
.gpt-sidebar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.main-icon {
  background-color: #4f46e5;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gpt-menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.hidden {
  display: none;
}

.icon-button {
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.icon-button:hover {
  transform: scale(1.1);
}

.icon-button[title]::after {
  content: attr(title);
  position: absolute;
  right: 130%;
  background: #333;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%);
  top: 50%;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.icon-button:hover::after {
  opacity: 1;
}

/* Подменю 📁 */
.icon-group {
  position: relative;
}

.sub-icon {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.icon-group:hover .sub-icon {
  display: flex;
}
.gpt-sidebar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.main-icon {
  background-color: #4f46e5;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gpt-menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.hidden {
  display: none;
}

.icon-button {
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.icon-button:hover {
  transform: scale(1.1);
}

.icon-button[title]::after {
  content: attr(title);
  position: absolute;
  right: 130%;
  background: #333;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%);
  top: 50%;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.icon-button:hover::after {
  opacity: 1;
}

/* Подменю 📁 */
.icon-group {
  position: relative;
}

.sub-icon {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.icon-group:hover .sub-icon {
  display: flex;
}


@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
  }
  nav {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    }
    nav > ul {
        flex-direction: column;
    }
    #hero {
      margin-top: 120px;
    }
  }
    
