/**
 * Faiz Ulfat - Social Media Marketing Manager Theme Stylesheet
 * Performance-first: Pure CSS, Zero Dependencies, Hardware Accelerated
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    --bg-dark: #090d16;
    --bg-card: #111827;
    --bg-card-hover: #172033;
    --bg-card-alt: #1a2236;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.4);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --brand-emerald: #10b981;
    --brand-emerald-glow: rgba(16, 185, 129, 0.25);
    --brand-indigo: #6366f1;
    --brand-purple: #8b5cf6;
    --brand-red: #ef4444;
    --brand-gold: #f59e0b;
    --brand-yt: #ff0000;
    --brand-meta: #0668e1;

    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --container-max: 1200px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    color: inherit;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   3. BUTTONS & UI PILLS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

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

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--brand-emerald-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color);
}

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

.btn-accent {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.logo-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   5. HERO SECTION WITH PHOTO & FLOATING BADGES
   ========================================================================== */
.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    background: radial-gradient(circle at 60% 10%, rgba(99, 102, 241, 0.14) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 1.35rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-emerald);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

/* Photo Card & Floating Elements */
.hero-photo-col {
    display: flex;
    justify-content: center;
}

.photo-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.photo-card {
    background: var(--bg-card);
    border: 2px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    position: relative;
}

.photo-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0d1322;
    border: 1px solid var(--border-color);
}

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

.photo-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #6ee7b7;
    margin-top: 1.25rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-emerald);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--brand-emerald);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 5;
    animation: float 4s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.badge-top-right {
    top: -15px;
    right: -20px;
}

.badge-bottom-left {
    bottom: 25px;
    left: -25px;
    animation-delay: 2s;
}

.f-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.f-icon.yt { background: rgba(255, 0, 0, 0.2); color: #ff4d4d; }
.f-icon.meta { background: rgba(6, 104, 225, 0.2); color: #60a5fa; }

.f-text {
    display: flex;
    flex-direction: column;
}

.f-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.f-lbl {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. VERIFIED METRICS STRIP
   ========================================================================== */
.stats-section {
    padding: 2.5rem 0;
}

.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.metric-card:last-child {
    border-right: none;
}

.metric-number {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-sub {
    font-size: 0.75rem;
    color: var(--brand-emerald);
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ==========================================================================
   7. REAL BACKEND ANALYTICS SCREENSHOTS SECTION
   ========================================================================== */
.analytics-proof-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.proof-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #141c2e;
}

.platform-chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.35rem;
}
.yt-chip { background: rgba(255, 0, 0, 0.15); color: #ff5252; }
.meta-chip { background: rgba(6, 104, 225, 0.15); color: #60a5fa; }

.proof-header h3 {
    font-size: 1.05rem;
    line-height: 1.3;
}

.proof-image-wrapper {
    background: #000;
    position: relative;
    max-height: 380px;
    overflow-y: auto;
    border-bottom: 1px solid var(--border-color);
}

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

.proof-footer {
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    background: #0d121f;
    margin-top: auto;
}

.p-stat {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.p-stat strong {
    color: var(--brand-emerald);
    font-weight: 700;
}

.badge.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.about-bio-card, .about-skills-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.bio-header {
    margin-bottom: 1.25rem;
}

.bio-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-emerald);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.35rem;
}

.bio-header h3 {
    font-size: 1.35rem;
}

.bio-lead-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.experience-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.exp-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--brand-indigo);
}

.chip-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.chip-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-promise-box {
    margin-top: auto;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.about-promise-box h4 {
    font-size: 0.9rem;
    color: var(--brand-emerald);
    margin-bottom: 0.35rem;
}

.about-promise-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-skills-card .skills-block {
    margin-bottom: 2rem;
}

.about-skills-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   8. PORTFOLIO & WORK SAMPLES SECTION
   ========================================================================== */
.portfolio-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: var(--brand-indigo);
    color: #ffffff;
    border-color: var(--brand-indigo);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

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

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.portfolio-media {
    height: 200px;
    background: #141b2b;
    position: relative;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-bottom: 1px solid var(--border-color);
}

.video-mockup {
    background: linear-gradient(135deg, #1e1b4b 0%, #172554 100%);
}
.reel-mockup {
    background: linear-gradient(135deg, #311042 0%, #1e1b4b 100%);
}
.carousel-mockup {
    background: linear-gradient(135deg, #064e3b 0%, #111827 100%);
}
.campaign-mockup {
    background: linear-gradient(135deg, #3b0764 0%, #172554 100%);
}
.b2b-mockup {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.engagement-mockup {
    background: linear-gradient(135deg, #14532d 0%, #0f172a 100%);
}

.media-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.metric-badge {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.sample-preview .sample-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 0.25rem;
}

.sample-preview h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.sample-preview p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.portfolio-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-emerald);
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.portfolio-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.portfolio-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tags span {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

/* ==========================================================================
   9. EXPERIENCE SECTION
   ========================================================================== */
.experience-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.experience-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
}

.experience-card.active-role {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, var(--bg-card) 50%);
}

.role-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(16, 185, 129, 0.2);
    color: var(--brand-emerald);
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-right: 6rem;
}

.role-title {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.role-company {
    font-size: 1rem;
    color: var(--brand-indigo);
    font-weight: 600;
}

.role-dates {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.role-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.role-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.role-achievements li strong {
    color: var(--text-primary);
}

.role-achievements li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--brand-emerald);
    font-size: 1.1rem;
    line-height: 1;
}

/* ==========================================================================
   10. REAL RECOMMENDATIONS & ENDORSEMENTS
   ========================================================================== */
.recommendations-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.recommendation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.highlight-rec {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.rec-seal-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.rec-quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: var(--brand-indigo);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.rec-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.rec-author-area {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.author-avatar.kv {
    background: linear-gradient(135deg, #10b981, #059669);
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.author-link {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.author-link:hover {
    color: var(--brand-indigo);
}

.linkedin-badge {
    font-size: 0.72rem;
    background: rgba(6, 104, 225, 0.2);
    color: #60a5fa;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rec-date {
    display: block;
    font-size: 0.72rem;
    color: var(--brand-emerald);
    margin-top: 0.25rem;
    font-weight: 600;
}

/* ==========================================================================
   11. SKILLS & TOOLS SECTION
   ========================================================================== */
.skills-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.skills-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.competencies-block, .tools-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.competencies-block h3, .tools-block h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.skills-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.tool-icon.red { background: rgba(255, 0, 0, 0.15); color: #ff5252; }
.tool-icon.blue { background: rgba(6, 104, 225, 0.15); color: #60a5fa; }
.tool-icon.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tool-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.tool-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.tool-icon.orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.tool-icon.indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.tool-icon.slate { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }

.tool-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}

.tool-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================================================
   12. CONTACT US SECTION (DIRECT DETAILS & FORM)
   ========================================================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-card-box {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    background: linear-gradient(135deg, #111827 0%, #161f33 100%);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.contact-info-side h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info-side p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Direct Contact Channels */
.direct-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-channel-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.contact-channel-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateX(4px);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.mail-icon { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.in-icon { background: rgba(6, 104, 225, 0.2); color: #60a5fa; }
.phone-icon { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.channel-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.channel-val {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-guarantee-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--brand-emerald);
    font-weight: 600;
}

.contact-form-side {
    background: rgba(9, 13, 22, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.form-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.audit-form .form-group {
    margin-bottom: 1.15rem;
}

.audit-form .form-row {
    display: flex;
    gap: 1rem;
}

.audit-form .flex-1 {
    flex: 1;
}

.audit-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.audit-form input,
.audit-form select,
.audit-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(9, 13, 22, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.audit-form input:focus,
.audit-form select:focus,
.audit-form textarea:focus {
    outline: none;
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
    background: #060911;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.footer-cta-banner {
    margin-bottom: 4rem;
}

.cta-banner-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.12));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 2.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.pill-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-emerald);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.cta-banner-text h2 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    color: var(--text-secondary);
}

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

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 1.25rem;
}

.ethical-seal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--brand-emerald);
    font-weight: 600;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

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

.contact-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.direct-contact-item {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.direct-contact-item .label {
    color: var(--text-muted);
    margin-right: 0.35rem;
}

.direct-contact-item .val {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.back-to-top {
    color: var(--text-secondary);
    font-weight: 600;
}

.back-to-top:hover {
    color: var(--brand-emerald);
}

/* ==========================================================================
   USER-UPLOADED MEDIA & CPT STYLES
   ========================================================================== */
.admin-quick-add-bar {
    background: rgba(99, 102, 241, 0.15);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: #c7d2fe;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.has-custom-thumb {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.thumb-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.user-sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .user-sample-image {
    transform: scale(1.05);
}

.has-custom-thumb .media-overlay {
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    padding: 1rem;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
}

.has-custom-thumb .sample-preview {
    z-index: 3;
    position: absolute;
    bottom: 0.85rem;
    left: 1rem;
    right: 1rem;
}

.play-icon-link {
    display: inline-flex;
    text-decoration: none;
}

.play-icon-link:hover .play-icon {
    background: var(--brand-emerald);
    transform: scale(1.1);
}

.watch-btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    border-color: rgba(99, 102, 241, 0.3);
}

.watch-btn:hover {
    background: var(--brand-indigo);
    border-color: var(--brand-indigo);
    color: #fff;
}

.work-link {
    color: inherit;
    text-decoration: none;
}

.work-link:hover {
    color: var(--brand-emerald);
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust-tags {
        justify-content: center;
    }
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .metric-card:nth-child(2) {
        border-right: none;
    }
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    .contact-card-box {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* SMARTPHONES & SMALL TABLETS (ULTRA-CLEAR MOBILE LAYOUT) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .site-container {
        padding: 0 1rem;
    }

    /* Header & Navigation Drawer */
    .site-header {
        padding: 0.75rem 0;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .header-actions .btn {
        display: none; /* Keep header clean on mobile */
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        cursor: pointer;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 1.25rem 1.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    .main-nav.active {
        display: block;
        animation: slideDown 0.25s ease-out forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav .nav-link {
        display: block;
        width: 100%;
        padding: 0.85rem 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav .nav-link:hover {
        color: var(--brand-emerald);
        padding-left: 0.5rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-badge-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.3rem);
        line-height: 1.22;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .hero-trust-tags {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .trust-tag {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }

    /* Photo Frame & Floating Badges on Mobile */
    .hero-photo-col {
        margin-top: 1.5rem;
        width: 100%;
    }

    .photo-card-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

    .photo-card {
        padding: 1.25rem;
    }

    /* Turn floating badges into clean stacked pills below photo so they never overflow */
    .floating-badge {
        position: static;
        width: 100%;
        margin-top: 0.75rem;
        animation: none;
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        justify-content: flex-start;
        text-align: left;
    }

    .badge-top-right, .badge-bottom-left {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    /* 4 Proven Stats on Mobile: Compact 2x2 Grid */
    .stats-section {
        padding: 1.5rem 0;
    }

    .metrics-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .metric-card {
        border-right: none;
        background: rgba(255, 255, 255, 0.02);
        padding: 0.85rem 0.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .metric-number {
        font-size: 1.65rem;
        margin-bottom: 0.2rem;
    }

    .metric-label {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .metric-sub {
        font-size: 0.68rem;
    }

    /* About Me Section Mobile */
    .about-section {
        padding: 3.5rem 0;
    }

    .about-bio-card, .about-skills-card {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }

    .experience-chips {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .skills-pill-cloud {
        gap: 0.5rem;
    }

    .skill-pill {
        font-size: 0.78rem;
        padding: 0.45rem 0.8rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    /* Work Samples Mobile */
    .portfolio-section {
        padding: 3.5rem 0;
    }

    .portfolio-filters {
        gap: 0.4rem;
        margin: 1.5rem 0 2rem;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 0.45rem 0.85rem;
        flex: 1 1 45%;
        text-align: center;
    }

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

    .portfolio-media {
        height: 220px;
    }

    .portfolio-info {
        padding: 1.25rem;
    }

    .portfolio-info h3 {
        font-size: 1.05rem;
    }

    /* Backend Analytics Proof Dashboards on Mobile */
    .analytics-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .proof-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .proof-image-wrapper {
        max-height: none;
        overflow: visible;
    }

    .proof-img {
        width: 100%;
        height: auto;
    }

    .proof-footer {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        padding: 1rem;
    }

    .p-stat {
        font-size: 0.78rem;
    }

    /* Testimonials Mobile */
    .recommendations-section {
        padding: 3.5rem 0;
    }

    .recommendation-card {
        padding: 1.5rem;
    }

    .rec-seal-badge {
        position: static;
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    .rec-quote-mark {
        font-size: 2.2rem;
    }

    .rec-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Contact Us Mobile */
    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-card-box {
        padding: 1.5rem;
        border-radius: var(--radius-md);
        gap: 2rem;
    }

    .contact-info-side h2 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .contact-info-side p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .direct-contact-cards {
        gap: 0.75rem;
    }

    .contact-channel-card {
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    .channel-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }

    .channel-label {
        font-size: 0.7rem;
    }

    .channel-val {
        font-size: 0.88rem;
        word-break: break-all;
    }

    .contact-form-side {
        padding: 1.25rem;
    }

    .form-title {
        font-size: 1.15rem;
    }

    .audit-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Enforce 16px to prevent iOS Safari auto-zoom on form inputs */
    .audit-form input,
    .audit-form select,
    .audit-form textarea {
        font-size: 16px;
        padding: 0.85rem;
    }

    /* Footer Mobile */
    .site-footer {
        padding-top: 2.5rem;
    }

    .footer-cta-banner {
        margin-bottom: 2.5rem;
    }

    .cta-banner-content {
        padding: 1.75rem 1.25rem;
        text-align: center;
        flex-direction: column;
        gap: 1.25rem;
    }

    .cta-banner-text h2 {
        font-size: 1.5rem;
    }

    .cta-banner-action .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

