/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #007bff;
    --accent-color: #00d68f;
    --bg-color: #f8f9fa;
    --text-main: #333333;
    --text-sub: #666666;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #eef2f5;
    color: var(--text-main);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

/* App Container (Desktop Centering) */
.app-container {
    max-width: 500px; /* Standard mobile width */
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-info {
    display: flex;
    flex-direction: column;
}

.app-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}

.app-badge {
    font-size: 10px;
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
    padding: 1px 4px;
    border-radius: 4px;
    width: fit-content;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    transition: transform 0.2s;
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

.hero-slogan {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-main);
}

.hero-slogan span {
    color: var(--primary-color);
}

.hero-sub {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 25px;
}

.primary-btn {
    background: linear-gradient(90deg, #007bff, #00d68f);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 10px;
    transition: transform 0.2s;
    width: 80%;
}

.primary-btn:active {
    transform: scale(0.96);
}

.version-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 40px;
}

/* Phone Mockup */
.phone-mockup-wrapper {
    position: relative;
    width: 240px;
    margin: 0 auto;
    z-index: 1;
}

.phone-frame {
    border: 8px solid #333;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    aspect-ratio: 9/19;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20px;
    background: #333;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: white;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Waves Decoration */
.wifi-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 123, 255, 0.1);
    animation: wavePulse 3s infinite linear;
}

.w1 { width: 300px; height: 300px; animation-delay: 0s; }
.w2 { width: 400px; height: 400px; animation-delay: 1s; }
.w3 { width: 500px; height: 500px; animation-delay: 2s; }

@keyframes wavePulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; border-color: rgba(0, 123, 255, 0.4); }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; border-color: rgba(0, 123, 255, 0); }
}

/* Features */
.features {
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.title-line {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.grid-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    background: #f8fbfd;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.f-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-sub);
}

/* Stats */
.stats-banner {
    background: #fff;
    padding: 30px 20px;
    border-top: 10px solid #f2f2f2;
    border-bottom: 10px solid #f2f2f2;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-col {
    text-align: center;
    flex: 1;
}

.stat-col strong {
    display: block;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-col span {
    font-size: 12px;
    color: var(--text-sub);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #eee;
}

/* Bottom CTA */
.bottom-cta {
    padding: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    position: sticky;
    bottom: 0;
    z-index: 99;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.cta-text h3 {
    font-size: 16px;
    font-weight: 700;
}

.cta-text p {
    font-size: 12px;
    color: var(--text-sub);
}

.cta-btn {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
}

/* Footer SEO */
.footer {
    background: #f8f9fa;
    padding: 40px 20px 80px; /* Extra padding for bottom cta */
    text-align: center;
}

.seo-block h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.seo-block p {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left;
}

.copyright {
    margin-top: 30px;
    font-size: 12px;
    color: #ccc;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Mobile responsive adjustments if needed */
@media (min-width: 501px) {
    body {
        background-color: #eef2f5; /* Grey bg for desktop around app */
    }
}
