:root {
    --bg-color: #030712;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --secondary: #374151;
    --accent: #6ee7b7;
    --card-bg: rgba(17, 24, 39, 0.6);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    border-radius: 50%;
    animation: float 10s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, rgba(3,7,18,0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, rgba(3,7,18,0) 70%);
    animation-delay: -5s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5% 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--primary-glow);
}

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

.hero-title span {
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.5);
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    border: 10px solid #2a2a2a;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 2px #444;
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2a2a2a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0a0e17;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 40px 20px 15px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
}

.chat-user-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.chat-user-info p {
    font-size: 0.75rem;
    color: var(--primary);
}

.chat-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.85rem;
    max-width: 85%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble.left {
    background: rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.right {
    background: var(--primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-input-area {
    padding: 15px 20px 30px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.chat-input-mock {
    background: rgba(255,255,255,0.1);
    color: #aaa;
    border-radius: 100px;
    padding: 10px 15px;
    font-size: 0.8rem;
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title span {
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* How It Works Section */
.how-it-works {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.step-card {
    flex: 1;
    min-width: 280px;
    background: rgba(255,255,255,0.02);
    border-top: 2px solid var(--primary);
    padding: 2.5rem 2rem;
    border-radius: 0 0 16px 16px;
    position: relative;
    transition: background 0.3s ease;
}

.step-card:hover {
    background: rgba(255,255,255,0.05);
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: -10px;
    right: 20px;
    user-select: none;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
}

/* Bottom CTA */
.bottom-cta {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 2rem auto 4rem;
}

.cta-banner {
    background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(14,165,233,0.05));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Policy & Terms Containers */
.policy-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 5%;
    flex: 1;
}

.policy-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.policy-container .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.policy-container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.5rem;
}

.policy-container p, .policy-container li {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.policy-container ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

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

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    .nav-logo-img { display: none; }
    .hero-title { font-size: 3rem; }
    .cta-group { justify-content: center; }
    .phone-mockup { transform: none; margin: 0 auto 3rem; }
    .phone-mockup:hover { transform: none; }
    .nav-links { display: none; }
}
