@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #2596be;
    --primary-hover: #1e7a9e;
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --radius-lg: 12px;
    --radius-full: 9999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-bottom: 40px;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo { height: 40px; width: auto; }
.brand-name { font-weight: 700; font-size: 1.25rem; color: var(--text-main); letter-spacing: -0.025em; }

/* Cards & Surfaces */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    border: 1px solid var(--border-color);
}

/* Typography */
h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 16px; color: var(--text-main); }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 24px; color: var(--text-main); }
h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; }
p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.05rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
.btn:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.7; cursor: wait; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    box-shadow: none;
}
.btn-outline:hover { background: var(--bg-color); }

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.feature-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.feature-icon { color: var(--primary); }

/* Footer */
footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
footer a { color: var(--text-muted); margin: 0 12px; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--primary); }

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.error-msg { color: #ef4444; background: #fee2e2; padding: 12px; border-radius: 8px; font-size: 0.9rem; margin-top: 16px; }

/* Responsive */
@media (max-width: 640px) {
    .container { padding: 16px; }
    h1 { font-size: 1.75rem; }
}
