/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #2d2d2d;
    background: #fefefe;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Contact Banner - Sticky Top */
.contact-banner {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.contact-banner span {
    font-weight: 600;
}

.contact-btn {
    background: white;
    color: #1e40af;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hero */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero h1 em {
    color: #2563eb;
    font-style: italic;
}

.tagline {
    font-size: 1.4rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.section.alt {
    background: #f8fafc;
    max-width: none;
}

.section.alt > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Philosophy Section */
.philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

@media (max-width: 700px) {
    .philosophy {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.problem, .solution {
    padding: 1.5rem;
    border-radius: 12px;
}

.problem {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.solution {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.problem h3 {
    color: #dc2626;
}

.solution h3 {
    color: #16a34a;
}

.solution ul {
    margin-left: 1.25rem;
    margin-top: 1rem;
}

.solution li {
    margin-bottom: 0.5rem;
}

/* Manifesto Quote */
.manifesto {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin: 2rem 0;
    border-left: 5px solid #f59e0b;
}

/* Method Section */
.method-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

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

.technique {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.technique h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Examples Section */
.examples-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.example {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.example h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.example p {
    font-size: 0.95rem;
    color: #555;
}

.example-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: #2563eb;
}

.examples-note {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Partners Section */
.partner-info {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.looking-for {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 2.5rem;
}

.looking-for h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.language-exchange {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

@media (max-width: 500px) {
    .language-exchange {
        grid-template-columns: 1fr;
    }
}

.offering, .wanting {
    padding: 1rem;
    border-radius: 8px;
}

.offering {
    background: #ecfdf5;
}

.wanting {
    background: #eff6ff;
}

.offering h4 {
    color: #059669;
}

.wanting h4 {
    color: #2563eb;
}

.language-exchange ul {
    list-style: none;
    margin-top: 0.75rem;
}

.language-exchange li {
    padding: 0.25rem 0;
    font-size: 1.1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
}

.cta-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.big-contact-btn {
    display: inline-block;
    background: white;
    color: #1e40af;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.big-contact-btn:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* About Section */
#about {
    text-align: center;
}

#about p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #e2e8f0;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-email {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.footer-email:hover {
    color: #93c5fd;
}

.footer-contact p {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Stories Section */
.stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 700px) {
    .stories {
        grid-template-columns: 1fr;
    }
}

.story {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #f59e0b;
}

.story h3 {
    color: #b45309;
    margin-bottom: 1rem;
}

.story em {
    background: #fef3c7;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

.story p:last-child {
    margin-bottom: 0;
    color: #1e40af;
    font-weight: 600;
}

/* Philosophy Box */
.philosophy-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #10b981;
}

.philosophy-box h3 {
    color: #047857;
    margin-bottom: 1rem;
}

/* Full Library */
.full-library {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.full-library h3 {
    color: #c7d2fe;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.full-library p {
    opacity: 0.9;
}

.library-link {
    display: inline-block;
    margin-top: 1rem;
    background: #fbbf24;
    color: #1e1b4b;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s;
}

.library-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

/* Partner Board */
.partner-board {
    margin-bottom: 2.5rem;
}

.partner-board h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.partner-listing {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

.partner-listing.featured {
    border: 2px solid #2563eb;
}

.partner-listing.empty {
    border: 2px dashed #d1d5db;
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
}

.founder-badge {
    background: #fbbf24;
    color: #78350f;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.partner-note {
    font-style: italic;
    color: #555;
    margin: 1rem 0;
}

.partner-contact {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.partner-contact:hover {
    text-decoration: none;
    background: #1d4ed8;
}

/* CTA List */
.cta-list {
    text-align: left;
    max-width: 400px;
    margin: 1rem auto;
    list-style: none;
}

.cta-list li {
    padding: 0.3rem 0;
}

.cta-list li::before {
    content: "→ ";
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .contact-banner {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .manifesto {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}
