/* Cookie's Landing Page Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: hsl(25, 15%, 15%);
    background: hsl(35, 20%, 97%);
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: hsl(25, 15%, 15%);
}

.section-description {
    font-size: 1.125rem;
    text-align: center;
    color: hsl(25, 12%, 45%);
    max-width: 32rem;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: hsl(205, 85%, 55%);
    color: hsl(35, 25%, 95%);
}

.btn-primary:hover {
    background: hsl(205, 85%, 50%);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: hsl(25, 15%, 15%);
    border: 2px solid hsl(25, 45%, 75%);
}

.btn-outline:hover {
    background: hsl(25, 45%, 75%);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(45deg, hsl(35, 25%, 95%), hsl(30, 30%, 90%));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
}

.hero-image {
    margin-bottom: 2rem;
}

.cookie-image {
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px hsl(25, 45%, 75% / 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: hsl(25, 15%, 15%);
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(25, 12%, 45%);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-tagline {
    font-size: 0.875rem;
    color: hsl(25, 12%, 45%);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsl(35, 35%, 85%), hsl(25, 30%, 80%));
}

.section-header {
    margin-bottom: 3rem;
}

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

.fact-card {
    background: hsl(35, 25%, 95%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px hsl(25, 15%, 15% / 0.1);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px hsl(25, 45%, 75% / 0.2);
}

.fact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fact-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(25, 15%, 15%);
}

.fact-description {
    color: hsl(25, 12%, 45%);
    line-height: 1.6;
}

.mission-card {
    background: hsl(35, 25%, 95%);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 8px 32px hsl(25, 45%, 75% / 0.2);
}

.mission-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: hsl(25, 15%, 15%);
}

.mission-description {
    font-size: 1.125rem;
    color: hsl(25, 12%, 45%);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Social Section */
.social {
    padding: 5rem 0;
    background: hsl(35, 20%, 97%);
}

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

.social-card {
    background: hsl(35, 25%, 95%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 20px hsl(25, 15%, 15% / 0.1);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px hsl(25, 45%, 75% / 0.2);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(25, 15%, 15%);
}

.social-description {
    color: hsl(25, 12%, 45%);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.social-btn {
    width: 100%;
}

.social-footer {
    text-align: center;
    color: hsl(25, 12%, 45%);
    font-style: italic;
}

/* Footer */
.footer {
    background: hsl(35, 25%, 95%);
    border-top: 1px solid hsl(30, 20%, 85%);
    padding: 3rem 0;
}

.footer-header {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: hsl(25, 15%, 15%);
}

.footer-subtitle {
    color: hsl(25, 12%, 45%);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-link {
    background: none;
    border: none;
    color: hsl(25, 12%, 45%);
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: hsl(205, 85%, 55%);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid hsl(30, 20%, 85%);
    padding-top: 2rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(25, 12%, 45%);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.75rem;
    color: hsl(25, 12%, 45%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: hsl(35, 25%, 95%);
    margin: 5% auto;
    padding: 0;
    border-radius: 0.75rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid hsl(30, 20%, 85%);
    background: hsl(35, 20%, 97%);
}

.modal-header h3 {
    margin: 0;
    color: hsl(25, 15%, 15%);
    font-size: 1.25rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(25, 12%, 45%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: hsl(0, 75%, 60%);
    color: white;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    color: hsl(25, 15%, 15%);
    line-height: 1.6;
}

.modal-body h4 {
    color: hsl(25, 15%, 25%);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
    color: hsl(25, 12%, 45%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-image {
        width: 12rem;
        height: 12rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 200px;
    }
    
    .facts-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}