/* ============================================
   DATADAVINCI - Premium AI Consultancy Design
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

:root {
    /* Primary palette - Deep navy to vibrant teal */
    --primary-900: #0c1929;
    --primary-800: #132337;
    --primary-700: #1a3a5c;
    --primary-600: #1e4d7b;
    --primary-500: #0077b6;
    --primary-400: #00a8e8;
    --primary-300: #48cae4;
    --primary-200: #90e0ef;
    --primary-100: #caf0f8;
    
    /* Accent - Warm coral for CTAs and highlights */
    --accent-500: #ff6b35;
    --accent-400: #ff8c5a;
    --accent-300: #ffab8a;
    --accent-600: #e55a2b;
    
    /* Neutrals - Warm gray scale */
    --gray-900: #1a1d23;
    --gray-800: #2d3139;
    --gray-700: #404550;
    --gray-600: #5a6072;
    --gray-500: #757b8a;
    --gray-400: #9ca1ad;
    --gray-300: #c4c8d0;
    --gray-200: #e2e5ea;
    --gray-100: #f4f5f7;
    --gray-50: #fafbfc;
    
    /* Semantic colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --background: #ffffff;
    --background-secondary: var(--gray-50);
    --background-tertiary: var(--gray-100);
    --border-color: var(--gray-200);
    --border-light: var(--gray-100);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 50%, var(--primary-300) 100%);
    --gradient-hero: linear-gradient(145deg, var(--primary-900) 0%, var(--primary-700) 40%, var(--primary-500) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--gray-50) 0%, var(--background) 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
    
    /* Legacy gradient for backward compatibility */
    --gradient: var(--gradient-primary);
    --primary-color: var(--primary-500);
    --secondary-color: var(--primary-600);
    --accent-color: var(--primary-300);
    
    /* Shadows - Layered for depth */
    --shadow-xs: 0 1px 2px rgba(26, 29, 35, 0.04);
    --shadow-sm: 0 2px 4px rgba(26, 29, 35, 0.06), 0 1px 2px rgba(26, 29, 35, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 29, 35, 0.08), 0 2px 4px rgba(26, 29, 35, 0.04);
    --shadow-lg: 0 12px 32px rgba(26, 29, 35, 0.12), 0 4px 8px rgba(26, 29, 35, 0.06);
    --shadow-xl: 0 24px 48px rgba(26, 29, 35, 0.16), 0 8px 16px rgba(26, 29, 35, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 119, 182, 0.15);
    --shadow-accent: 0 8px 24px rgba(255, 107, 53, 0.25);
    
    /* Legacy shadows */
    --shadow: var(--shadow-md);
    --shadow-lg-legacy: var(--shadow-lg);
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
    word-wrap: break-word;
    width: 100%;
    position: relative;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

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

a:hover {
    color: var(--primary-600);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.875rem 0;
    transition: all var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: inherit;
    transition: opacity var(--transition-fast);
}

.logo-container a:hover {
    opacity: 0.85;
}

.logo {
    height: clamp(36px, 8vw, 42px);
    width: auto;
    display: block;
}

.company-name {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    font-weight: 700;
    color: var(--primary-700);
    letter-spacing: -0.01em;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-100);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger-menu:hover .hamburger-line {
    background-color: var(--primary-500);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

.button-primary-header {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.button-primary-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Switcher */
.language-switcher {
    margin-left: 0.5rem;
}

.language-switcher select {
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.language-switcher select:hover {
    border-color: var(--primary-400);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

main {
    margin-top: 72px;
    width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    main {
        margin-top: 76px;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 5rem 0 4rem;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0 5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 7rem 0 6rem;
    }
}

/* Decorative elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(72, 202, 228, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 168, 232, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
    }
}

.hero-copy .badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.hero h1 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

.hero-info {
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.75rem;
}

.hero-info p:last-child {
    margin-bottom: 0;
}

.hero-goal {
    font-size: 1.0625rem !important;
    color: white !important;
    margin-top: 0.75rem !important;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

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

.hero-benefits li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.5;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.button-primary {
    background: white;
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-800);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    background: white;
    color: var(--primary-600);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual / Calendly Widget */
.hero-visual { 
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-calendly {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    max-width: 420px;
    width: 100%;
}

.quick-contact {
    display: flex;
    margin-bottom: 1rem;
    justify-content: center;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gray-50);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    width: 100%;
    justify-content: center;
}

.quick-contact-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
    background: var(--primary-100);
}

.quick-contact-btn .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-500);
}

.hero-calendly .calendly-inline-widget {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Trust Section */
.hero-trust {
    margin-top: 2rem;
}

.trust-label {
    opacity: 0.85;
    font-size: 0.875rem;
}

.trust-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.trust-logos img {
    height: 28px;
    filter: brightness(0) invert(1) opacity(0.85);
}

/* ============================================
   HERO WITH BACKGROUND IMAGE
   ============================================ */

.hero-with-background {
    position: relative;
    overflow: hidden;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg,
        rgba(10, 22, 40, 0.4) 0%,
        rgba(17, 34, 64, 0.25) 50%,
        rgba(26, 54, 93, 0.15) 100%);
    pointer-events: none;
}

.hero-with-background .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   CLIENTS STRIP / LOGO CAROUSEL
   ============================================ */

.clients-strip { 
    background: var(--background);
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.clients-strip::before,
.clients-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.clients-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--background), transparent);
}

.clients-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--background), transparent);
}

.clients-carousel {
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 12);
}

.client-logo {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    transition: all var(--transition-base);
}

.client-logo:hover {
    transform: scale(1.08);
}

.client-logo img {
    max-height: 70px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(20%);
    transition: all var(--transition-base);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 6));
    }
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* ============================================
   SECTIONS (General)
   ============================================ */

.section {
    padding: 5rem 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 7rem 0;
    }
}

.section:nth-child(even) {
    background: var(--gradient-subtle);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 1.25rem auto 0;
}

/* ============================================
   QUICKSCAN OPTIONS
   ============================================ */

.quickscan-section {
    background: var(--gradient-subtle);
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 680px;
    margin: -0.5rem auto 0;
    line-height: 1.75;
}

/* CTA Buttons */
.quickscan-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.quickscan-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-lg);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
}

.quickscan-btn .material-symbols-outlined {
    font-size: 20px;
}

.quickscan-btn-primary {
    background: var(--gray-900);
    color: white;
    box-shadow: var(--shadow-sm);
}

.quickscan-btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quickscan-btn-outline {
    background: white;
    color: var(--primary-600);
    border: 2px solid var(--primary-500);
}

.quickscan-btn-outline:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Benefits Grid */
.quickscan-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

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

.quickscan-benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.quickscan-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.quickscan-benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.quickscan-benefit-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-600);
}

.quickscan-benefit-icon.icon-teal {
    background: #e0f7fa;
}

.quickscan-benefit-icon.icon-teal .material-symbols-outlined {
    color: #00897b;
}

.quickscan-benefit-icon.icon-purple {
    background: #f3e5f5;
}

.quickscan-benefit-icon.icon-purple .material-symbols-outlined {
    color: #8e24aa;
}

.quickscan-benefit-card h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.quickscan-benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .quickscan-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .quickscan-btn {
        justify-content: center;
    }
}

/* Legacy quickscan card styles (for other pages) */
.quickscan-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.quickscan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.quickscan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.quickscan-card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

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

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 56px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.product-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.875rem;
}

.product-card p {
    flex-grow: 1;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.product-links {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-width: 130px;
    font-size: 0.8125rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    flex: 1;
    min-width: 130px;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.product-link.primary {
    background: var(--gradient-primary);
}

.product-link.secondary {
    background: transparent;
    border: 2px solid var(--primary-500);
    color: var(--primary-600);
}

.product-link.secondary:hover {
    background: var(--primary-500);
    color: white;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

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

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.service-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary-600);
    transition: color var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon .material-symbols-outlined {
    color: white;
}

.service-card h3 {
    color: var(--primary-600);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Service Image Div - Full grid item */
.service-image-div {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    min-height: 300px;
}

.service-image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-image-div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.service-image-div:hover img {
    transform: scale(1.05);
}

@media (min-width: 640px) {
    .service-image-div {
        min-height: 400px;
    }
}

/* Section Header with Image - Subtle accent design */
.section-header-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header-content {
    position: relative;
    z-index: 1;
}

.section-header-visual {
    display: none; /* Hidden by default on mobile */
}

@media (min-width: 1024px) {
    .section-header-with-image {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        text-align: left;
        gap: 2rem;
    }

    .section-header-visual {
        display: block;
        width: 200px;
        height: 140px;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        flex-shrink: 0;
        position: relative;
    }

    .section-header-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0, 119, 182, 0.1) 0%, transparent 60%);
    }
}

.section-header-visual-legacy {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 280px;
}

.section-header-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   TECH STACK SECTION
   ============================================ */

.tech-stack-section {
    padding: 5rem 0;
    position: relative;
}

.tech-stack-with-bg {
    overflow: hidden;
}

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

.tech-stack-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.tech-stack-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(250, 251, 252, 0.85) 0%,
        rgba(244, 245, 247, 0.9) 100%);
}

.tech-stack-with-bg .container {
    position: relative;
    z-index: 1;
}

.tech-stack-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tech-stack-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .tech-stack-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.tech-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    transition: all var(--transition-base), box-shadow 0.4s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    /* Animation setup */
    --float-duration: 4s;
    --float-delay: 0s;
    --float-intensity: 8px;
    --rotate-intensity: 0.5deg;
    --parallax-x: 0px;
    --parallax-y: 0px;
    /* Entrance animation setup */
    opacity: 0;
    transform: translateY(20px);
}

/* Entrance animation - cards fade in when section comes into view */
.tech-card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Floating animation - subtle organic movement */
.tech-card-floating.tech-card-visible {
    animation: techCardFloat var(--float-duration) ease-in-out infinite;
    animation-delay: var(--float-delay);
    transform: translate(var(--parallax-x), var(--parallax-y));
}

@keyframes techCardFloat {
    0%, 100% {
        transform: translate(var(--parallax-x), var(--parallax-y)) 
                   translateY(0) 
                   rotate(0deg);
    }
    25% {
        transform: translate(var(--parallax-x), var(--parallax-y)) 
                   translateY(calc(var(--float-intensity) * -0.5)) 
                   rotate(calc(var(--rotate-intensity) * -0.5));
    }
    50% {
        transform: translate(var(--parallax-x), var(--parallax-y)) 
                   translateY(calc(var(--float-intensity) * -1)) 
                   rotate(0deg);
    }
    75% {
        transform: translate(var(--parallax-x), var(--parallax-y)) 
                   translateY(calc(var(--float-intensity) * -0.5)) 
                   rotate(calc(var(--rotate-intensity) * 0.5));
    }
}

/* Glow effect on hover */
.tech-card-glow {
    box-shadow: var(--shadow-md), 0 0 25px rgba(0, 119, 182, 0.15);
    border-color: var(--primary-300);
}

.tech-card:hover {
    transform: translate(var(--parallax-x), var(--parallax-y)) translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-lg), 0 8px 32px rgba(0, 119, 182, 0.12);
    border-color: var(--primary-300);
    animation-play-state: paused;
}

.tech-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon img,
.tech-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

/* ============================================
   METHOD SECTION
   ============================================ */

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

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

.step-card {
    background: white;
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 2rem;
    background: var(--gradient-primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    color: var(--primary-600);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.step-card p {
    margin-bottom: 0;
}

.step-card ul {
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.step-card ul li {
    color: var(--text-secondary);
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.step-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-400);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    height: 360px;
    box-shadow: var(--shadow-lg);
}

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

.team-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(26, 29, 35, 0.2) 0%,
        rgba(26, 29, 35, 0.35) 100%);
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.team-intro p {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.team-intro strong {
    color: var(--text-primary);
}

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

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

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

.team-member {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    border: 3px solid var(--primary-200);
    box-shadow: var(--shadow-md);
}

.team-member h4 {
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 1.125rem;
}

.team-role {
    color: var(--primary-500);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.linkedin-link {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color var(--transition-fast);
}

.linkedin-link:hover {
    color: var(--primary-700);
}

/* ============================================
   PLAN GESPREK / CONSULTATION SECTION
   ============================================ */

.section-with-image {
    position: relative;
    overflow: hidden;
}

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

.section-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.section-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(250, 251, 252, 0.92) 0%,
        rgba(244, 245, 247, 0.88) 100%);
}

.section-with-image .container {
    position: relative;
    z-index: 1;
}

.consultation-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.discussion-topics {
    max-width: 680px;
    margin: 0 auto 3rem;
}

.discussion-topics h3 {
    text-align: center;
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topics-list li {
    padding: 1rem 1.5rem 1rem 3.25rem;
    margin-bottom: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-xs);
}

.topics-list li:hover {
    border-color: var(--primary-400);
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.topics-list li::before {
    content: "✓";
    position: absolute;
    left: 1.25rem;
    color: var(--primary-500);
    font-weight: bold;
    font-size: 1.125rem;
}

/* Calendly Wrapper */
.calendly-wrapper {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.calendly-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calendly-header h3 {
    color: var(--text-primary);
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.calendly-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.calendly-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.calendly-inline-widget {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Alternative Contact */
.alternative-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.alt-contact-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-options {
    display: flex;
    justify-content: center;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.contact-method:hover {
    border-color: var(--primary-400);
    background: var(--primary-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-method .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-500);
}

.contact-details {
    display: flex;
        flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.contact-details strong {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.contact-details small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Outcome Box */
.outcome-box {
    max-width: 700px;
    margin: 2.5rem auto 0;
    text-align: center;
    padding: 1.75rem 2rem;
    background: white;
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.outcome-box p {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin: 0;
    color: var(--text-secondary);
}

.outcome-box strong {
    color: var(--primary-600);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

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

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr 1.2fr;
        gap: 2.5rem;
    }
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.contact-card > div {
    margin-bottom: 1.5rem;
}

.contact-form {
        display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
        flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
        padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
        font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-family: 'Outfit', sans-serif;
        font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* GDPR Checkbox */
.gdpr-checkbox {
    margin: 1rem 0 !important;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    min-width: 18px;
    min-height: 18px;
    accent-color: var(--primary-500);
}

.checkbox-label span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkbox-label a {
    color: var(--primary-500);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-700);
}

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

.testimonial-section {
    background: var(--gradient-subtle);
}

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

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

.testimonial-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
        margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-quote p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
    padding-top: 2rem;
    margin-bottom: 0;
}

.testimonial-quote p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-300);
    position: absolute;
    top: -0.75rem;
    left: 0;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.testimonial-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-200);
    box-shadow: var(--shadow-md);
}

.testimonial-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--gradient-hero);
    color: white;
        text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(72, 202, 228, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 168, 232, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    display: inline-flex;
    background: white;
    color: var(--primary-700);
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

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

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

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.25rem;
        font-size: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    display: block;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

/* Staggered animations for grid items */
.service-card,
.service-image-div,
.step-card,
.team-member,
.product-card,
.testimonial-card,
.quickscan-benefit-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.fade-in-up,
.service-image-div.fade-in-up,
.step-card.fade-in-up,
.team-member.fade-in-up,
.product-card.fade-in-up,
.testimonial-card.fade-in-up,
.quickscan-benefit-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.section-description {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
    .hero-copy .badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.75rem;
    }

    .button {
        padding: 0.8125rem 1.25rem;
        font-size: 0.9375rem;
    }

    .product-card,
    .service-card,
    .team-member,
    .contact-card,
    .step-card,
    .testimonial-card {
        padding: 1.75rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-calendly {
        max-width: 100%;
    }

    .hero-calendly .calendly-inline-widget {
        height: 520px !important;
    }

    .quick-contact-btn {
        font-size: 0.875rem;
    }

    /* Mobile Header */
    .header-container {
        padding: 0 1.25rem;
    }

    header {
        padding: 0.75rem 0;
    }

    .hamburger-menu {
    display: flex;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
        transition: max-height var(--transition-slow), padding var(--transition-slow);
        z-index: 999;
    }

    .main-nav.active {
        max-height: calc(100vh - 60px);
        padding: 1rem 0;
        overflow-y: auto;
    }

    .main-nav .nav-link {
        padding: 1rem 1.5rem;
    width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
        border-radius: 0;
    }

    .main-nav .language-switcher {
        margin: 1rem 1.5rem 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .language-switcher {
        margin-left: 0;
    }

    .language-switcher select {
    width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title::after {
    margin-top: 1rem;
}

    /* Clients strip mobile */
    .clients-strip {
        padding: 1.5rem 0;
    }

    .clients-track {
        animation-duration: 20s;
    }

    .client-logo {
        flex: 0 0 160px;
        padding: 0.75rem 1.25rem;
    }

    .client-logo img {
        max-height: 55px;
        max-width: 120px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 6));
        }
    }

    .clients-strip::before,
    .clients-strip::after {
        width: 60px;
    }

    /* Team hero mobile */
    .team-hero-image {
        height: 260px;
        border-radius: var(--radius-xl);
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    /* Tech stack mobile */
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .tech-card {
        padding: 1.25rem 0.875rem;
        /* Gentler floating on mobile */
        --float-intensity: 4px;
        --rotate-intensity: 0.3deg;
    }

    .tech-icon {
        width: 44px;
        height: 44px;
    }

    .tech-name {
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .tech-stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-header-visual {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    /* Ensure tech cards are visible without animation */
    .tech-card {
        opacity: 1;
        transform: none;
    }

    .tech-card-floating {
        animation: none !important;
    }

    .tech-card:hover {
        transform: scale(1.02);
    }
}
