* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #f2f3f5 0%, #e9ecef 100%);
    color: #111;
}

.app {
    max-width: 520px;
    margin: auto;
    padding-bottom: 120px;
}

/* HERO */
.hero {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(0,0,0,0.15) 50%,
        rgba(242,243,245,1) 100%
    );
}

.hero-overlay {
    position: absolute;
    bottom: 0px;
    left: 24px;
}

.hero-overlay h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

.hero-overlay p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #555;
}

main { padding: 24px; }

.card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.input { margin-bottom: 16px; }

.input label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #dcdfe3;
    font-size: 16px;
    background: linear-gradient(145deg, #ffffff, #f0f1f3);
}

.row { display: flex; gap: 14px; }
.half { flex: 1; }

/* PRESETS */
.preset-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.preset-btn {
    flex: 1;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid #dcdfe3;
    background: linear-gradient(145deg, #ffffff, #e9ecef);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

/* RESULT */
.result-card {
    background: linear-gradient(145deg, #ffffff, #e9ecef);
    border-radius: 30px;
    padding: 24px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    border-bottom: 1px solid #e2e5e9;
    padding-bottom: 8px;
}

.result-row:last-child { border-bottom: none; }

.result-row strong {
    font-size: 18px;
    font-weight: 600;
}

/* BUTTON */
.cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 480px;
    padding: 18px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(145deg, #ffffff, #dcdfe3);
    font-size: 16px;
    font-weight: 600;
}
