:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #a855f7; /* Purple */
    --accent-3: #ec4899; /* Pink */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Typography */
h1, h2, h3, .logo, .stat-value {
    font-family: 'Outfit', sans-serif;
}

/* Background Effects */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

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

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

.orb-3 {
    top: 40%;
    left: -20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    animation-delay: -10s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    cursor: pointer;
}

.logo span {
    color: var(--text-secondary);
    font-weight: 400;
}

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

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 2rem;
    display: inline-block;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-text-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.secondary-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Visuals & Cards */
.hero-visual {
    margin-top: 6rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 350px;
    animation: fadeIn 1.5s ease-out 0.8s both;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: absolute;
}

.chat-card {
    width: 340px;
    top: 0;
    left: 15%;
    z-index: 2;
}

.stat-card {
    width: 220px;
    bottom: 15%;
    right: 15%;
    z-index: 1;
    text-align: left;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 10px rgba(240, 147, 251, 0.3);
}

.chat-info {
    text-align: left;
}

.chat-name {
    font-weight: 600;
    font-size: 1rem;
}

.chat-status {
    font-size: 0.85rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-status::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.message {
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.5;
}

.message.received {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 4px;
    color: var(--text-secondary);
}

.message.sent {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-bottom-right-radius: 4px;
    color: white;
    margin-left: 2rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.2rem;
    background: linear-gradient(to right, #4ade80, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Legal Pages */
.legal-page {
    padding: 10rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
    position: relative;
    flex: 1;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.legal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 4rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: left;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    color: var(--accent-1);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-content a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent-3);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 8rem 1.5rem 3rem;
    }
    .legal-content {
        padding: 2rem;
    }
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .nav-links a:not(.btn-primary) {
        display: none;
    }
    
    .chat-card {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 350px;
    }
    
    .stat-card {
        display: none;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 3rem;
    }
}
