:root {
    --primary: #00E5FF;
    --primary-dark: #00B4D8;
    --secondary: #FFD166;
    --secondary-dark: #FF9F1C;
    --accent-pink: #EF476F;
    --accent-green: #06D6A0;
    --text-main: #2B2D42;
    --text-light: #6C757D;
    --bg-light: #FDFFFC;
    --bg-dark: #011627;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.highlight { color: var(--primary); }
.highlight-alt { color: var(--secondary); }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-main);
    box-shadow: 0 8px 0 var(--primary-dark), 0 15px 20px rgba(0, 180, 216, 0.4);
    transform: translateY(-4px);
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 0 var(--primary-dark), 0 20px 25px rgba(0, 180, 216, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 0 var(--primary-dark), 0 5px 10px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 8px 0 #E0E0E0, 0 15px 20px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.btn-secondary:hover {
    transform: translateY(-8px);
    background: #F8F9FA;
    box-shadow: 0 12px 0 #D0D0D0, 0 20px 25px rgba(0,0,0,0.1);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 0 0 #E0E0E0, 0 5px 10px rgba(0,0,0,0.05);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-dark);
}

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

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 80% 20%, #E0FBFC 0%, #F8F9FA 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 183, 3, 0.1);
    color: var(--secondary-dark);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.arrow { transition: transform 0.3s; display: inline-block; margin-left: 8px; }
.btn-primary:hover .arrow { transform: translateX(5px); }

.stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Interactive Phone Mockup */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.blob-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob 8s ease-in-out infinite alternate;
    z-index: 0;
    opacity: 0.2;
}

@keyframes blob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 45px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.5);
    padding: 12px;
    z-index: 1;
    transform: rotate(5deg) translateY(-20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(0);
}

.phone-screen {
    background: #E0FBFC;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.app-header {
    width: 100%;
    padding: 40px 20px 20px;
    display: flex;
    justify-content: flex-end;
}

.energy-pill {
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pet-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* CSS Bear */
.pet {
    width: 180px;
    height: 180px;
    background: #FFFFFF;
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.3), inset -10px -10px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bear-face {
    width: 100%;
    height: 100%;
    position: relative;
}

.ear {
    position: absolute;
    width: 65px;
    height: 65px;
    background: #FFFFFF;
    border-radius: 50%;
    top: -15px;
    z-index: -1;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.05);
}
.ear.left { left: 5px; }
.ear.right { right: 5px; }

.eye {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--text-main);
    border-radius: 50%;
    top: 70px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.eye::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}
.eye.left { left: 50px; }
.eye.right { right: 50px; }

.snout {
    position: absolute;
    width: 70px;
    height: 55px;
    background: #FFF3E0;
    border-radius: 50px;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nose {
    width: 24px;
    height: 16px;
    background: var(--text-main);
    border-radius: 50px;
    margin-top: 10px;
}

.mouth {
    width: 24px;
    height: 12px;
    border-bottom: 4px solid var(--text-main);
    border-radius: 0 0 20px 20px;
    margin-top: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Pet States */
.pet.idle { animation: breathe 3s infinite ease-in-out, blob-bounce 6s infinite alternate; }
.pet.listening { transform: scale(1.1); box-shadow: 0 25px 50px rgba(255, 209, 102, 0.6), inset -10px -10px 20px rgba(0,0,0,0.05); border-radius: 50%; }
.pet.listening .eye { height: 26px; width: 26px; top: 65px; }
.pet.listening .mouth { height: 20px; border-radius: 50%; background: var(--accent-pink); border: none; width: 20px; }
.pet.thinking { animation: rocking 1.5s infinite linear; }
.pet.thinking .eye { height: 6px; border-radius: 10px; }

@keyframes breathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.03) translateY(-8px); }
}
@keyframes blob-bounce {
    0% { border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%; }
    100% { border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%; }
}
@keyframes rocking {
    0% { transform: rotate(0) translateY(0); }
    25% { transform: rotate(-8deg) translateY(-5px); }
    75% { transform: rotate(8deg) translateY(-5px); }
    100% { transform: rotate(0) translateY(0); }
}

.status-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.mic-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.4);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
    z-index: 10;
}

.mic-button.active {
    background: linear-gradient(135deg, #FF4B4B, #D32F2F);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 75, 75, 0.6);
}

.mic-icon { width: 36px; height: 36px; }

.instruction {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Audio waves visualization */
.audio-waves {
    position: absolute;
    bottom: 120px;
    display: flex;
    gap: 4px;
    height: 40px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.audio-waves.active { opacity: 1; }

.audio-waves span {
    display: block;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 4px;
}

.audio-waves.active span { animation: wave 1s infinite ease-in-out; }
.audio-waves span:nth-child(1) { animation-delay: 0.0s; }
.audio-waves span:nth-child(2) { animation-delay: 0.1s; }
.audio-waves span:nth-child(3) { animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { animation-delay: 0.3s; }
.audio-waves span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { height: 4px; }
    50% { height: 30px; }
}


/* General Sections */
.section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

/* Features */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 4px solid white; /* Thicker border */
    border-radius: 40px; /* Rounder */
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover { transform: translateY(-15px) scale(1.02); }

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Animations */
.wave-animation { animation: waving 2s infinite; display: inline-block; }
@keyframes waving { 0%, 100%{transform:rotate(0);} 50%{transform:rotate(20deg);} }
.bounce-animation { animation: bouncing 2s infinite; display: inline-block; }
@keyframes bouncing { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
.float-animation { animation: floating 3s infinite ease-in-out; display: inline-block; }
@keyframes floating { 0%,100%{transform:translateY(0) scale(1);} 50%{transform:translateY(-5px) scale(1.1);} }


/* Parents Section */
.dark-bg {
    background: var(--bg-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.splitscreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}
.split-text p {
    font-size: 1.2rem;
    color: #b0d4ff;
    margin-bottom: 30px;
}

.benefit-list { list-style: none; }
.benefit-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.check {
    color: var(--secondary);
    font-weight: 900;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: white;
}

.dash-header {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary);
}

.mock-input {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.chat-bubble {
    padding: 12px 18px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    max-width: 80%;
}
.chat-bubble.left {
    background: rgba(255,255,255,0.1);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}
.chat-bubble.right {
    background: var(--primary);
    margin-left: auto;
    border-bottom-right-radius: 5px;
}


/* Footer */
footer {
    background: #012A5E;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content, .splitscreen { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 120px; }
    .cta-group { justify-content: center; flex-direction: column; }
    .stats { justify-content: center; }
    .hero-image-container { margin-top: 50px; }
    .cards-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.btn-primary) { display: none; }
}
