:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary-gradient: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glow: #a855f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
header {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

/* Buttons */
.btn-primary {
    background: var(--text-main);
    color: #000;
    padding: 12px 24px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-text {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-text {
    flex: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 99px;
    color: #d8b4fe;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.trust-badge {
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    align-items: center;
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.glow-effect:hover::after {
    opacity: 1;
    transform: scale(1);
}

.phone-mockup {
    width: 100%;
    max-width: 380px;
    filter: drop-shadow(0 20px 80px rgba(168, 85, 247, 0.4));
    transform: rotate(-5deg);
    transition: transform 0.5s ease-out;
    border-radius: 40px;
    /* Round the image corners */
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.glow-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer border */
    padding: 40px 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        /* Phone below text on mobile naturally */
        gap: 60px;
    }

    .phone-mockup {
        max-width: 280px;
        transform: rotate(0deg);
    }

    h1 {
        font-size: 2.8rem;
    }
}

/* Restoring Missing Layout Styles */
.cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 64px;
    color: var(--text-muted);
}

.white {
    color: var(--text-main);
}

/* Footer & Links */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--card-border);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}