/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Professional Light Gray Palette */
    --primary-color: #475569;
    /* Slate 600 */
    --primary-dark: #334155;
    /* Slate 700 */
    --accent-color: #2563eb;
    /* Blue 600 */
    --accent-hover: #1d4ed8;
    /* Blue 700 */

    --background-color: #f3f4f6;
    /* Gray 100 */
    --surface-color: #ffffff;
    /* White */
    --surface-alt: #f9fafb;
    /* Gray 50 */

    --text-color: #1f2937;
    /* Gray 800 */
    --text-muted: #6b7280;
    /* Gray 500 */

    --border-color: #e5e7eb;
    /* Gray 200 */

    --success-color: #10b981;
    --error-color: #ef4444;

    --radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 3rem;
    color: var(--primary-dark);
}

h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Cards */
.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Legacy support if needed */
.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:text {
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    color: white;
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: var(--text-muted);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: var(--surface-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.validation-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Specific Sections */
.hero {
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

/* Footer (Global) */
/* Advanced Footer */
.footer-advanced {
    background-color: #1f2937;
    /* Dark slate */
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
    border-top: 1px solid #374151;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1fr 1fr;
    }
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

/* Contact Box in Footer */
.contact-box {
    border: 1px solid #374151;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.contact-box:hover {
    border-color: #4b5563;
}

.contact-box a {
    color: #60a5fa;
    /* Blue 400 */
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3.5rem;
    }
}
