/*
 * Vantage Ark — Premium Dark Futuristic Theme
 * AI & Agentic Solutions
 * No Bootstrap — Pure modern CSS
 */

/* =============================================
   1. DESIGN TOKENS
   ============================================= */

:root {
    /* Surfaces */
    --bg-primary: #ffffff; /* Clean white */
    --bg-secondary: #f8fafc; /* Subtle slate */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;

    /* Accents */
    --accent-amber: #f59e0b;
    --accent-amber-hover: #d97706;
    --accent-amber-light: rgba(245, 158, 11, 0.1);
    --accent-purple: #8b5cf6;
    --accent-purple-light: rgba(139, 92, 246, 0.1);
    --accent-cyan: #06b6d4;
    --accent-blue: #2563eb;

    /* Text */
    --text-primary: #0f172a; /* Deep slate */
    --text-secondary: #475569; /* Slate gray */
    --text-tertiary: #94a3b8;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
    --shadow-glow-amber: 0 0 20px rgba(245, 158, 11, 0.15);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-py: clamp(5rem, 10vw, 9rem);
    --container-max: 1200px;
    --container-px: clamp(1.25rem, 4vw, 2rem);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.25s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
    --border-light: 1px solid rgba(0, 0, 0, 0.08);
    --border-glass: 1px solid rgba(0, 0, 0, 0.1);
}

/* =============================================
   2. BASE & RESET
   ============================================= */

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

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

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

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

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

ul, ol { list-style: none; }

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: transparent;
}

input, textarea { font-family: inherit; font-size: inherit; }

::selection {
    background: var(--accent-purple-light);
    color: var(--text-primary);
}

/* =============================================
   3. UTILITIES
   ============================================= */

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

.gradient-text {
    color: var(--accent-blue); /* Solid professional blue instead of gradient */
}

.section-header {
    text-align: center;
    margin-block-end: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 1rem;
    text-wrap: balance;
    letter-spacing: -0.05em;
    animation: text-expand-header 1s var(--ease-out-expo) forwards;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
}

@keyframes text-expand-header {
    from { letter-spacing: -0.05em; }
    to { letter-spacing: 0em; }
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin-inline: auto;
    text-wrap: pretty;
}

/* Page Header & Document Content */
.page-header {
    padding-block-start: clamp(8rem, 12vw, 10rem);
    padding-block-end: clamp(3rem, 6vw, 4rem);
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: var(--border-light);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 1rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.document-content {
    max-width: 800px;
    margin-inline: auto;
    padding-block: var(--section-py);
}

.document-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-block-start: 2.5rem;
    margin-block-end: 1rem;
}

.document-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-block-start: 1.5rem;
    margin-block-end: 0.75rem;
}

.document-content p {
    margin-block-end: 1.25rem;
}

.document-content ul {
    list-style: disc;
    margin-block-end: 1.25rem;
    padding-inline-start: 1.5rem;
}

.document-content ul li {
    margin-block-end: 0.5rem;
    color: var(--text-secondary);
}

.document-content a {
    color: var(--accent-cyan);
}

.document-content a:hover {
    text-decoration: underline;
}

/* =============================================
   4. BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--text-white);
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

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

.btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s var(--ease-spring);
}

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

/* =============================================
   5. NAVBAR
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-light);
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
}

.nav-brand-accent {
    color: var(--accent-cyan);
    margin-inline-start: 0.08em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.5rem;
    backdrop-filter: blur(10px);
}

.nav-link {
    padding: 0.5rem 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    margin-inline-start: 0.75rem;
}

.nav-cta .btn {
    padding: 0.55rem 1.5rem;
    font-size: 0.9rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   6. HERO SECTION
   ============================================= */

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 8rem 3rem;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Subtle animated background gradient */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 75% 60%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    animation: hero-gradient-shift 12s ease-in-out infinite alternate;
}

@keyframes hero-gradient-shift {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
    margin-block-end: clamp(2rem, 5vw, 4rem);
}

.hero-left {
    padding-block-start: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.8); /* Light backdrop */
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-block-end: 1.75rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-blue);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-primary);
    text-wrap: balance;
    letter-spacing: -0.08em; /* Start slightly compressed */
    animation: text-expand-hero 1.5s var(--ease-out-expo) forwards;
}

@keyframes text-expand-hero {
    from { letter-spacing: -0.08em; opacity: 0; transform: translateY(20px); }
    to { letter-spacing: -0.02em; opacity: 1; transform: translateY(0); }
}

.hero-right {
    padding-block-start: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-block-end: 2rem;
    max-width: 650px;
    margin-inline: auto;
    text-wrap: pretty;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: absolute;
    top: auto;
    bottom: -15%; /* Push image down so it sits below the text */
    left: 0;
    width: 100%;
    z-index: 0;
    text-align: center;
    pointer-events: none;
}

/* Darken the center of the image slightly to ensure text contrast */
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.8) 0%, transparent 70%); /* Light fade overlay */
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: center; /* Fits well from the center */
    animation: hero-float-expand 10s ease-out infinite alternate;
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mix-blend-mode: multiply; /* Blends dark pixels of the light image into the white background */
}

@keyframes hero-float-expand {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.05) translateY(-8px); }
}

/* =============================================
   7. METRICS STRIP
   ============================================= */

.metrics {
    padding-block: 3.5rem;
    background: var(--bg-secondary);
    border-block: var(--border-light);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* =============================================
   8. SERVICES
   ============================================= */

.services {
    padding-block: var(--section-py);
    background: var(--bg-primary);
}

/* Core Pillars */
.services-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-block-end: clamp(4rem, 8vw, 6rem);
}

.pillar-card {
    position: relative;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

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

.pillar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border-radius: var(--radius-md);
    margin-block-end: 1.25rem;
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-card:hover .pillar-icon {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.75rem;
}

.pillar-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Industry Header */
.industry-header {
    text-align: center;
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.industry-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.75rem;
}

.industry-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Industry Cards */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.industry-card {
    background: var(--bg-secondary);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    cursor: default;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 92, 246, 0.4);
    background: var(--bg-card-hover);
}

.industry-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-purple-light);
    border-radius: var(--radius-sm);
    margin-block-end: 1rem;
    color: var(--accent-purple);
    transition: var(--transition-smooth);
}

.industry-card-icon svg {
    width: 20px;
    height: 20px;
}

.industry-card:hover .industry-card-icon {
    transform: scale(1.1);
    background: var(--accent-purple);
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.industry-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.5rem;
}

.industry-card p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-tertiary);
}

/* Bespoke Callout */
.bespoke-callout {
    margin-block-start: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
    border: var(--border-glass);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.bespoke-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.bespoke-callout h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 0.75rem;
}

.bespoke-callout p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 550px;
}

/* =============================================
   9. DIFFERENTIATORS
   ============================================= */

.differentiators {
    padding-block: var(--section-py);
    background: var(--bg-secondary);
}

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

.diff-card {
    background: var(--bg-primary);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.diff-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.diff-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

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

.diff-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    margin-inline: auto;
    margin-block-end: 1.5rem;
    color: var(--accent-amber);
    transition: var(--transition-smooth);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.diff-icon svg {
    width: 26px;
    height: 26px;
}

.diff-card:hover .diff-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--accent-amber);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.diff-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.75rem;
}

.diff-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* =============================================
   10. ENGAGEMENT TIMELINE
   ============================================= */

.engagement {
    padding-block: var(--section-py);
    background: var(--bg-primary);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--accent-cyan),
        var(--accent-purple),
        var(--accent-amber)
    );
    opacity: 0.3;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 1rem;
    position: relative;
}

.timeline-number {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.timeline-step:hover .timeline-number {
    border-color: var(--accent-cyan);
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.timeline-step h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.75rem;
}

.timeline-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   11. CASE STUDIES
   ============================================= */

.projects {
    padding-block: var(--section-py);
    background: var(--bg-secondary);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 3rem);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

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

.project-card:nth-child(even) {
    direction: rtl;
}

.project-card:nth-child(even) > * {
    direction: ltr;
}

.project-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    margin-block-end: 0.75rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 1rem;
    letter-spacing: -0.01em;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: var(--border-glass);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.project-card:hover .project-visual img {
    transform: scale(1.04);
}

/* =============================================
   12. CONTACT
   ============================================= */

.contact {
    padding-block: var(--section-py);
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-block-end: 1rem;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.contact-info > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-block-end: 2.5rem;
    line-height: 1.7;
}

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

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-channel:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.contact-channel-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: var(--border-glass);
    border-radius: 50%;
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-channel-icon svg {
    width: 20px;
    height: 20px;
}

.contact-channel:hover .contact-channel-icon {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    border: var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-block-end: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-primary);
    border: var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-control:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

/* =============================================
   13. WHATSAPP FLOAT
   ============================================= */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* =============================================
   14. FOOTER
   ============================================= */

.footer {
    padding-block: 2.5rem;
    border-top: var(--border-light);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.footer-text {
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-tertiary);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* =============================================
   15. ANIMATIONS
   ============================================= */

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(10px, -15px); }
    66% { transform: translate(-8px, 10px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.8); }
}

@keyframes whatsapp-pulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5); }
}

/* Scroll-driven reveal */
@keyframes scroll-reveal-expand {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    animation: scroll-reveal-expand linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
}

/* Hero entrance animations */
.hero-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 0.9s var(--ease-out-expo) forwards;
}

.hero-slide-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRight 0.9s var(--ease-out-expo) 0.3s forwards;
}

.hero-scale-in {
    opacity: 0;
    transform: scale(0.92);
    animation: scaleIn 1s var(--ease-out-expo) 0.5s forwards;
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* Staggered grid children */
.services-pillars .pillar-card,
.industry-grid .industry-card,
.diff-grid .diff-card,
.timeline .timeline-step {
    animation: scroll-reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
}

/* =============================================
   16. RESPONSIVE
   ============================================= */

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

    .hero-right {
        padding-block-start: 0;
    }

    .services-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        display: none;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
        border: none;
        border-radius: 0;
        padding: 2rem;
        box-shadow: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.3rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-links .nav-cta {
        margin-inline-start: 0;
        margin-block-start: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metric-item:not(:last-child)::after {
        display: none;
    }

    .services-pillars {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

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

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .bespoke-callout {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   17. REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    .hero-visual img,
    .hero::before {
        animation: none;
    }

    .whatsapp-float::before {
        animation: none;
    }

    .hero-badge-dot {
        animation: none;
    }

    .hero-slide-left,
    .hero-slide-right,
    .hero-scale-in {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reveal,
    .services-pillars .pillar-card,
    .industry-grid .industry-card,
    .diff-grid .diff-card,
    .timeline .timeline-step {
        animation: none;
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    .btn::after {
        display: none;
    }
}
