/* Base Settings */
:root {
    --bg-dark: #0a0a0c;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9494a0;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #ec4899; /* Pink */
    --accent-3: #8b5cf6; /* Violet */
    --success: #10b981;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Animated Background */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: pulse 10s infinite alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 30%;
    left: 50%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    opacity: 0.2;
    animation-duration: 15s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(5%, 5%); }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn:hover {
    background: white;
    color: var(--bg-dark);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    align-self: flex-start;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 1rem;
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 0.5rem;
    border-radius: 60px;
    max-width: 500px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}

.waitlist-form:focus-within {
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.waitlist-form input::placeholder {
    color: #666;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

.error-msg {
    display: none;
    margin-top: 1rem;
    color: #f87171;
    font-size: 0.95rem;
}

.success-msg {
    display: none;
    color: var(--success);
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Visual Mockups - Glassmorphic */
.hero-visuals {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.glass-phone {
    width: 320px;
    height: 580px;
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: rotate(2deg) translateY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-phone:hover {
    transform: rotate(0deg) translateY(-10px);
}

.phone-header {
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
    text-align: center;
}

.phone-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.phone-chat {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
}

.chat-bubble {
    padding: 1rem;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    max-width: 90%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bot-message {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.alert-msg {
    background: rgba(236, 72, 153, 0.15); /* Pink tint */
    border-color: rgba(236, 72, 153, 0.3);
}

.alert-content strong {
    color: #fca5a5;
}

.msg-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 0.5rem;
}

.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.5s; }

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(30, 30, 35, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3;
    font-weight: 500;
    font-size: 0.9rem;
}

.feat-1 {
    top: 20%;
    left: -10%;
}

.feat-2 {
    bottom: 25%;
    right: -15%;
}

.feat-icon {
    font-size: 1.2rem;
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--card-border);
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6rem;
    }
    
    .badge, .waitlist-form {
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .feat-1 { left: 5%; }
    .feat-2 { right: 5%; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-visuals { height: auto; padding: 2rem 0; }
    .floating-card { display: none; }
}
