:root {
    color-scheme: dark;
    font-family: "Manrope", "Segoe UI", sans-serif;
    --bg-gradient: radial-gradient(circle at 20% 20%, rgba(124, 86, 255, 0.35), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(86, 230, 255, 0.25), transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(255, 134, 86, 0.35), transparent 60%);
    --surface-glass: rgba(26, 28, 36, 0.65);
    --surface-strong: rgba(18, 19, 25, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f4f7;
    --text-secondary: rgba(244, 244, 247, 0.7);
    --accent: #7d6cff;
    --accent-strong: #5f4aff;
    --accent-soft: rgba(125, 108, 255, 0.18);
    --spacing: clamp(1rem, 1.6vw, 1.5rem);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.3);
    --sidebar-width: clamp(15rem, 18vw, 17rem);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

.glass {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg-gradient), #05060a;
    background-attachment: fixed;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing) * 1.5);
}

.app-shell {
    width: min(1280px, 96vw);
    height: min(880px, 94vh);
    background: var(--surface-glass);
    backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid var(--border-glass);
    border-radius: calc(var(--radius-lg) + 6px);
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.sidebar {
    background: var(--surface-strong);
    display: flex;
    flex-direction: column;
    padding: calc(var(--spacing) * 1.2);
    gap: calc(var(--spacing) * 1.2);
    border-right: 1px solid var(--border-glass);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand__badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    font-weight: 700;
    font-size: 1.1rem;
}

.brand__name {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.brand__role {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sidebar__nav {
    display: grid;
    gap: 0.5rem;
    flex: 1;
}

.nav-item {
    all: unset;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.nav-item .icon {
    font-size: 1.4rem;
}

.nav-item:is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-item.is-active {
    background: var(--accent-soft);
    color: var(--text-primary);
    border: 1px solid rgba(125, 108, 255, 0.35);
}

.sidebar__footer {
    display: grid;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.main {
    position: relative;
    overflow: hidden;
}

.panel {
    position: absolute;
    inset: 0;
    padding: calc(var(--spacing) * 1.4);
    overflow-y: auto;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.panel::-webkit-scrollbar {
    width: 8px;
}

.panel::-webkit-scrollbar-track {
    background: transparent;
}

.panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.panel.is-visible {
    display: block;
}

.hero {
    position: relative;
    display: grid;
    gap: var(--spacing);
    padding: calc(var(--spacing) * 2);
    background: rgba(10, 11, 16, 0.75);
    border-radius: calc(var(--radius-lg) + 6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 108, 255, 0.22), rgba(8, 11, 24, 0.85)),
        url("concept/1bb5fbb4fed304f3df17c59f3218bf7c.jpg") center/cover;
    filter: saturate(130%) contrast(105%);
    opacity: 0.9;
    z-index: 0;
    transform: scale(1.05);
}

.hero__content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    z-index: 1;
}

.hero__meta {
    flex: 1 1 360px;
    max-width: 520px;
}

.hero__stats {
    flex: 0 0 220px;
    display: grid;
    gap: 1rem;
    background: rgba(9, 10, 16, 0.65);
    padding: 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-self: flex-start;
}

.stat__value {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.stat__label {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(125, 108, 255, 0.16);
    color: var(--text-primary);
    font-size: 0.8rem;
}

.hero__title {
    margin: 1.2rem 0 0.6rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.hero__subtitle {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero__actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn {
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    padding: 0.85rem 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

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

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn--ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.35);
}

.home__quick-links {
    margin-top: calc(var(--spacing) * 1.5);
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quick-card {
    background: rgba(12, 13, 20, 0.7);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.7rem;
}

.quick-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.quick-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.chip {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-primary);
}

.chip.is-active {
    background: rgba(125, 108, 255, 0.35);
}

.home__social {
    margin-top: calc(var(--spacing) * 1.8);
}

.home__recommendations {
    margin-top: calc(var(--spacing) * 2);
    background: rgba(12, 13, 20, 0.68);
    border-radius: calc(var(--radius-md) + 4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: calc(var(--spacing) * 1.4);
    display: grid;
    gap: calc(var(--spacing) * 1.2);
}

.recommendations__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.recommendations__header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.recommendations__header p {
    margin: 0.4rem 0 0;
    color: var(--text-secondary);
}

.recommend-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.recommend-card {
    background: rgba(8, 9, 14, 0.78);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: grid;
}

.recommend-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recommend-card__body {
    display: grid;
    gap: 0.6rem;
    padding: 1.1rem;
}

.recommend-card__body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.recommend-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home__social h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-links a {
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(12, 13, 20, 0.7);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
}

.panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.panel__header h1 {
    margin: 0;
    font-size: 1.6rem;
}

.panel__header p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
}

.filters {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.grid {
    display: grid;
    gap: 1.4rem;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-card {
    background: rgba(8, 9, 14, 0.75);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
}

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

.gallery-card__body {
    padding: 1.1rem;
    display: grid;
    gap: 0.65rem;
}

.gallery-card__body h3 {
    margin: 0;
}

.gallery-card__body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.stack {
    display: grid;
    gap: 1.1rem;
}

.favorite {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.1rem;
    background: rgba(12, 13, 20, 0.72);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    align-items: center;
}

.favorite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.favorite__category {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.favorite__body h3 {
    margin: 0.25rem 0;
}

.favorite__body p {
    margin: 0;
    color: var(--text-secondary);
}

.favorite__actions {
    display: grid;
    gap: 0.6rem;
}

.download-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.download-card {
    background: rgba(10, 11, 16, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.4rem;
    display: grid;
    gap: 0.9rem;
}

.download-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.download-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    display: grid;
    gap: 0.35rem;
}

.download-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.settings-form {
    display: grid;
    gap: 1.5rem;
}

fieldset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    background: rgba(12, 13, 20, 0.65);
}

legend {
    padding: 0 0.4rem;
    font-weight: 600;
}

.toggle {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.toggle:last-child {
    margin-bottom: 0;
}

.toggle input {
    display: none;
}

.toggle__indicator {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background 0.3s ease;
}

.toggle__indicator::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    transition: transform 0.3s ease;
}

.toggle input:checked + .toggle__indicator {
    background: var(--accent);
}

.toggle input:checked + .toggle__indicator::after {
    transform: translateX(20px);
}

.select select,
.text-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
}

.text-field {
    display: grid;
    gap: 0.4rem;
}

.settings-form__actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .app-shell {
        grid-template-columns: 1fr;
        height: auto;
    }

    .sidebar {
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
    }

    .brand {
        min-width: 180px;
    }

    .sidebar__nav {
        display: flex;
        flex-direction: row;
        gap: 0.6rem;
    }

    .nav-item {
        padding: 0.65rem 1rem;
    }

    .sidebar__footer {
        display: none;
    }

    .panel {
        position: relative;
        padding: calc(var(--spacing) * 1.2);
    }
}

@media (max-width: 720px) {
    body {
        padding: 1rem;
    }

    .app-shell {
        width: 100%;
    }

    .hero__content {
        flex-direction: column;
    }

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

    .favorite__actions {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* ------------------------------------------------------------------ */
/* New light portfolio layout */

:root {
    --yellow: #f7b500;
    --yellow-dark: #d79700;
    --gray-50: #f9f7f4;
    --gray-100: #f0ede9;
    --gray-400: #9b9590;
    --gray-600: #4c4a47;
    --gray-900: #1f1b19;
    --shadow-soft: 0 18px 30px rgba(0, 0, 0, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", "Space Grotesk", "Segoe UI", sans-serif;
    background: url("photos/urban.jpeg") center/cover fixed;
    color: var(--gray-900);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.page-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 70px;
    min-height: 100vh;
    background: transparent;
}

.sidebar-left {
    background: transparent;
    border-right: 1px solid var(--gray-100);
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
}

.profile-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.profile-card__avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-soft);
}

.profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__body h1 {
    margin: 0.4rem 0;
    font-size: 1.8rem;
}

.profile-card__body span {
    color: var(--yellow-dark);
}

.role {
    margin: 0 0 1rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.main-nav {
    display: grid;
    gap: 0.6rem;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link::after {
    content: "↗";
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:is(:hover, :focus-visible),
.nav-link.is-active {
    background: rgba(247, 181, 0, 0.15);
    color: var(--gray-900);
}

.nav-link.is-active::after,
.nav-link:is(:hover, :focus-visible)::after {
    opacity: 1;
    transform: translateX(0);
}

.content {
    padding: 3.5rem clamp(2rem, 5vw, 4rem);
    background: transparent;
}

.section {
    background: var(--glass-bg);
    border-radius: var(--radius-xl);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2.5rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero__text h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin: 0.4rem 0 0.8rem;
    font-family: "Space Grotesk", sans-serif;
}

.hero__text h2 span {
    color: var(--yellow-dark);
}

.lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.hero__cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero__stats {
    display: flex;
    gap: 1.2rem;
}

.hero__stats article {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    text-align: center;
}

.stat__value {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
}

.stat__label {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.hero__portrait {
    justify-self: center;
    text-align: center;
}

.circle-frame {
    width: clamp(220px, 30vw, 320px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 14px solid var(--yellow);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin: 0 auto 1.2rem;
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.hero__icons li {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-100);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.section__header {
    margin-bottom: 1.4rem;
}

.section__header h2 {
    margin: 0.2rem 0 0.6rem;
}

.section__header p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--yellow-dark);
    font-size: 0.75rem;
    margin: 0;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.about__grid article {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.about__grid h3 {
    margin-top: 0;
}

.about__grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.about__grid li {
    color: var(--gray-600);
    line-height: 1.5;
}

.about__grid li span {
    font-weight: 600;
    color: var(--gray-900);
}

.about__stats {
    display: grid;
    gap: 0.5rem;
    color: var(--gray-600);
}

.resume__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.timeline li {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    border-left: 4px solid var(--yellow);
}

.timeline__title {
    margin: 0;
    font-weight: 600;
}

.timeline__meta {
    margin: 0.1rem 0 0.6rem;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.timeline__desc {
    margin: 0;
    color: var(--gray-600);
}

.section__lead {
    margin: 0.4rem 0 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.gallery__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.chip {
    border-radius: 999px;
    border: 1px solid var(--gray-100);
    padding: 0.35rem 0.95rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #fff;
    color: var(--gray-600);
}

.chip--free {
    border-color: rgba(68, 191, 125, 0.35);
    color: #1f7a4a;
    background: rgba(68, 191, 125, 0.08);
}

.chip--paid {
    border-color: rgba(215, 151, 0, 0.35);
    color: var(--yellow-dark);
    background: rgba(247, 181, 0, 0.1);
}

.chip--watermark {
    border-color: rgba(90, 96, 125, 0.3);
    color: var(--gray-600);
    background: rgba(90, 96, 125, 0.12);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
}

.photo-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.photo-card.is-free {
    border-top: 4px solid rgba(68, 191, 125, 0.8);
}

.photo-card.is-paid {
    border-top: 4px solid var(--yellow-dark);
    background: rgba(247, 181, 0, 0.05);
}

.photo-card__media {
    position: relative;
}

.photo-card__media img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.photo-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fff;
    color: var(--gray-900);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge--paid {
    background: var(--gray-900);
    color: #fff;
}

.photo-card__watermark {
    position: absolute;
    bottom: 0.8rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.photo-card__body {
    padding: 1.1rem 1.2rem 0.4rem;
}

.photo-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.photo-card__meta {
    margin: 0.4rem 0 0;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.photo-card__actions {
    margin-top: auto;
    padding: 0.8rem 1.2rem 1.3rem;
    display: grid;
    gap: 0.5rem;
}

.photo-card__credit {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.gallery__cta {
    margin-top: 1.8rem;
    padding: 1.5rem 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.gallery__cta p {
    margin: 0;
    color: var(--gray-600);
    flex: 1 1 220px;
}

.gallery__cta-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.presets__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.preset-card {
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.7rem;
}

.preset-card.is-free {
    border-top: 4px solid rgba(68, 191, 125, 0.8);
}

.preset-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--gray-600);
}

.preset-card li {
    margin-bottom: 0.25rem;
}

.preset-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
}

.preset-card.is-premium {
    border-color: rgba(247, 181, 0, 0.35);
    background: rgba(247, 181, 0, 0.08);
}

.preset-card.is-premium h3 {
    color: var(--yellow-dark);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    border-left: 4px solid var(--yellow);
    min-height: 160px;
}

.testimonial__quote {
    margin: 0 0 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.testimonial__author {
    margin: 0;
    font-weight: 600;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contact__grid article {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-family: inherit;
}

.btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.85rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn--primary {
    background: var(--yellow);
    color: #fff;
}

.btn--primary:hover {
    background: var(--yellow-dark);
}

.btn--ghost {
    border: 1px solid var(--gray-200, #e2dfdb);
    color: var(--gray-600);
    background: transparent;
}

.btn--dark {
    background: var(--gray-900);
    color: #fff;
}

.sidebar-right {
    border-left: 1px solid var(--gray-100);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 25rem;
    height: calc(100vh - 45rem);
    padding: 1rem 0;
    align-self: start;
}

.sidebar-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.sidebar-right a {
    width: 46px;
    align-self: flex-start;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.1rem;
    background: var(--gray-50);
    color: var(--gray-900);
    transition: background 0.2s ease;
}

.sidebar-right a:hover,
.sidebar-right a.is-active {
    background: var(--yellow);
    color: #fff;
}

:is(.app-shell, .sidebar, .panel, .hero, .section, .quick-card, .home__recommendations,
    .recommend-card, .gallery-card, .photo-card, .favorite, .download-card, .preset-card,
    .testimonial-card, .contact__grid article, .profile-card, .sidebar-left, .sidebar-right,
    .main-nav, .social-links a, .gallery__cta, .gallery__cta-actions) {
    background-color: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

@media (max-width: 1200px) {
    .page-shell {
        grid-template-columns: 220px 1fr 60px;
    }
}

@media (max-width: 992px) {
    .page-shell {
        grid-template-columns: 1fr;
    }

    .sidebar-left,
    .sidebar-right {
        position: static;
        height: auto;
        border: none;
    }

    .sidebar-left {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .profile-card {
        flex: 1 1 220px;
    }

    .main-nav {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .sidebar-right {
        justify-content: flex-start;
        padding: 1rem;
    }

    .content {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .hero__stats {
        flex-direction: column;
    }

    .section {
        padding: 1.4rem;
    }

    .main-nav {
        grid-template-columns: 1fr;
    }
}
