/* Kairos Coach Website Styles - Based on Ionic App Theme */

:root {
    /* Colors from Ionic app */
    --primary: #4a69bd;
    --primary-rgb: 74, 105, 189;
    --primary-shade: #415ca6;
    --primary-tint: #5c78c4;
    --secondary: #5e84e0;
    --secondary-shade: #5374c5;
    --tertiary: #3c5da0;
    --success: #2dd36f;
    --warning: #ffc409;
    --danger: #eb445a;
    --dark: #222428;
    --medium: #92949c;
    --light: #f4f5f8;

    /* Additional colors */
    --text-primary: #222428;
    --text-secondary: #666;
    --background: #ffffff;
    --background-alt: #f4f5f8;
    --border: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
}

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

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* App Download Buttons */
.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.app-button:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.app-icon {
    width: 28px;
    height: 28px;
}

.app-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.app-button-label {
    font-size: 12px;
    opacity: 0.9;
}

.app-button-store {
    font-size: 18px;
    font-weight: 600;
}

.hero-note {
    opacity: 0.8;
    font-size: 14px;
}

/* Mood Check-in Widget */
.mood-checkin {
    padding: 80px 20px;
    background: var(--background-alt);
}

.mood-checkin h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
    text-align: center;
}

.mood-checkin > .container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.mood-widget {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mood-question h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.mood-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.mood-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.mood-result {
    margin-top: 30px;
    padding: 20px;
    background: var(--background-alt);
    border-radius: 8px;
}

.mood-result h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

#recommendation {
    margin-bottom: 15px;
    line-height: 1.6;
}

.mood-cta {
    color: var(--text-secondary);
    font-style: italic;
}

/* Privacy Section */
.privacy-section {
    padding: 80px 20px;
    background: white;
}

.privacy-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary);
}

.dont-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.dont-item {
    text-align: center;
}

.dont-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.dont-item h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.dont-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How Section */
.how-section {
    padding: 80px 20px;
    background: var(--background-alt);
}

.how-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary);
}

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

.how-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.how-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.how-item h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.how-item p {
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    padding: 30px;
    background: var(--background-alt);
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.philosophy-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.philosophy-section blockquote {
    font-size: 24px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.philosophy-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.manifesto-link {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s;
}

.manifesto-link:hover {
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--background-alt);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}

.cta-section > .container > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-section .app-buttons {
    margin-bottom: 20px;
}

.cta-section .app-button {
    background: var(--primary);
    border-color: var(--primary);
}

.cta-section .app-button:hover {
    background: var(--primary-shade);
    border-color: var(--primary-shade);
}

.privacy-promise {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-button {
        width: 100%;
        max-width: 300px;
    }

    .mood-widget {
        padding: 20px;
    }

    .mood-options {
        flex-direction: column;
    }

    .mood-btn {
        width: 100%;
    }
}