/* Journnah Website Styles - Matching App Theme */

:root {
    /* Primary Colors - Deep Evergreen */
    --primary: #1F3A32;
    --primary-light: #2C5A49;
    
    /* Secondary Colors - Warm & Soft */
    --secondary: #F3EEDF;
    --secondary-light: #D9E0D5;
    
    /* Accents */
    --accent-gold: #F9D87C;
    --accent-mint: #CDE6D6;
    --accent-sage: #7E9E89;
    
    /* Backgrounds */
    --bg-deep: #1C3028;
    --bg-mid: #284237;
    --bg-light: #324D3F;
    --light-bg: #F6F5EF;
    --light-bg-secondary: #EEEDE7;
    
    /* Text Colors */
    --text-primary: #1F3A32;
    --text-secondary: rgba(31, 58, 50, 0.7);
    --text-tertiary: #7A6B5D;
    --text-inverse: #F3EEDF;
    
    /* Surface Colors */
    --surface: #FEFCF8;
    --surface-secondary: #F6F5EF;
    --border: #E3DDD5;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-xxxl: 64px;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(31, 58, 50, 0.08);
    --shadow-md: 0 2px 4px rgba(31, 58, 50, 0.12);
    --shadow-lg: 0 4px 8px rgba(31, 58, 50, 0.16);
    --shadow-xl: 0 6px 12px rgba(31, 58, 50, 0.18);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(246, 245, 239, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: var(--spacing-md) 0;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.cta-button {
    background-color: var(--primary);
    color: var(--text-inverse) !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: var(--spacing-xxxl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-light) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(249, 216, 124, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(205, 230, 214, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(243, 238, 223, 0.9);
    margin-bottom: var(--spacing-xxl);
    line-height: 1.7;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #F7D066;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: rgba(243, 238, 223, 0.15);
    color: var(--text-inverse);
    border: 1px solid rgba(243, 238, 223, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(243, 238, 223, 0.25);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: 18px;
}

/* Features Section */
.features {
    padding: var(--spacing-xxxl) 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.feature-card {
    background-color: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-sage);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-sage));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* About Section */
.about {
    padding: var(--spacing-xxxl) 0;
    background-color: var(--surface);
}

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

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.about-features-list {
    margin-top: var(--spacing-xxl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 16px;
    color: var(--text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-mint);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* Philosophy Section */
.philosophy {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}

/* CTA Section */
.cta {
    padding: var(--spacing-xxxl) 0;
    background-color: var(--primary);
    color: var(--text-inverse);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(243, 238, 223, 0.9);
    margin-bottom: var(--spacing-xxl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Footer */
.footer {
    background-color: var(--bg-deep);
    color: var(--text-inverse);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.footer-brand .logo-text {
    color: var(--text-inverse);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: rgba(243, 238, 223, 0.7);
    font-size: 14px;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(243, 238, 223, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(243, 238, 223, 0.1);
    color: rgba(243, 238, 223, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .cta-button {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 14px;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

