/* ============================================
   FrontAir - Your Automation Partner
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0A6B6E;
    --primary-dark: #054547;
    --primary-light: #0D8A8D;
    --accent: #00B4B4;
    --white: #FFFFFF;
    --off-white: #F8FAFA;
    --gray-100: #F0F4F4;
    --gray-200: #E0E6E6;
    --gray-300: #B8C4C4;
    --gray-600: #4A5656;
    --gray-800: #2A3333;
    --black: #1A1F1F;
    
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --shadow-sm: 0 2px 8px rgba(10, 107, 110, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 107, 110, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 107, 110, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ============================================
   Mega Menu Navigation
   ============================================ */
.mega-menu {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    margin-top: 76px; /* Space for fixed header */
}

.mega-menu-container {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    height: 340px;
}

/* Categories Column */
.menu-categories {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-right: 1px solid var(--gray-200);
}

.category-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.category-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--gray-100);
}

.category-btn.active::before {
    height: 60%;
}

/* Services Column */
.menu-services {
    padding: 24px 32px;
    border-right: 1px solid var(--gray-200);
    height: 100%;
    overflow-y: auto;
}

.services-list {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.services-list.active {
    display: flex;
}

/* Two-column layout for Technologies */
.services-list.services-two-col {
    flex-direction: row;
    gap: 0;
}

.services-list.services-two-col.active {
    display: flex;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 24px;
    border-right: 1px solid var(--gray-200);
    min-width: 150px;
}

.tech-category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: var(--transition);
    text-align: left;
}

.tech-category-btn:hover {
    background: var(--gray-100);
}

.tech-category-btn.active {
    background: var(--gray-100);
    color: var(--primary);
}

.tech-category-btn .service-icon {
    color: var(--primary);
}

.tech-services-container {
    padding-left: 24px;
    flex: 1;
}

.tech-services {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.tech-services.active {
    display: flex;
}

/* Two-column layout for Sectors */
.services-list.sectors-two-col {
    flex-direction: row;
    gap: 40px;
}

.services-list.sectors-two-col.active {
    display: flex;
}

.sectors-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.sectors-column .service-item {
    justify-content: flex-start;
}

.service-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tech-categories .service-item {
    justify-content: flex-start;
}

.tech-services .service-item {
    justify-content: flex-start;
}

.service-item:hover {
    background: var(--gray-100);
}

.service-name {
    font-size: 0.95rem;
    color: var(--gray-800);
}

.service-item:has(.service-badge) {
    justify-content: space-between;
}

.service-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-left: auto;
}

.service-badge.free {
    color: #E91E63;
    background: rgba(233, 30, 99, 0.1);
}

/* Graphics Column */
.menu-graphics {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    height: 100%;
}

.graphics-placeholder {
    text-align: center;
    max-width: 280px;
}

.graphic-content {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.graphic-content.active {
    display: flex;
}

.graphic-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.graphic-icon svg {
    width: 40px;
    height: 40px;
}

.graphic-text {
    font-size: 1rem;
    color: var(--primary);
    font-style: italic;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.header-cta {
    padding: 10px 24px;
}

/* Mobile Menu Toggle - Hidden since mega menu is always visible */
.mobile-menu-toggle {
    display: none !important;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--primary);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-title .title-top {
    display: block;
    font-size: clamp(2rem, 6vw, 4rem);
    color: #FFFFFF;
}

.hero-footer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px 0;
}

.company-info {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.hero-title .highlight {
    display: block;
    font-size: clamp(3.5rem, 12vw, 8rem);
    color: #F8BBD9;
}

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases {
    padding: 100px 0;
    background: var(--white);
}

.use-case {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.use-case:last-of-type {
    margin-bottom: 60px;
}

.use-case-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.use-case-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.use-case-description {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* Audio Demo Component */
.audio-demo {
    max-width: 500px;
    margin: 40px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.audio-demo-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 24px;
}

.audio-player-container {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    padding: 20px;
    border-style: dashed;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.4);
}

.play-btn svg {
    width: 20px;
    height: 20px;
}

.play-btn .play-icon {
    margin-left: 3px;
}

.audio-progress-container {
    flex: 1;
}

.audio-progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.audio-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-600);
    font-family: var(--font-mono);
}

/* Transcript Section */
.transcript-section {
    margin-top: 0;
}

.transcript-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.transcript-container {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 8px;
}

.transcript-container::-webkit-scrollbar {
    width: 6px;
}

.transcript-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.transcript-container::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.transcript-line {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.transcript-line.active {
    opacity: 1;
    transform: scale(1.02);
}

.transcript-line:has(.agent) {
    background: rgba(10, 107, 110, 0.08);
    border-left: 3px solid var(--primary);
}

.transcript-line:has(.phil) {
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid #3B82F6;
}

.transcript-line.active:has(.agent) {
    background: rgba(10, 107, 110, 0.15);
}

.transcript-line.active:has(.phil) {
    background: rgba(59, 130, 246, 0.15);
}

.speaker {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.speaker.agent {
    color: var(--primary);
}

.speaker.phil {
    color: #3B82F6;
}

.speech {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
}

/* Responsive Audio Player */
@media (max-width: 768px) {
    .audio-demo {
        padding: 20px;
        margin: 30px 16px 0;
    }
    
    .audio-player-container {
        padding: 16px;
    }
    
    .transcript-container {
        max-height: 200px;
    }
}

/* Document Processing Demo */
.doc-processing-demo {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.doc-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    min-height: 380px;
}

.doc-preview {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.doc-preview-inner {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.doc-icon {
    font-size: 1.2rem;
}

.doc-header span {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-family: var(--font-mono);
}

.doc-content {
    flex: 1;
    overflow-y: auto;
}

.doc-content h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 12px;
    text-decoration: underline;
}

.doc-text {
    font-size: 0.7rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: 8px;
}

.doc-text strong {
    color: var(--gray-800);
}

.doc-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    opacity: 0.15;
    pointer-events: none;
}

/* Chat Interface */
.doc-chat {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-style: italic;
}

.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    animation: messageSlideIn 0.4s ease;
}

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

.chat-message.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message.ai {
    background: var(--gray-100);
    color: var(--gray-800);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.ai.typing {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
}

.chat-input-container {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    background: var(--white);
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    margin-left: 8px;
    border: none;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive Document Demo */
@media (max-width: 768px) {
    .doc-demo-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .doc-preview {
        min-height: 200px;
    }
    
    .chat-messages {
        min-height: 200px;
        max-height: 200px;
    }
    
    .doc-processing-demo {
        margin: 30px 16px 0;
        padding: 16px;
    }
}

/* Software Integration Demo */
.software-integration-demo {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.integration-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.integration-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hub-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(10, 107, 110, 0.3);
    animation: hubPulse 2s ease-in-out infinite;
}

.hub-icon svg {
    width: 40px;
    height: 40px;
}

@keyframes hubPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(10, 107, 110, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(10, 107, 110, 0.4);
    }
}

.hub-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.integration-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.integration-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: nodeFloat 3s ease-in-out infinite;
}

.node-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.integration-node:hover .node-icon {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

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

.integration-node span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Node Positions */
.node-1 { top: 10%; left: 10%; animation-delay: 0s; }
.node-2 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0.3s; }
.node-3 { top: 10%; right: 10%; animation-delay: 0.6s; }
.node-4 { bottom: 10%; left: 10%; animation-delay: 0.9s; }
.node-5 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 1.2s; }
.node-6 { bottom: 10%; right: 10%; animation-delay: 1.5s; }

@keyframes nodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.node-2, .node-5 {
    animation: nodeFloatCenter 3s ease-in-out infinite;
}

@keyframes nodeFloatCenter {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.conn-line {
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    opacity: 0.3;
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -24;
    }
}

/* Integration Features */
.integration-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.feature-icon {
    font-size: 1.2rem;
}

/* Responsive Software Integration */
@media (max-width: 768px) {
    .software-integration-demo {
        margin: 30px 16px 0;
        padding: 20px;
    }
    
    .integration-visual {
        height: 280px;
    }
    
    .hub-icon {
        width: 60px;
        height: 60px;
    }
    
    .hub-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .node-icon {
        width: 40px;
        height: 40px;
    }
    
    .node-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .integration-features {
        gap: 16px;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
}

/* Custom Use Cases + Process Intro Section */
.custom-process-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-process-section.with-bg {
    min-height: 50vh;
}

.custom-process-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        #2D7B7B 0%, 
        #3D8B8B 30%, 
        #5AA5A5 60%, 
        #7BBDBD 100%
    );
    z-index: 0;
}

.custom-process-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
    width: 100%;
}

.custom-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.custom-header.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.custom-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 3px;
}

.custom-arrow {
    font-size: 1.5rem;
    color: var(--white);
}

.custom-infinity {
    font-size: 2rem;
    color: var(--white);
    font-weight: 300;
}

.custom-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 500;
    color: #F8BBD9;
    letter-spacing: -2px;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.custom-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.custom-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: 6px;
    margin-top: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.custom-subtitle.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Process Circle Wrapper */
.process-intro-section {
    background: var(--white);
}

.process-circle-wrapper {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-width: 1200px;
}

.process-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-circle 4s ease-in-out infinite;
}

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

.process-intro-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ============================================
   Process Section
   ============================================ */
.process {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.step-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Leadership Section
   ============================================ */
.leadership {
    padding: 80px 0 60px;
    background: var(--off-white);
}

.leadership-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: 2px;
}

.leaders-row {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.leader-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 400px;
}

.leader-card {
    text-align: center;
    margin-bottom: 30px;
}

.leader-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 24px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    width: 100%;
}

.leader-logos .company-logo img {
    height: 35px;
    max-width: 80px;
}

.leader-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-text {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.leader-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.leader-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-800);
}

.linkedin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #0A66C2;
    transition: var(--transition);
}

.linkedin-link:hover {
    color: #004182;
    transform: scale(1.1);
}

.linkedin-link svg {
    width: 100%;
    height: 100%;
}

.email-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.email-link svg {
    width: 100%;
    height: 100%;
}

/* Company Logos */
.company-logos {
    max-width: 800px;
    margin: 0 auto;
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 50px;
    margin-bottom: 30px;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: var(--transition);
}

.company-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.company-logo img {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}


/* ============================================
   Free Consultation Section
   ============================================ */
.consultation-section {
    width: 100%;
    background: var(--off-white);
}

.consultation-header {
    text-align: center;
    padding: 80px 24px 50px;
}

.consultation-title-free {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 500;
    color: #ec5aa3;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.consultation-title-main {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.consultation-arrow {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 2px solid var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.consultation-arrow svg {
    width: 28px;
    height: 28px;
}

.consultation-calendly {
    background: var(--primary);
    padding: 60px 24px 80px;
}

.calendly-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.calendly-inline-widget {
    min-height: 700px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 30px 24px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    text-align: left;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 4px;
}

.footer-company {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
}

.footer .footer-logo {
    display: flex;
    align-items: center;
}

.footer .footer-logo img {
    height: 35px;
    width: auto;
}

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

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

.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .mega-menu-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }
    
    .menu-categories {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding: 16px;
        gap: 8px;
    }
    
    .category-btn {
        padding: 10px 16px;
        border-radius: var(--radius-full);
        border: 1px solid var(--gray-200);
    }
    
    .category-btn::before {
        display: none;
    }
    
    .category-btn.active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }
    
    .menu-services {
        border-right: none;
        padding: 20px;
        height: auto;
        overflow-y: visible;
    }
    
    .menu-graphics {
        display: none;
    }
    
    .process-timeline::before {
        left: 24px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .process-step {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 40px 20px;
    }
    
    .use-cases {
        padding: 60px 0;
    }
    
    .use-case {
        margin-bottom: 60px;
        padding: 0 16px;
    }
    
    .custom-process-section {
        min-height: 80vh;
    }
    
    .process-circle {
        width: 250px;
        height: 250px;
    }
    
    .process-circle-wrapper {
        min-height: 350px;
    }
    
    .process {
        padding: 60px 0;
    }
    
    .process-timeline {
        padding: 0 16px;
    }
    
    .leadership {
        padding: 60px 0;
    }
    
    .leaders-row {
        gap: 40px;
    }
    
    .logos-row {
        gap: 20px 30px;
    }
    
    .consultation-header {
        padding: 60px 20px 40px;
    }
    
    .consultation-calendly {
        padding: 40px 16px 60px;
    }
    
    .footer-content {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-left {
        text-align: left;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-company {
        font-size: 0.75rem;
    }
    
    .footer .footer-logo img {
        height: 28px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .hero-title {
        letter-spacing: -1px;
    }
    
    .use-case-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .use-case-description {
        font-size: 0.95rem;
    }
    
    .step-content {
        padding-top: 4px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .leader-avatar {
        width: 80px;
        height: 80px;
    }
    
    .leaders-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .leader-column {
        max-width: 100%;
    }
    
    .leader-logos {
        gap: 12px 16px;
        padding: 16px;
    }
    
    .leader-logos .company-logo img {
        height: 28px;
        max-width: 70px;
    }
    
    .logos-row {
        gap: 15px 25px;
    }
    
    .company-logo img {
        height: 30px;
    }
    
    .partners-grid {
        gap: 24px 40px;
    }
    
    .partner-logo {
        font-size: 0.95rem;
    }
    
    .consultation-title-main {
        letter-spacing: 2px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection styling */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus styling for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

