/* Zen Blocks - Mindful Design System */

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

:root {
    /* Zen Color Palette - Calm and Mindful */
    --zen-green: #8AAE8A;
    --zen-purple: #A08FB1;
    --zen-peach: #E4A788;
    --zen-cream: #F5F5F5;
    --zen-white: #FFFFFF;
    --zen-dark: #4A4A4A;
    --zen-grey: #808080;
    --zen-light-grey: #B0B0B0;
    
    /* Soft versions for backgrounds */
    --zen-green-soft: rgba(138, 174, 138, 0.1);
    --zen-purple-soft: rgba(160, 143, 177, 0.1);
    --zen-peach-soft: rgba(228, 167, 136, 0.1);
    
    /* Text Colors */
    --text-primary: #4A4A4A;
    --text-secondary: #6C6C6C;
    --text-light: #999999;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--zen-cream);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

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

h2 {
    font-size: 2.25rem;
    font-weight: 300;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

/* Navigation */
.navbar {
    background: var(--zen-white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--zen-green);
    background: var(--zen-green-soft);
}

.nav-menu a.active {
    color: var(--zen-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--zen-white) 0%, var(--zen-green-soft) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--zen-green);
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.download-btn:hover img {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Ensure SVG displays properly */
.download-btn.app-store img {
    height: 50px;
}

.download-btn.google-play img {
    height: 50px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-screen {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(138, 174, 138, 0.3);
}

/* Features Section */
.features-preview {
    padding: var(--space-xxl) 0;
    background: var(--zen-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--zen-cream);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--zen-white);
    border-color: var(--zen-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Game Preview Section */
.game-preview {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--zen-purple-soft) 0%, var(--zen-peach-soft) 100%);
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.preview-card {
    background: var(--zen-white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.preview-card h3 {
    color: var(--zen-purple);
    margin-bottom: var(--space-sm);
}

/* CTA Section */
.download-cta {
    padding: var(--space-xxl) 0;
    text-align: center;
    background: var(--zen-white);
}

.download-cta h2 {
    margin-bottom: var(--space-sm);
}

.download-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.cta-section {
    text-align: center;
    margin-top: var(--space-lg);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--zen-green);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(138, 174, 138, 0.3);
}

.cta-button:hover {
    background: #7A9E7A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 174, 138, 0.4);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-xxl);
}

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

.footer-section h4 {
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Page Header for Interior Pages */
.page-header {
    background: linear-gradient(135deg, var(--zen-white) 0%, var(--zen-green-soft) 100%);
    padding: var(--space-xl) 0;
    text-align: center;
}

.page-header h1 {
    font-weight: 200;
    color: var(--text-primary);
}

/* Content Section for Interior Pages */
.content-section {
    padding: var(--space-xl) 0;
    background: var(--zen-white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--zen-green);
}

.content-wrapper h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-wrapper ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.content-wrapper ul li {
    margin-bottom: var(--space-xs);
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--zen-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--zen-green);
    background: var(--zen-white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: var(--zen-green);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #7A9E7A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 174, 138, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.mt-lg {
    margin-top: var(--space-lg);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.zen-accent {
    color: var(--zen-green);
}