:root {
    --bg-dark: #050a18;
    --bg-gradient: radial-gradient(circle at top right, #0a1931, #050a18);
    --accent: #2563eb;
    --accent-bright: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --system-fonts: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--system-fonts);
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 100px; /* Space for sticky footer */
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 60px;
    background: rgba(5, 10, 24, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4ade80;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* HERO */
.hero {
    padding: 100px 20px 40px;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* CHAT ANIMATION */
.chat-animation {
    background: var(--glass);
    border-radius: 24px;
    padding: 20px;
    height: 240px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.bubble {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 0.95rem;
    animation: bubble-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.bubble.user {
    align-self: flex-end;
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.bubble.ai {
    align-self: flex-start;
    background: #1e293b;
    border-bottom-left-radius: 4px;
}

@keyframes bubble-in {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* SERVICES */
.services {
    padding: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.service-card:active {
    transform: scale(0.96);
}

.service-card .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.75rem;
    color: var(--accent-bright);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SOCIAL PROOF */
.social-proof {
    padding: 20px;
    min-height: 120px;
}

.notification-container {
    height: 70px;
    position: relative;
}

.notification {
    position: absolute;
    width: 100%;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.notification.active {
    opacity: 1;
    transform: translateY(0);
}

.notif-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notif-content strong {
    font-size: 0.85rem;
}

.notif-content span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.notif-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 16px;
    background: linear-gradient(to top, var(--bg-dark) 80%, transparent);
    z-index: 1000;
}

.cta-button {
    display: block;
    width: 100%;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.cta-button:active {
    transform: scale(0.98);
    background: var(--accent-bright);
}
