:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #f5f7ff;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --danger: #ef4444;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-hero {
    padding: 80px 10% 60px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.main-hero h1 span { color: var(--primary); }

.main-hero  p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.main-hero .btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    background: var(--primary);
    color: white;
    border: none;
}

.main-hero .btn:hover { background: var(--primary-hover); transform: translateY(-1px); }

.main-hero .preview-container {
    margin-top: 50px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 12px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.main-hero .app-mockup {
    background: white;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 35% 1fr;
    min-height: 450px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.main-hero .summary-panel {
    background: var(--primary-light);
    padding: 30px;
    text-align: left;
    border-right: 1px solid var(--border);
}

.main-hero .transcript-panel {
    padding: 30px;
    text-align: left;
    background: white;
}

.main-hero .badge {
    display: inline-block;
    padding: 4px 10px;
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-hero .summary-list { list-style: none; }
.main-hero .summary-list li {
    font-size: 0.95rem; margin-bottom: 12px; color: var(--text);
    display: flex; align-items: flex-start;
}
.main-hero .summary-list li::before {
    content: "•"; margin-right: 10px; color: var(--primary); font-weight: bold;
}

.main-hero .transcript-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.main-hero .timecode {
    color: var(--primary);
    background: white;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 600;
    width: 55px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-hero .msg strong { color: var(--text); display: block; font-size: 0.9rem; margin-bottom: 2px; }
.main-hero .msg span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }

.main-how-it-works { padding: 80px 10%; }
.main-how-it-works .section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; font-weight: 800; }

.main-how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.main-how-it-works .step-card {
    background: white;
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.2s;
}

.main-how-it-works .step-card:hover { border-color: var(--primary); }

.main-how-it-works .step-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 20px;
}

.main-how-it-works .step-card h3 { margin-bottom: 12px; font-size: 1.3rem; color: var(--text); }
.main-how-it-works .step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 850px) {
    .main-how-it-works .app-mockup { grid-template-columns: 1fr; }
    .main-how-it-works .summary-panel { border-right: none; border-bottom: 1px solid var(--border); }
}

#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-message {
    background: #1e293b;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
    min-width: 280px;
    max-width: 400px;
    animation: toastIn 0.3s ease forwards;
    transition: opacity 0.3s ease;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
