:root {
    --primary-blue: #0066FF;
    --primary-dark: #0052cc;
    --safe-green: #00C853;
    --text-main: #333333;
    --text-sub: #666666;
    --bg-light: #F5F7FA;
    --white: #FFFFFF;
    --shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo { width: 32px; height: 32px; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--primary-blue); }

.nav-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

.hero-text span { color: var(--primary-blue); }

.hero-desc {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 32px;
}

.download-cta {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.download-cta:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* Phone Mockup & Carousel */
.mockup-wrapper {
    position: relative;
    width: 260px;
    margin: 0 auto;
}

.phone-frame {
    width: 100%;
    aspect-ratio: 9/18;
    background: #000;
    border-radius: 30px;
    border: 8px solid #1a1a1a;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.dot.active { background: var(--primary-blue); width: 20px; border-radius: 4px; }

/* Floating Badges */
.badge {
    position: absolute;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.badge i { font-size: 18px; color: var(--safe-green); }
.b1 { top: 15%; left: -40px; }
.b2 { bottom: 20%; right: -30px; animation-delay: 2s; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Features Grid */
.features { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 32px; margin-bottom: 10px; }
.section-head p { color: var(--text-sub); }

.grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-5px); }

.icon-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-sub); }

/* Breathing Animation */
.breathing { animation: breath 2s infinite ease-in-out; }
@keyframes breath {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 0 10px rgba(0, 102, 255, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); transform: scale(1); }
}

/* SEO Content (Bottom) */
.seo-block {
    background: #f9f9f9;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.seo-content {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}

.seo-content h3 { font-size: 16px; color: #555; margin-bottom: 10px; }

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    background: #fff;
    color: #999;
    font-size: 12px;
}

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text h1 { font-size: 32px; }
    .grid-box { grid-template-columns: 1fr; }
    .b1 { left: 0; } .b2 { right: 0; }
}