:root {
    --cream: #FFF8F0;
    --wheat: #E8D5B7;
    --brown: #8B6F47;
    --dark-brown: #5C4A3A;
    --soft-white: #FFFEF9;
    --accent-orange: #D4916F;
    --accent-pink: #E5A899;
    --text-dark: #2C2416;
}

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

body {
    font-family: 'M PLUS Rounded 1c', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
    radial-gradient(circle at 20% 30%, rgba(232, 213, 183, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(229, 168, 153, 0.2) 0%, transparent 50%),
    var(--cream);
    overflow: hidden;
}

.flour-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    filter: blur(1px);
}

.flour-particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; animation-duration: 12s; }
.flour-particle:nth-child(2) { top: 30%; left: 60%; animation-delay: 2s; animation-duration: 14s; }
.flour-particle:nth-child(3) { top: 60%; left: 25%; animation-delay: 4s; animation-duration: 16s; }
.flour-particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 1s; animation-duration: 13s; }
.flour-particle:nth-child(5) { top: 20%; left: 80%; animation-delay: 3s; animation-duration: 15s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translate(30px, -50px) rotate(180deg); opacity: 0.8; }
    90% { opacity: 0.6; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--wheat) 0%, var(--accent-pink) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow:
    0 20px 60px rgba(139, 111, 71, 0.2),
    0 8px 16px rgba(139, 111, 71, 0.1);
    animation: float-icon 3s ease-in-out infinite;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

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

h1 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--brown) 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 
    0 8px 24px rgba(92, 74, 58, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
    0 12px 32px rgba(92, 74, 58, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    padding: 120px 2rem;
    background: var(--soft-white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--cream), transparent);
}

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

.section-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-brown);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 
    0 4px 20px rgba(139, 111, 71, 0.08),
    0 1px 4px rgba(139, 111, 71, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 
    0 12px 40px rgba(139, 111, 71, 0.15),
    0 4px 12px rgba(139, 111, 71, 0.08);
    border-color: var(--wheat);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--brown);
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots {
    padding: 120px 2rem;
    background: 
    linear-gradient(135deg, var(--cream) 0%, var(--soft-white) 100%);
    position: relative;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-slider::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 300px;
    scroll-snap-align: center;
    animation: slideIn 0.8s ease-out;
    animation-fill-mode: both;
}

.screenshot:nth-child(1) { animation-delay: 0.1s; }
.screenshot:nth-child(2) { animation-delay: 0.2s; }
.screenshot:nth-child(3) { animation-delay: 0.3s; }
.screenshot:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.screenshot img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 
    0 20px 60px rgba(139, 111, 71, 0.15),
    0 8px 24px rgba(139, 111, 71, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover img {
    transform: scale(1.05);
}

/* How It Works */
.how-it-works {
    padding: 120px 2rem;
    background: var(--soft-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 24px rgba(212, 145, 111, 0.3);
}

.step-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 0.8rem;
}

.step-description {
    color: var(--brown);
    line-height: 1.8;
}

/* CTA Section */
.final-cta {
    padding: 120px 2rem;
    background: 
    radial-gradient(circle at center, var(--wheat) 0%, var(--cream) 100%);
    text-align: center;
}

.final-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--brown);
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--dark-brown);
    color: var(--wheat);
    padding: 3rem 2rem;
    text-align: center;
}

footer a {
    color: var(--wheat);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-pink);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 2rem;
    }
}

/* Decorative elements */
.wheat-decoration {
    position: absolute;
    opacity: 0.1;
    font-size: 8rem;
    color: var(--brown);
    pointer-events: none;
}

.wheat-decoration.left {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.wheat-decoration.right {
    bottom: 10%;
    right: 5%;
    transform: rotate(15deg);
}
