* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: white;
    background:
        radial-gradient(circle at 70% 40%, rgba(37, 99, 235, 0.55), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a 45%, #1e3a8a);
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: 0.25s;
}

nav a:hover {
    color: #38bdf8;
}

.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px 100px;
}

.label {
    margin-bottom: 20px;
    color: #38bdf8;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 950px;
    margin-bottom: 24px;
    font-size: 58px;
    line-height: 1.15;
}

.description {
    max-width: 720px;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.7;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.primary,
.secondary {
    display: inline-block;
    min-width: 170px;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.primary {
    color: white;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.5);
}

.secondary {
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.secondary:hover {
    color: #0f172a;
    background: white;
}

@media (max-width: 700px) {
    header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    nav {
        gap: 18px;
    }

    .hero {
        padding-top: 30px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .description {
        font-size: 17px;
    }
}
.preview-box {
    width: min(520px, 92%);
    margin-top: 45px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
}

.preview-box h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.preview-box img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
    background: #020617;
}

.preview-box p {
    margin-top: 15px;
    color: #cbd5e1;
    word-break: break-word;
}
.prompt-box {
    width: 100%;
    margin: 22px 0;
    text-align: left;
}

.prompt-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.prompt-box textarea {
    width: 100%;
    min-height: 110px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    outline: none;
    resize: vertical;
    color: white;
    background: rgba(2, 6, 23, 0.75);
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.prompt-box textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.prompt-box textarea::placeholder {
    color: #94a3b8;
}
.progress-box {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.72);
}

.progress-box p {
    margin: 0 0 12px;
    color: white;
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    transition: width 0.6s ease;
}

.progress-box strong {
    display: block;
    margin-top: 10px;
    color: #38bdf8;
    font-size: 18px;
}
.progress-box {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.75);
}

.progress-box p {
    margin: 0 0 12px;
    color: white;
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    transition: width 0.6s ease;
}

.progress-box strong {
    display: block;
    margin-top: 10px;
    color: #38bdf8;
    font-size: 18px;
}

.hasil-video {
    width: min(520px, 92%);
    margin: 30px auto;
    padding: 24px;
    border-radius: 18px;
    text-align: center;
    background: rgba(15, 23, 42, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.hasil-video h2 {
    margin-bottom: 10px;
}

.hasil-keterangan {
    margin-bottom: 18px;
    color: #cbd5e1;
}

.video-demo {
    width: 100%;
    max-height: 580px;
    border-radius: 14px;
    background: #020617;
}

.prompt-hasil {
    margin: 18px 0;
    color: #cbd5e1;
    line-height: 1.5;
}

.hasil-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.download-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
}