/* BrewGenius - Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #92400e;
    --primary-dark: #78350f;
    --accent: #f59e0b;
    --dark: #1c1917;
    --gray: #78716c;
    --light: #fafaf9;
    --cream: #fef3c7;
    --white: #ffffff;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

nav a {
    color: var(--dark);
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light) 100%);
}

.hero-content {
    max-width: 600px;
}

h1, h2, h3, h4 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-left: 1rem;
}

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

/* Sections */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    background: var(--light);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}

.feature-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
    color: var(--gray);
}

.feature-card li {
    margin-bottom: 0.5rem;
}

/* Benefits */
.benefits {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item span {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
}

/* Testimonials */
.testimonials {
    background: var(--primary-dark);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: var(--cream);
}

.testimonials .section-title p {
    color: rgba(255,255,255,0.7);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--white);
}

.testimonial-author span {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn {
    background: var(--accent);
    color: var(--dark);
}

.cta .btn:hover {
    background: var(--cream);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 5% 2rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.footer-brand p {
    color: var(--gray);
    margin: 1rem 0;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

footer h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--gray);
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent);
}

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

/* Legal Pages */
.legal-content {
    padding-top: 6rem;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.legal-content .updated {
    color: var(--gray);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--gray);
}

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

/* About Page */
.about-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: var(--cream);
    text-align: center;
}

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

.about-hero p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.about-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
}
