:root {
    --brand-purple: #8c52ff;
    --brand-yellow: #fde047;
    --bg-base: #fdfcff;
    --bg-gradient: radial-gradient(circle at top left, #ffffff 0%, #f4effa 100%);
    --text-main: #1a1025;
    --text-muted: #6b5e7a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(140, 82, 255, 0.15);
    --shadow-light: 0 10px 40px rgba(140, 82, 255, 0.08);
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

.glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Ambient Glows */
.glow-1 {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.15) 0%, rgba(255,255,255,0) 70%);
    top: -100px; right: -100px; border-radius: 50%;
}
.glow-2 {
    position: absolute; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.2) 0%, rgba(255,255,255,0) 70%);
    bottom: -200px; left: -200px; border-radius: 50%;
}

.container {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}

/* Navbar */
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 32px 0; margin-bottom: 48px;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-body); font-weight: 700; font-size: 1.5rem;
    color: var(--text-main); text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo svg { fill: var(--brand-purple); width: 28px; height: 28px; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }

.btn-solid-yellow {
    background: var(--brand-yellow); color: #000; padding: 12px 32px;
    border-radius: 100px; font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; justify-content: center;
}
.btn-solid-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(253, 224, 71, 0.3); }

/* Hero Section */
.hero {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
    min-height: 70vh; margin-bottom: 80px;
}

.hero-left { max-width: 600px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(140, 82, 255, 0.08);
    border: 1px solid rgba(140, 82, 255, 0.2);
    border-radius: 100px;
    color: var(--brand-purple);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -1px;
}
.hero-title span.italic {
    font-family: var(--font-heading);
    color: var(--brand-purple);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; font-weight: 400; max-width: 500px;
}

.hero-actions { display: flex; gap: 20px; align-items: center; }

.btn-glass {
    background: rgba(140, 82, 255, 0.05); border: 1px solid rgba(140, 82, 255, 0.2);
    color: var(--brand-purple); padding: 12px 32px; border-radius: 100px; font-weight: 700;
    font-size: 0.95rem; text-decoration: none; transition: background 0.2s; backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(140, 82, 255, 0.1); }

/* 3D Bento CSS Mockup */
.bento-wrapper {
    perspective: 1200px; display: flex; justify-content: center; position: relative;
}
.bento-container {
    width: 100%; max-width: 500px; transform: rotateX(25deg) rotateY(-20deg);
    transform-style: preserve-3d; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 16px;
    background: rgba(255, 255, 255, 0.6); padding: 20px; border-radius: 32px; border: 1px solid rgba(255,255,255,0.9);
    box-shadow: -30px 40px 80px rgba(140, 82, 255, 0.15), inset 0 0 0 1px rgba(255,255,255,1);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(20px);
}
.bento-wrapper:hover .bento-container { transform: rotateX(15deg) rotateY(-10deg); }

.bento-container::before {
    content: ''; position: absolute; inset: 10px; border-radius: 24px; transform: translateZ(-30px);
    background: rgba(140, 82, 255, 0.3); filter: blur(30px); z-index: -1;
}

.b-comp {
    background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255,255,255,1); border-radius: 20px;
    padding: 24px; transform: translateZ(30px); box-shadow: 0 15px 30px rgba(140, 82, 255, 0.1), inset 0 1px 2px rgba(255,255,255,1);
    display: flex; flex-direction: column;
}
.b-comp-tasks { grid-column: 1 / 2; grid-row: 1 / 3; }
.b-comp-prog { grid-column: 2 / 3; grid-row: 1 / 2; }
.b-comp-meals { grid-column: 2 / 3; grid-row: 2 / 3; }

.mu-title { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

.mu-task { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mu-task:last-child { margin-bottom: 0; }
.mu-check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(140, 82, 255, 0.2); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.mu-check.done { background: var(--brand-purple); border-color: var(--brand-purple); }
.mu-check.done::after { content:''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.mu-t-text { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.mu-task.done .mu-t-text { text-decoration: line-through; color: var(--text-muted); font-weight: 500; }
.mu-avatar { width: 24px; height: 24px; border-radius: 50%; background: rgba(140, 82, 255, 0.05); color: var(--brand-purple); margin-left: auto; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; }

.mu-prog-bar { height: 6px; background: rgba(140, 82, 255, 0.1); border-radius: 3px; overflow: hidden; margin-top: 12px; }
.mu-prog-fill { width: 75%; height: 100%; background: var(--brand-purple); border-radius: 3px; }
.mu-prog-text { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; margin-top: 8px; }

.mu-meal { display: flex; align-items: center; gap: 12px; }
.mu-m-emoji { width: 32px; height: 32px; background: rgba(140, 82, 255, 0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.mu-m-title { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.mu-m-sub { font-size: 0.8rem; color: var(--text-muted); }

/* Sync Section */
.sync-section { display: flex; align-items: center; gap: 48px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 48px; border-radius: 32px; box-shadow: var(--shadow-light); margin-bottom: 80px; }
.sync-text { flex: 1; }
.sync-text h2 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600; margin-bottom: 16px; color: var(--text-main); }
.sync-text p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; }

.sync-visual { flex: 1; display: flex; justify-content: center; }
.gcal-mockup { width: 100%; max-width: 450px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; font-family: 'Roboto', 'Outfit', sans-serif; border: 1px solid #dadce0; }
.gcal-header { padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #dadce0; }

.gcal-body { display: flex; padding-top: 10px; background: #fff; height: 200px; }
.gcal-time-col { width: 60px; display: flex; flex-direction: column; }
.gcal-time-slot { height: 60px; position: relative; }
.gcal-time-slot span { position: absolute; top: -8px; right: 12px; font-size: 11px; color: #70757a; font-weight: 500; }

.gcal-grid { flex: 1; position: relative; border-left: 1px solid #dadce0; }
.gcal-grid-line { height: 60px; border-bottom: 1px solid #eaebed; width: 100%; box-sizing: border-box; }

.gcal-event { position: absolute; left: 8px; right: 16px; border-radius: 4px; padding: 4px 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.1); cursor: pointer; transition: filter 0.2s; }
.gcal-event:hover { filter: brightness(0.95); }
.gcal-event::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: rgba(0,0,0,0.15); }

.gcal-event-title { font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.gcal-event-time { font-size: 11px; opacity: 0.9; margin-top: 2px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gcal-meal { background: #d50000; } /* GCal Tomato */
.gcal-chore { background: #8e24aa; } /* GCal Grape */

@media (max-width: 900px) {
    .sync-section { flex-direction: column; padding: 32px; text-align: center; align-items: stretch; }
    .sync-text .mu-title { justify-content: center; }
    .sync-visual { width: 100%; }
    .gcal-mockup { margin: 0 auto; }
}

/* Feature Cards (Bottom) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 100px; }
.feat-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0; border-radius: 24px; text-align: center;
    transition: transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-light); overflow: hidden; display: flex; flex-direction: column;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(140, 82, 255, 0.15); }
.feat-visual {
    height: 160px; background: rgba(140, 82, 255, 0.03); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.feat-text-wrap { padding: 32px 24px; flex: 1; display: flex; flex-direction: column; }
.feat-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.feat-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

/* Mini UI Chores */
.mini-ui-chores { display: flex; flex-direction: column; gap: 8px; width: 160px; }
.mc-item { background: #fff; border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s; }
.feat-card:hover .mc-item.active { transform: translateX(8px); }
.mc-check { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #e2e8f0; }
.mc-item.done .mc-check { background: var(--brand-purple); border-color: var(--brand-purple); }
.mc-line { height: 4px; background: #e2e8f0; border-radius: 2px; flex: 1; }
.mc-item.done .mc-line { opacity: 0.4; }
.mc-avatar { width: 20px; height: 20px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #94a3b8; }

/* Mini UI Meal */
.mini-ui-meal { background: #fff; border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(140, 82, 255, 0.1); width: 200px; text-align: left; transition: transform 0.3s; }
.feat-card:hover .mini-ui-meal { transform: scale(1.05); }
.mm-plate { width: 40px; height: 40px; border-radius: 12px; background: #fef08a; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.mm-title { font-weight: 700; font-size: 0.85rem; color: #1e293b; margin-bottom: 2px; }
.mm-sub { font-size: 0.7rem; color: #64748b; }

/* Mini UI XP */
.mini-ui-xp { width: 180px; text-align: center; }
.mx-badge { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #fde047, #f59e0b); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); transition: transform 0.3s; }
.feat-card:hover .mx-badge { transform: rotate(15deg) scale(1.1); }
.mx-bar-bg { height: 6px; background: rgba(140, 82, 255, 0.1); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.mx-bar-fill { width: 40%; height: 100%; background: var(--brand-purple); border-radius: 3px; transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.feat-card:hover .mx-bar-fill { width: 75%; }
.mx-text { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

/* FAQ Section */
.faq-section { max-width: 800px; margin: 0 auto 100px; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { font-family: var(--font-heading); font-size: 3rem; font-weight: 600; margin-bottom: 16px; }

.faq-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; margin-bottom: 16px; overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-light); }
.faq-question { width: 100%; text-align: left; padding: 24px; background: transparent; border: none; color: var(--text-main); font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-item.active { border-color: rgba(140, 82, 255, 0.3); background: rgba(140, 82, 255, 0.02); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; padding: 0 24px; color: var(--text-muted); line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 24px; }
.faq-question .material-symbols-rounded { transition: transform 0.3s; }
.faq-item.active .faq-question .material-symbols-rounded { transform: rotate(180deg); color: var(--brand-purple); }

footer { border-top: 1px solid var(--glass-border); padding: 48px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-left { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 3.5rem; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-wrapper { perspective: none; }
    .bento-container { transform: none !important; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    nav { padding: 20px 0; margin-bottom: 32px; }
    .nav-logo { font-size: 1.25rem; }
    .nav-logo svg { width: 24px; height: 24px; }
    .nav-links { display: none; }
    
    .hero { gap: 32px; margin-bottom: 48px; min-height: auto; padding-top: 20px; }
    .hero-badge { margin-bottom: 24px; }
    .hero-title { font-size: 2.2rem; margin-bottom: 20px; word-wrap: break-word; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 32px; }
    
    .hero-actions { flex-direction: column; width: 100%; gap: 16px; }
    .hero-actions a { width: 100%; text-align: center; }
    
    .bento-container { 
        grid-template-columns: 1fr; 
        padding: 16px; 
        border-radius: 24px; 
        box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
    }
    .b-comp-tasks, .b-comp-prog, .b-comp-meals { grid-column: auto; grid-row: auto; }
    .b-comp { padding: 16px; border-radius: 16px; }
    
    .sync-section { padding: 24px 20px; gap: 24px; margin-bottom: 48px; border-radius: 24px; }
    .sync-text h2 { font-size: 1.8rem; margin-bottom: 12px; }
    .sync-text p { font-size: 0.95rem; }
    .gcal-time-col { width: 45px; }
    .gcal-time-slot span { right: 8px; font-size: 10px; }
    .gcal-event-title { font-size: 11px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feat-card { border-radius: 20px; }
    .feat-text-wrap { padding: 24px 20px; }
    .feat-card h3 { font-size: 1.1rem; }
    
    .faq-section { margin-bottom: 64px; }
    .faq-header { margin-bottom: 32px; }
    .faq-header h2 { font-size: 2rem; margin-bottom: 12px; }
    .faq-question { font-size: 1rem; padding: 16px; }
    .faq-item.active .faq-answer { padding: 0 16px 16px; }
    
    footer { padding: 32px 0; }
}
