/* =========================================
   UI/UX HERO SECTION STYLES
   ========================================= */

:root {
    --ux-primary: #8b5cf6;     /* Violet */
    --ux-secondary: #ec4899;   /* Pink */
    --ux-dark: #1e1b4b;
    --ux-text: #1f2937;
    --ux-muted: #6b7280;
    --ux-bg: #fdf2f8;          /* Very light pink/white tint */
}

.ux-ui-hero {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- LEFT CONTENT --- */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Eyebrow Tag */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ux-primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

/* Typography */
#uxui-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ux-dark);
    margin: 0;
}

.highlight-text {
    background: linear-gradient(135deg, var(--ux-primary), var(--ux-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ux-muted);
    max-width: 540px;
}

/* Buttons */
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary-gradient {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--ux-primary), var(--ux-secondary));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(236, 72, 153, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.6);
}

.btn-secondary-outline {
    padding: 14px 28px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    color: var(--ux-text);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.btn-secondary-outline:hover {
    border-color: var(--ux-text);
    background: #fff;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ux-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.feature-text strong { display: block; color: var(--ux-dark); font-size: 1rem; }
.feature-text .muted { font-size: 0.9rem; color: var(--ux-muted); }

/* Toolbelt */
.toolbelt-label { font-size: 0.85rem; font-weight: 700; color: var(--ux-muted); text-transform: uppercase; margin-bottom: 0.8rem; }
.toolbelt { display: flex; gap: 1.5rem; align-items: center; }

.tool {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    cursor: pointer; transition: transform 0.2s;
}
.tool:hover { transform: translateY(-5px); }

.tool i { font-size: 2rem; }
.tool-name { font-size: 0.75rem; font-weight: 600; opacity: 0; transform: translateY(5px); transition: 0.3s; }
.tool:hover .tool-name { opacity: 1; transform: translateY(0); }

/* Colorful Brand Icons */
.figma-color { color: #F24E1E; }
.xd-color { color: #FF61F6; }
.sketch-color { color: #FDB300; }
.ai-color { color: #FF9A00; }

/* --- RIGHT VISUAL (Media) --- */
.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
}
.blob-1 { width: 300px; height: 300px; background: var(--ux-primary); top: 0; right: 0; animation: floatBlob 8s infinite alternate; }
.blob-2 { width: 250px; height: 250px; background: var(--ux-secondary); bottom: 0; left: 0; animation: floatBlob 10s infinite alternate-reverse; }

/* The Main Card (Glassmorphism) */
.mockup-card {
    width: 100%; max-width: 420px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    animation: floatCard 6s ease-in-out infinite;
}

.mockup-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; border-bottom: 1px solid #f3f4f6; padding-bottom: 1rem;
}
.dot-group { display: flex; gap: 6px; }
.dot-group span { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.dot-group span:nth-child(1) { background: #ef4444; }
.dot-group span:nth-child(2) { background: #f59e0b; }
.dot-group span:nth-child(3) { background: #10b981; }

.mockup-url { font-size: 0.8rem; color: var(--ux-muted); background: #f3f4f6; padding: 4px 12px; border-radius: 4px; }

.mockup-body { display: flex; gap: 1rem; height: 220px; }
.mockup-sidebar { width: 25%; background: #f9fafb; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-line { height: 8px; background: #e5e7eb; border-radius: 4px; }
.w-50 { width: 50%; } .w-80 { width: 80%; } .w-60 { width: 60%; }

.mockup-main { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.mockup-hero { height: 80px; background: linear-gradient(135deg, #c4b5fd, #f9a8d4); border-radius: 8px; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-card { height: 60px; background: #f3f4f6; border-radius: 8px; }

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 20px; right: -20px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px;
    color: var(--ux-text);
    animation: bounceBadge 4s ease-in-out infinite;
}
.floating-badge i { color: #10b981; }

/* Floating Icons */
.floating-tool {
    position: absolute;
    width: 60px; height: 60px;
    background: #fff;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 3;
}
.tool-1 { top: 10%; left: 0; color: #F24E1E; animation: floatIcon 5s ease-in-out infinite; }
.tool-2 { bottom: 15%; left: 5%; color: #FDB300; animation: floatIcon 7s ease-in-out infinite 1s; }
.tool-3 { top: 40%; right: -5%; color: #ec4899; animation: floatIcon 6s ease-in-out infinite 0.5s; }

/* --- ANIMATIONS --- */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatBlob { 0% { transform: translate(0, 0); } 100% { transform: translate(20px, 20px); } }
@keyframes floatIcon { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(5deg); } }
@keyframes bounceBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { align-items: center; }
    .feature-list li { justify-content: center; text-align: left; }
    .hero-media { margin-top: 4rem; }
    .toolbelt { justify-content: center; }
}


/* ============================================================
   TOOLBELT MARQUEE — Enhanced Centered Infinite Loop
   ============================================================ */

:root {
    --marquee-speed: 30s;
    --marquee-gap: 3rem;
    --marquee-icon-size: 2.4rem;
    --marquee-hover-scale: 1.15;
}

/* Outer Wrapper */
.toolbelt-container {
    width: 100%;
    margin-top: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Label */
.toolbelt-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ux-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Marquee Window */
.toolbelt-marquee {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    position: relative;

    /* Smooth fade edges */
    mask-image: linear-gradient(to right,
        transparent,
        black 12%,
        black 88%,
        transparent
    );
    -webkit-mask-image: linear-gradient(to right,
        transparent,
        black 12%,
        black 88%,
        transparent
    );
}

/* Track — doubled for perfect infinite loop */
.toolbelt-track {
    display: flex;
    align-items: center;
    gap: var(--marquee-gap);
    width: max-content;
    padding: 10px 0;

    animation: marqueeLoop var(--marquee-speed) linear infinite;
}

/* Pause on Hover */
.toolbelt-marquee:hover .toolbelt-track {
    animation-play-state: paused;
}

/* Each Tool */
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.tool:hover {
    transform: translateY(-6px) scale(var(--marquee-hover-scale));
}

/* Icon Style */
.tool i {
    font-size: var(--marquee-icon-size);
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.35s ease;
}

/* Hover — Colorize + Sharpen */
.tool:hover i {
    opacity: 1;
    filter: grayscale(0%);
}

/* Tool Name */
.tool-name {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: 0.35s ease;
    white-space: nowrap;
    color: var(--ux-dark);
}

.tool:hover .tool-name {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Colors */
.figma-color   { color: #F24E1E; }
.xd-color      { color: #FF61F6; }
.sketch-color  { color: #FDB300; }
.framer-color  { color: #0055FF; }
.ai-color      { color: #FF9A00; }
.ps-color      { color: #31A8FF; }
.inv-color     { color: #FF3366; }
.hotjar-color  { color: #FD3A5C; }
.bs-color      { color: #7952B3; }
.sass-color    { color: #CC6699; }
.trello-color  { color: #0079BF; }

/* ===========================
   Perfect Centered Loop
   =========================== */
@keyframes marqueeLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by exactly half track width */
        transform: translateX(-50%);
    }
}

/* ===========================
   Mobile First Responsiveness
   =========================== */
@media (max-width: 900px) {

    .toolbelt-marquee {
        max-width: 100%;
    }

    :root {
        --marquee-speed: 26s; /* Slightly faster for mobile */
        --marquee-gap: 2rem;
        --marquee-icon-size: 2rem;
    }
}

@media (max-width: 600px) {
    :root {
        --marquee-speed: 22s;
        --marquee-gap: 1.5rem;
        --marquee-icon-size: 1.8rem;
    }

    .tool-name {
        display: none; /* Cleaner on mobile */
    }
}



/* =========================================
   UI/UX TOOLS & TRICKS SECTION
   ========================================= */

:root {
    --tt-bg: #f8fafc;           /* Light Section Background */
    --tt-card-bg: #ffffff;      /* Card Background */
    --tt-text-main: #1e293b;    /* Dark Text */
    --tt-text-muted: #64748b;   /* Muted Text */
    --tt-accent: #8b5cf6;       /* Violet Accent */
    --tt-border: #e2e8f0;
    --tt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --tt-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ui_ux_tools_and_tricks {
    background-color: var(--tt-bg);
    padding: 6rem 2rem;
    font-family: 'Inter', sans-serif;
    color: var(--tt-text-main);
    position: relative;
}

/* --- SECTION HEADER --- */
#tools-tricks-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--tt-text-main);
    margin-bottom: 1rem;
}

.ui_ux_tools_and_tricks > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--tt-text-muted);
}

/* --- TOOLS GRID LAYOUT --- */
.tools-grid {
    display: grid;
    /* Auto-fit creates responsive columns automatically based on min-width */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- TOOL CARD DESIGN --- */
.tool-card {
    background: var(--tt-card-bg);
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--tt-shadow);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy transition */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    /* Entrance Animation */
    opacity: 0;
    animation: fadeUpCard 0.6s ease-out forwards;
}

/* Stagger animation delays for a cascading effect */
.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.1s; } /* Repeats for next row */
.tool-card:nth-child(5) { animation-delay: 0.2s; }
.tool-card:nth-child(6) { animation-delay: 0.3s; }
.tool-card:nth-child(n+7) { animation-delay: 0.4s; }

/* Hover Effects */
.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tt-shadow-hover);
    border-color: var(--tt-accent);
}

/* Top colored line on hover */
.tool-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--tt-accent), #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tool-card:hover::before { opacity: 1; }

/* --- CARD HEADER --- */
.tool-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.tool-icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}
.tool-card:hover .tool-icon { transform: scale(1.1) rotate(5deg); }

.tool-head h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tt-text-main);
}

/* Tool Description */
.tool-desc {
    font-size: 0.95rem;
    color: var(--tt-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes the tricks list to the bottom if needed */
}

/* --- TRICKS LIST STYLING --- */
.tricks-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--tt-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tricks-title::before {
    content: '⚡'; /* Lightning Icon */
    font-size: 1rem;
}

.tricks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tricks-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* Custom Checkmark Bullet */
.tricks-list li::before {
    content: '\f00c'; /* FontAwesome Check code */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #10b981; /* Green */
    font-size: 0.8rem;
}

/* --- CLOSING NOTE --- */
.closing-note {
    text-align: center;
    margin-top: 4rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px dashed var(--tt-border);
    border-radius: 12px;
    color: var(--tt-text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- BRAND COLORS (Ensure these exist) --- */
.figma-color   { color: #F24E1E; }
.xd-color      { color: #FF61F6; }
.sketch-color  { color: #FDB300; }
.framer-color  { color: #0055FF; }
.ai-color      { color: #FF9A00; }
.ps-color      { color: #31A8FF; }
.inv-color     { color: #FF3366; }
.hotjar-color  { color: #FD3A5C; }
.bs-color      { color: #7952B3; }
.sass-color    { color: #CC6699; }
.trello-color  { color: #0079BF; }

/* --- KEYFRAMES --- */
@keyframes fadeUpCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .ui_ux_tools_and_tricks { padding: 4rem 1.5rem; }
    #tools-tricks-title { font-size: 2rem; }
    .tools-grid { grid-template-columns: 1fr; } /* 1 Column on mobile */
    
    .tool-card {
        /* Remove hover transform on touch devices to prevent stickiness */
        transform: none !important; 
    }
    .tool-card:active {
        transform: scale(0.98) !important; /* Gentle press effect instead */
    }
}




/* =========================================
   PROCESS / WORKFLOW SECTION
   ========================================= */

:root {
    --process-bg: #ffffff;
    --process-card-bg: #f8fafc;
    --process-text: #1e293b;
    --process-muted: #64748b;
    --process-primary: #4f46e5;
    --process-accent: #8b5cf6;
}

.process-section {
    padding: 6rem 2rem;
    background-color: var(--process-bg);
    position: relative;
    overflow: hidden;
}

/* --- GRID LAYOUT --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    counter-reset: process-counter; /* Initializes CSS counter */
}

/* --- CARD STYLE --- */
.process-card {
    position: relative;
    background: var(--process-card-bg);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUpProcess 0.8s ease-out forwards;
}

/* Staggered Entrance */
.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effect */
.process-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
    border-color: var(--process-primary);
}

/* --- BIG NUMBER BACKGROUND --- */
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.05); /* Very faint branding color */
    line-height: 1;
    z-index: -1;
    transition: color 0.3s;
}

.process-card:hover .step-number {
    color: rgba(79, 70, 229, 0.1); /* Darker on hover */
}

/* --- CONTENT --- */
.step-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--process-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.process-card:hover .step-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--process-primary);
    color: #fff;
}

.process-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--process-text);
    margin-bottom: 1rem;
}

.process-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--process-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* --- STEP TAGS --- */
.step-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 1.5rem;
}

.step-tags li {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--process-primary);
    background: #e0e7ff;
    padding: 4px 10px;
    border-radius: 6px;
}

/* --- ANIMATION --- */
@keyframes fadeInUpProcess {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .process-section { padding: 4rem 1.5rem; }
    
    .step-number {
        font-size: 4rem;
        top: 10px;
        right: 10px;
    }
}

/* =========================================
   LATEST INSIGHTS / BLOG SECTION
   ========================================= */

:root {
    --blog-bg: #fcfcfc;
    --blog-card-bg: #ffffff;
    --blog-text: #1e293b;
    --blog-muted: #64748b;
    --blog-primary: #4f46e5;
    --blog-border: #e2e8f0;
    --blog-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    --blog-shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.insights-section {
    padding: 6rem 2rem;
    background-color: var(--blog-bg);
    font-family: 'Inter', sans-serif;
}

.insights-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* --- GRID --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- CARD CONTAINER --- */
.blog-card {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--blog-shadow);
    
    /* Entrance Animation */
    opacity: 0;
    animation: fadeUpBlog 0.8s ease-out forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-shadow-hover);
    border-color: #cbd5e1;
}

/* --- IMAGE AREA --- */
.blog-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    height: 240px;
}

.blog-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb {
    transform: scale(1.08);
}

/* Category Tag Over Image */
.category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--blog-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Category Variations */
.category-tag.tech { color: #059669; /* Green */ }
.category-tag.strategy { color: #db2777; /* Pink */ }

/* --- CONTENT AREA --- */
.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--blog-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-meta i { margin-right: 5px; color: var(--blog-primary); }

.blog-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--blog-text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--blog-primary);
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--blog-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    
    /* Line clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blog-primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.read-more i { font-size: 0.8rem; transition: transform 0.2s; }

/* Animate arrow on card hover */
.blog-card:hover .read-more { gap: 12px; }
.blog-card:hover .read-more i { transform: translateX(2px); }

/* --- FOOTER BUTTON --- */
.insights-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-outline-large {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--blog-border);
    border-radius: 50px;
    color: var(--blog-text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-large:hover {
    border-color: var(--blog-text);
    background: var(--blog-text);
    color: white;
    transform: translateY(-3px);
}

/* --- ANIMATION --- */
@keyframes fadeUpBlog {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .insights-section { padding: 4rem 1.5rem; }
    .insights-grid { grid-template-columns: 1fr; max-width: 480px; }
    .blog-image-link { height: 200px; }
}
/* =========================================
   UI/UX PROCESS SECTION STYLES
   ========================================= */

:root {
    --ux-process-bg: #ffffff;
    --ux-process-text: #1f2937;
    --ux-process-muted: #6b7280;
    --ux-gradient-start: #8b5cf6; /* Violet */
    --ux-gradient-end: #ec4899;   /* Pink */
}

.design-process-section {
    padding: 8rem 0;
    background-color: var(--ux-process-bg);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.ux-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- HEADER --- */
.process-header.centered {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

.process-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ux-gradient-start);
    margin-bottom: 1rem;
    background: #f3f0ff;
    padding: 6px 14px;
    border-radius: 50px;
}

.process-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--ux-process-text);
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--ux-gradient-start), var(--ux-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-header p {
    font-size: 1.15rem;
    color: var(--ux-process-muted);
    line-height: 1.6;
}

/* --- TIMELINE GRID --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-bottom: 6rem;
}

/* The Connecting Line */
.timeline-line {
    position: absolute;
    top: 40px; /* Aligns with center of icon */
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.line-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--ux-gradient-start), var(--ux-gradient-end));
    animation: fillLine 2s ease-out forwards;
}

/* --- STEPS --- */
.process-step {
    position: relative;
    z-index: 1; /* Above the line */
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align for desktop */
    text-align: center;
    opacity: 0;
    animation: fadeUpStep 0.8s ease-out forwards;
}

/* Stagger Delays */
.process-step:nth-child(2) { animation-delay: 0.2s; } /* Step 1 */
.process-step:nth-child(3) { animation-delay: 0.4s; } /* Step 2 */
.process-step:nth-child(4) { animation-delay: 0.6s; } /* Step 3 */
.process-step:nth-child(5) { animation-delay: 0.8s; } /* Step 4 */

.step-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--ux-process-muted);
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: 0.4s;
}

/* Active State on Hover (or parent hover) */
.process-step:hover .step-icon {
    border-color: var(--ux-gradient-start);
    color: var(--ux-gradient-start);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.3);
}

.step-content {
    padding: 0 10px;
}

.step-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #f3f4f6; /* Very light gray background number */
    line-height: 1;
    margin-bottom: -10px; /* Overlap effect */
    position: relative;
    z-index: -1;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--ux-process-text);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--ux-process-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tags */
.step-tags {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.step-tags li {
    font-size: 0.75rem;
    font-weight: 600;
    background: #f9fafb;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* --- CTA BAR --- */
.process-cta {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 24px;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}

.cta-text h3 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.cta-text p { color: #9ca3af; font-size: 1.1rem; }

.btn-process {
    background: white;
    color: #111827;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-process:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* --- ANIMATIONS --- */
@keyframes fillLine {
    to { width: 100%; }
}

@keyframes fadeUpStep {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Change layout to vertical list on mobile */
    .timeline-line {
        width: 2px;
        height: 100%;
        left: 40px; /* Align with left icons */
        top: 0;
        background: linear-gradient(to bottom, var(--ux-gradient-start), var(--ux-gradient-end)); /* Always filled */
    }
    .line-fill { display: none; } /* Disable animation on mobile */

    .process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
    }

    .step-icon { margin-right: 1.5rem; margin-bottom: 0; flex-shrink: 0; }
    
    .step-tags { justify-content: flex-start; }
    
    .step-num { display: none; } /* Hide big numbers on mobile for cleaner look */

    .process-cta { flex-direction: column; text-align: center; padding: 2.5rem; gap: 2rem; }
}