/* ========================================
   CSS Custom Properties & Theme
   ======================================== */
:root {
    /* Colors - Light */
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0eef5;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a8;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #5b21b6;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --accent-glow-strong: rgba(124, 58, 237, 0.3);
    --card-bg: #ffffff;
    --card-border: rgba(124, 58, 237, 0.08);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 40px rgba(124, 58, 237, 0.15);
    --nav-bg: rgba(250, 250, 250, 0.85);
    --nav-border: rgba(0, 0, 0, 0.06);
    --tag-bg: rgba(124, 58, 237, 0.08);
    --tag-text: var(--accent);
    --particle-color: rgba(124, 58, 237, 0.3);
    --particle-line: rgba(124, 58, 237, 0.08);
    --footer-bg: #1a1a2e;
    --footer-text: #c4c4d4;
    --ring-color: rgba(124, 58, 237, 0.15);
    --scroll-bg: rgba(26, 26, 46, 0.3);
}

[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16162a;
    --text-primary: #e4e4f0;
    --text-secondary: #a4a4c4;
    --text-muted: #6a6a8a;
    --accent: #a78bfa;
    --accent-light: #c4b5fd;
    --accent-dark: #7c3aed;
    --accent-glow: rgba(167, 139, 250, 0.2);
    --accent-glow-strong: rgba(167, 139, 250, 0.35);
    --card-bg: #1e1e36;
    --card-border: rgba(167, 139, 250, 0.1);
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 12px 40px rgba(167, 139, 250, 0.15);
    --nav-bg: rgba(15, 15, 26, 0.9);
    --nav-border: rgba(255, 255, 255, 0.06);
    --tag-bg: rgba(167, 139, 250, 0.12);
    --tag-text: var(--accent-light);
    --particle-color: rgba(167, 139, 250, 0.4);
    --particle-line: rgba(167, 139, 250, 0.1);
    --footer-bg: #0a0a14;
    --footer-text: #8888a8;
    --ring-color: rgba(167, 139, 250, 0.2);
    --scroll-bg: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Base Reset & Typography
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent); }

.section {
    padding: 100px 0;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* ========================================
   Particle Canvas
   ======================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Cursor Glow Effect
   ======================================== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        circle,
        var(--accent-glow-strong) 0%,
        var(--accent-glow) 30%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: normal;
    will-change: left, top;
}

.cursor-glow.active {
    opacity: 1;
}

@media (hover: none) {
    .cursor-glow { display: none; }
}

/* ========================================
   Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav__logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: var(--accent);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--accent);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--accent-glow-strong);
}

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

.theme-toggle {
    background: none;
    border: 2px solid var(--card-border);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.theme-toggle .fa-sun {
    position: absolute;
    opacity: 0;
    transform: rotate(90deg) scale(0);
    transition: all 0.4s ease;
}

.theme-toggle .fa-moon {
    transition: all 0.4s ease;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.nav__toggle, .nav__close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 88px;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__greeting {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.hero__name {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero__title {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 2.5rem;
}

.typed-cursor {
    font-weight: 300;
    color: var(--accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--accent-glow-strong);
    background: var(--accent-dark);
}

.btn--outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn--outline:hover {
    background: var(--accent-glow);
    transform: translateY(-3px);
}

.hero__socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* Hero Image */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid var(--card-bg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero__image-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px dashed var(--ring-color);
    animation: spin-slow 20s linear infinite;
}

.hero__image-ring--2 {
    width: 320px;
    height: 320px;
    border-style: dotted;
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator__mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--scroll-bg);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator__wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ========================================
   About Section
   ======================================== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__illustration {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.about__lottie {
    width: 100%;
    max-width: 420px;
    height: 320px;
    margin: 0 auto;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.about__text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   Tech Stack Section
   ======================================== */
.stack {
    background: var(--bg-tertiary);
    transition: background 0.4s ease;
}

.stack__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.stack__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: var(--card-shadow);
}

.stack__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent);
}

.stack__icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 8px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
    border: 1px solid var(--card-border);
}

/* Ensure Wix logo remains visible in both themes */
.stack__icon[alt="Wix"] {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    padding: 10px;
}

.stack__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.25;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Lead Magnet + Offer Section
   ======================================== */
.lead-magnet {
    background: var(--bg-secondary);
}

.lead-magnet__card {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--card-bg)), var(--card-bg));
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.lead-magnet__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.lead-magnet__title {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin-bottom: 10px;
}

.lead-magnet__text {
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 18px;
}

.lead-magnet__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.lead-magnet__micro {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.offer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 28px;
}

.offer-card,
.trust-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 30px;
}

.offer-card {
    height: 100%;
}

.offer-card__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.offer-card__title,
.trust-panel__title {
    font-size: 1.25rem;
    margin-bottom: 14px;
    line-height: 1.35;
}

.offer-card__desc {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.7;
}

.offer-card__subhead {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 20px 0 14px;
}

.offer-card__list,
.trust-panel__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 12px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.offer-card__list--checks {
    list-style: none;
    padding-left: 0;
}

.offer-card__list--checks li {
    position: relative;
    padding-left: 26px;
}

.offer-card__list--checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.offer-card__cta {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    color: var(--accent);
}

.offer__helper {
    margin-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.trust-panel--featured {
    margin-top: 18px;
    border: 2px solid color-mix(in srgb, var(--accent) 48%, var(--card-border));
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card-bg)), var(--card-bg));
}

.trust-panel__quote {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--card-border);
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Industries + Fit + Contact
   ======================================== */
.industries__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}

.industry-chip {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

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

.fit-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.fit-card__title {
    margin-bottom: 12px;
}

.fit-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
}

.fit-card--yes {
    border-color: color-mix(in srgb, #2db84d 35%, var(--card-border));
}

.fit-card--no {
    border-color: color-mix(in srgb, #d95050 32%, var(--card-border));
}

.contact-form {
    max-width: 920px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 26px;
    display: grid;
    gap: 14px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--card-border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.hidden-field {
    display: none;
}

.contact-form__success {
    display: none;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, #2db84d 45%, var(--card-border));
    background: color-mix(in srgb, #2db84d 14%, var(--card-bg));
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-form__success.show {
    display: block;
}

/* ========================================
   Projects Section
   ======================================== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.projects__grid {
    display: grid;
    gap: 24px;
}

.projects__grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
}

.projects__grid--featured .project-card {
    width: 327px;
}

.projects__grid--featured .project-card__image {
    aspect-ratio: 327 / 437;
    height: 437px;
}

.projects__grid--other {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.other-projects__columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.other-projects__col {
    width: 362px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.other-projects {
    margin-top: 64px;
}

.other-projects__title {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    max-width: 840px;
    line-height: 1.35;
}

.other-projects__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
    transform-style: preserve-3d;
}

.project-card.is-hidden {
    display: none;
}

.project-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-8px);
}

.other-project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.other-project-card--shape-a,
.other-project-card--shape-b,
.other-project-card--shape-c {
    border-radius: 20px;
}

.other-project-card__link {
    display: block;
    width: 100%;
    height: 100%;
}

.other-project-card--h251 { height: 251px; }
.other-project-card--h300 { height: 300px; }
.other-project-card--h360 { height: 360px; }
.other-project-card--h411 { height: 411px; }

.other-project-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.other-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}


.project-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(91, 33, 182, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__view-btn {
    padding: 14px 36px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transform: translateY(12px);
    opacity: 0;
}

.project-card:hover .project-card__view-btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.project-card__view-btn:hover {
    background: #fff;
    color: var(--accent-dark);
    border-color: #fff;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.project-card__content {
    padding: 24px;
}

.project-card__content--compact {
    padding: 14px 16px 16px;
}

.project-card__content--compact .project-card__title {
    font-size: 1rem;
    margin-bottom: 4px;
}

.project-card__content--compact .project-card__description {
    font-size: 0.82rem;
    margin-bottom: 0;
}

.project-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.project-card__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: transform 0.2s ease, color 0.2s ease;
}

.project-card__cta:hover {
    color: var(--accent-dark);
    transform: translateX(2px);
}

.project-card__cta-mobile {
    display: none;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--tag-bg);
    color: var(--tag-text);
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--footer-bg);
    padding: 48px 0 24px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    color: var(--footer-text);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--accent-light);
}

.footer__bottom {
    text-align: center;
    color: var(--footer-text);
    font-size: 0.85rem;
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .scroll-indicator {
        display: none;
    }

    .offer__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fit__grid,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .projects__grid--featured .project-card {
        width: 100%;
        max-width: 327px;
    }

    .projects__grid--featured .project-card__image {
        height: auto;
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__description {
        margin: 0 auto 32px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__socials {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__image-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero__portrait {
        width: 160px;
        height: 160px;
    }

    .hero__image-ring {
        width: 210px;
        height: 210px;
    }

    .hero__image-ring--2 {
        width: 250px;
        height: 250px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about__stats {
        justify-content: center;
    }

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

    .projects__grid--featured,
    .projects__grid--other {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .other-projects__columns {
        flex-wrap: wrap;
    }
}


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

    .lead-magnet__card,
    .offer-card,
    .trust-panel {
        padding: 20px;
    }

    .projects__grid--featured,
    .projects__grid--other {
        grid-template-columns: 1fr;
    }

    .other-projects__columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .other-projects__col {
        width: 100%;
        gap: 16px;
    }

    .other-project-card--h251,
    .other-project-card--h300,
    .other-project-card--h360,
    .other-project-card--h411 {
        height: auto;
    }

    /* On mobile, show CTA under tags for featured cards */
    .projects__grid--featured .project-card__overlay {
        display: none;
    }

    .projects__grid--featured .project-card__cta-mobile {
        display: inline-flex;
        margin-top: 14px;
    }

    /* Mobile Nav */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        padding: 80px 32px 32px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        z-index: 200;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 24px;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .nav__toggle, .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 1.5rem;
    }

    .footer__top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .stack__item {
        padding: 16px 10px;
        min-height: 126px;
        gap: 10px;
        border-radius: 14px;
    }

    .stack__icon {
        width: 46px;
        height: 46px;
        padding: 6px;
        border-radius: 10px;
    }

    .stack__icon[alt="Wix"] {
        padding: 6px;
    }

    .stack__name {
        font-size: 0.72rem;
        min-height: 2.6em;
    }

    .about__stats {
        gap: 20px;
    }

    .lead-magnet__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-magnet__micro {
        font-size: 0.8rem;
    }
}
