/* Base styles with clean, calming colors - Green themed */
:root {
    --primary: #4a8d7e;
    --secondary: #79c2b0;
    --accent: #a5d6c7;
    --light: #f5fcf9;
    --dark: #2d544a;
    --text: #333844;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, var(--light), #e8fff4);
    overflow-x: hidden;
    position: relative;
}

/* Background pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-pattern.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: -2;
    pointer-events: none;
}

/* Floating elements */
.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(30px);
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.float-1 {
    width: 300px;
    height: 300px;
    background-color: var(--secondary);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.float-2 {
    width: 200px;
    height: 200px;
    background-color: var(--accent);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.float-3 {
    width: 150px;
    height: 150px;
    background-color: #d8f7e8;
    top: 60%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(20px);
    }
    50% {
        transform: translateY(0) translateX(40px);
    }
    75% {
        transform: translateY(20px) translateX(20px);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
}

.header-image {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-image img {
    width: 100%;
    display: block;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.3rem;
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Sections */
section {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.section-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    opacity: 0.07;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
}

h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

h3 {
    color: var(--dark);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Feature boxes */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
}

/* How it works */
.steps {
    counter-reset: step;
    margin: 40px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    counter-increment: step;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 3px 10px rgba(74, 141, 126, 0.3);
}

.step-number::before {
    content: counter(step);
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

/* TOTONOE Mode */
.totonoe-mode {
    background: linear-gradient(135deg, #f7fdf9, #e3fdf0);
    border-left: 5px solid var(--accent);
}

.breathing-circle-container {
    margin: 40px auto;
    text-align: center;
}

.breathing-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    margin: 0 auto;
    animation: breathe 4s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(74, 141, 126, 0.3);
}

@keyframes breathe {
    0%, 100% {
        transform: scale(0.8);
        box-shadow: 0 0 20px rgba(74, 141, 126, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px rgba(74, 141, 126, 0.5);
    }
}

/* App screens showcase */
.app-screens {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
}

.app-screen {
    width: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: transform 0.3s ease;
}

.app-screen:hover {
    transform: translateY(-10px) scale(1.05);
}

.app-screen img {
    width: 100%;
    display: block;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #f5fcf9, #e8fff4);
}

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

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-7px);
}

.quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: Georgia, serif;
}

.author {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}

/* CTA */
.cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 20px;
    color: white;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

.cta h2::after {
    background: white;
}

.button {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark);
    margin-top: 20px;
    font-size: 0.9rem;
    position: relative;
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 30px 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .section-bg {
        width: 50%;
    }
    
    .app-screen {
        width: 150px;
    }
}