:root {
    --bg-color: #050510;
    --text-color: #ffffff;
    --accent-primary: #00ffcc;
    /* Teal */
    --accent-secondary: #9d00ff;
    /* Purple */
    --accent-tertiary: #0088ff;
    /* Blue */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Aurora Background Effect */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(0, 255, 204, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 136, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(157, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(0, 255, 204, 0.1) 0%, transparent 40%);
    filter: blur(40px);
    animation: aurora-shift 20s ease infinite alternate;
}

@keyframes aurora-shift {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

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

/* Header */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 78px;
    width: auto;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #b3b3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Realistic Mockup CSS */
.mockup-screen {
    margin-top: 4rem;
    position: relative;
    width: 680px;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?q=80&w=2676&auto=format&fit=crop') center/cover no-repeat;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

/* Mockup Menu Bar */
.mockup-menubar {
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
}

.menubar-left,
.menubar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.apple-logo {
    font-size: 1rem;
}

.menu-item.bold {
    font-weight: 700;
}

.menu-item {
    opacity: 0.9;
}

.menu-clock {
    font-variant-numeric: tabular-nums;
}

/* Background Browser Window */
.mockup-window {
    position: absolute;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.browser-window {
    top: 60px;
    left: 40px;
    right: 40px;
    bottom: -20px;
    display: flex;
    flex-direction: column;
}

.window-header {
    height: 36px;
    background: #2d2d2d;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.light.red {
    background: #ff5f56;
}

.light.yellow {
    background: #ffbd2e;
}

.light.green {
    background: #27c93f;
}

.address-bar {
    flex: 1;
    background: #1e1e1e;
    border-radius: 4px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

.lock-icon {
    font-size: 0.6rem;
}

/* Skeleton Content */
.window-content-placeholder {
    padding: 2rem;
    flex: 1;
    display: grid;
    grid-template-columns: 200px 1fr;
    /* Sidebar + Main */
    gap: 2rem;
}

.skeleton-sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 100%;
}

.skeleton-header {
    grid-column: 1 / -1;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 30%;
}

.skeleton-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.skeleton-line.w-80 {
    width: 80%;
}

.skeleton-line.w-60 {
    width: 60%;
}

.skeleton-line.w-90 {
    width: 90%;
}

.skeleton-code-block {
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Boreal Floating Window */
/* Boreal Floating Window */
.boreal-window {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    background: #000;
    position: absolute;
    top: 90px;
    right: 80px;
    /* Neon Glow & Border */
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4),
        0 0 40px rgba(157, 0, 255, 0.2);
    border: 2px solid var(--accent-primary);
    overflow: hidden;
    z-index: 10;
    cursor: grab;
    /* Animation helper for drag interaction */
    touch-action: none;
    /* Keep animation but allow override */
    animation: float 6s ease-in-out infinite;
    user-select: none;
}

.boreal-window:active {
    cursor: grabbing;
}

@keyframes float {

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

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

/* Camera/Logo visual */
.camera-feed {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1c1c1e, #2c2c2e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Green dot removed */

.camera-placeholder-logo {
    width: 60%;
    height: 60%;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 8rem 0;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Usage Section */
.usage {
    padding: 6rem 0;
    text-align: center;
}

.usage-steps {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Stack usage steps on mobile */
    .usage-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    /* Adjust Mockup for Mobile */
    .mockup-screen {
        width: 100%;
        height: 250px;
        background-size: cover;
    }

    .mockup-menubar {
        padding: 0 0.5rem;
    }

    /* Hide less important menu items on small screens */
    .menubar-left .menu-item:not(.bold),
    .menubar-right .menu-text {
        display: none;
    }

    .menubar-right {
        gap: 0.5rem;
    }

    .mockup-window.browser-window {
        top: 40px;
        left: 10px;
        right: 10px;
        bottom: -10px;
    }

    .window-content-placeholder {
        grid-template-columns: 1fr;
        /* Stack sidebar and main content or hide sidebar */
        gap: 1rem;
        padding: 1rem;
    }

    .skeleton-sidebar {
        display: none;
        /* Hide sidebar in mobile mockup to save space */
    }

    .boreal-window {
        width: 80px;
        height: 80px;
        top: 50px;
        right: 20px;
        border-radius: 16px;
    }
}