:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #f97316;
    --accent-light: #fb923c;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --success: #22c55e;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.hero {
    background-image: url("../img/header_.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 48px 24px 80px;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 50, 0.18);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 640px;
    margin: 0 auto;
}

.hero p {
    margin-top: 12px;
    font-size: 1rem;
    opacity: 0.95;
}

.hero-badge {
    margin: 18px auto 0;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-container {
    max-width: 480px;
    margin: -46px auto 0;
    padding: 0 18px 28px;
    position: relative;
    z-index: 5;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 18px;
    padding: 6px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.tab {
    border: none;
    padding: 12px 10px;
    border-radius: 14px;
    background: transparent;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.card-app {
    background: var(--card);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
}

.card-subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 1rem;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
}

.btn-app {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-primary-app {
    background: var(--primary);
    color: white;
}

.btn-primary-app:hover {
    background: var(--primary-dark);
}

.btn-accent-app {
    background: var(--accent);
    color: white;
}

.link-center {
    text-align: center;
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.link-center a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.flash-wrap {
    max-width: 480px;
    margin: 14px auto 0;
    padding: 0 18px;
}

.flash-message {
    background: white;
    border-left: 5px solid var(--primary);
    padding: 14px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.footer {
    text-align: center;
    margin-top: 22px;
    color: var(--text-light);
    font-size: 0.85rem;
}