/* BraveLittleAttorney - Main Stylesheet */

:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f3460;
    --color-highlight: #e94560;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
}

* {
    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.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--color-primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-highlight);
    color: white;
}

.btn-primary:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Features Grid */
.features {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Services Grid */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-highlight);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-highlight);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Page Header */
.page-header {
    background: var(--color-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-box h2 {
    color: var(--color-primary);
    margin: 2rem 0 1rem 0;
}

.content-box h3 {
    color: var(--color-secondary);
    margin: 1.5rem 0 0.75rem 0;
}

.content-box ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h2, .cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-center {
    text-align: center;
    margin: 2rem 0;
}

/* Disclaimer */
.disclaimer-section {
    padding: 3rem 0;
    background: #fff5f5;
}

.disclaimer-box {
    background: white;
    border: 2px solid var(--color-highlight);
    border-radius: 10px;
    padding: 2rem;
}

.disclaimer-box h3 {
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* Chat Example */
.chat-example {
    background: var(--color-bg-alt);
    border-radius: 10px;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
}

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

.chat-message.user {
    border-left: 4px solid #007bff;
}

.chat-message.bot {
    border-left: 4px solid var(--color-highlight);
}

/* Emergency Contacts */
.emergency-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.emergency-card {
    background: #fff5f5;
    border: 2px solid var(--color-highlight);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.emergency-card h3 {
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

.emergency-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-highlight);
    margin: 1rem 0;
}

/* Examples */
.examples {
    margin: 1.5rem 0;
}

.example-message {
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-style: italic;
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Legal Notice */
.legal-notice, .privacy-notice {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-highlight);
    margin: 1rem 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.value-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* How-to Steps */
.how-to-steps {
    max-width: 900px;
    margin: 0 auto;
}

.how-to-step {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step-badge {
    display: inline-block;
    background: var(--color-highlight);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.how-to-step h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.step-detail {
    margin-top: 1.5rem;
}

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

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .features-grid,
    .services-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}
