/* SketchyFit - Minimal, professional styling */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --success: #059669;
    --error: #dc2626;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    opacity: 0.9;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 8px;
}

.step-number {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

/* Signup form */
#signup {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: var(--primary-dark);
}

button[type="submit"]:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

#signup-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

#signup-result.success {
    background: #d1fae5;
    color: var(--success);
}

#signup-result.error {
    background: #fee2e2;
    color: var(--error);
}

.hidden {
    display: none;
}

/* Instructions */
.instructions {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.instructions p {
    margin-bottom: 0.5rem;
}

blockquote {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    font-style: italic;
    color: var(--text-light);
}

/* Lists */
ul {
    margin-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.note {
    margin-top: 1rem;
    padding: 1rem;
    background: #fef3c7;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #92400e;
}

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin: 0;
    text-align: left;
}

.pricing-card li::before {
    content: "✓ ";
    color: var(--success);
}

/* Example */
.example-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.example-before, .example-after {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
}

.example-arrow {
    font-size: 2rem;
    color: var(--primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-alt);
    color: var(--text-light);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    .example-container {
        flex-direction: column;
    }

    .example-arrow {
        transform: rotate(90deg);
    }
}
