@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-400.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-500.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-600.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-700.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-800.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}

:root {
    --brand-blue: #3b82f6;
    --brand-blue-hover: #2563eb;
    --brand-blue-light: #eff6ff;
    --brand-blue-border: #bfdbfe;
    --brand-dark: #0f172a;
    --brand-muted: #475569;
    --brand-text: #0f172a;
    --brand-bg: #f8fafc;
    --brand-surface: rgba(255, 255, 255, 0.9);
    --brand-purple-light: #ede9fe;
    --accent: #0ea5e9;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #0ea5e9;
    --info-light: #e0f2fe;
    --gray-50: #f8fafc;
    --gray-100: #e2e8f0;
    --gray-200: #cbd5e1;
    --gray-300: #94a3b8;
    --gray-500: #64748b;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border-radius-full: 9999px;
    --border-radius-sm: 0.375rem;
    --transition-all: all 0.2s ease;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --brand-purple: #9333ea;
    --brand-darker: #0f172a;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scrollbar-color: var(--brand-blue) var(--brand-bg);
    scrollbar-width: thin;
    overflow-x: hidden;
}

/* Webkit scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--brand-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 5px;
    border: 2px solid var(--brand-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue-hover);
}
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}
.bg-light {
    background-color: var(--brand-bg);
}
.text-brand-text {
    color: var(--brand-text);
}
.bg-brand-blue {
    background-color: var(--brand-blue);
}
.container,
.container-large {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
.section {
    position: relative;
    padding: 6rem 0;
}
.page-main {
    background-color: var(--brand-bg);
}
.section-overflow {
    overflow: hidden;
}
.section-container {
    position: relative;
    z-index: 1;
}
.section-header-lg {
    margin-bottom: 6rem;
}
.section-pill-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand-muted);
    text-transform: uppercase;
}
.pill-status-purple {
    background: rgba(147,51,234,0.06);
    border-color: rgba(233,213,255,0.8);
}
.pill-status-green {
    background: rgba(16,185,129,0.08);
    border-color: rgba(167,243,208,0.8);
}
.pill-status-yellow {
    background: rgba(245,159,11,0.08);
    border-color: rgba(254,243,199,0.9);
}
.status-icon {
    width: 1rem;
    height: 1rem;
    color: var(--brand-purple);
    margin-right: 0.5rem;
}
.text-brand-purple {
    color: var(--brand-purple);
}
.text-brand-blue {
    color: var(--brand-blue);
}
.text-brand-dark {
    color: var(--brand-darker);
}
.text-small-semibold {
    font-size: 0.875rem;
    font-weight: 600;
}
.gtm-noscript-frame {
    display: none;
    visibility: hidden;
}
.min-height-80vh {
    min-height: 80vh;
}
.badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    margin-right: 0.5rem;
    display: inline-block;
    flex-shrink: 0;
}
.badge-dot--green { background-color: var(--success); }
.badge-dot--blue { background-color: var(--brand-blue); }
.badge-dot--yellow { background-color: var(--warning); }
.badge-label {
    margin-right: 0.25rem;
}
.section-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--brand-darker);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}
.section-hero-title-small {
    font-size: clamp(2.5rem, 5vw, 4rem);
}
.hero-highlight {
    position: relative;
    display: inline-block;
}
.text-gradient-success {
    background: linear-gradient(135deg, var(--success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-purple {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glow-svg {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -0.75rem;
    height: 12px;
    opacity: 0.8;
}
.glow-svg-green { color: var(--success); }
.glow-svg-yellow { color: #fbbf24; }
.glow-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--brand-blue-border), transparent);
    margin: 0 auto;
}
.glow-line-yellow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fcd34d, transparent);
    margin: 0 auto;
}
.section-description-lg {
    font-size: 1.1rem;
    color: var(--brand-muted);
    max-width: 44rem;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}
.section-pill-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}
.section-pill-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
    background: white;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-darker);
    text-decoration: none;
    transition: var(--transition-all);
    box-shadow: var(--shadow-sm);
}
.section-pill-link:hover {
    color: var(--success);
    border-color: var(--success);
}
.section-pill-link--blue:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.section-pill-link--purple:hover {
    color: var(--brand-purple);
    border-color: var(--brand-purple);
}
.section-pill-link span {
    color: var(--brand-muted);
    font-size: 0.7rem;
    margin-right: 0.5rem;
    font-weight: 800;
}
.section-pill-link svg {
    width: 12px;
    height: 12px;
    margin-left: 0.5rem;
}
.section-browse {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--brand-muted);
    margin-bottom: 3rem;
}
.section-browse span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-browse .animated-glow-line,
.section-browse .animated-glow-line-yellow {
    margin: 0 auto;
}
.container-small {
    max-width: 48rem;
}
.section-subtitle-block {
    margin-bottom: 2.5rem;
}
.section-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-darker);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.text-muted-sm {
    color: var(--brand-muted);
    font-size: 0.95rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-dark);
}
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    background: white;
    outline: none;
    transition: var(--transition-all);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    font-size: 0.95rem;
}
.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.textarea-control {
    resize: vertical;
    min-height: 180px;
}
.form-note {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    font-size: 0.75rem;
    color: var(--brand-muted);
}
.btn-primary-gradient {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.4);
    transition: var(--transition-all);
    transform: translateY(0);
}
.btn-primary-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -8px rgba(147, 51, 234, 0.6);
}
.btn-primary-gradient:disabled {
    opacity: 0.7;
    cursor: wait;
}
.btn-icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.5rem;
    transform: rotate(90deg);
}
.btn-spinner {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    animation: spin 1s linear infinite;
}

.btn-primary-gradient.loading .btn-icon {
    display: none;
}

.btn-primary-gradient.loading .btn-spinner {
    display: inline-block;
}

.btn-primary-gradient.loading:hover {
    transform: translateY(0);
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}



.header-right-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 70px;
}

@media (max-width: 767px) {
    .header-right-controls {
        position: static;
        margin-right: 0.5rem;
    }
}
.section-bg-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.svg-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.blob-purple-top-right {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -40px;
    background: rgba(147,51,234,0.07);
    filter: blur(70px);
}
.blob-blue-bottom-left {
    width: 240px;
    height: 240px;
    bottom: -50px;
    left: -40px;
    background: rgba(59,130,246,0.06);
    filter: blur(70px);
}
.blob-purple-bottom-left {
    width: 350px;
    height: 350px;
    bottom: -80px;
    left: -60px;
    background: rgba(59,130,246,0.07);
}
.pt-\[60px\] {
    padding-top: 60px;
}
.w-full {
    width: 100%;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.rounded-md {
    border-radius: 0.375rem;
}
.shadow-lg {
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}
.text-white {
    color: white;
}
.font-bold {
    font-weight: 700;
}
.scroll-smooth {
    scroll-behavior: smooth;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.focus\:absolute:focus {
    position: absolute;
}
.focus\:left-4:focus {
    left: 1rem;
}
.focus\:top-4:focus {
    top: 1rem;
}
.focus\:outline-none:focus {
    outline: none;
}
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
}
.focus\:ring-brand-blue:focus {
    box-shadow: 0 0 0 2px var(--brand-blue);
}
.focus\:ring-offset-2:focus {
    outline-offset: 2px;
}
.z-\[100\] {
    z-index: 100;
}
.btn-freetool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    color: white;
    background-color: var(--brand-blue);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-all);
    border: none;
    text-decoration: none;
    cursor: pointer;
}
.btn-freetool:hover {
    background-color: #2563eb;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    border-radius: 32px;
    padding: 2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px -15px rgba(15, 23, 42, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}
.gs-feature {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-swiper,
.swiper {
    position: relative;
    width: 100%;
}
.swiper-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}
.swiper-slide {
    flex: 0 0 auto;
    width: min(280px, 100%);
}
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.gallery-pagination-custom {
    margin-top: 1rem;
}
.glightbox {
    display: block;
    color: inherit;
    text-decoration: none;
}
.gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 20px 60px -25px rgba(0, 0, 0, 0.12);
}
.gallery-card .gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    color: white;
}
.gallery-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}
.gallery-caption {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}
.animated-glow-line,
.animated-glow-line-yellow,
.animated-glow-svg,
.animated-glow-svg-yellow {
    position: absolute;
    pointer-events: none;
}
.section-desc {
    color: var(--brand-muted);
    max-width: 38rem;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.75;
}
.bg-grid-pattern {
    background-color: var(--brand-bg);
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}
.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #fb923c);
    -webkit-background-clip: text;
    color: transparent;
}
.gs-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-number {
    font-variant-numeric: tabular-nums;
}
.section-bg-arcs,
.section-bg-diag-lines,
.section-bg-dot-grid,
.section-bg-features,
.section-bg-portfolio,
.section-bg-testimonials,
.section-blob,
.section-blob-amber-bc,
.section-blob-blue-bl,
.section-blob-purple-tr {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.section-bg-arcs {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08), transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.06), transparent 18%);
}
.section-bg-diag-lines {
    background-image: repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 20px);
}
.section-bg-dot-grid {
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}
.section-bg-features {
    background-image:
        linear-gradient(0deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
}
.section-bg-portfolio {
    background-image:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 20%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.08), transparent 25%);
    z-index: 0;
}
.section-bg-portfolio .section-bg-dot-grid,
.section-bg-portfolio .section-blob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.section-bg-portfolio .section-bg-dot-grid {
    opacity: 0.55;
}
.section-bg-portfolio .section-blob {
    opacity: 0.5;
}
.section-bg-testimonials {
    background-image:
        radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 30%),
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.06), transparent 20%);
}
.section-blob-amber-bc {
    background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.25), transparent 45%);
}
.section-blob-blue-bl {
    background: radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.18), transparent 40%);
}
.section-blob-purple-tr {
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.14), transparent 45%);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.bg-blob {
    position: fixed;
    border-radius: var(--border-radius-full);
    pointer-events: none;
    z-index: -10;
}
.bg-blob-top {
    top: -10%;
    left: -10%;
    width: 384px;
    height: 384px;
    background-color: rgba(109, 158, 235, 0.1);
    filter: blur(100px);
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition-all);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6b9dff 0%, #437cff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(67, 124, 255, 0.4);
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.logo-link:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(67, 124, 255, 0.6);
}

.logo-text {
    background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.desktop-nav {
    display: none;
    gap: 2.25rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .header-right-controls {
        display: flex;
    }
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-muted);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-blue);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
.nav-link:hover {
    color: var(--brand-dark);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
    border-radius: var(--border-radius-sm);
}

.header-cta-wrapper {
    display: none;
}

@media (min-width: 768px) {
    .header-cta-wrapper {
        display: flex;
        align-items: center;
    }
}

.btn-primary-dark {
    background-color: var(--brand-darker);
    color: white;
    padding: 10px 28px;
    border-radius: var(--border-radius-full);
    font-size: 15px;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

.btn-primary-dark:hover {
    background-color: var(--gray-800);
    transform: scale(1.05);
}

.btn-primary-dark:active {
    transform: scale(0.95);
}

.btn-primary-dark:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue), 0 0 0 4px var(--brand-surface);
}

.mobile-menu-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn-wrapper {
        display: none;
    }
}

.mobile-menu-btn {
    color: var(--brand-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.04);
    cursor: pointer;
    border-radius: 0.75rem;
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.12);
    transform: scale(1.05);
}

.mobile-menu-btn:hover::before {
    opacity: 1;
}

.mobile-menu-btn:active {
    transform: scale(0.98);
}

.mobile-menu-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.mobile-menu-btn svg {
    height: 24px;
    width: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.no-scroll {
    overflow: hidden;
}

/* BUG FIX: removed duplicate display:none — .hidden now correctly controls visibility */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1rem;
    min-height: 100vh;
    overflow-y: auto;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-panel {
    width: min(92vw, 420px);
    background-color: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 90vh;
    overflow-y: auto;
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.mobile-nav-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-text);
    margin: 0;
}

.mobile-nav-close {
    background: rgba(15, 23, 42, 0.06);
    border: none;
    color: var(--brand-text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-nav-close:active {
    transform: scale(0.95);
}

.mobile-nav-close:hover {
    color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.12);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.mobile-nav.hidden {
    display: none;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-text);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.12);
    transform: translateX(4px);
}

.mobile-nav-link:hover::before {
    opacity: 1;
}

.mobile-nav-link:active {
    transform: translateX(2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 1rem 0;
    overflow: hidden;
}

.hero-bg-circle-right {
    position: absolute;
    top: 0;
    right: -10%;
    width: 800px;
    height: 800px;
    pointer-events: none;
    opacity: 0.15;
    display: none;
}
@media (min-width: 768px) { .hero-bg-circle-right { display: block; } }

.hero-bg-circle-left {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 600px;
    height: 600px;
    pointer-events: none;
    opacity: 0.2;
    display: none;
}
@media (min-width: 768px) { .hero-bg-circle-left { display: block; } }

.bg-blob-hero-right {
    position: absolute;
    top: 10%;
    right: 25%;
    width: 384px;
    height: 384px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}
.bg-blob-hero-left {
    position: absolute;
    bottom: 20%;
    left: 25%;
    width: 384px;
    height: 384px;
    background-color: rgba(249, 115, 22, 0.05);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-content {
    text-align: center;
    max-width: 800px; /* 4xl */
    margin: 0 auto;
    z-index: 10;
    position: relative;
    width: 100%;
}

.hero-shape {
    position: absolute;
    display: none;
}
@media (min-width: 1024px) { .hero-shape { display: block; } }

.hero-shape-1 {
    left: -3rem; top: 2.5rem;
    width: 3rem; height: 3rem;
    border: 1.5px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    transform: rotate(12deg);
}
.hero-shape-2 {
    right: 3rem; top: 8rem;
    width: 26px; height: 26px;
    border: 1.5px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.5rem;
    transform: rotate(-12deg);
}
.hero-shape-3 {
    left: -5rem; bottom: 8rem;
    width: 14px; height: 14px;
    background-color: rgba(249, 115, 22, 0.2);
    border-radius: 50%;
}
.hero-shape-4 {
    right: -4rem; bottom: 2.5rem;
    width: 18px; height: 18px;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
}

.hero-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 1rem;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
}
.badge-founder {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    border-color: var(--brand-blue-border);
}
.badge-dot-blue {
    width: 6px; height: 6px;
    border-radius: 50%;
    background-color: var(--brand-blue);
}
.badge-wphappybox {
    background-color: var(--warning-light);
    color: #f97316;
    border-color: #fed7aa;
}
.badge-icon {
    width: 14px; height: 14px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .hero-title { font-size: 84px; }
}

.hero-title-accent {
    color: #84a9e9;
}

.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: inline; } }

.hero-description {
    font-size: 1.125rem;
    color: var(--brand-muted);
    margin: 0 auto 3rem;
    max-width: 800px;
    line-height: 1.625;
}
@media (min-width: 768px) {
    .hero-description { font-size: 19px; }
}
.fw-bold { font-weight: 700; color: var(--brand-text); }

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
}
@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

.hero-btn {
    width: 100%;
    padding: 15px 34px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
@media (min-width: 640px) {
    .hero-btn { width: auto; }
}

.hero-btn svg { width: 1rem; height: 1rem; }

.btn-primary {
    background-color: var(--brand-blue);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}
.btn-primary:active {
    transform: translateY(0) scale(0.97);
}
.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-dark), 0 0 0 4px white;
}

.btn-outline {
    background-color: white;
    color: var(--brand-dark);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.08);
}
.btn-outline:active {
    transform: translateY(0) scale(0.97);
}
.btn-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue), 0 0 0 4px white;
}

.stats-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
    border-radius: 28px;
    padding: 2.5rem 1.5rem;
    max-width: 850px;
    margin: 0 auto 4rem;
    width: 100%;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .stat-item:not(:first-child) {
        border-left: 1px solid rgba(243, 244, 246, 0.8);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.stat-icon-wrapper svg {
    width: 24px;
    height: 24px;
}
.bg-blue-light { background-color: var(--brand-blue-light); color: var(--brand-blue); }
.bg-orange-light { background-color: var(--warning-light); color: #f97316; }

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section-header {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 1rem;
    border-radius: 9999px;
    border: 1px solid var(--brand-blue-border);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
}
@media (min-width: 768px) {
    .section-title { font-size: 44px; }
}

.section-description {
    color: var(--brand-muted);
    max-width: 36rem;
    margin: 0 auto 2rem auto;
    font-size: 15px;
    line-height: 1.625;
}

.section-header-lg {
    margin-bottom: 6rem;
}

.section-title-xl {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--brand-darker);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient-text-green {
    background: linear-gradient(135deg, var(--success), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient-text-yellow {
    background: linear-gradient(135deg, var(--warning), #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-heading-wrapper {
    position: relative;
    display: inline-block;
}

.animated-glow-svg,
.animated-glow-svg-yellow {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -0.75rem;
    height: 12px;
    pointer-events: none;
    opacity: 0.8;
}

.animated-glow-svg-blue {
    color: var(--brand-blue-border);
}

.animated-glow-svg-green {
    color: rgba(16, 185, 129, 0.7);
}

.animated-glow-svg-yellow {
    color: #fbbf24;
}

.nav-pill-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
    background: white;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-darker);
    text-decoration: none;
    transition: var(--transition-all);
    box-shadow: var(--shadow-sm);
}

.nav-pill:hover,
.nav-pill:focus-visible {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.nav-pill-icon {
    width: 12px;
    height: 12px;
    margin-left: 0.5rem;
}

.pill-text {
    margin-right: 0.25rem;
}

.browse-block-compact {
    margin-bottom: 3rem;
}

.nav-pill-purple:hover,
.nav-pill-purple:focus-visible {
    color: var(--brand-purple);
    border-color: rgba(147, 51, 234, 0.8);
}

.nav-pill-green:hover,
.nav-pill-green:focus-visible {
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.85);
}

.nav-pill-yellow:hover,
.nav-pill-yellow:focus-visible {
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.85);
}

.nav-pill-label {
    color: var(--brand-muted);
    font-size: 0.7rem;
    margin-right: 0.5rem;
    font-weight: 800;
}

.section-pill-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot-blue {
    background-color: var(--brand-blue);
}

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

.status-dot-yellow {
    background-color: var(--warning);
}

.browse-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--brand-muted);
}

.browse-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.browse-divider {
    width: 1px;
    height: 40px;
}

.browse-divider-blue {
    background: linear-gradient(to bottom, var(--brand-blue-border), transparent);
}

.browse-divider-green {
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.45), transparent);
}

.browse-divider-yellow {
    background: linear-gradient(to bottom, #fcd34d, transparent);
}

.relative-wrapper {
    position: relative;
}

.page-bg-soft {
    background-color: var(--brand-bg);
}

.section-hero-pad {
    padding: 6rem 0;
}

.section-hero-relative {
    position: relative;
    overflow: hidden;
}

.section-overlay-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-page-section {
    overflow: hidden;
}
.about-page-section > .container,
.about-page-section > .container-large {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Profile Bento Grid Section
   ========================================================================== */
.profile-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    width: 100%;
}
@media (min-width: 992px) {
    .profile-bento-grid {
        grid-template-columns: 4fr 6fr;
        grid-template-rows: auto auto;
    }
}

.bento-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(147, 51, 234, 0.03) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Image Item */
.bento-image-item {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}
@media (min-width: 992px) {
    .bento-image-item {
        grid-row: span 2;
        min-height: 100%;
    }
}
.bento-profile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-image-item:hover .bento-profile-img {
    transform: scale(1.03);
}
.bento-image-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%);
    padding: 4rem 2rem 2rem;
    color: white;
}
.bento-profile-name {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: white;
    letter-spacing: -0.02em;
}
.bento-profile-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-sm {
    padding: 5px 0.75rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    text-transform: uppercase;
}
.badge-sm-blue {
    background-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(4px);
}
.badge-sm-orange {
    background-color: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.4);
    backdrop-filter: blur(4px);
}

/* Bio Item */
.bento-bio-item {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-bio-item .profile-text {
    position: relative;
    z-index: 1;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}
.bento-bio-item .profile-text p {
    margin-bottom: 1.25rem;
}
.bento-bio-item .profile-text p:last-child {
    margin-bottom: 0;
}

/* Social Item */
.bento-social-item {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-social-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-blue);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background-color: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}
.social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}
.social-link:hover {
    transform: translateY(-4px) scale(1.05);
}
.social-link-fb:hover {
    color: var(--brand-blue);
    background-color: #eff6ff;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.25);
    border-color: #bfdbfe;
}
.social-link-tw:hover {
    color: black;
    background-color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--gray-300);
}
.social-link-ig:hover {
    color: #db2777;
    background-color: #fdf2f8;
    box-shadow: 0 10px 20px -5px rgba(219, 39, 119, 0.25);
    border-color: #fbcfe8;
}
.social-link-li:hover {
    color: #0077b5;
    background-color: #f0f9ff;
    box-shadow: 0 10px 20px -5px rgba(0, 119, 181, 0.25);
    border-color: #bae6fd;
}
.social-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-link:hover svg {
    transform: scale(1.1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
}
.gallery-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
}
.gallery-nav {
    display: flex;
    gap: 0.5rem;
}
.gallery-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background-color: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s, background-color 0.2s;
    cursor: pointer;
}
.gallery-nav-btn:hover {
    color: var(--brand-dark);
    background-color: var(--gray-50);
}
.gallery-nav-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}
.gallery-nav-btn svg {
    width: 1rem;
    height: 1rem;
}

.gallery-btn-next,
.gallery-btn-prev {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background-color: white;
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-all);
    cursor: pointer;
}

.gallery-btn-next:hover,
.gallery-btn-prev:hover {
    background-color: var(--brand-blue-light);
    border-color: var(--brand-blue-border);
}

.gallery-swiper {
    overflow: hidden;
    padding-bottom: 0.5rem;
}

.gallery-swiper .swiper-wrapper {
    gap: 0;
}

.gallery-swiper .swiper-slide {
    width: auto;
}

.gallery-card {
    height: 320px;
}

.gallery-card .gallery-img {
    height: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.pagination-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--gray-300);
    transition: background-color 0.2s;
    cursor: pointer;
    border: none;
    padding: 0;
}
.pagination-dot:hover {
    background-color: #9ca3af;
}
.pagination-dot.active {
    width: 18px;
    background-color: var(--brand-blue);
    border-radius: 9999px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}
@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.feature-card-accent {
    position: absolute;
    left: 0;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 3px;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feature-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--brand-muted);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.feature-card-line {
    width: 24px;
    height: 2px;
    border-radius: 9999px;
}

/* Specific Feature Colors */
.fc-1 .feature-card-accent, .fc-1 .feature-card-line { background-color: var(--accent); }
.fc-1 .feature-icon-wrapper { background-color: var(--brand-blue-light); color: var(--accent); }

.fc-2 .feature-card-accent, .fc-2 .feature-card-line { background-color: var(--success); }
.fc-2 .feature-icon-wrapper { background-color: var(--success-light); color: var(--success); }

.fc-3 .feature-card-accent, .fc-3 .feature-card-line { background-color: var(--warning); }
.fc-3 .feature-icon-wrapper { background-color: var(--warning-light); color: var(--warning); }

.fc-4 .feature-card-accent, .fc-4 .feature-card-line { background-color: #a78bfa; }
.fc-4 .feature-icon-wrapper { background-color: var(--brand-purple-light); color: #a78bfa; }

.fc-5 .feature-card-accent, .fc-5 .feature-card-line { background-color: var(--danger); }
.fc-5 .feature-icon-wrapper { background-color: var(--danger-light); color: var(--danger); }

.fc-6 .feature-card-accent, .fc-6 .feature-card-line { background-color: var(--info); }
.fc-6 .feature-icon-wrapper { background-color: var(--info-light); color: var(--info); }

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.project-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    background-color: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}
@media (min-width: 768px) {
    .project-card { flex-direction: row; }
    .project-card.reverse { flex-direction: row-reverse; }
}

.project-content {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
@media (min-width: 768px) {
    .project-content {
        width: 50%;
        padding: 3rem 2.5rem;
    }
}
@media (min-width: 1024px) {
    .project-content { padding: 3.5rem 3rem; }
}

.project-arrow-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    background-color: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
}
@media (min-width: 768px) {
    .project-arrow-btn {
        top: 2.5rem;
        right: 2.5rem;
    }
}
.project-arrow-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}

.project-number-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: var(--gray-300);
}
.project-number {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.project-line {
    height: 1px;
    background-color: var(--gray-100);
    flex-grow: 1;
}

.project-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
@media (min-width: 1024px) {
    .project-title { font-size: 2.25rem; }
}

.project-subtitle {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
    color: var(--brand-muted);
}

.project-description {
    color: var(--brand-muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    padding-right: 0;
}

.project-features {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    column-gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 13px;
    color: var(--brand-muted);
    font-weight: 500;
}
@media (min-width: 640px) {
    .project-features { grid-template-columns: repeat(2, 1fr); }
}

.project-feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.project-feature-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
}
.project-feature-icon svg {
    width: 10px;
    height: 10px;
}

.project-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
@media (min-width: 640px) {
    .project-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

.btn-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-all);
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-width: 220px;
}
.btn-project:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
}
.btn-project:active {
    transform: scale(0.95);
}
.btn-project svg {
    width: 1rem;
    height: 1rem;
}

.project-trust-badge {
    display: inline-flex;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.project-image-side {
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 350px;
    background-color: transparent;
}
@media (min-width: 768px) {
    .project-image-side {
        width: 50%;
        padding: 2.5rem;
    }
}
.project-img {
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 420px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.mac-dots {
    position: absolute;
    top: 1.5rem;
    display: flex;
    gap: 0.375rem;
}
.mac-dots.right { right: 1.5rem; }
.mac-dots.left { left: 1.5rem; }

.mac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray-300);
}

/* Specific Project Styles */
/* Project 1: Blue */
.proj-1 .project-arrow-btn { color: var(--brand-blue); }
.proj-1 .project-arrow-btn:hover { background-color: var(--brand-blue-light); border-color: var(--brand-blue-border); }
.proj-1 .project-subtitle { color: var(--brand-blue); }
.proj-1 .project-feature-icon { border-color: var(--brand-blue-border); color: var(--brand-blue); }
.proj-1 .btn-project { background-color: var(--brand-blue); box-shadow: 0 8px 20px rgba(59,130,246,0.25); }
.proj-1 .btn-project:hover { background-color: #2563eb; box-shadow: 0 8px 25px rgba(59,130,246,0.35); }
.proj-1 .project-trust-badge { border-color: var(--brand-blue-border); background-color: var(--brand-blue-light); color: var(--brand-blue); }
.proj-1 .project-image-side { background-color: #f0f9ff; }
.proj-1 .project-img { box-shadow: 0 15px 50px rgba(59,130,246,0.15); }

/* Project 2: Dark Gray (#202020) */
.proj-2 .project-arrow-btn { color: #202020; }
.proj-2 .project-arrow-btn:hover { background-color: #f3f4f6; border-color: #e5e7eb; }
.proj-2 .project-subtitle { color: #202020; }
.proj-2 .project-feature-icon { border-color: #e5e7eb; color: #202020; }
.proj-2 .btn-project { background-color: #202020; box-shadow: 0 8px 20px rgba(32,32,32,0.25); }
.proj-2 .btn-project:hover { background-color: #111111; box-shadow: 0 8px 25px rgba(32,32,32,0.35); }
.proj-2 .project-trust-badge { border-color: #e5e7eb; background-color: #f9fafb; color: #202020; }
.proj-2 .project-image-side { background-color: #f4f4f5; }
.proj-2 .project-img { box-shadow: 0 15px 50px rgba(32,32,32,0.15); }

/* ==========================================================================
   Free Tools Section
   ========================================================================== */
.freetools-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--brand-bg);
    position: relative;
    border-top: 1px solid var(--gray-100);
}

.freetools-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.freetools-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}
@media (min-width: 768px) {
    .freetools-title { font-size: 2.75rem; }
}

.freetools-desc {
    color: var(--brand-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 42rem;
    margin: 0 auto;
}

.freetools-stack {
    display: flex;
    flex-direction: column;
    /* BUG FIX: was hard 6rem — crushes mobile */
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
}

.freetool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 48rem;
    width: 100%;
}

.freetool-header {
    margin-bottom: 2rem;
}

.freetool-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.freetool-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--brand-blue);
}

.freetool-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    border: 1px solid var(--brand-blue-border);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.freetool-subtitle {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.freetool-description {
    color: var(--gray-500);
    font-size: 0.9375rem; /* 15px */
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto;
}

.freetool-mockup-container {
    width: 100%;
    margin-bottom: 2rem;
}

.mockup-browser {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
}

.mockup-topbar {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mockup-dots {
    display: flex;
    gap: 0.375rem;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.mockup-addressbar {
    width: 40%;
    max-width: 250px;
    height: 1rem;
    background-color: white;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

.freetool-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 2rem;
}

.freetool-feature {
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--gray-200);
    background-color: white;
    color: var(--gray-500);
    font-size: 0.6875rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition-all);
}
.freetool-feature:hover {
    border-color: var(--gray-300);
    color: var(--brand-dark);
}

/* Reusing .btn-project for the Visit button */

/* ==========================================================================
   New Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #f8fafc; /* light background just in case, but using bg-grid-pattern */
    position: relative;
    overflow: hidden;
}

.testi-header-area {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testi-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .testi-title { font-size: 2.75rem; }
}

.testi-desc {
    color: var(--brand-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0 auto;
}

.testi-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding: 2rem 0;
    max-width: 56rem;
    margin: 0 auto;
}

/* Faint connecting line behind cards */
.testi-stack::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gray-200), transparent);
    transform: translateX(-50%);
    z-index: 0;
}

.testi-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    max-width: 40rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.testi-card.left-align {
    align-self: flex-start;
}

.testi-card.right-align {
    align-self: flex-end;
}

.testi-floating-icon {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.testi-floating-icon svg {
    width: 12px;
    height: 12px;
}

/* Floating positions */
.testi-card.left-align .testi-floating-icon {
    top: -14px;
    left: -14px;
}
.testi-card.right-align .testi-floating-icon {
    top: -14px;
    right: -14px;
}

/* Colors */
.testi-floating-icon.blue, .testi-avatar.blue { background-color: #3b82f6; }
.testi-floating-icon.purple, .testi-avatar.purple { background-color: #a855f7; }
.testi-floating-icon.red, .testi-avatar.red { background-color: #ef4444; }
.testi-floating-icon.green, .testi-avatar.green { background-color: #10b981; }

.testi-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.testi-stars .star {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.testi-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--brand-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.testi-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
}

.testi-author-info {
    display: flex;
    flex-direction: column;
}

.testi-name {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.testi-role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.testi-action {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.testi-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background-color: transparent;
    color: var(--brand-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-all);
    border: 1px solid var(--gray-200);
}
.testi-action-btn:hover {
    background-color: var(--gray-100);
    color: var(--brand-dark);
}
.testi-action-btn svg {
    width: 16px;
    height: 16px;
    color: var(--brand-blue);
}

/* ==========================================================================
   New Footer Section
   ========================================================================== */
.site-footer {
    background-color: #f8fafc; /* Very light gray */
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
}

.footer-brand-col {
    max-width: 24rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
}

.footer-desc {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-all);
    border: 1px solid var(--gray-200);
}

.social-circle:hover {
    background-color: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}

.social-circle svg {
    width: 16px;
    height: 16px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-all);
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copy {
    color: var(--gray-400);
    font-size: 0.8125rem;
}

.footer-copy span.heart {
    color: #ef4444;
}

/* BUG FIX: was always visible, no .show rule existed */
.scroll-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease,
                opacity 0.3s ease,
                visibility 0.3s ease;
    text-decoration: none;
    /* Hidden by default — JS adds .show */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* BUG FIX: This .show class was referenced in JS but never defined in CSS */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background-color: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}

.scroll-top-btn svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Noise Overlay (Premium Tactile Feel)
   ========================================================================== */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Replaced Tailwind Utility Classes */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.pill-status-blue {
    background: rgba(59,130,246,0.08);
    border-color: rgba(191,219,254,0.8);
}

.nav-pill-blue {
    color: var(--brand-blue);
    background-color: rgba(59,130,246,0.1);
}


.section-description.section-description-lg { margin-bottom: 3rem; }


/* ==========================================================================
   BUG FIXES & REMAINING POLISH — Appended
   ========================================================================== */

/* --------------------------------------------------------------------------
   FIX 1: text-gradient — add unprefixed background-clip (was missing)
   -------------------------------------------------------------------------- */
.text-gradient {
    background: linear-gradient(100deg, #3b82f6 15%, #f97316 85%);
    -webkit-background-clip: text;
    background-clip: text;           /* ← was missing in original */
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --------------------------------------------------------------------------
   FIX 2: Image fade-in on load — prevents layout pop for lazy images
   -------------------------------------------------------------------------- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.45s ease;
}
img[loading="lazy"].img-loaded {
    opacity: 1;
}
/* Fallback: images that fail to load or have no JS */
img[loading="lazy"].img-error {
    opacity: 0.3;
}

/* --------------------------------------------------------------------------
   FIX 3: Background pattern slow-drift animations
   Subtle parallax feel without any JS
   -------------------------------------------------------------------------- */
@keyframes drift-diag {
    0%   { transform: translateX(0)  translateY(0); }
    50%  { transform: translateX(8px) translateY(-8px); }
    100% { transform: translateX(0)  translateY(0); }
}
@keyframes drift-dot {
    0%   { transform: scale(1)    translateX(0); }
    50%  { transform: scale(1.03) translateX(-6px); }
    100% { transform: scale(1)    translateX(0); }
}
@keyframes pulse-blob {
    0%, 100% { transform: scale(1);    opacity: 0.07; }
    50%       { transform: scale(1.12); opacity: 0.10; }
}

.section-bg-diag-lines {
    animation: drift-diag 18s ease-in-out infinite;
    will-change: transform;
}
.section-bg-dot-grid {
    animation: drift-dot 22s ease-in-out infinite;
    will-change: transform;
}
.section-blob-purple-tr {
    animation: pulse-blob 14s ease-in-out infinite;
}
.bg-blob-hero-right {
    animation: pulse-blob 16s ease-in-out infinite;
}
.bg-blob-hero-left {
    animation: pulse-blob 20s ease-in-out 2s infinite;
}

/* Hero decorative circles — very slow counter-rotation */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.hero-bg-circle-right svg circle:first-child {
    transform-origin: center;
    animation: spin-slow 60s linear infinite;
}

/* --------------------------------------------------------------------------
   FIX 4: Gallery pagination — aria-label hint for screen readers
   (CSS can't add aria, but we style the wrapper for screen-reader context)
   -------------------------------------------------------------------------- */
.gallery-pagination-custom {
    role: "group";  /* hint — actual aria fix is in JS */
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   FIX 5: Project image side hover gradient shift
   -------------------------------------------------------------------------- */
.proj-1 .project-image-side {
    transition: background 0.5s ease;
}
.proj-1 .project-card:hover .project-image-side {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.proj-2 .project-image-side {
    transition: background 0.5s ease;
}
.proj-2 .project-card:hover .project-image-side {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* --------------------------------------------------------------------------
   FIX 6: Mobile section vertical spacing consistency
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
    .section {
        padding-top: clamp(2.5rem, 8vw, 3.5rem);
        padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
    }
    .section-header {
        margin-bottom: clamp(2rem, 6vw, 3rem);
    }
    .freetools-section,
    .testimonials-section {
        padding-top: clamp(2.5rem, 8vw, 3.5rem);
        padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
    }
    /* Stats card — tighter on very small screens */
    .stat-item {
        gap: 0.375rem;
    }
}

/* --------------------------------------------------------------------------
   FIX 7: CSS Variable upgrades (shadow, easing, clamp typography)
   Safe to re-declare — last :root wins
   -------------------------------------------------------------------------- */
:root {
    --shadow-xs:  0 1px 2px rgba(15,23,42,0.04);
    --shadow-sm:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md:  0 4px 12px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg:  0 12px 32px rgba(15,23,42,0.08), 0 4px 8px rgba(15,23,42,0.04);
    --shadow-xl:  0 24px 48px rgba(15,23,42,0.10), 0 8px 16px rgba(15,23,42,0.05);
    --shadow-blue: 0 4px 16px rgba(59,130,246,0.30);
    --shadow-blue-lg: 0 8px 28px rgba(59,130,246,0.38);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   FIX 8: Refined hero typography (clamp)
   -------------------------------------------------------------------------- */
.hero-title {
    font-size: clamp(2.25rem, 7vw, 84px);
    letter-spacing: -0.04em;
    line-height: 1.04;
    font-weight: 800;
}
.hero-description {
    font-size: clamp(1rem, 2vw, 18px);
    line-height: 1.72;
    color: #64748b;
    max-width: 680px;
}
.section-title {
    font-size: clamp(1.75rem, 4.5vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.18;
    font-weight: 800;
}
.section-description {
    font-size: clamp(14px, 1.7vw, 15px);
    line-height: 1.7;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   FIX 9: Navbar refined states
   -------------------------------------------------------------------------- */
.site-header {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    transition: box-shadow 0.3s var(--ease-in-out),
                background-color 0.3s var(--ease-in-out);
}
.site-header.shadow-sm {
    box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
}
.nav-link {
    font-size: clamp(13px, 1.2vw, 14px);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.nav-link::after {
    background: linear-gradient(90deg, var(--brand-blue), #60a5fa);
    height: 1.5px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   FIX 10: Button polish
   -------------------------------------------------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: var(--shadow-blue-lg);
    transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline:active { transform: translateY(0) scale(0.98); }

/* --------------------------------------------------------------------------
   FIX 11: Stats card polish
   -------------------------------------------------------------------------- */
.stats-card {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(226,232,240,0.7);
    box-shadow: 0 8px 32px rgba(15,23,42,0.06), 0 2px 8px rgba(15,23,42,0.04),
                inset 0 1px 0 rgba(255,255,255,0.9);
}
.stat-icon-wrapper { transition: transform 0.3s var(--ease-out-expo); }
.stat-item:hover .stat-icon-wrapper { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   FIX 12: Feature cards
   -------------------------------------------------------------------------- */
.feature-card {
    transition: transform 0.38s var(--ease-out-expo),
                box-shadow 0.38s var(--ease-out-expo),
                border-color 0.22s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(203,213,225,0.7);
}
.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(-3deg);
}

/* --------------------------------------------------------------------------
   FIX 13: Testimonial cards
   -------------------------------------------------------------------------- */
.testi-card {
    transition: transform 0.38s var(--ease-out-expo),
                box-shadow 0.38s var(--ease-out-expo);
}
.testi-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.testi-text {
    color: #334155;
    font-weight: 500;
    line-height: 1.75;
}
.star { filter: drop-shadow(0 1px 2px rgba(245,158,11,0.3)); }

/* --------------------------------------------------------------------------
   FIX 14: Footer scroll-to-top color shift (already in main fix above)
   Selection + focus polish
   -------------------------------------------------------------------------- */
::selection {
    background: rgba(59,130,246,0.18);
    color: #1e40af;
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   FIX 15: Section badge polish
   -------------------------------------------------------------------------- */
.section-badge {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: rgba(191,219,254,0.8);
    box-shadow: 0 1px 3px rgba(59,130,246,0.10), inset 0 1px 0 rgba(255,255,255,0.85);
    font-size: clamp(11px, 1.3vw, 12px);
    letter-spacing: 0.04em;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   FIX 16: Profile card (Hover effects moved to main definition)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   FIX 17: Project cards
   -------------------------------------------------------------------------- */
.project-card {
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo);
    box-shadow: var(--shadow-md);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.project-img { transition: transform 0.5s var(--ease-out-expo); }
.project-card:hover .project-img { transform: scale(1.015); }

/* --------------------------------------------------------------------------
   FIX 18: Gallery cards
   -------------------------------------------------------------------------- */
.gallery-card {
    transition: transform 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo);
}
.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(15,23,42,0.12);
}
.gallery-img { transition: transform 0.55s var(--ease-out-expo); }
.gallery-card:hover .gallery-img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   FIX 19: Social link buttons
   -------------------------------------------------------------------------- */
.social-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   FIX 20: Mockup browser refinement
   -------------------------------------------------------------------------- */
.mockup-browser {
    transition: box-shadow 0.4s var(--ease-out-expo);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(226,232,240,0.8);
}
.freetool-card:hover .mockup-browser {
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(203,213,225,0.8);
}

/* ==========================================================================
   END BUG FIXES & REMAINING POLISH
   ========================================================================== */
/* ==========================================================================
   ABOUT PAGE UNIQUE REDESIGN STYLES
   ========================================================================== */

/* 1. Hero Split */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media (min-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
.hero-split-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-split-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--brand-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}
.hero-split-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.split-nav-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-text);
    transition: all 0.3s ease;
}
.split-nav-link:hover {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}
.hero-split-visual {
    position: relative;
    padding: 2rem;
}
.visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid white;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}
.visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}
.visual-img {
    display: block;
    width: 100%;
    height: auto;
}
.visual-decoration {
    position: absolute;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.vd-1 {
    top: -20px;
    right: -20px;
    padding: 1rem;
    color: var(--brand-blue);
}
.vd-2 {
    bottom: 20px;
    left: -30px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* 2. Terminal Facts */
.terminal-window {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid #334155;
    font-family: 'Fira Code', 'Courier New', monospace;
    margin: 4rem 0;
}
.terminal-header {
    background: #1e293b;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #334155;
}
.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 1.5rem;
}
.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }
.terminal-title {
    color: #94a3b8;
    font-size: 0.875rem;
    flex-grow: 1;
    text-align: center;
}
.terminal-body {
    display: flex;
    min-height: 300px;
}
.terminal-sidebar {
    width: 200px;
    background: #1e293b;
    border-right: 1px solid #334155;
    padding: 1rem 0;
    display: none;
}
@media (min-width: 768px) {
    .terminal-sidebar { display: block; }
}
.ts-folder {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 1rem 0.5rem;
    letter-spacing: 0.05em;
}
.ts-item {
    color: #cbd5e1;
    font-size: 0.875rem;
    padding: 0.4rem 1rem 0.4rem 2rem;
    cursor: pointer;
}
.ts-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-left: 2px solid #3b82f6;
}
.terminal-code {
    flex-grow: 1;
    padding: 2rem;
    color: #f8fafc;
    overflow-x: auto;
}
.terminal-code pre { margin: 0; line-height: 1.6; font-size: 0.95rem; }
.t-comment { color: #64748b; font-style: italic; }
.t-key { color: #38bdf8; }
.t-string { color: #a3e635; }

/* 3. Vertical Timeline */
.timeline-section {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.03), transparent);
}
.editorial-headline {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
}
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}
.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-blue);
    border: 4px solid var(--brand-bg);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
    transform: translateX(11px);
}
.timeline-dot-purple { background: var(--brand-purple); box-shadow: 0 0 0 4px rgba(147,51,234,0.1); }
.timeline-dot-amber { background: var(--warning); box-shadow: 0 0 0 4px rgba(245,159,11,0.1); }
.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-muted);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--brand-blue);
    padding-bottom: 0.25rem;
}
.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.timeline-desc {
    color: var(--brand-muted);
    line-height: 1.7;
}

/* 4. Editorial Beliefs */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media (min-width: 768px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mt-lg {
        margin-top: 6rem;
    }
}
.editorial-item {
    padding: 2rem;
    border-top: 2px solid var(--gray-200);
    transition: border-color 0.3s ease;
}
.editorial-item:hover {
    border-color: var(--brand-blue);
}
.editorial-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.2;
}
.editorial-item:hover .editorial-number {
    opacity: 1;
}
.text-brand-amber { color: var(--warning); }
.text-brand-green { color: var(--success); }
.editorial-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.editorial-desc {
    font-size: 1.125rem;
    color: var(--brand-muted);
    line-height: 1.7;
}

/* 5. Scattered Polaroids */
.polaroid-section {
    background: var(--brand-dark);
    color: white;
    padding: 8rem 0;
    overflow: hidden;
}
.polaroid-section .editorial-headline {
    color: white;
}
.polaroid-desk {
    position: relative;
    height: 650px;
    max-width: 900px;
    margin: 0 auto;
}
.polaroid {
    position: absolute;
    background: white;
    padding: 1rem 1rem 4rem 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0s;
    width: 250px;
    cursor: pointer;
}
.polaroid:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 10;
}
.polaroid-img-box {
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    border-radius: 4px;
}
.polaroid-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    text-align: center;
    color: #1e293b;
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}
.p-1 { left: 10%; top: 50px; transform: rotate(-5deg); z-index: 1; }
.p-2 { left: 40%; top: 100px; transform: rotate(3deg); z-index: 2; }
.p-3 { right: 10%; top: 40px; transform: rotate(-8deg); z-index: 3; }
@media (max-width: 768px) {
    .polaroid-desk { height: 1100px; }
    .p-1 { left: 50%; margin-left: -125px; top: 0; transform: rotate(-2deg); }
    .p-2 { left: 50%; margin-left: -125px; top: 350px; transform: rotate(3deg); }
    .p-3 { left: 50%; margin-left: -125px; top: 700px; transform: rotate(-4deg); }
}
.bg-rose-light { background: #ffe4e6; }
.bg-indigo-light { background: #e0e7ff; }
.bg-amber-light { background: #fef3c7; }
.polaroid-note {
    position: absolute;
    bottom: -2rem;
    right: 10%;
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 2rem;
    color: #94a3b8;
    transform: rotate(-5deg);
}

/* 6. Full Gallery */
.full-masonry-grid {
    column-count: 4;
    column-gap: 0;
    width: 100%;
}
@media (max-width: 1024px) { .full-masonry-grid { column-count: 3; } }
@media (max-width: 768px) { .full-masonry-grid { column-count: 2; } }
@media (max-width: 480px) { .full-masonry-grid { column-count: 1; } }
.full-masonry-item {
    break-inside: avoid;
    display: block;
    overflow: hidden;
    position: relative;
}
.full-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(20%);
}
.full-masonry-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ==========================================================================
   About Page Custom & Redesign Styles
   ========================================================================== */

.about-main-container {
    padding-bottom: 5rem;
    position: relative;
    z-index: 1;
}
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
@media (min-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 380px 1fr;
    }
}
.about-hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-hero-image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}
.about-hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-hero-image-wrapper:hover img {
    transform: scale(1.04);
}
.floating-status-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.floating-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-blue, #3b82f6);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.floating-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-text, #1e293b);
}

.about-section-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 3rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
}
.about-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.06);
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(255, 255, 255, 0.65);
}
/* Paragraph typography for About section cards */
.about-section-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--brand-muted, #475569);
    margin-bottom: 1.25rem;
}
.about-section-card p:last-child {
    margin-bottom: 0;
}
.about-section-card p strong {
    color: var(--brand-text, #0f172a);
    font-weight: 700;
}
.about-section-card p.lead-text {
    font-size: 1.15rem;
    color: var(--brand-text, #0f172a);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.section-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-text, #1e293b);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-headline span {
    color: var(--brand-blue, #3b82f6);
}

.journey-quote {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    color: var(--brand-blue, #3b82f6);
    border-left: 4px solid var(--brand-blue, #3b82f6);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* Redesigned Work Grid (Bento/Masonry style) */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-card.wc-wide-tablet {
        grid-column: span 2;
    }
}
@media (min-width: 992px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .work-card.wc-wide {
        grid-column: span 2;
    }
    .work-card.wc-tall {
        grid-row: span 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .work-card.wc-full {
        grid-column: span 3;
    }
}
.work-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.75rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.work-card:hover {
    transform: translateY(-6px);
}
.work-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.work-card:hover .work-card-accent {
    opacity: 1;
}
.work-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}
.work-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--brand-text, #1e293b);
}
.work-card-desc {
    font-size: 0.875rem;
    color: var(--brand-muted, #64748b);
    line-height: 1.5;
}

/* Color Themes for Bento Cards */
/* 1. Blue (Clean Architecture) */
.work-card.wc-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.work-card.wc-blue:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.08);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.work-card.wc-blue .work-card-accent { background: #3b82f6; }
.work-card.wc-blue .work-card-icon { background: rgba(59, 130, 246, 0.08); color: #3b82f6; }
.work-card.wc-blue:hover .work-card-icon { background: #3b82f6; color: #ffffff; }

/* 2. Orange (Performance) */
.work-card.wc-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.work-card.wc-orange:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.08);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.work-card.wc-orange .work-card-accent { background: #f97316; }
.work-card.wc-orange .work-card-icon { background: rgba(249, 115, 22, 0.08); color: #f97316; }
.work-card.wc-orange:hover .work-card-icon { background: #f97316; color: #ffffff; }

/* 3. Teal (Simplicity) */
.work-card.wc-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.work-card.wc-teal:hover {
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.08);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.work-card.wc-teal .work-card-accent { background: #14b8a6; }
.work-card.wc-teal .work-card-icon { background: rgba(20, 184, 166, 0.08); color: #14b8a6; }
.work-card.wc-teal:hover .work-card-icon { background: #14b8a6; color: #ffffff; }

/* 4. Purple (Scalability) */
.work-card.wc-purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.work-card.wc-purple:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 12px 24px rgba(147, 51, 234, 0.08);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.work-card.wc-purple .work-card-accent { background: #9333ea; }
.work-card.wc-purple .work-card-icon { background: rgba(147, 51, 234, 0.08); color: #9333ea; }
.work-card.wc-purple:hover .work-card-icon { background: #9333ea; color: #ffffff; }

/* 5. Amber (Purposeful) */
.work-card.wc-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.work-card.wc-amber:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.08);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.work-card.wc-amber .work-card-accent { background: #f59e0b; }
.work-card.wc-amber .work-card-icon { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.work-card.wc-amber:hover .work-card-icon { background: #f59e0b; color: #ffffff; }

/* Beliefs Grid */
/* Redesigned What I Believe Section (Split Manifesto) */
.manifesto-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}
@media (min-width: 992px) {
    .manifesto-split {
        grid-template-columns: 320px 1fr;
    }
    .manifesto-sticky-col {
        position: sticky;
        top: 120px;
        align-self: start; /* Prevents grid item from stretching to parent height, allowing sticky scroll */
    }
}

/* Ensure sticky columns scroll correctly by setting visible overflow on ancestors */
.about-page-section,
.about-main-container,
#main-content {
    overflow: visible !important;
}
.manifesto-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #f97316;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.manifesto-desc {
    font-size: 0.95rem;
    color: var(--brand-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.beliefs-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.belief-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.belief-card:hover {
    transform: translateX(8px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.08);
}
.belief-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.15);
    line-height: 1;
    transition: color 0.3s ease;
    width: 36px;
    flex-shrink: 0;
}
.belief-card:hover .belief-num {
    color: #f97316;
}
.belief-content {
    flex-grow: 1;
}
.belief-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-text, #1e293b);
    margin-bottom: 0.25rem;
}
.belief-tagline {
    font-size: 0.9rem;
    color: var(--brand-muted, #64748b);
    line-height: 1.5;
}

/* Split Section layout (Stacked columns default) */
.row-stack-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Bento Lifestyle Grid (3 columns on desktop) */
.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .lifestyle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.lifestyle-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.lifestyle-card:hover {
    transform: translateY(-4px);
}
.lifestyle-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    width: fit-content;
    padding: 0 12px;
}
.lifestyle-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-text, #1e293b);
}
.lifestyle-card-text {
    font-size: 0.925rem;
    color: var(--brand-muted, #64748b);
    line-height: 1.6;
}

/* Lifestyle Themes */
.lifestyle-card.lc-rose {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.lifestyle-card.lc-rose:hover {
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.06);
}
.lifestyle-card.lc-rose .lifestyle-card-icon {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
}

.lifestyle-card.lc-indigo {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.lifestyle-card.lc-indigo:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.06);
}
.lifestyle-card.lc-indigo .lifestyle-card-icon {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
}

.lifestyle-card.lc-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, rgba(255, 255, 255, 0.9) 100%);
}
.lifestyle-card.lc-amber:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.06);
}
.lifestyle-card.lc-amber .lifestyle-card-icon {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}

/* Redesigned Quick Facts Table/Grid in White Mode */
.profile-pre-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}
.profile-pre-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #f97316;
    text-transform: uppercase;
}
.profile-pre-title-line {
    width: 40px;
    height: 1.5px;
    background: #f97316;
}
.facts-table-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    margin-top: 2rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.facts-table-grid:hover {
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.06);
    border-color: rgba(249, 115, 22, 0.2);
}
@media (min-width: 768px) {
    .facts-table-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.facts-cell {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.facts-cell:hover {
    background: rgba(249, 115, 22, 0.03);
}
@media (min-width: 768px) {
    /* Add right borders to odd cells (left column) */
    .facts-cell:nth-child(odd) {
        border-right: 1px solid rgba(226, 232, 240, 0.8);
    }
    /* Remove bottom border on last two cells in desktop */
    .facts-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
}
@media (max-width: 767px) {
    /* Remove bottom border on the very last cell on mobile */
    .facts-cell:last-child {
        border-bottom: none;
    }
}
.facts-cell-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.facts-cell-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-text, #1e293b);
}

/* Connect Banner CTA */
.connect-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.03) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    margin-top: 4rem;
}
.connect-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
    z-index: 0;
}
.connect-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.connect-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-text, #1e293b);
    margin-bottom: 1rem;
}
.connect-desc {
    font-size: 1rem;
    color: var(--brand-muted, #64748b);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.connect-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.btn-connect-primary {
    background: var(--brand-blue, #3b82f6);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}
.btn-connect-primary:hover {
    transform: translateY(-2px);
    background: #2563eb;
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.4);
}

/* Redesign social links in connect banner */
.connect-social-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 2rem;
}
.connect-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted, #64748b);
    transition: all 0.3s ease;
}
.connect-social-link:hover {
    transform: translateY(-3px);
    color: #ffffff;
}
.connect-social-fb:hover { background: #1877f2; border-color: #1877f2; }
.connect-social-tw:hover { background: #000000; border-color: #000000; }
.connect-social-ig:hover { background: #e1306c; border-color: #e1306c; }
.connect-social-li:hover { background: #0077b5; border-color: #0077b5; }

/* Photo Gallery Masonry Grid */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 768px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 1rem;
    }
}
@media (max-width: 480px) {
    .masonry-grid {
        column-count: 1;
    }
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.masonry-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.masonry-item:hover .masonry-img {
    transform: scale(1.05);
}
