/* ============================================================
   RAZADEV — Dark Portfolio  |  Full-Page Scroll
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --accent: #6c63ff;
    --accent-light: #8b83ff;
    --accent-glow: rgba(108, 99, 255, .25);
    --accent-secondary: #00d4aa;
    --text-primary: #e8e6f0;
    --text-secondary: #9896a8;
    --text-muted: #5c5a6e;
    --border: rgba(255,255,255,.06);
    --border-hover: rgba(255,255,255,.12);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: .4s cubic-bezier(.16,1,.3,1);
    --transition-fast: .25s cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection {
    background: var(--accent);
    color: #fff;
}

/* ---------- Cursor Glow ---------- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(108,99,255,.07) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity .3s;
    opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ---------- Full-Page Sections ---------- */
.fp-section {
    width: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    padding: 80px 40px;
}

.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Side Navigation ---------- */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid transparent;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--accent);
    border-color: var(--accent-light);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: scale(1.3);
}

.nav-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.nav-dot:hover .nav-label {
    opacity: 1;
    right: 28px;
}

/* ---------- Section Counter ---------- */
.section-counter {
    position: fixed;
    left: 30px;
    bottom: 40px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.counter-current { color: var(--accent); font-weight: 700; font-size: 20px; }
.counter-divider { width: 30px; height: 1px; background: var(--text-muted); }
.counter-total { color: var(--text-muted); }

/* ---------- Section Headers ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

/* ============================================================
   SECTION 1  —  HERO
   ============================================================ */
#hero {
    background: radial-gradient(ellipse at 30% 20%, rgba(108,99,255,.08), transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(0,212,170,.05), transparent 60%),
                var(--bg-primary);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.floating-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    animation: floatShape 20s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -10%; left: -5%; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--accent-secondary); bottom: -10%; right: -5%; animation-delay: -7s; }
.shape-3 { width: 200px; height: 200px; background: #ff6b9d; top: 50%; left: 60%; animation-delay: -14s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(.95); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d47e;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 126, .5); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 126, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,.15));
    opacity: 0;
    transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.hero-stats { display: flex; gap: 50px; justify-content: center; }

.stat { text-align: center; }
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    display: inline;
    font-family: var(--font-mono);
}
.stat-suffix { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.01% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTION 2  —  ABOUT
   ============================================================ */
#about {
    background: radial-gradient(ellipse at 80% 50%, rgba(108,99,255,.06), transparent 50%),
                var(--bg-primary);
}

.about-layout .section-header { margin-bottom: 50px; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap { position: relative; }

.about-image {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.placeholder-icon { width: 80px; color: var(--text-muted); }

.image-border {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--accent);
    border-radius: calc(var(--radius) + 4px);
    opacity: .3;
    pointer-events: none;
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 10px 40px var(--accent-glow);
}

.exp-number { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.exp-text { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }

.about-text-block p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-text-block p:first-child {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ============================================================
   SECTION 3  —  SERVICES
   ============================================================ */
#services {
    background: radial-gradient(ellipse at 20% 80%, rgba(0,212,170,.05), transparent 50%),
                var(--bg-primary);
}

#services .section-header { text-align: center; margin-bottom: 50px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon { color: var(--accent-light); transform: scale(1.1); }

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.service-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    opacity: .4;
    font-weight: 700;
    z-index: 1;
}

.service-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-fast);
    z-index: 1;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   SECTION 4  —  WHY CHOOSE ME
   ============================================================ */
#whyme {
    background: radial-gradient(ellipse at 50% 30%, rgba(108,99,255,.07), transparent 60%),
                var(--bg-primary);
}

#whyme .section-header { text-align: center; margin-bottom: 60px; }
#whyme .section-desc { margin: 0 auto; }

.whyme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.whyme-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.whyme-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.whyme-glow {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: var(--transition);
}

.whyme-card:hover .whyme-glow { opacity: .15; }

.whyme-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    opacity: .12;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.whyme-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--accent);
    transition: var(--transition);
}

.whyme-card:hover .whyme-icon-wrap { transform: scale(1.15) rotate(5deg); color: var(--accent-light); }

.whyme-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.whyme-card p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================================
   SECTION 5  —  TOOLS & TECHNOLOGIES (Marquee)
   ============================================================ */
#tools {
    background: radial-gradient(ellipse at 60% 70%, rgba(0,212,170,.05), transparent 50%),
                var(--bg-primary);
}

#tools .section-inner { margin-bottom: 40px; }
#tools .section-header { text-align: center; margin-bottom: 50px; }

/* Two-column marquee grid */
.tools-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    padding: 0 20px;
}

.tools-columns > .marquee-wrap:last-child {
    grid-column: 1 / -1;
}

/* Marquee container */
.marquee-wrap {
    width: 100%;
    overflow: hidden;
    padding: 14px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-track[data-direction="left"] {
    animation: marqueeLeft 35s linear infinite;
}

.marquee-track[data-direction="right"] {
    animation: marqueeRight 35s linear infinite;
}

.marquee-track[data-speed="slow"] {
    animation-duration: 50s;
}

.marquee-inner {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Individual tool logo cards */
.tool-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 110px;
    transition: var(--transition);
    cursor: default;
    flex-shrink: 0;
}

.tool-logo:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108,99,255,.12);
}

.tool-logo svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.tool-logo:hover svg {
    transform: scale(1.15);
}

.tool-logo span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    text-align: center;
    transition: color .3s;
}

.tool-logo:hover span {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .tool-logo { padding: 14px 18px; min-width: 90px; }
    .tool-logo svg { width: 34px; height: 34px; }
    .tool-logo span { font-size: .72rem; }
    .marquee-track[data-direction="left"] { animation-duration: 25s; }
    .marquee-track[data-direction="right"] { animation-duration: 25s; }
    .marquee-track[data-speed="slow"] { animation-duration: 35s; }
    .tools-columns { grid-template-columns: 1fr; padding: 0; }
    .tools-columns > .marquee-wrap:last-child { grid-column: auto; }
}

/* ============================================================
   SECTION 6  —  PORTFOLIO
   ============================================================ */
#portfolio {
    background: radial-gradient(ellipse at 30% 50%, rgba(108,99,255,.05), transparent 50%),
                var(--bg-primary);
}

#portfolio .section-header { text-align: center; margin-bottom: 40px; }

/* Portfolio Tabs */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}
.portfolio-tab {
    padding: 10px 28px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: .85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: .5px;
}
.portfolio-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}
.portfolio-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108,99,255,.35);
}

.portfolio-tab-content {
    display: none;
}
.portfolio-tab-content.active {
    display: block;
    animation: tabFadeIn .4s ease;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: block;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.portfolio-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.portfolio-card:hover .portfolio-img-wrap img { transform: scale(1.08); }

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.portfolio-placeholder svg { width: 48px; }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.view-project {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.portfolio-card:hover .view-project { border-color: var(--accent); color: var(--accent-light); }

.portfolio-info { padding: 20px 24px; }
.portfolio-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.portfolio-info h3 { font-size: 1.1rem; font-weight: 700; margin: 6px 0; }
.portfolio-info p { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
.portfolio-link {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--accent-secondary);
    margin-top: 6px;
    opacity: .8;
    transition: var(--transition-fast);
}
.portfolio-card:hover .portfolio-link { opacity: 1; color: var(--accent-light); }

.empty-portfolio {
    text-align: center;
    padding: 80px 0;
}
.empty-icon { width: 80px; margin: 0 auto 20px; color: var(--text-muted); }
.empty-portfolio p { color: var(--text-muted); font-size: 1.1rem; }

/* ============================================================
   SECTION 7  —  CONTACT
   ============================================================ */
#contact {
    background: radial-gradient(ellipse at 70% 30%, rgba(108,99,255,.06), transparent 50%),
                var(--bg-primary);
}

.contact-layout .section-header { text-align: center; margin-bottom: 50px; }
.contact-layout .section-desc { margin: 0 auto; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover { border-color: var(--border-hover); transform: translateX(6px); }

.contact-icon { width: 40px; height: 40px; color: var(--accent); flex-shrink: 0; }

.contact-label { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { display: block; font-size: .95rem; color: var(--text-primary); font-weight: 500; margin-top: 2px; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 0 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    resize: none;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    align-self: flex-start;
    gap: 10px;
}

.btn-submit svg { width: 18px; height: 18px; transition: var(--transition); }
.btn-submit:hover svg { transform: translate(4px, -4px); }

/* ---------- Footer ---------- */
.site-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed { opacity: 1; transform: translateY(0); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger children */
.revealed[data-delay="80"]  { transition-delay: 80ms; }
.revealed[data-delay="100"] { transition-delay: 100ms; }
.revealed[data-delay="150"] { transition-delay: 150ms; }
.revealed[data-delay="160"] { transition-delay: 160ms; }
.revealed[data-delay="200"] { transition-delay: 200ms; }
.revealed[data-delay="240"] { transition-delay: 240ms; }
.revealed[data-delay="300"] { transition-delay: 300ms; }
.revealed[data-delay="320"] { transition-delay: 320ms; }
.revealed[data-delay="400"] { transition-delay: 400ms; }
.revealed[data-delay="480"] { transition-delay: 480ms; }
.revealed[data-delay="500"] { transition-delay: 500ms; }
.revealed[data-delay="560"] { transition-delay: 560ms; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TOP HEADER (all pages)
   ============================================================ */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(10,10,15,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.top-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo { text-decoration: none; }
.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.5px;
}

/* Centered nav */
.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.header-link:hover,
.header-link.active {
    color: var(--text-primary);
    background: rgba(255,255,255,.05);
}

/* CTA Button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(108,99,255,.35);
}

/* Dropdown */
.header-dropdown {
    position: relative;
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
    z-index: 100;
}

.header-dropdown:hover .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .85rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.header-dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,.05);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   MAIN FOOTER
   ============================================================ */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 40px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: .5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .85rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: .85rem;
}

/* ============================================================
   SERVICE PAGES  —  Inner Page Styles
   ============================================================ */
.inner-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Service Hero */
.service-hero {
    position: relative;
    padding: 160px 40px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: .85rem;
    font-family: var(--font-mono);
}

.service-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-breadcrumb a:hover { color: var(--accent-light); }
.service-breadcrumb span { color: var(--text-muted); }
.service-breadcrumb .current { color: var(--accent); }

.service-icon-lg {
    width: 72px;
    height: 72px;
    color: var(--accent);
    margin: 0 auto 24px;
    animation: fadeInUp .6s ease both;
}

.service-icon-lg svg { width: 100%; height: 100%; }

.service-number-lg {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
    animation: fadeInUp .6s ease .1s both;
}

.service-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -.5px;
    animation: fadeInUp .6s ease .2s both;
}

.service-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp .6s ease .3s both;
}

/* Service Detail Section */
.service-detail-section {
    padding: 80px 40px;
}

.service-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.service-main-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -.3px;
}

.service-main-content > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Features Grid */
.service-features {
    margin-top: 48px;
}

.service-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Process Steps */
.service-process {
    margin-top: 48px;
}

.service-process h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--accent-glow);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    opacity: .3;
    line-height: 1;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 96px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-card > p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-card .btn-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.sidebar-services {
    list-style: none;
}

.sidebar-services li {
    margin-bottom: 6px;
}

.sidebar-services a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.sidebar-services a:hover {
    color: var(--accent-light);
    background: rgba(108,99,255,.08);
}

/* ============================================================
   HOME PAGE OVERRIDES
   ============================================================ */
.home-page .fp-section:first-of-type {
    padding-top: 72px; /* account for fixed header */
}

/* ============================================================
   PAGE HERO (About, Services, Contact)
   ============================================================ */
.page-hero {
    position: relative;
    padding: 160px 40px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page-section {
    padding: 80px 40px;
}

.about-page-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.about-page-image {
    position: relative;
}

.about-page-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-role {
    color: var(--accent);
    font-size: .95rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.about-page-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.about-stat {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-stat:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.about-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    display: inline;
}

.about-stat-suffix {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.about-stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: .85rem;
    margin-top: 8px;
}

.about-skills-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.skill-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.6;
}

/* ============================================================
   SERVICES LISTING PAGE
   ============================================================ */
.services-page-section {
    padding: 80px 40px;
}

.services-page-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-page-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-page-card {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    gap: 32px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.service-page-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108,99,255,.1);
}

.service-page-icon {
    width: 64px;
    height: 64px;
    color: var(--accent);
    background: rgba(108,99,255,.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    flex-shrink: 0;
}

.service-page-content {
    min-width: 0;
}

.service-page-num {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.service-page-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-page-content p {
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.service-page-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    list-style: none;
}

.service-page-features li {
    font-size: .8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    padding: 4px 10px;
    background: rgba(255,255,255,.03);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.service-page-arrow {
    font-size: 1.4rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-fast);
}

.service-page-card:hover .service-page-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section {
    padding: 80px 40px;
}

.contact-page-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-page-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-page-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
}

.contact-page-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-page-form .form-group {
    margin-bottom: 24px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(108,99,255,.06) 0%, rgba(0,212,170,.04) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-page-image { max-width: 280px; margin: 0 auto; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); }
    .header-nav { position: static; transform: none; }

    .fp-section { padding: 60px 24px; }
}

@media (max-width: 768px) {
    html { scroll-snap-type: none; }

    .side-nav { display: none; }
    .section-counter { display: none; }

    .fp-section { min-height: auto; padding: 80px 20px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { max-width: 260px; margin: 0 auto; }

    .services-grid { grid-template-columns: 1fr; }
    .whyme-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-cta { flex-direction: column; align-items: center; }

    .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }

    /* New pages responsive */
    .page-hero { padding: 120px 20px 60px; min-height: auto; }
    .about-page-section { padding: 48px 20px; }
    .about-page-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-page-image { max-width: 240px; margin: 0 auto; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .skills-grid { grid-template-columns: 1fr; }
    .services-page-section { padding: 48px 20px; }
    .service-page-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .service-page-icon { width: 56px; height: 56px; }
    .service-page-arrow { display: none; }
    .contact-page-section { padding: 48px 20px; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-page-form-wrap { padding: 24px; }
    .cta-section { padding: 48px 20px; }
}

@media (max-width: 480px) {
    .service-card { padding: 24px 18px; }
    .whyme-card { padding: 32px 20px; }
    .tool-chip { padding: 8px 14px; font-size: .82rem; }
    .process-steps { grid-template-columns: 1fr; }
    .service-hero { padding: 120px 16px 48px; min-height: auto; }
    .service-detail-section { padding: 40px 16px; }
    .main-footer { padding: 40px 16px 20px; }
}

/* Header mobile menu responsive */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .header-cta-btn { display: none; }

    .header-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10,10,15,.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: var(--transition);
        overflow-y: auto;
    }

    .header-nav.open {
        transform: translateX(0);
    }

    .header-link {
        font-size: 1.05rem;
        padding: 14px 16px;
        width: 100%;
        text-align: left;
    }

    .header-dropdown { width: 100%; }
    .header-dropdown-btn { width: 100%; text-align: left; justify-content: space-between; }

    .header-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255,255,255,.03);
        border: none;
        padding: 0 0 0 16px;
        min-width: unset;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .header-dropdown.open .header-dropdown-menu {
        max-height: 400px;
    }

    .top-header { padding: 0 20px; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }

    .service-hero { padding: 120px 20px 48px; min-height: auto; }
    .service-content-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-sidebar { position: static; }
    .features-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .service-detail-section { padding: 40px 20px; }
    .main-footer { padding: 40px 20px 24px; }
}
