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

body {
    font-family: 'Inter', sans-serif;
    background: #07111f;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
}

.orb-1 {
    width: 320px;
    height: 320px;
    background: #2563eb;
    top: -80px;
    left: -60px;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: #7c3aed;
    bottom: -80px;
    right: -60px;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.app-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.panel {
    width: 100%;
    max-width: 1100px;
    min-height: 700px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(22px);
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    position: absolute;
}

/* Slides */
.slide {
    transition: all .75s ease;
}

.hidden {
    opacity: 0;
    transform: translateX(70px);
    pointer-events: none;
}

.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Branding */
.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9cc4ff;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 24px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
}

/* Typography */
h1 {
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 18px;
}

.small-title {
    font-size: 42px;
}

.subtitle {
    max-width: 680px;
    color: #c5d2e8;
    line-height: 1.8;
    margin-bottom: 34px;
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 18px;
}

.input-card label {
    display: block;
    font-size: 13px;
    color: #a8b8d6;
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

textarea {
    resize: none;
    min-height: 180px;
}

/* Buttons */
.primary-btn,
.ghost-btn {
    border: none;
    cursor: pointer;
    transition: .3s ease;
    font-weight: 700;
}

.primary-btn {
    padding: 16px 28px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 15px 30px rgba(37, 99, 235, .28);
}

.primary-btn:hover {
    transform: translateY(-3px);
}

.full {
    width: 100%;
}

.ghost-btn {
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, .12);
}

/* Slide 1 */
.feature-box {
    margin-top: 34px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
}

.feature-box h3 {
    margin-bottom: 12px;
}

.feature-box ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: #d6e2f7;
}

/* Slide 2 */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.translate-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
}

.result-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 24px;
    min-height: 100%;
}

.result-head {
    font-size: 14px;
    letter-spacing: 1px;
    color: #9cc4ff;
    margin-bottom: 18px;
}

#result {
    color: #fff;
    line-height: 1.8;
    font-size: 17px;
    word-break: break-word;
}

/* Responsive */
@media(max-width:900px) {

    .panel {
        min-height: auto;
        position: relative;
    }

    h1 {
        font-size: 42px;
    }

    .form-grid,
    .translate-layout {
        grid-template-columns: 1fr;
    }
}