/* ================================
   1CLICKROAD - MAIN STYLESHEET
   Modern Static Site for Netlify
   ================================ */

/* ================================
   FONTS - POPPINS SYSTEM
   ================================ */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/poppins-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

/* ================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ================================ */

:root {
    /* Colors - HSL for easy animation */
    --color-primary: 221 83% 53%;      /* Blue 600 */
    --color-primary-dark: 221 83% 45%; /* Blue 700 */
    --color-secondary: 147 51% 47%;    /* Purple 600 */
    --color-accent-blue: 221 83% 53%;
    --color-accent-green: 142 76% 36%;
    --color-accent-purple: 262 83% 58%;
    --color-accent-orange: 25 95% 53%;
    --color-accent-red: 0 84% 60%;
    
    /* Neutrals */
    --color-white: 0 0% 100%;
    --color-slate-50: 210 40% 98%;
    --color-slate-100: 210 40% 96%;
    --color-slate-200: 214 32% 91%;
    --color-slate-300: 213 27% 84%;
    --color-slate-400: 215 20% 65%;
    --color-slate-500: 215 16% 47%;
    --color-slate-600: 215 19% 35%;
    --color-slate-700: 215 25% 27%;
    --color-slate-800: 217 33% 17%;
    --color-slate-900: 222 84% 5%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--color-primary)) 0%, hsl(var(--color-secondary)) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(var(--color-slate-50)) 0%, hsl(221 68% 95%) 100%);
    
    /* Spacing */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 0.75rem;   /* 12px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 5rem;     /* 80px */
    --space-5xl: 8rem;     /* 128px */
    
    /* Container */
    --container-max-width: 1280px;
    --container-padding: var(--space-md);
    
    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Animation */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================
   RESET & BASE STYLES
   ================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: hsl(var(--color-slate-900));
    background-color: hsl(var(--color-white));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    max-width: 65ch;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ================================
   LAYOUT UTILITIES
   ================================ */

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

@media (min-width: 640px) {
    .container { padding: 0 var(--space-lg); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--space-xl); }
}

/* ================================
   COMPONENTS - BUTTONS
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px hsl(var(--color-primary) / 0.5);
}

.btn--primary {
    background: hsl(var(--color-primary));
    color: hsl(var(--color-white));
}

.btn--primary:hover {
    background: hsl(var(--color-primary-dark));
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}

.btn--header {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

.btn--cta {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.btn--cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn--cta:hover::before {
    left: 100%;
}

.btn__icon {
    transition: transform var(--transition-normal);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* ================================
   COMPONENTS - BADGES
   ================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: hsl(221 68% 95%);
    color: hsl(var(--color-primary));
    border: 1px solid hsl(221 68% 90%);
}

.badge--hero {
    margin-bottom: var(--space-lg);
    background: hsl(221 68% 95%);
    transition: all var(--transition-normal);
}

.badge--hero:hover {
    background: hsl(221 68% 90%);
    transform: scale(1.05);
}

.badge--small {
    font-size: 0.625rem;
    padding: calc(var(--space-xs) * 0.5) var(--space-sm);
}

.badge__icon {
    width: 16px;
    height: 16px;
}

/* ================================
   LAYOUT - HEADER
   ================================ */

.header {
    background: hsl(var(--color-white));
    border-bottom: 1px solid hsl(var(--color-slate-200));
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: hsl(var(--color-white) / 0.9);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header__logo {
    width: 40px;
    height: 40px;
}

.header__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
}

/* ================================
   SECTIONS - HERO
   ================================ */

.hero {
    background: var(--gradient-hero);
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, hsl(var(--color-primary) / 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero__text {
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero__title-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: hsl(var(--color-slate-600));
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

@media (min-width: 640px) {
    .hero__cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero__contact {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: hsl(var(--color-slate-600));
    font-weight: 500;
}

.hero__contact-icon {
    width: 20px;
    height: 20px;
}

/* ================================
   COMPONENTS - STATS CARD
   ================================ */

.stats-card {
    background: hsl(var(--color-white));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2xl);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    border: 1px solid hsl(var(--color-slate-200));
    transition: all var(--transition-normal);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.stats-card__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
    .stats-card__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 3rem;
    font-weight: 800;
    color: hsl(var(--color-slate-600));
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat__label {
    color: hsl(var(--color-slate-600));
    font-size: 0.875rem;
    line-height: 1.4;
}

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

.stats-card__case-study {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-md);
    width: 100%;
}

.case-study-reference {
    color: hsl(var(--color-slate-700));
    font-size: 0.625rem;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* ================================
   SECTIONS - PROBLEMS
   ================================ */

.problems {
    padding: var(--space-5xl) 0;
    background: hsl(var(--color-white));
}

.section__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
}

.section__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: hsl(var(--color-slate-900));
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 1.25rem;
    color: hsl(var(--color-slate-600));
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.section__subtitle--bold {
    font-weight: 600;
    color: hsl(var(--color-slate-900));
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto var(--space-3xl);
}

@media (min-width: 640px) {
    .problems__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problems__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.problem-item {
    text-align: center;
    padding: var(--space-lg);
}

.problem-item__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: hsl(0 84% 95%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--color-accent-red));
    transition: all var(--transition-normal);
}

.problem-item__icon:hover {
    background: hsl(0 84% 90%);
    transform: scale(1.1);
}

.problem-item__text {
    color: hsl(var(--color-slate-600));
    line-height: 1.5;
    margin: 0;
}

.problems__solution {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: hsl(221 68% 97%);
    border-radius: var(--radius-xl);
    border: 1px solid hsl(221 68% 90%);
    transition: all var(--transition-normal);
}

.problems__solution:hover {
    background: hsl(221 68% 95%);
}

.solution-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--color-slate-700));
    margin: 0;
    line-height: 1.5;
}

/* ================================
   SECTIONS - SOLUTION
   ================================ */

.solution {
    padding: var(--space-5xl) 0;
    background: hsl(var(--color-slate-50));
}

.solution__content {
    background: hsl(var(--color-white));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3xl);
    border: 1px solid hsl(var(--color-slate-200));
}

.solution__intro {
    font-size: 1.125rem;
    color: hsl(var(--color-slate-700));
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.6;
}

.phases {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .phases {
        grid-template-columns: repeat(3, 1fr);
    }
}

.phase {
    text-align: center;
    padding: var(--space-lg);
}

.phase__number {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: hsl(221 68% 95%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--color-primary));
    transition: all var(--transition-normal);
}

.phase__number:hover {
    background: hsl(221 68% 90%);
    transform: scale(1.1);
}

.phase__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
    margin-bottom: var(--space-sm);
}

.phase__description {
    color: hsl(var(--color-slate-600));
    line-height: 1.5;
    margin: 0;
}

.result-highlight {
    background: hsl(142 76% 95%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
    border: 1px solid hsl(142 76% 85%);
    transition: all var(--transition-normal);
}

.result-highlight:hover {
    background: hsl(142 76% 92%);
}

.result-highlight__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(142 76% 30%);
}

.result-highlight__text {
    font-size: 1.125rem;
    color: hsl(142 76% 25%);
    margin: 0;
    line-height: 1.5;
}

.solution__tagline {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: hsl(var(--color-slate-900));
    margin: 0 auto;
    max-width: 100%;
    display: block;
}

/* ================================
   SECTIONS - PROCESS
   ================================ */

.process {
    padding: var(--space-5xl) 0;
    background: hsl(var(--color-white));
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    background: hsl(var(--color-white));
    border: 1px solid hsl(var(--color-slate-200));
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: hsl(var(--color-primary) / 0.3);
}

.process-step__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.process-step__icon--blue {
    background: hsl(221 68% 95%);
    color: hsl(var(--color-primary));
}

.process-step__icon--green {
    background: hsl(142 76% 95%);
    color: hsl(var(--color-accent-green));
}

.process-step__icon--purple {
    background: hsl(262 83% 95%);
    color: hsl(var(--color-accent-purple));
}

.process-step__icon--orange {
    background: hsl(25 95% 95%);
    color: hsl(var(--color-accent-orange));
}

.process-step:hover .process-step__icon {
    transform: scale(1.1);
}

.process-step:hover .process-step__icon--blue {
    background: hsl(221 68% 90%);
}

.process-step:hover .process-step__icon--green {
    background: hsl(142 76% 90%);
}

.process-step:hover .process-step__icon--purple {
    background: hsl(262 83% 90%);
}

.process-step:hover .process-step__icon--orange {
    background: hsl(25 95% 90%);
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.process-step__description {
    color: hsl(var(--color-slate-600));
    line-height: 1.5;
    margin: 0;
}

/* ================================
   SECTIONS - INDUSTRIES
   ================================ */

.industries {
    padding: var(--space-5xl) 0;
    background: hsl(var(--color-slate-50));
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    background: hsl(var(--color-white));
    border: 1px solid hsl(var(--color-slate-200));
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--color-slate-300));
}

.industry-card__icon {
    margin-bottom: var(--space-lg);
    color: hsl(var(--color-primary));
}

.industry-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.industry-card__description {
    color: hsl(var(--color-slate-600));
    line-height: 1.5;
    margin: 0;
}

/* ================================
   SECTIONS - FINAL CTA
   ================================ */

.final-cta {
    padding: var(--space-5xl) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, hsl(var(--color-primary) / 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta__content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: hsl(var(--color-slate-900));
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.final-cta__subtitle {
    font-size: 1.25rem;
    color: hsl(var(--color-slate-600));
    margin-bottom: var(--space-2xl);
    line-height: 1.5;
}

/* ================================
   LAYOUT - FOOTER
   ================================ */

.footer {
    background: hsl(var(--color-slate-900));
    color: hsl(var(--color-slate-300));
    padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (min-width: 640px) {
    .footer__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--color-white));
}

.footer__contact {
    text-align: center;
}

.footer__email {
    color: hsl(var(--color-slate-300));
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-normal);
}

.footer__email:hover {
    color: hsl(var(--color-white));
}

.footer__bottom {
    border-top: 1px solid hsl(var(--color-slate-700));
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__copyright {
    color: hsl(var(--color-slate-400));
    font-size: 0.875rem;
    margin: 0;
}

/* ================================
   ANIMATIONS & EFFECTS
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Color transition effects inspired by knstrct.com */
@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(90deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(270deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero__title-gradient:hover {
    animation: colorShift 2s ease-in-out infinite;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 639px) {
    .hero {
        padding: var(--space-3xl) 0;
    }
    
    .problems, .solution, .process, .industries, .final-cta {
        padding: var(--space-3xl) 0;
    }
    
    .stats-card, .solution__content {
        padding: var(--space-lg);
    }
    
    .process-step, .industry-card {
        padding: var(--space-lg);
    }
}

/* ================================
   PERFORMANCE OPTIMIZATIONS
   ================================ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero__title-gradient:hover {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-slate-600: 215 19% 25%;
        --color-slate-500: 215 16% 35%;
    }
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid hsl(var(--color-primary));
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header, .footer, .btn, .badge {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero, .problems, .solution, .process, .industries, .case-studies, .final-cta {
        padding: 1rem 0;
        background: white !important;
    }
}

/* ================================
   CASE STUDIES SECTION
   ================================ */

.case-studies {
    padding: 5rem 0;
    background: hsl(var(--color-white));
}

.case-studies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white !important;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 24px hsl(var(--color-slate-200) / 0.3);
    transition: all 0.3s ease;
    border: 2px solid hsl(var(--color-slate-200));
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-study-card--blue {
    border: 2px solid hsl(221 83% 90%);
    border-left: 4px solid hsl(221 83% 53%);
}

.case-study-card--green {
    border: 2px solid hsl(142 76% 90%);
    border-left: 4px solid hsl(142 76% 36%);
}

.case-study-card:hover {
    box-shadow: 0 8px 40px hsl(var(--color-slate-300) / 0.3);
    transform: translateY(-4px);
}

.case-study-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-study-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--color-slate-100));
}

.case-study-card--blue .case-study-card__icon {
    background: hsl(221 83% 95%);
    color: hsl(221 83% 53%);
}

.case-study-card--green .case-study-card__icon {
    background: hsl(142 76% 95%);
    color: hsl(142 76% 36%);
}

.case-study-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
    margin: 0 0 0.25rem 0;
}

.case-study-card__subtitle {
    color: hsl(var(--color-slate-600));
    font-size: 0.875rem;
    margin: 0;
}

.case-study-section {
    margin-bottom: 1.5rem;
}

.case-study-section:last-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.case-study-section h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(var(--color-slate-900));
    margin: 0 0 0.5rem 0;
}

.case-study-section p {
    color: hsl(var(--color-slate-600));
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.result-metric {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}

.result-metric--blue {
    background: hsl(221 83% 98%);
    border: 1px solid hsl(221 83% 90%);
}

.result-metric--green {
    background: hsl(142 76% 98%);
    border: 1px solid hsl(142 76% 90%);
}

.result-metric__number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.result-metric--blue .result-metric__number {
    color: hsl(221 83% 53%);
}

.result-metric--green .result-metric__number {
    color: hsl(142 76% 36%);
}

.result-metric__label {
    font-size: 0.75rem;
    color: hsl(var(--color-slate-600));
    font-weight: 500;
    line-height: 1.2;
}

.case-studies__cta {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .case-studies__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-study-card {
        padding: 1.5rem;
    }
    
    .case-study-results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .result-metric {
        padding: 0.75rem;
    }
    
    .result-metric__number {
        font-size: 1.25rem;
    }
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials {
    padding: 5rem 0;
    background: hsl(var(--color-slate-50));
    margin-bottom: 3rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 24px hsl(var(--color-slate-200) / 0.2);
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--color-slate-200));
}

.testimonial-card:hover {
    box-shadow: 0 8px 40px hsl(var(--color-slate-300) / 0.3);
    transform: translateY(-4px);
}

.testimonial-card__content {
    margin-bottom: 1.5rem;
}

.testimonial-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--color-slate-700));
    margin: 0;
    font-style: italic;
}

.testimonial-card__author {
    border-top: 1px solid hsl(var(--color-slate-200));
    padding-top: 1rem;
}

.testimonial-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--color-slate-900));
    margin: 0 0 0.25rem 0;
}

.testimonial-card__title {
    color: hsl(var(--color-slate-600));
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}