@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #070a10;
    color: #f4f7fb;
    font-family: Inter, sans-serif;
    transition: .3s;
    overflow-x: hidden
}

header {
    height: 76px;
    border-bottom: 1px solid #ffffff14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 5
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-style: normal;
    color: #9ee7ff;
    background-clip: text;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}


nav {
    display: flex;
    gap: 25px
}

nav a {
    color: #8995a5;
    text-decoration: none;
    font-size: 12px;
    transition-property: color;
    transition-duration: 400ms;
}

nav a:hover{
    color:#9ee7ff;
}

main {
    width: min(1100px, 92%);
    margin: auto
}

.hero {
    text-align: center;
    padding: 90px 0 55px;
    animation: up .8s
}

.hero label {
    font-size: 9px;
    letter-spacing: 2px;
    color: #8e9aaa;
    border: 1px solid #ffffff12;
    border-radius: 30px;
    padding: 8px 12px
}

.hero h1 {
    font: 700 clamp(48px, 8vw, 88px)/.98 'Space Grotesk';
    letter-spacing: -5px;
    margin: 22px 0 18px
}

.hero i {
    font-style: normal;
    background: linear-gradient(90deg, #9ee7ff, #b5a3ff);
    color: transparent;
    background-clip: text
}

.hero p {
    color: #8e9aaa;
    font-size: 14px
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.card {
    background: #0e131dbd;
    border: 1px solid #ffffff10;
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px #0008
}

.light .card {
    background: #ffffffd9;
    border-color: #00000012
}

.head {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #8e9aaa;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between
}

.head em {
    font-style: normal;
    color: #9ee7ff
}

.drop {
    height: 310px;
    border: 1px dashed #ffffff18;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .3s
}

.drop.drag {
    border-color: #9ee7ff;
    transform: translateY(-2px)
}

.ring {
    width: 76px;
    height: 76px;
    border: 1px solid #ffffff18;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 16px;
    font-weight: 800
}

.ring:before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px dashed #9ee7ff66;
    border-radius: 50%;
    animation: spin 8s linear infinite
}

.drop h2 {
    font: 600 19px 'Space Grotesk'
}

.drop p {
    color: #8e9aaa;
    font-size: 11px
}

.drop button,
.pass button {
    border: 0;
    background: #eef7ff;
    color: #071019;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.file {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #ffffff06;
    padding: 13px;
    border-radius: 10px;
    margin-top: 10px
}

.file small {
    display: block;
    color: #8e9aaa
}

.file button {
    margin-left: auto;
    background: none;
    border: 0;
    color: #8e9aaa;
    font-size: 22px
}

.hidden {
    display: none !important
}

.pass {
    display: flex;
    gap: 7px;
    margin-top: 10px
}

.pass input,
select,
textarea {
    background: #ffffff06;
    color: inherit;
    border: 1px solid #ffffff14;
    border-radius: 9px;
    outline: 0
}

.pass input {
    flex: 1;
    padding: 0 10px
}

.text textarea {
    width: 100%;
    height: 350px;
    resize: none;
    padding: 15px;
    font: 13px/1.7 Inter
}

.text>small {
    color: #8e9aaa;
    font-size: 9px
}

.voice {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 18px
}

.voice .head {
    grid-column: 1/-1
}

.screen {
    height: 185px;
    border: 1px solid #ffffff10;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #9ee7ff12, transparent 60%)
}

.screen strong {
    font: 700 22px 'Space Grotesk';
    letter-spacing: 3px
}

.screen strong span {
    font-size: 9px;
    color: #9ee7ff
}

.screen small {
    color: #8e9aaa;
    font-size: 7px;
    letter-spacing: 2px
}

.bars {
    font-size: 32px;
    letter-spacing: 3px;
    color: #9ee7ff;
    height: 55px
}

.bars.active {
    animation: pulse .6s infinite alternate
}

.settings {
    display: grid;
    gap: 12px
}

.settings label {
    font-size: 9px;
    color: #8e9aaa;
    letter-spacing: 1px
}

.settings select {
    display: block;
    width: 100%;
    height: 43px;
    margin-top: 6px;
    padding: 0 10px
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.controls button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ffffff12;
    background: #ffffff06;
    color: inherit;
    cursor: pointer
}

.controls .play {
    width: 68px;
    height: 68px;
    background: #eef7ff;
    color: #071019;
    font-size: 18px
}

.controls button:disabled {
    opacity: .3
}

.voice #status {
    grid-column: 1/-1;
    color: #8e9aaa;
    font-size: 10px
}

.footer {
    color: #ffffff;
    padding: 45px 8% 20px;
    border-top: 1px solid #132a44;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    transition: 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.08);
}

.footer-brand h3 {
    margin: 0 0 5px;
    font-size: 22px;
    color: #ffffff;
}

.footer-brand p {
    margin: 0;
    color: #8191a5;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #9aaabd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 20px;

    text-align: center;
    border-top: 1px solid #132a44;
}

.footer-bottom p {
    margin: 0;
    color: #63748a;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 600px) {

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {
    to {
        transform: scaleY(1.5)
    }
}

@media(max-width:800px) {
    nav {
        display: none
    }

    .grid {
        grid-template-columns: 1fr
    }

    .voice {
        grid-column: auto;
        grid-template-columns: 1fr
    }

    .voice .head,
    .voice #status {
        grid-column: auto
    }

    .how {
        grid-template-columns: 1fr
    }
}

@media(max-width: 380px){

    .card{
        margin-left: auto;
        margin-right: auto;
        width: 75%;
    }
    #browse{
        font-size: 10px;
    }
    .screen{
        margin-left: auto;
        margin-right: auto;
        width: 195px;
    }
    .bars{
      font-size: 20px;
    }
}

@media(max-width: 320px){
    .card{
        width:250px;
    }
}