:root {
    --purple-950: #1e0843;
    --purple-900: #2a0b5a;
    --purple-850: #341169;
    --purple-800: #3a1178;
    --purple-700: #521a9e;
    --purple-600: #6a29c0;
    --purple-500: #7c4dff;
    --purple-400: #a992ff;
    --gray-050: #fafbff;
    --gray-100: #f5f6fa;
    --gray-200: #eceef5;
    --gray-300: #e1e5f0;
    --text: #0f1224;
    --muted: #5e6588;
    --white: #fff;
    --radius-xl: 22px;
    --radius-lg: 14px;
    --shadow-soft: 0 12px 34px rgba(18, 8, 44, 0.2);
    --shadow-card: 0 10px 24px rgba(16, 18, 36, 0.08);
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text);
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Helvetica,
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji";
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: inherit;
    text-decoration: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}
.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}
:focus-visible {
    outline: 3px solid var(--purple-500);
    outline-offset: 3px;
    border-radius: 10px;
}
.device {
    background: linear-gradient(180deg, #120a2a, #1a0e3a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.screen {
    border-radius: 14px;
    background: #0d0a1c;
    padding: 18px;
    min-height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 750;
    letter-spacing: 0.2px;
    transition:
        transform 0.08s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
    cursor: pointer;
    border: 0;
    white-space: nowrap;
}
.btn:active {
    transform: translateY(1px);
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
    filter: brightness(1.08);
}
.btn-outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}
.nav {
    position: sticky;
    top: 0;
    z-index: 70;
    background: transparent;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}
.nav a {
    opacity: 0.92;
}
.nav a:hover {
    opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation when open */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
}
.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: conic-gradient(
        from 210deg at 50% 50%,
        var(--purple-400),
        var(--purple-700),
        var(--purple-500)
    );
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 8px;
    background: radial-gradient(
        120px 60px at 120% -20%,
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0)
    );
    mix-blend-mode: screen;
}
