@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary-color: #4f46e5;
    --background-color: #f3f4f6;
    --card-background: #ffffff;
    --text-color: #111827;
    --subtle-text: #6b7280;
    --border-color: #e5e7eb;
    --muted: #9ca3af;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 700px;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    box-sizing: border-box;
}

.hero { text-align: center; margin-bottom: 2rem; }
.brand { display: flex; align-items: center; justify-content: center; gap: .75rem; }

.logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.hero h1 { font-size: 2rem; font-weight: 700; margin: 0; }

.tagline { color: var(--subtle-text); margin-top: .25rem; }
.pill-row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .75rem; }
.pill { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; padding: .25rem .5rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }

.card { border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem; background: #fff; }
.section-title { margin: 0 0 1rem 0; font-size: 1.125rem; }
.input-group { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.help-text { margin: 0 0 .75rem 0; color: var(--muted); font-size: .9rem; }

#reel-url {
    flex: 1 1 260px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: box-shadow 0.2s;
}

#reel-url:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
    border-color: var(--primary-color);
}

/* Pretty file upload */
.file-group { display: inline-flex; align-items: center; gap: .5rem; }
.file-group input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.file-button { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; background: #111827; color: #fff; border: 1px solid #111827; padding: .65rem 1rem; border-radius: 10px; font-weight: 600; box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.06); transition: transform .04s ease, background .2s ease; }
.file-button:hover { background: #0b1220; }
.file-button:active { transform: translateY(1px); }
.file-name { color: var(--subtle-text); font-size: .9rem; }

#start-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#start-btn:hover {
    background-color: #4338ca;
}

#start-btn:disabled {
    background-color: #a5b4fc;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#download-section {
    margin-top: 1rem;
}

.result { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 8px; padding: 1rem; text-align: center; }
.result h3 { margin: 0 0 1rem 0; color: var(--text-color); }

.download-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #16a34a; /* Green */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #15803d;
}

.features { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 1.25rem 0; }
.feature { border: 1px solid var(--border-color); border-radius: 10px; padding: 1rem; }
.feature h3 { margin: 0 0 .25rem 0; font-size: 1rem; }
.feature p { margin: 0; color: var(--subtle-text); }

.callout { border: 1px dashed #c7d2fe; background: #f5f7ff; padding: 1rem; border-radius: 12px; margin-top: 1rem; text-align: center; }
.callout p { margin: .25rem 0 1rem 0; color: var(--subtle-text); }
.cta-button { display: inline-block; background: #111827; color: #fff; text-decoration: none; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 600; border: 0; cursor: pointer; }
.cta-button:hover { background: #0b1220; }

.guide-form { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.guide-form input[type="email"] { flex: 1 1 260px; max-width: 360px; padding: .7rem 1rem; border: 1px solid var(--border-color); border-radius: 10px; font-size: 1rem; }
.guide-success { margin-top: .75rem; }

.how { margin-top: 1rem; }
.steps { margin: .5rem 0 0 1.25rem; color: var(--subtle-text); }

@media (min-width: 720px) {
    .container { max-width: 880px; }
    .features { grid-template-columns: repeat(3, 1fr); }
}

footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--subtle-text);
} 