/* SanctumTools Website - Warm & Supportive Design */

:root {
    --primary-purple: #9932a8;
    --soft-purple: #B565C7;
    --light-purple: #D8B5E3;
    --warm-beige: #F5F1E8;
    --soft-gray: #6B7280;
    --dark-text: #1F2937;
    --white: #FFFFFF;
    --accent-purple: #C084CE;
    --crisis-red: #DC2626;
}

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

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: transform 0.2s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--soft-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-purple);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--soft-purple) 100%);
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.section {
    background-color: var(--white);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    color: var(--dark-text);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

hr {
    border: none;
    border-top: 2px solid var(--warm-beige);
    margin: 2rem 0;
}

/* Forms */
form {
    background-color: var(--warm-beige);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-purple);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button, .button {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    display: inline-block;
    text-decoration: none;
}

button:hover, .button:hover {
    background-color: var(--soft-purple);
    transform: translateY(-1px);
}

button:active, .button:active {
    transform: translateY(0);
}

/* Crisis Resources - Special Styling */
.crisis-box {
    background-color: #FEF2F2;
    border-left: 4px solid var(--crisis-red);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.crisis-box h3 {
    color: var(--crisis-red);
    margin-top: 0;
}

.hotline {
    background-color: var(--white);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 6px;
    border-left: 3px solid var(--primary-purple);
}

.hotline strong {
    color: var(--primary-purple);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hotline a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
}

.hotline a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-text);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer a {
    color: var(--soft-purple);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-block;
    background-color: var(--light-purple);
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 1rem 0;
}

.quote {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--soft-gray);
    border-left: 4px solid var(--soft-purple);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 2rem 1.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Success Message */
.success-message {
    background-color: #D1FAE5;
    border: 2px solid #10B981;
    color: #065F46;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    display: none;
}

.success-message.show {
    display: block;
}

/* Beta Login Button */
.login-btn {
    background: linear-gradient(135deg, #9932a8, #C084CE) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(153, 50, 168, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 50, 168, 0.4);
}

/* Beta Badge */
.status-badge.beta {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    font-weight: 700;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #9932a8, #C084CE);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(153, 50, 168, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(153, 50, 168, 0.4);
}
