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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0d12;
    color: #f5f7fb;
    min-height: 100vh;
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    border-bottom: 1px solid #20242d;
    background: #0b0d12;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 700;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #635bff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #a8adb9;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: white;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.login-btn {
    border: 1px solid #343944;
    background: transparent;
    color: white;
    border-radius: 9px;
    padding: 11px 20px;
    font-weight: 600;
}

.hero {
    max-width: 1200px;
    margin: auto;
    min-height: 570px;
    padding: 90px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    color: #8e87ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 18px 0 25px;
}

h1 span {
    color: #7169ff;
}

.hero-content > p {
    color: #9da3af;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.primary-btn {
    border: none;
    background: #635bff;
    color: white;
    padding: 13px 23px;
    border-radius: 9px;
    font-weight: 700;
    transition: 0.2s;
}

.primary-btn:hover {
    background: #756eff;
    transform: translateY(-1px);
}

.secondary-btn {
    background: #171a21;
    border: 1px solid #2d323d;
    color: white;
    padding: 13px 23px;
    border-radius: 9px;
}

.video-preview {
    background: #14171e;
    border: 1px solid #282d37;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.preview-top {
    color: #aeb4c0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #57d68d;
    border-radius: 50%;
}

.fake-video {
    height: 290px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #252a42, #11141d 60%, #34275b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #161922;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 4px;
}

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 3px 2px;
}

.video-info strong {
    display: block;
    margin-bottom: 5px;
}

.video-info small {
    color: #777e8c;
}

.video-info > span {
    color: #858c99;
    font-size: 13px;
}

.features {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 30px;
    background: #11141a;
    border: 1px solid #222630;
    border-radius: 14px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #211f48;
    color: #817aff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: #858c99;
    line-height: 1.6;
    font-size: 14px;
}

.upload-section {
    max-width: 1140px;
    margin: 80px auto;
    padding: 45px;
    border: 1px solid #292e39;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #10131a;
}

.upload-section h2 {
    font-size: 28px;
    margin: 10px 0;
}

.upload-section p {
    color: #858c99;
}

footer {
    border-top: 1px solid #20242d;
    padding: 35px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666d79;
    font-size: 13px;
}


/* Login modal */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(7px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.modal-overlay.active {
    display: flex;
}

.login-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #15181f;
    border: 1px solid #303541;
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.close-btn {
    position: absolute;
    top: 17px;
    right: 20px;
    border: none;
    background: none;
    color: #858b98;
    font-size: 28px;
}

.modal-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #635bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.login-modal h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: #858c99;
    font-size: 14px;
    margin-bottom: 22px;
}

.demo-notice {
    background: #24212e;
    border: 1px solid #403a55;
    color: #aaa4c7;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.login-modal label {
    display: block;
    margin: 17px 0 8px;
    font-size: 13px;
    color: #c5cad3;
}

.login-modal input {
    width: 100%;
    padding: 13px 14px;
    background: #0e1015;
    color: white;
    border: 1px solid #303540;
    border-radius: 8px;
    outline: none;
}

.login-modal input:focus {
    border-color: #635bff;
}

.full-width {
    width: 100%;
    margin-top: 22px;
}

.demo-message {
    text-align: center;
    color: #7bdba3;
    font-size: 12px;
    margin-top: 15px;
    min-height: 15px;
}


/* Responsive */

@media (max-width: 800px) {
    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 55px;
    }

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

    .upload-section {
        margin: 50px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

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

@media (max-width: 500px) {
    h1 {
        font-size: 45px;
    }

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

    .login-modal {
        padding: 30px 23px;
    }
}
