:root {
    --bg: #050609;
    --surface: #0b0d12;
    --surface2: #11141b;
    --text: #f6f7f9;
    --muted: #9297a5;
    --green: #c8ff32;
    --purple: #9b55ff;
    --cyan: #26d7ff;
    --line: rgba(255, 255, 255, 0.1);
    --card-line: rgba(255, 255, 255, 0.16);
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 70% 15%, rgba(63, 31, 130, 0.15), transparent 30%), var(--bg);
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

html {
    scroll-padding-top: 90px;
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
}

button {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background-color: #090b10
}

.site-header-inner {
    position: relative;
    width: min(var(--max), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Space Grotesk";
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 220ms ease, color 220ms ease;
    will-change: transform;
}

.logo span {
    color: var(--green);
}

/* Animated logo mark */
.logo-mark {
    display: inline-block;
    color: var(--green);
    transform-origin: center;
    animation: logoPulse 3.6s ease-in-out infinite 0.4s;
}

.logo:hover {
    transform: translateY(-3px) scale(1.02);
}

.logo:active {
    transform: translateY(-1px) scale(1.01);
}

@keyframes logoPulse {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }

    50% {
        transform: translateY(-2px) scale(1.03);
        filter: drop-shadow(0 10px 22px rgba(50, 220, 150, 0.06));
    }

    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 18px;
    font-weight: 500;
    color: #d6d8df;
}

.nav a {
    position: relative;
    transition: color 0.25s;
    padding-bottom: 6px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: transform 0.28s cubic-bezier(.2, .9, .2, 1), opacity 0.2s;
    opacity: 0;
}

.nav a:hover,
.nav a:focus {
    color: var(--green);
}

.nav a:hover::after,
.nav a:focus::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.nav .dropdown a::after {
    display: none;
}

/* Dropdown styles */
.nav .nav-item {
    position: relative;
    margin-top: -5px;
}

.nav .dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    background: #0b0d12;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 8px;
    min-width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 120;
}

.nav .dropdown a {
    display: block;
    padding: 8px 12px;
    color: #c9ced6;
    font-size: 18px;
    white-space: normal;
}

.nav .dropdown a:hover {
    color: var(--green);
}

.nav .has-dropdown:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Mobile: open class toggles dropdown */
.nav .has-dropdown.open .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #050609;
    box-shadow: 0 0 30px rgba(200, 255, 50, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(200, 255, 50, 0.28);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-danger {
    background: rgba(255, 76, 76, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 76, 76, 0.4);
}

.btn-danger:hover {
    background: #ff4c4c;
    color: #050609;
    transform: translateY(-2px);
}

.admin-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
}

.admin-alert-success {
    background: rgba(200, 255, 50, 0.1);
    border: 1px solid rgba(200, 255, 50, 0.35);
    color: var(--green);
}

.checkbox-field {
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
}

.checkbox-field input[type="checkbox"] {
    width: auto !important;
    padding: 0 !important;
    height: 18px;
    accent-color: var(--green);
}

.admin-list-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-action {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--green);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.link-action:hover {
    text-decoration: underline;
}

.link-action.danger {
    color: #ff6b6b;
}

.admin-shell {
    background: radial-gradient(circle at 20% 0%, rgba(155, 85, 255, 0.18), transparent 26%), var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.admin-app {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: 280px;
    background: rgba(9, 11, 16, 0.96);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 20px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand-wrap {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-logo {
    font-size: 26px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.admin-nav::-webkit-scrollbar {
    width: 6px;
}

.admin-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}

.admin-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.admin-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d3d7df;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: rgba(200, 255, 50, 0.08);
    color: var(--green);
}

.admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
}

.admin-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-user-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(200, 255, 50, 0.18), rgba(38, 215, 255, 0.18));
    color: var(--green);
    font-weight: 700;
}

.admin-user-box strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.admin-user-box small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.sidebar-logout {
    width: 100%;
}

.admin-main {
    flex: 1;
    padding: 30px 32px 56px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-eyebrow {
    margin-bottom: 6px;
}

.admin-topbar h2 {
    font-family: "Space Grotesk";
    font-size: clamp(32px, 3vw, 48px);
    letter-spacing: -0.055em;
    line-height: 1;
}

.admin-topbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-dashboard {
    width: 100%;
    padding: 0;
}

.dashboard-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-family: "Space Grotesk";
    font-size: clamp(36px, 4vw, 58px);
    letter-spacing: -0.06em;
    line-height: 1;
}

.dashboard-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.dashboard-card,
.panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 13, 18, 0.88);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.dashboard-card {
    padding: 26px 22px;
}

.dashboard-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.dashboard-card h3 {
    font-size: clamp(28px, 2.4vw, 40px);
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.dashboard-card small {
    color: #c8cccf;
}

.dashboard-layout,
.dashboard-columns {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.dashboard-layout {
    grid-template-columns: 1.7fr 1fr;
}

.dashboard-columns {
    grid-template-columns: 1.3fr 1fr;
}

.panel {
    padding: 24px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-header h3 {
    font-size: 20px;
    letter-spacing: -0.04em;
}

.panel-header a {
    font-size: 14px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(200, 255, 50, 0.12);
    color: var(--green);
    border: 1px solid rgba(200, 255, 50, 0.25);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.action-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.action-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(200, 255, 50, 0.3);
}

.action-tile strong {
    font-size: 18px;
    letter-spacing: -0.04em;
}

.action-tile small {
    color: var(--muted);
    margin-top: auto;
}

.action-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 700;
}

.action-icon.green {
    background: rgba(200, 255, 50, 0.12);
    color: var(--green);
}

.action-icon.purple {
    background: rgba(155, 85, 255, 0.12);
    color: #d3b7ff;
}

.action-icon.cyan {
    background: rgba(38, 215, 255, 0.12);
    color: var(--cyan);
}

.activity-list,
.section-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.activity-list li,
.section-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.activity-list li strong,
.list-row strong {
    display: block;
    margin-bottom: 4px;
}

.activity-list small,
.list-row small {
    color: var(--muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

.dot.green {
    background: var(--green);
}

.dot.purple {
    background: var(--purple);
}

.dot.cyan {
    background: var(--cyan);
}

.list-table {
    display: grid;
    gap: 14px;
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.list-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.tag,
.section-list em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tag.green,
.section-list em.ok {
    background: rgba(200, 255, 50, 0.12);
    color: var(--green);
}

.tag.purple,
.section-list em.warn {
    background: rgba(155, 85, 255, 0.12);
    color: #d3b7ff;
}

.tag.cyan {
    background: rgba(38, 215, 255, 0.12);
    color: var(--cyan);
}

.section-list li {
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-list li:last-child {
    border-bottom: 0;
}

.section-list span {
    color: #ebedf1;
}

.composer-panel {
    margin-top: 22px;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #ced3db;
    font-size: 14px;
}

.field span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: var(--muted);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.composer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-module {
    width: 100%;
}

.admin-page-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 22px;
}

.admin-list,
.admin-settings-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-list-item,
.admin-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-list-item:first-child,
.admin-settings-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.admin-settings-row strong,
.admin-list-item strong {
    display: block;
    margin-bottom: 4px;
}

.admin-settings-row small,
.admin-list-item small {
    color: var(--muted);
}

.admin-settings-row span {
    color: #dfe4ea;
    font-weight: 600;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-list-panel {
    align-self: start;
}

.admin-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.admin-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.admin-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.admin-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.admin-sidebar-backdrop {
    display: none;
}

.admin-idle-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-idle-modal[hidden] {
    display: none;
}

.admin-idle-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 6, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.admin-idle-modal-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 28px;
    border-radius: 14px;
    background: var(--surface2);
    border: 1px solid var(--card-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.admin-idle-modal-card h3 {
    margin-bottom: 10px;
    font-family: "Space Grotesk", sans-serif;
}

.admin-idle-modal-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.admin-idle-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-idle-modal-actions .btn {
    padding: 10px 18px;
    font-size: 13px;
}

.admin-topbar-heading {
    min-width: 0;
}

/* Admin panel responsive breakpoints */
@media (max-width: 1000px) {
    .admin-menu-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 60;
        width: 260px;
        max-width: 82vw;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
    }

    .admin-app.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 50;
        background: rgba(2, 3, 6, 0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .admin-app.sidebar-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-main {
        padding: 22px 20px 48px;
        width: 100%;
    }

    .admin-page-grid,
    .dashboard-layout,
    .dashboard-columns {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-main {
        padding: 18px 16px 40px;
    }

    .admin-topbar {
        flex-wrap: wrap;
    }

    .admin-topbar-actions {
        width: 100%;
    }

    .dashboard-stats,
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .panel,
    .dashboard-card {
        padding: 18px;
    }

    .admin-list-item,
    .admin-settings-row {
        flex-wrap: wrap;
    }

    .admin-list-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.section {
    width: min(var(--max), calc(100% - 48px));
    margin: 2rem auto;
    padding: 60px 0;
}

.hero {
    min-height: 760px;
    padding-top: 100px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 20px;
}

.eyebrow {
    font-size: 20px;
    color: var(--green);
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: "Space Grotesk";
    font-size: clamp(55px, 6.4vw, 94px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.065em;
    max-width: 700px;
}

.hero h1 em {
    font-style: normal;
    color: var(--green);
}

.hero-text {
    max-width: 420px;
    color: #b0b4bf;
    font-size: 17px;
    margin: 30px 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.text-link {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--green);
}

.play {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #777;
    border-radius: 50%;
    font-size: 8px;
    margin-left: 8px;
}

.hero-visual {
    height: 480px;
    position: relative;
}

.grid-glow {
    position: absolute;
    inset: 15% 0;
    background: radial-gradient(ellipse, rgba(61, 27, 180, 0.3), transparent 65%);
    filter: blur(12px);
}

.orb {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    filter: blur(0.2px);
}

.orb-one {
    width: 400px;
    height: 400px;
    right: 12%;
    top: 5%;
    border-color: rgba(200, 255, 50, 0.8);
    box-shadow: 0 0 30px rgba(200, 255, 50, 0.12);
}

.orb-two {
    width: 340px;
    height: 340px;
    right: 0;
    top: 15%;
    border-color: rgba(155, 85, 255, 0.5);
    transform: rotate(55deg);
}

.device {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #11141a;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(120, 70, 255, 0.12);
    overflow: hidden;
}

.laptop {
    width: 540px;
    height: 340px;
    right: 4%;
    top: 70px;
    border-radius: 14px;
    transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
}

.laptop:after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: -8%;
    width: 116%;
    height: 22px;
    background: #252a34;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 10px #000;
}

.device-screen {
    position: absolute;
    inset: 9px;
    background: linear-gradient(135deg, #090b10, #151122);
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.screen-top {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: #aaa;
}

.screen-title {
    font-family: "Space Grotesk";
    font-size: 45px;
    line-height: 0.9;
    margin-top: 65px;
    position: relative;
    z-index: 2;
}

.screen-title strong {
    color: #b66cff;
}

.screen-pill {
    display: inline-block;
    margin-top: 22px;
    border: 1px solid #666;
    border-radius: 30px;
    padding: 7px 12px;
    font-size: 18px;
}

.screen-art {
    position: absolute;
    width: 270px;
    height: 270px;
    right: -30px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d85cff, #20125c 45%, transparent 60%);
    filter: blur(2px);
}

.phone {
    width: 126px;
    height: 250px;
    border-radius: 20px;
    padding: 5px;
}

.phone-left {
    left: 10%;
    top: 110px;
    transform: rotate(-8deg);
    z-index: 3;
}

.phone-right {
    right: 2%;
    top: 205px;
    transform: rotate(8deg);
    z-index: 4;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 7px;
    border-radius: 10px;
    background: #050609;
    z-index: 4;
}

.phone-screen {
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(180deg, #11172b, #090b12);
    padding: 28px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.phone-screen small {
    color: #a4a9b6;
    font-size: 14px;
}

.phone-screen strong {
    font-size: 18px;
}

.chart {
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.chart i {
    display: block;
    width: 13px;
    background: linear-gradient(var(--purple), var(--cyan));
    border-radius: 3px 3px 0 0;
}

.chart i:nth-child(1) {
    height: 35%;
}

.chart i:nth-child(2) {
    height: 55%;
}

.chart i:nth-child(3) {
    height: 45%;
}

.chart i:nth-child(4) {
    height: 75%;
}

.chart i:nth-child(5) {
    height: 65%;
}

.chart i:nth-child(6) {
    height: 92%;
}

.mini-card {
    height: 55px;
    border: 1px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.motion-screen {
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 35%, #4b1f7e, #080a11 55%);
}

.motion-ball {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #b95bff 25%, #26d7ff 55%, #121a34 75%);
    box-shadow: 0 0 30px #9b55ff;
    animation: float 3s ease-in-out infinite;
}

.trusted {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 45px;
    margin-top: 20px;
    min-width: 0;
}

.trusted>span {
    font-size: 16px;
    color: #6f7480;
    white-space: nowrap;
}

.trusted div {
    display: flex;
    gap: 35px;
    align-items: center;
    color: #777b85;
}

.trusted b {
    font-size: 18px;
    font-weight: 600;
}

.service-strip {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr;
    background: linear-gradient(120deg, #14171f, #0a0c11);
    border: 1px solid var(--card-line);
    border-radius: 18px;
    padding: 35px;
    gap: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.section-intro h2,
.section-heading h2 {
    font-family: "Space Grotesk";
    font-size: 35px;
    line-height: 45px;
    letter-spacing: -0.045em;
}

.service-mini {
    display: flex;
    gap: 16px;
}

.service-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.green {
    background: rgba(200, 255, 50, 0.13);
    color: var(--green);
    border: 1px solid rgba(200, 255, 50, 0.25);
}

.purple {
    background: rgba(155, 85, 255, 0.13);
    color: #bd85ff;
    border: 1px solid rgba(155, 85, 255, 0.25);
}

.cyan {
    background: rgba(38, 215, 255, 0.13);
    color: var(--cyan);
    border: 1px solid rgba(38, 215, 255, 0.25);
}

.orange {
    background: rgba(255, 158, 68, 0.13);
    color: #ffab5e;
    border: 1px solid rgba(255, 158, 68, 0.25);
}

.service-mini h3 {
    font-family: "Space Grotesk";
    font-size: 18px;
    margin: 2px 0 8px;
}

.service-mini p {
    font-size: 16px;
    color: #8d92a0;
    line-height: 1.55;
}

.service-mini a {
    display: inline-block;
    margin-top: 14px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--green);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project {
    background: linear-gradient(160deg, #14171f, #0a0c11);
    border: 1px solid var(--card-line);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.35s;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.project:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.32);
}

.project-art {
    height: 330px;
    position: relative;
    overflow: hidden;
}

.finance-art {
    background: radial-gradient(circle at 60% 30%, #362267, #11141f 60%);
}

.mock-card {
    position: absolute;
    top: 55px;
    left: 45px;
    width: 190px;
    height: 170px;
    border: 1px solid #3e4560;
    border-radius: 12px;
    background: rgba(17, 22, 39, 0.9);
    padding: 22px;
    transform: rotate(-8deg);
    box-shadow: 0 25px 45px #0008;
}

.mock-card strong {
    display: block;
    font-size: 26px;
    margin-top: 18px;
}

.mock-card small {
    display: block;
    color: var(--green);
    margin-top: 8px;
}

.small-card {
    top: 100px;
    left: 180px;
    transform: rotate(10deg);
    opacity: 0.8;
}

.ecommerce-art {
    background: linear-gradient(135deg, #eeeae2, #c9c2b7);
    color: #161616;
}

.fashion-title {
    position: absolute;
    left: 30px;
    top: 28px;
    font-family: "Space Grotesk";
    font-size: 34px;
    line-height: 0.9;
}

.fashion-side {
    position: absolute;
    right: 18px;
    top: 30px;
    font-size: 18px;
}

.fashion-person {
    position: absolute;
    width: 190px;
    height: 250px;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100px 100px 20px 20px;
    background: linear-gradient(120deg, #e8d5c4, #6e6e78 60%, #1a1a1d);
    filter: drop-shadow(0 15px 20px #3335);
}

.motion-art {
    background: radial-gradient(circle at 60% 40%, #19231b, #0e1712 60%);
}

.robot {
    position: absolute;
    right: 50px;
    top: 65px;
    width: 180px;
    height: 180px;
    border: 3px solid #d4d8db;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 75px;
    box-shadow: 0 0 60px #c8ff3233;
}

.motion-copy {
    position: absolute;
    left: 28px;
    bottom: 50px;
    font-family: "Space Grotesk";
    font-size: 20px;
}

.motion-copy strong {
    color: var(--green);
}

.project-meta {
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    align-items: center;
    padding: 18px;
}

.project-meta>span {
    font-size: 13px;
    color: #8b909c;
    display: inline-block;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.visible .project-meta>span {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-meta h3 {
    font-size: 18px;
}

.project-meta p {
    font-size: 14px;
    color: #7c818d;
    margin-top: 2px;
}

.process {
    position: relative;
}

.process-line {
    height: 1px;
    background: linear-gradient(90deg, var(--green), var(--purple), var(--cyan));
    opacity: 0.45;
    margin: 55px 6% -34px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.process-step {
    text-align: center;
    position: relative;
}

.desc-nhean {
    font-size: 16px;
}

.step-icon {
    margin: auto;
    width: 48px;
    height: 48px;
    border: 1px solid #50535e;
    border-radius: 50%;
    background: #090b10;
    display: grid;
    place-items: center;
    font-size: 17px;
    color: #fff;
    box-shadow: 0 0 0 7px #050609;
}

.process-step span {
    display: block;
    color: var(--green);
    font-size: 14px;
    margin-top: 20px;
}

.process-step h3 {
    font-size: 18px;
    margin: 3px 0 8px;
}

.process-step p {

    color: #858a97;
}

.care-heading>p {
    max-width: 360px;
    color: #858a97;
    font-size: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.price-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #0d1016, #090b10);
    border-radius: 10px;
    padding: 25px;
    min-height: 510px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.free {
    border-color: #6c8c25;
}

.price-card.monthly {
    border-color: #7443aa;
    box-shadow: 0 0 45px rgba(155, 85, 255, 0.08);
}

.price-card.yearly {
    border-color: #167f99;
}

.price-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #18200c;
    color: var(--green);
    margin-bottom: 18px;
}

.monthly .price-icon {
    background: #20112f;
    color: #c084ff;
}

.yearly .price-icon {
    background: #0b2530;
    color: var(--cyan);
}

.plan-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.plan-label span {
    font-size: 12px;
    background: rgba(200, 255, 50, 0.14);
    color: var(--green);
    padding: 4px 6px;
    border-radius: 4px;
    margin-left: 7px;
}

.yearly .plan-label span {
    color: var(--cyan);
    background: rgba(38, 215, 255, 0.1);
}

.price {
    font-family: "Space Grotesk";
    font-size: 40px;
    margin: 5px 0;
}

.price small {
    font-family: "Space Grotesk";
    font-size: 16px;
    color: #858a97;
}

.price-card>p:not(.plan-label) {
    /* font-size: 14px; */
    color: #8b909c;
    min-height: 48px;
}

.price-card ul {
    list-style: none;
    margin: 10px 0 20px;
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: #c3c6ce;
}

.price-card li:before {
    content: "✓";
    color: var(--green);
    font-weight: 700;
    margin-right: 8px;
}

.monthly li:before {
    color: #b26aff;
}

.yearly li:before {
    color: var(--cyan);
}

.price-btn {
    margin-top: auto;
    border: 1px solid #647023;
    text-align: center;
    padding: 13px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
}

.monthly .price-btn {
    background: #7741c2;
    border-color: #7741c2;
}

.yearly .price-btn {
    background: #1597b9;
    border-color: #1597b9;
}

.care-note {
    margin-top: 18px;
    color: #656b77;
    text-align: center;
}

/* About page */
.about-hero {
    min-height: 650px;
    padding-top: 155px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about-hero h1,
.studio-story h2,
.principles-heading h2,
.approach-copy h2,
.about-contact h2 {
    font-family: "Space Grotesk";
    letter-spacing: -0.065em;
    line-height: .94;
}

.about-hero h1 {
    font-size: clamp(58px, 7.1vw, 100px);
}

.about-hero h1 em,
.studio-story h2 em,
.about-contact h2 em {
    color: var(--green);
    font-style: normal;
}

.about-lead {
    max-width: 480px;
    color: #adb2be;
    font-size: 19px;
    margin: 28px 0 32px;
}

.about-orbit {
    height: 420px;
    position: relative;
    max-width: 510px;
    width: 100%;
    justify-self: end;
}

.orbit-ring {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-one {
    width: 370px;
    height: 370px;
    border-color: rgba(200, 255, 50, .6);
    box-shadow: 0 0 65px rgba(200, 255, 50, .08);
}

.orbit-ring-two {
    width: 270px;
    height: 410px;
    border-color: rgba(155, 85, 255, .75);
    transform: translate(-50%, -50%) rotate(52deg);
}

.orbit-core {
    position: absolute;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 25%, #d9ff6c, #6f9724 30%, #151c0b 72%);
    box-shadow: 0 0 80px rgba(200, 255, 50, .28);
}

.orbit-core span {
    color: #060807;
    font: 700 42px "Space Grotesk";
    letter-spacing: -.12em;
}

.orbit-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 12px "Space Grotesk";
    letter-spacing: .14em;
    color: #d8dce4;
}

.orbit-note i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.note-design {
    top: 42px;
    right: 36px;
}

.note-build {
    left: 4px;
    bottom: 92px;
}

.note-build i {
    background: var(--purple);
    box-shadow: 0 0 12px var(--purple);
}

.note-move {
    right: 24px;
    bottom: 8px;
}

.note-move i {
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.about-marquee {
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0a0d11;
}

.about-marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: aboutMarquee 28s linear infinite;
}

.about-marquee span {
    font: 700 15px "Space Grotesk";
    letter-spacing: .13em;
    white-space: nowrap;
}

.about-marquee b {
    color: var(--green);
    font-size: 20px;
}

@keyframes aboutMarquee {
    to {
        transform: translateX(-35%);
    }
}

.studio-story {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 100px;
    padding-top: 140px;
    padding-bottom: 140px;
}

.studio-story h2,
.principles-heading h2,
.approach-copy h2 {
    font-size: clamp(42px, 4.5vw, 64px);
}

.story-copy {
    max-width: 565px;
}

.story-copy p {
    color: #969da9;
    font-size: 17px;
    line-height: 1.75;
}

.story-copy .story-large {
    color: #e5e7ec;
    font: 500 27px/1.35 "Space Grotesk";
    letter-spacing: -.035em;
    margin-bottom: 25px;
}

.principles {
    border-top: 1px solid var(--line);
}

.principles-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.principle-card {
    position: relative;
    min-height: 290px;
    padding: 30px 32px 24px;
    border-right: 1px solid var(--line);
}

.principle-card:first-child {
    border-left: 1px solid var(--line);
}

.principle-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #69707d;
    font-size: 13px;
}

.principle-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 55px;
}

.principle-card h3 {
    font: 600 25px "Space Grotesk";
    letter-spacing: -.04em;
    margin-bottom: 10px;
}

.principle-card p {
    color: #9096a2;
    font-size: 15px;
    max-width: 265px;
}

.approach {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 80px;
}

.approach-art {
    min-height: 440px;
    padding: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(155, 85, 255, .34);
    border-radius: 18px;
    background: radial-gradient(circle at 75% 15%, rgba(155, 85, 255, .27), transparent 32%), radial-gradient(circle at 20% 85%, rgba(38, 215, 255, .18), transparent 28%), #0c0e15;
}

.approach-window {
    width: min(100%, 440px);
    transform: rotate(-4deg);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 11px;
    overflow: hidden;
    background: #10131d;
    box-shadow: 20px 25px 50px rgba(0, 0, 0, .4);
}

.window-bar {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
}

.window-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6d7480;
}

.window-bar span:nth-child(2) {
    background: var(--green);
}

.window-bar small {
    margin-left: auto;
    color: #8e94a0;
    font-size: 10px;
}

.window-content {
    min-height: 260px;
    padding: 38px;
    background: radial-gradient(circle at 80% 72%, rgba(200, 255, 50, .32), transparent 21%);
}

.window-content p {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.window-content strong {
    display: block;
    margin-top: 22px;
    font: 600 43px/.95 "Space Grotesk";
    letter-spacing: -.07em;
}

.window-content em {
    color: #bd84ff;
    font-style: normal;
}

.window-lines {
    display: flex;
    gap: 7px;
    margin-top: 30px;
}

.window-lines i {
    height: 4px;
    width: 58px;
    background: rgba(255, 255, 255, .22);
    border-radius: 5px;
}

.window-lines i:first-child {
    width: 90px;
    background: var(--cyan);
}

.approach-copy>p:not(.eyebrow) {
    color: #969da9;
    font-size: 17px;
    line-height: 1.7;
    margin: 25px 0;
}

.approach-list {
    display: grid;
    gap: 11px;
}

.approach-list span {
    color: #d5d8df;
    font-size: 15px;
}

.approach-list b {
    display: inline-block;
    width: 33px;
    color: var(--green);
    font-size: 12px;
}

.about-contact {
    display: grid;
    grid-template-columns: 1.1fr .8fr auto;
    align-items: center;
    gap: 45px;
    margin-top: 20px;
    margin-bottom: 100px;
    padding: 54px;
    border: 1px solid rgba(200, 255, 50, .35);
    border-radius: 16px;
    background: radial-gradient(circle at 86% 45%, rgba(200, 255, 50, .2), transparent 22%), radial-gradient(circle at 22% 45%, rgba(155, 85, 255, .2), transparent 35%), #0d1016;
}

.about-contact h2 {
    font-size: clamp(44px, 4.7vw, 66px);
}

.about-contact>p {
    color: #a2a8b3;
    max-width: 295px;
    font-size: 18px;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-top: 1px solid var(--line);
}

.about h2 {
    font-family: "Space Grotesk";
    font-size: 55px;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.about-copy>p {
    font-size: 18px;
    color: #aeb2bd;
    max-width: 520px;
}

.about-stats {
    display: flex;
    gap: 45px;
    margin-top: 50px;
}

.about-stats div {
    display: grid;
}

.about-stats strong {
    font: 700 42px "Space Grotesk";
    color: var(--green);
}

.about-stats span {
    font-size: 14px;
    color: #777d88;
    text-transform: uppercase;
}

.contact {
    padding-top: 35px;
    padding-bottom: 35px;
}

.contact-inner {
    min-height: 220px;
    border: 1px solid #4b3568;
    border-radius: 14px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 30px;
    background: radial-gradient(circle at 80% 50%, rgba(200, 255, 50, 0.17), transparent 25%),
        radial-gradient(circle at 30% 50%, rgba(155, 85, 255, 0.2), transparent 35%), #0d0e1a;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
}

.contact h2 {
    font: 600 55px/1 "Space Grotesk";
    letter-spacing: -0.055em;
}

.contact-inner>p {
    color: #969ba8;
    font-size: 18px;
    max-width: 310px;
}

/* Blog styles */
.blog-list .section-intro h2 {
    font-size: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.post-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 18px 20px 22px;
}

.post-meta {
    display: block;
    font-size: 13px;
    color: #8b909c;
    margin-bottom: 8px;
}

.post-card h3 {
    font-family: "Space Grotesk";
    font-size: 18px;
    margin: 6px 0 10px;
}

.post-card p {
    color: #9da3b0;
    font-size: 15px;
    margin-bottom: 12px;
}

.read-more {
    color: var(--green);
    font-weight: 700;

}

/* Blog post detail */
.post-hero {
    position: relative;
     margin-top: 5rem;
}

.post-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.post-hero-overlay {
    position: absolute;
    left: 6%;
    bottom: 18px;
    color: var(--text);
    max-width: 720px;
}

.post-hero-overlay h1 {
    font-family: "Space Grotesk";
    font-size: clamp(28px, 4.5vw, 56px);
    margin: 8px 0;
}

.post-body .section-inner {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 36px;
}

.post-content h2 {
    margin-top: 8px;
}

.post-content p,
.post-content li {
    color: #b8bdc9;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.post-content .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.post-side .author-card {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.post-side img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.related a {
    display: block;
    color: #aeb2bd;
    margin-bottom: 8px;
}

.post-content figure {
    margin: 18px 0;
}

.post-content figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.related-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-item a {
    color: #aeb2bd;
    font-size: 15px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 25%, #d9ff6c, #6f9724 30%, #151c0b 72%);
    color: #060807;
    font: 700 16px "Space Grotesk";
    letter-spacing: -.08em;
}

@media (max-width: 1000px) {
    .posts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-body .section-inner {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 700px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-body .section-inner {
        grid-template-columns: 1fr;
    }

    .post-hero img {
        height: 260px;
    }
}

.contact-page {
    padding: 100px 0 80px;
}

.contact-page-inner {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-copy h1 {
    font-family: "Space Grotesk";
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    margin: 18px 0 24px;
    max-width: 520px;
}

.contact-copy p {
    color: #b0b4bf;
    font-size: 17px;
    max-width: 520px;
}

.contact-info {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.contact-info a,
.contact-info span {
    color: #a2a6b0;
    font-size: 16px;
    display: inline-block;
}

.contact-form {
    display: grid;
    gap: 18px;
    background: #0d0e1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.form-field {
    display: grid;
    gap: 10px;
}

.form-field span {
    font-size: 18px;
    color: #7f8696;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    background: #090b10;
    border: 1px solid #262a33;
    border-radius: 14px;
    color: var(--text);
    padding: 18px 16px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(200, 255, 50, 0.1);
}

.form-error {
    color: #ff6b6b;
    font-size: 13px;
}

.contact-form button {
    width: fit-content;
}

.form-success {
    margin-top: 10px;
    color: var(--green);
    font-size: 14px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.form-success.visible {
    opacity: 1;
    max-height: 80px;
}

.footer {
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
    padding: 55px 0 25px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.2fr;
    gap: 30px;
    border-top: 1px solid var(--line);
    position: relative;
}

.footer-brand p {
    color: #737985;
    font-size: 16px;
    max-width: 230px;
    margin: 18px 0;
}

.footer h4 {
    position: relative;
    font-size: 18px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
}

.footer>div:not(.footer-brand):not(.footer-bottom) a,
.footer>div:not(.footer-brand):not(.footer-bottom) span {
    display: block;
    font-size: 18px;
    color: #a2a6b0;
    margin: 9px 0;
}

.footer>div:not(.footer-brand):not(.footer-bottom) a {
    position: relative;
    padding-left: 18px;
}

.footer>div:not(.footer-brand):not(.footer-bottom) a::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 15px;
    color: var(--green);
    transform: translateY(-50%);
}

.footer>div:not(.footer-brand):not(.footer-bottom) a:hover {
    color: var(--green);
}

.socials {
    display: flex;
    gap: 7px;
}

.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid #353941;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #aaa;
}

.footer-bottom {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #8b909c;
    font-size: 14px;
    margin-top: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #c8ff32;
    cursor: pointer;
}

.menu-toggle:hover span {
    background: var(--green);
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 85, 255, 0.07), transparent 65%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    margin-top: 1rem;
    transform: none;
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.24s;
}

@keyframes float {

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

    50% {
        transform: translateY(-12px) rotate(8deg);
    }
}

@media (max-width: 1000px) {
    .nav {
        gap: 18px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 130px;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .trusted {
        margin-top: 0;
    }

    .service-strip {
        grid-template-columns: 1fr 1fr;
    }

    .section-intro {
        grid-column: 1/-1;
    }

    .work-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-three {
        grid-column: 1/-1;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 45px;
    }

    .process-line {
        display: none;
    }

    .contact-inner {
        grid-template-columns: 1fr 1fr;
    }

    .contact-inner .btn {
        justify-self: start;
    }

    .contact-page-inner {
        grid-template-columns: 1fr;
    }

    .contact-page {
        padding: 120px 0 60px;
    }

    .contact-form {
        padding: 28px;
    }

    .footer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .site-header {
        height: 68px;
    }

    .site-header-inner {
        width: calc(100% - 30px);
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .menu-toggle span {
        width: 22px;
        height: 1px;
        background: #fff;
        transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
    }

    .menu-toggle.open span {
        background: var(--green);
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #090b10;
        border: 1px solid var(--line);
        padding: 20px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: max-height 0.35s ease, opacity 0.35s ease;
    }

    .nav.open {
        max-height: 490px;
        opacity: 1;
    }

    .section {
        width: calc(100% - 30px);
        padding: 75px 0;
    }

    .contact-page {
        padding: 90px 0 50px;
    }

    .contact-page-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .contact-copy h1 {
        font-size: 42px;
    }

    .contact-form button {
        width: 100%;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-visual {
        height: 340px;
    }

    .laptop {
        width: 390px;
        height: 245px;
        right: -30px;
    }

    .screen-title {
        font-size: 30px;
        margin-top: 35px;
    }

    .phone {
        width: 90px;
        height: 180px;
    }

    .phone-left {
        left: 0;
        top: 100px;
    }

    .phone-right {
        right: -5px;
        top: 160px;
    }

    .orb-one {
        width: 280px;
        height: 280px;
        right: 8%;
    }

    .orb-two {
        width: 250px;
        height: 250px;
    }

    .trusted {
        display: block;
    }

    .trusted div {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 15px;
    }

    .service-strip {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .work-grid,
    .pricing-grid,
    .process-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .project-three {
        grid-column: auto;
    }

    .project-art {
        height: 280px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }

    .section-heading h2,
    .section-intro h2 {
        font-size: 30px;
    }

    .process-grid {
        gap: 30px;
    }

    .about {
        gap: 35px;
    }

    .about h2 {
        font-size: 43px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact h2 {
        font-size: 45px;
    }

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

    .footer-brand {
        grid-column: 1/-1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 1000px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 125px;
    }

    .about-orbit {
        justify-self: center;
    }

    .studio-story,
    .approach {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .studio-story {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .story-copy {
        max-width: 670px;
    }

    .about-contact {
        grid-template-columns: 1fr 1fr;
    }

    .about-contact .btn {
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .about-hero {
        min-height: auto;
        padding-top: 105px;
        padding-bottom: 72px;
    }

    .about-hero h1 {
        font-size: 55px;
    }

    .about-lead {
        font-size: 16px;
    }

    .about-orbit {
        height: 300px;
        max-width: 340px;
    }

    .orbit-ring-one {
        width: 260px;
        height: 260px;
    }

    .orbit-ring-two {
        width: 190px;
        height: 290px;
    }

    .orbit-core {
        width: 104px;
        height: 104px;
    }

    .orbit-core span {
        font-size: 32px;
    }

    .orbit-note {
        font-size: 10px;
    }

    .note-design {
        top: 14px;
        right: 5px;
    }

    .note-build {
        left: -3px;
        bottom: 66px;
    }

    .note-move {
        right: 0;
        bottom: 0;
    }

    .about-marquee {
        padding: 14px 0;
    }

    .about-marquee-track {
        gap: 22px;
    }

    .about-marquee span {
        font-size: 12px;
    }

    .studio-story {
        padding-top: 78px;
        padding-bottom: 78px;
        gap: 34px;
    }

    .studio-story h2,
    .principles-heading h2,
    .approach-copy h2 {
        font-size: 42px;
    }

    .story-copy .story-large {
        font-size: 22px;
    }

    .principles-heading {
        display: block;
        margin-bottom: 32px;
    }

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

    .principle-card,
    .principle-card:first-child {
        min-height: 0;
        padding: 27px 25px;
        border-left: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .principle-icon {
        margin-bottom: 32px;
    }

    .approach {
        gap: 36px;
    }

    .approach-art {
        min-height: 330px;
        padding: 24px;
    }

    .window-content {
        min-height: 220px;
        padding: 30px;
    }

    .window-content strong {
        font-size: 35px;
    }

    .about-contact {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 55px;
        padding: 32px 26px;
    }

    .about-contact h2 {
        font-size: 48px;
    }
}

/* Terms & Conditions / legal page */
.legal-hero {
    max-width: 820px;
    padding-top: 165px;
    padding-bottom: 10px;
}

.legal-hero h1 {
    font-family: "Space Grotesk";
    font-size: clamp(42px, 5.6vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin: 4px 0 18px;
}

.legal-updated {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.legal-intro {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 640px;
}

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.legal-toc a {
    font-size: 14px;
    font-weight: 600;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
    color: var(--green);
    border-color: var(--green);
}

.legal-content {
    padding-top: 30px;
}

.legal-content article {
    max-width: 820px;
}

.legal-content h2 {
    font-family: "Space Grotesk";
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -0.03em;
    color: var(--text);
    scroll-margin-top: 100px;
    margin: 46px 0 16px;
}

.legal-content article>h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--green);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 700px) {
    .legal-hero {
        padding-top: 120px;
    }

    .legal-intro {
        font-size: 16px;
    }

    .legal-toc a {
        font-size: 13px;
        padding: 8px 14px;
    }

    .legal-content h2 {
        margin-top: 36px;
    }
}

/* Home page refinements */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
}

.proof-avatars {
    display: flex;
    padding-left: 7px;
}

.proof-avatars i {
    width: 29px;
    height: 29px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    border: 2px solid #090b10;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8ff32, #619719);
    color: #101407;
    font: 700 10px "Space Grotesk";
    font-style: normal;
}

.proof-avatars i:nth-child(2) {
    background: linear-gradient(135deg, #d18aff, #7540be);
    color: #fff;
}

.proof-avatars i:nth-child(3) {
    background: linear-gradient(135deg, #49dffa, #16788e);
    color: #07171c;
}

.hero-proof p {
    display: grid;
    gap: 1px;
}

.hero-proof strong {
    color: #e4e6eb;
    font-size: 18px;
    font-weight: bold;
}

.hero-proof span {
    color: #7f8591;
    font-size: 16px;
}

.project {
    position: relative;
}

.project::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 25%);
    opacity: 0;
    transition: opacity .35s ease;
}

.project:hover::before {
    opacity: 1;
}

.project:hover .project-art {
    transform: scale(1.025);
}

.project-art {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.project-type {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 2;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(5, 6, 9, .48);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.ecommerce-art .project-type {
    border-color: rgba(0, 0, 0, .18);
    background: rgba(255, 255, 255, .55);
    color: #202020;
}

.motion-art .project-type {
    color: var(--green);
    border-color: rgba(200, 255, 50, .3);
}

.featured {
    overflow: hidden;
    transform: translateY(-9px);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 26px 60px rgba(155, 85, 255, .32);
}

.popular-plan {
    position: absolute;
    top: 17px;
    right: -32px;
    width: 126px;
    padding: 5px 0;
    transform: rotate(42deg);
    background: var(--purple);
    color: #fff;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.monthly .price-btn {
    transition: transform .25s ease, box-shadow .25s ease;
}

.monthly .price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(155, 85, 255, .26);
}

@media (max-width: 700px) {
    .hero-proof {
        margin-top: 30px;
    }

    .hero-proof span {
        max-width: 220px;
    }

    .featured {
        transform: none;
    }

    .featured:hover {
        transform: translateY(-5px);
    }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 200;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
    box-shadow: 0 0 12px rgba(200, 255, 50, .35);
    transition: width .1s linear;
}

/* Trusted-by marquee */
.trusted-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trusted-track {
    display: flex;
    gap: 45px;
    width: max-content;
    align-items: center;
    color: #777b85;
    animation: trustedMarquee 24s linear infinite;
}

.trusted-track:hover {
    animation-play-state: paused;
}

.trusted-track b {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes trustedMarquee {
    to {
        transform: translateX(-50%);
    }
}

/* Stats band */
.stats-band {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.stat-item {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 1px solid var(--line);
}

.stat-item:first-child {
    border-left: none;
}

.stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 700;
}

.stat-item strong {
    display: block;
    font-family: "Space Grotesk";
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    background: linear-gradient(160deg, #14171f, #0a0c11);
    border: 1px solid var(--card-line);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transition: transform .3s ease, border-color .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, .32);
}

.testimonial-card .quote-mark {
    font-family: "Space Grotesk";
    font-size: 46px;
    line-height: 1;
    color: var(--green);
    font-style: normal;
}

.testimonial-card p {
    margin: 12px 0 26px;
    color: #c3c7d1;
    font-size: 15px;
    line-height: 1.6;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-person i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font: 700 14px "Space Grotesk";
    font-style: normal;
}

.testimonial-person .avatar-green {
    background: linear-gradient(135deg, #c8ff32, #619719);
    color: #101407;
}

.testimonial-person .avatar-purple {
    background: linear-gradient(135deg, #d18aff, #7540be);
    color: #fff;
}

.testimonial-person .avatar-cyan {
    background: linear-gradient(135deg, #49dffa, #16788e);
    color: #07171c;
}

.testimonial-person div {
    display: grid;
    gap: 1px;
}

.testimonial-person strong {
    font-size: 14px;
    color: var(--text);
}

.testimonial-person span {
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .stats-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3) {
        border-left: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

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

@media (max-width: 700px) {
    .trusted-marquee {
        width: 100%;
        margin-top: 15px;
    }

    .stat-item {
        padding: 30px 16px;
    }
}

/* Care & pricing hover */
.price-card {
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .4s ease;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.free:hover {
    border-color: var(--green);
    box-shadow: 0 20px 50px rgba(200, 255, 50, .14);
}

.price-card.yearly:hover {
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(38, 215, 255, .16);
}

.price-icon {
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), background .4s ease;
}

.price-card:hover .price-icon {
    transform: scale(1.12) rotate(-6deg);
}

.price-card li {
    transition: transform .25s ease, color .25s ease;
}

.price-card:hover li:hover {
    transform: translateX(3px);
    color: var(--text);
}

.price-btn {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.price-card.free:hover .price-btn {
    transform: translateY(-2px);
    border-color: var(--green);
    box-shadow: 0 9px 20px rgba(200, 255, 50, .18);
}

.price-card.yearly:hover .price-btn {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(38, 215, 255, .22);
}

/* Khmer locale: Space Grotesk doesn't cover Khmer glyphs */
:lang(km),
:lang(km) * {
    font-family: "Noto Sans Khmer", "Space Grotesk", sans-serif !important;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
}

.lang-switch a {
    padding: 5px 9px;
    border-radius: 5px;
    color: #9297a5;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color .2s ease, background .2s ease;
}

.lang-switch a:hover {
    color: var(--text);
}

.lang-switch a.active {
    color: #0b0d12;
    background: var(--green);
    font-weight: 600;
}

.lang-switch span {
    color: #4a4e57;
}

@media (max-width: 700px) {
    .nav .lang-switch {
        margin-top: 6px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }
}

/* Portfolio page */
.portfolio-hero {
    padding-top: 155px;
    padding-bottom: 40px;
    max-width: 760px;
}

.portfolio-hero h1 {
    font-family: "Space Grotesk";
    font-size: clamp(42px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-top: 10px;
}

.portfolio-hero h1 em {
    font-style: normal;
    color: var(--green);
}

.portfolio-lead {
    color: #9da3b0;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 620px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.filter-pill {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: 0.25s;
}

.filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.filter-pill.active {
    background: var(--green);
    border-color: var(--green);
    color: #050609;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portfolio-card {
    background: linear-gradient(160deg, #14171f, #0a0c11);
    border: 1px solid var(--card-line);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.35s;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.32);
}

.portfolio-card-art {
    height: 160px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
}

.portfolio-card-art.art-green {
    background: radial-gradient(circle at 75% 20%, rgba(200, 255, 50, 0.22), transparent 60%), #10140c;
}

.portfolio-card-art.art-purple {
    background: radial-gradient(circle at 75% 20%, rgba(155, 85, 255, 0.24), transparent 60%), #100c18;
}

.portfolio-card-art.art-cyan {
    background: radial-gradient(circle at 75% 20%, rgba(38, 215, 255, 0.22), transparent 60%), #0a1316;
}

.portfolio-index {
    font-family: "Space Grotesk";
    font-size: 34px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: -0.04em;
}

.portfolio-card-body {
    padding: 22px 24px 26px;
}

.portfolio-card-body h3 {
    font-family: "Space Grotesk";
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-card-body p {
    color: #9da3b0;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.portfolio-card-meta {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: #8b909c;
}

.portfolio-card-meta b {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 2px;
}

.portfolio-empty {
    color: #9da3b0;
    font-size: 16px;
    grid-column: 1/-1;
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 1000px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .portfolio-hero {
        padding-top: 120px;
    }

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