:root {
    --bg-color: #0d0f12;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --glass-bg: rgba(30, 41, 59, 0.4);
    --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;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(50px) scale(1.1);
    }
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    padding-top: 80px;
    gap: 4rem;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

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

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    padding: 12px;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: float-phone 6s infinite ease-in-out alternate;
}

@keyframes float-phone {
    0% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    100% {
        transform: rotateY(-12deg) rotateX(8deg) translateY(-20px);
    }
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-header {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 2rem;
}

.mockup-scanner {
    height: 200px;
    border-radius: 16px;
    border: 2px dashed rgba(56, 189, 248, 0.5);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.mockup-scanner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scan 2s infinite alternate ease-in-out;
}

@keyframes scan {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}

.mockup-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.res-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.res-item span {
    color: var(--accent);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 6rem 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Join Beta Section */
.join-beta {
    padding: 4rem 8% 6rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.form-container {
    width: 100%;
    max-width: 650px;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.form-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 8% 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer .brand h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer .brand p {
    color: var(--text-secondary);
}

.footer .links h4 {
    margin-bottom: 1rem;
}

.footer .links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .title {
        font-size: 3.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        margin-top: 3rem;
    }
}