:root {
    --bg: #080b18;
    --surface: #11162a;
    --text: #f4f7ff;
    --muted: #9da7c4;
    --primary: #6c63ff;
    --cyan: #45e6ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, system-ui, sans-serif;
}

.navbar-glass {
    background: rgba(8, 11, 24, 0.65);
    backdrop-filter: blur(18px);
}

.navbar-brand span,
.brand-link span,
h1 span {
    color: var(--cyan);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 30%, #263b83 0, transparent 30%),
        linear-gradient(135deg, #080b18, #121c42);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.parallax-layer {
    position: absolute;
    inset: -8%;
    pointer-events: none;
    transition: transform 0.15s ease-out;
}

.layer-glow {
    background: radial-gradient(
        circle at 70% 45%,
        rgba(69, 230, 255, 0.2),
        transparent 24%
    );
}

.layer-clouds {
    opacity: 0.28;
    background-image: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.18) 0 1px,
        transparent 2px
    );
    background-size: 90px 80px;
}

.layer-orbit {
    border: 1px solid rgba(69, 230, 255, 0.22);
    border-radius: 50%;
    transform: rotate(-18deg) scale(0.8);
}

.eyebrow {
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

h1 {
    max-width: 760px;
    margin: 1rem 0;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

h2 {
    margin: 1rem 0;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
}

h3 {
    font-size: 1.2rem;
}

.section-padding {
    padding: 120px 0;
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--primary), #9e68ff);
}

.device-card {
    position: relative;
    max-width: 320px;
    margin: auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
}

.device-screen {
    display: grid;
    min-height: 280px;
    place-items: center;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(145deg, #16265a, #0d1228);
}

.device-screen span {
    font-size: 4rem;
    font-weight: 800;
}

.device-screen small {
    display: block;
    color: var(--muted);
}

.pulse-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    animation: pulse 2.2s infinite;
}

.device-status {
    padding-top: 18px;
    color: var(--muted);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #54ef94;
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

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

.feature-item,
.developer-card,
.auth-card {
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: var(--surface);
}

.feature-number {
    color: var(--cyan);
    font-weight: 700;
}

.feature-item p,
.developer-card p {
    color: var(--muted);
}

.motivation-section {
    background:
        linear-gradient(rgba(25, 18, 75, 0.84), rgba(25, 18, 75, 0.84)),
        radial-gradient(circle at center, #6c63ff, #10152c);
}

.motivation-section p {
    max-width: 620px;
}

.developer-card {
    text-align: center;
}

.developer-avatar {
    width: 140px;
    height: 140px;
    margin-bottom: 1.2rem;
    object-fit: cover;
    border: 4px solid rgba(69, 230, 255, 0.5);
    border-radius: 50%;
}

.ai-badge {
    color: var(--cyan);
    font-size: 0.72rem;
}

.auth-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(circle at top right, #273d89, transparent 35%),
        var(--bg);
}

.auth-card {
    width: min(100%, 440px);
}

.auth-card h1 {
    margin-top: 2rem;
    font-size: 2.5rem;
    letter-spacing: -0.05em;
}

.auth-card label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.auth-card .form-control {
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.auth-card .form-control:focus {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.auth-footer {
    margin-top: 1.5rem;
    color: var(--muted);
    text-align: center;
}

.auth-footer a {
    color: var(--cyan);
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 80px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .device-card {
        margin-top: 2rem;
    }
}
