/* TOCTalk Website Styles - Professional Edition */
/* Brand Colors: #2563EB (Primary Blue), #FFFFFF (White), #DBEAFE (Light Blue) */

:root {
    --primary-blue: #2563EB;
    --light-blue: #DBEAFE;
    --dark-blue: #1E40AF;
    --sky-blue: #60A5FA;
    --white: #FFFFFF;
    --light-gray: #F9FAFB;
    --medium-gray: #6B7280;
    --dark-gray: #1F2937;
    --border-gray: #E5E7EB;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    font-size: 16px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    color: var(--white);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="white" fill-opacity="0.03"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero p.description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

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

/* Story Section */
.story {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.story-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.story-text .highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

.story-visual {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.story-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.1;
    top: -100px;
    right: -100px;
}

.story-visual-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.story-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-visual-content h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--sky-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card h3 {
    color: var(--dark-gray);
    font-size: 1.375rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Values Section */
.values {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.values-grid {
    max-width: 1100px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--border-gray);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-blue);
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--white);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-page h1 {
    color: var(--dark-gray);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-page .last-updated {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 2rem;
    display: block;
    font-size: 0.95rem;
}

.legal-page h2 {
    color: var(--dark-gray);
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-page h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-page h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

.legal-page ul, .legal-page ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--medium-gray);
}

.legal-page a {
    color: var(--primary-blue);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-page ol {
    list-style: none;
    counter-reset: item;
}

.legal-page ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 0.5rem;
}

.legal-page ol > li a {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline {
        font-size: 1.25rem;
    }

    .hero p.description {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.125rem;
    }
}

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

.mt-2 {
    margin-top: 2rem;
}

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