/* Custom Styles for Portfolio - Enhanced Version */

:root {
    --primary: #0077FF;
    --secondary: #0052CC;
    --accent: #00D4FF;
    --orange: #FF6B35;
    --orange-light: #FF8C61;
    --orange-dark: #E55A2B;
    --orange-accent: #FFA500;
    --dark: #1a1a1a;
    --light: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Global Enhancements */
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Typography - Lighter font weights for better readability */
strong {
    font-weight: 500;
}

/* Status Online Animation - Effet réseau */
.status-online {
    position: relative;
    z-index: 10;
}

.status-online::before,
.status-online::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.6);
    animation: ripple-network 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-online::after {
    animation-delay: 1s;
}

@keyframes ripple-network {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}

/* Orange accent utilities */
.text-orange {
    color: var(--orange);
}

.bg-orange-50 {
    background-color: rgba(255, 107, 53, 0.1);
}

.border-orange {
    border-color: var(--orange);
}

.hover\:bg-orange-50:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

/* Navigation Header - Style Professionnel et Simple */
.navbar-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.navbar-list {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #1f2937;
    background-color: #f9fafb;
}

.nav-link.active {
    color: #1f2937;
    background-color: #f3f4f6;
    font-weight: 500;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: inherit;
    transition: color 0.2s ease;
}

.nav-text {
    position: relative;
    white-space: nowrap;
}

.nav-indicator {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar-list {
        gap: 0.125rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.75rem 0;
    }
    
    .navbar-list::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .nav-text {
        display: none;
    }
    
    .nav-icon {
        font-size: 1.375rem;
    }
}

/* Page Sections */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Carousel Enhancements */
.carousel-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
}

.carousel-nav {
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.carousel-pagination {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-dot:hover {
    background: var(--gray-400);
    transform: scale(1.2);
}

.pagination-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* Project Cards - Enhanced with More Height */
.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 119, 255, 0.3);
}

/* Image Container - Taller for Mobile Apps */
.project-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    min-height: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.project-card:hover .project-image-container img {
    transform: scale(1.05);
}

/* Navigation Arrows - Enhanced */
.project-nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.project-image-container:hover .project-nav-arrows {
    opacity: 1;
}

.project-nav-arrows.left {
    left: 16px;
}

.project-nav-arrows.right {
    right: 16px;
}

.project-nav-arrows:hover {
    background: rgba(0, 119, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.project-nav-arrows:active {
    transform: translateY(-50%) scale(0.95);
}

.image-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Project Card Content */
.project-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--gray-900);
    line-height: 1.4;
}

.project-card-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Filter Buttons - Enhanced */
.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--orange);
    color: white;
}

.filter-btn:not(.active) {
    background: white;
    border: 1px solid var(--gray-200);
}

.filter-btn:not(.active):hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* Video Modal - Compact Phone Frame for Mobile Apps */
#video-modal {
    display: none;
    backdrop-filter: blur(8px);
}

#video-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.video-modal-container {
    position: relative;
    width: 600px;
    max-width: 95vw;
    min-width: 300px;
    resize: none;
}

.phone-frame {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 8px;
    background: #000;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

#video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

.video-modal-close {
    transition: all 0.3s;
    cursor: pointer;
}

.video-modal-close:hover {
    transform: scale(1.15);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .video-modal-container {
        width: 400px;
    }
    
    .phone-frame {
        padding: 14px;
        border-radius: 36px;
    }
    
    .phone-screen {
        border-radius: 26px;
    }
    
    .phone-frame::before {
        width: 70px;
        height: 7px;
    }
}

@media (min-width: 768px) {
    .video-modal-container {
        width: 650px;
    }
    
    .phone-frame {
        padding: 20px;
        border-radius: 44px;
    }
    
    .phone-screen {
        border-radius: 32px;
    }
    
    .phone-frame::before {
        width: 100px;
        height: 9px;
    }
}

@media (min-width: 1024px) {
    .video-modal-container {
        width: 700px;
    }
    
    .phone-frame {
        padding: 24px;
        border-radius: 48px;
    }
    
    .phone-screen {
        border-radius: 34px;
    }
    
    .phone-frame::before {
        width: 120px;
        height: 10px;
    }
}

/* Resize Handle */
.resize-handle {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: nwse-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    transition: all 0.2s;
}

.resize-handle:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.resize-handle:active {
    transform: scale(0.95);
}

.resize-handle svg {
    width: 16px;
    height: 16px;
    color: #666;
    pointer-events: none;
}

.resize-handle:hover svg {
    color: #333;
}

/* Mobile: hide resize handle on touch devices */
@media (max-width: 768px) {
    .resize-handle {
        display: none;
    }
}

/* Section Headers */
h2 {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-slide {
        flex-direction: column;
    }
    
    .project-nav-arrows {
        opacity: 1;
        width: 36px;
        height: 36px;
    }
    
    .project-image-container {
        min-height: 400px;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .project-image-container {
        min-height: 550px;
        height: 550px;
    }
}

/* Gradient Backgrounds */
.gradient-primary {
    background: var(--primary);
}

.gradient-accent {
    background: var(--orange);
}

/* Video Presentation Section */
.video-presentation-container {
    position: relative;
    background: #000;
}

.video-presentation-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    opacity: 0;
    transition: opacity 0.3s;
}

.video-presentation-container:hover .video-overlay {
    opacity: 1;
}

/* Gallery Section */
.gallery-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Visual Expertise Section */
.visual-expertise-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-expertise-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

/* Responsive Adjustments for New Sections */
@media (max-width: 768px) {
    .video-presentation-container {
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}

/* Aurify Logo - Style simple sans animation */
.logo-container {
    position: relative;
    padding: 0.5rem;
    border-radius: 12px;
}

.aurify-logo {
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* KPI Stats Cards */
.kpi-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi-card:hover {
    transform: translateY(-8px);
}

.kpi-card-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.kpi-card-secondary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.kpi-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi-card-primary .kpi-icon-wrapper {
    background: linear-gradient(135deg, #0077FF 0%, #0052CC 100%);
}

.kpi-card-secondary .kpi-icon-wrapper {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
}

.kpi-card:hover .kpi-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.kpi-icon {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
    transition: transform 0.4s;
}

.kpi-card:hover .kpi-icon {
    transform: scale(1.1);
}

.kpi-content {
    flex: 1;
    min-width: 0;
}

.kpi-number {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0077FF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s;
}

.kpi-card-secondary .kpi-number {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kpi-card:hover .kpi-number {
    transform: scale(1.05);
}

.kpi-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.kpi-sublabel {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.kpi-decoration {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 119, 255, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.kpi-card-secondary .kpi-decoration {
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.kpi-card:hover .kpi-decoration {
    transform: scale(1.5);
    opacity: 0.5;
}

/* Responsive KPI Cards */
@media (max-width: 768px) {
    .kpi-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .kpi-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .kpi-icon {
        font-size: 2rem;
    }
    
    .kpi-number {
        font-size: 2.5rem;
    }
    
    .kpi-label {
        font-size: 1.125rem;
    }
}

/* Ma Stack Section - Technologies Phares */
.stack-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Couleurs spécifiques par technologie au hover */
.stack-card[data-tech="react-native"]:hover::before {
    background: linear-gradient(135deg, rgba(97, 218, 251, 0.15) 0%, rgba(0, 216, 255, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="react-native"]:hover {
    box-shadow: 0 20px 40px rgba(97, 218, 251, 0.2);
}

.stack-card[data-tech="flutter"]:hover::before {
    background: linear-gradient(135deg, rgba(97, 202, 255, 0.15) 0%, rgba(0, 122, 255, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="flutter"]:hover {
    box-shadow: 0 20px 40px rgba(97, 202, 255, 0.2);
}

.stack-card[data-tech="kotlin"]:hover::before {
    background: linear-gradient(135deg, rgba(125, 82, 196, 0.15) 0%, rgba(169, 120, 255, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="kotlin"]:hover {
    box-shadow: 0 20px 40px rgba(125, 82, 196, 0.2);
}

.stack-card[data-tech="nextjs"]:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 1;
}

.stack-card[data-tech="nextjs"]:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stack-card[data-tech="fastapi"]:hover::before {
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.15) 0%, rgba(0, 200, 180, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="fastapi"]:hover {
    box-shadow: 0 20px 40px rgba(0, 150, 136, 0.2);
}

.stack-card[data-tech="flask"]:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 1;
}

.stack-card[data-tech="flask"]:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stack-card[data-tech="supabase"]:hover::before {
    background: linear-gradient(135deg, rgba(35, 193, 158, 0.15) 0%, rgba(46, 213, 115, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="supabase"]:hover {
    box-shadow: 0 20px 40px rgba(35, 193, 158, 0.2);
}

.stack-card[data-tech="firebase"]:hover::before {
    background: linear-gradient(135deg, rgba(255, 202, 40, 0.15) 0%, rgba(255, 167, 38, 0.1) 100%);
    opacity: 1;
}

.stack-card[data-tech="firebase"]:hover {
    box-shadow: 0 20px 40px rgba(255, 202, 40, 0.2);
}

.stack-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.stack-image-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stack-card:hover .stack-image-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.stack-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stack-card:hover .stack-image {
    filter: drop-shadow(0 8px 16px rgba(0, 119, 255, 0.3));
    transform: scale(1.1);
}

/* Supabase logo special handling - Le logo Supabase est déjà coloré */
.stack-image.supabase-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stack-card:hover .stack-image.supabase-logo {
    filter: drop-shadow(0 8px 16px rgba(35, 193, 158, 0.4));
}

.stack-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin: 0;
}

.stack-card:hover .stack-name {
    transform: translateY(-2px);
}

/* Couleurs spécifiques pour les noms de technologies */
.stack-card[data-tech="react-native"]:hover .stack-name {
    color: #61DAFB;
}

.stack-card[data-tech="flutter"]:hover .stack-name {
    color: #02569B;
}

.stack-card[data-tech="kotlin"]:hover .stack-name {
    color: #7F52FF;
}

.stack-card[data-tech="nextjs"]:hover .stack-name {
    color: #000000;
}

.stack-card[data-tech="fastapi"]:hover .stack-name {
    color: #009688;
}

.stack-card[data-tech="flask"]:hover .stack-name {
    color: #000000;
}

.stack-card[data-tech="supabase"]:hover .stack-name {
    color: #23C19E;
}

.stack-card[data-tech="firebase"]:hover .stack-name {
    color: #FFCA28;
}

/* Responsive Stack Cards */
@media (max-width: 768px) {
    .stack-card {
        padding: 1.5rem 1rem;
    }
    
    .stack-image-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .stack-name {
        font-size: 0.8125rem;
    }
}

@media (min-width: 1024px) {
    .stack-image-wrapper {
        width: 96px;
        height: 96px;
    }
    
    .stack-name {
        font-size: 1rem;
    }
}

/* Integration Cards Styles */
.integration-card {
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.05) 0%, rgba(0, 212, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.integration-logo-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
}

.integration-card:hover .integration-logo-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(0, 119, 255, 0.2);
}

.integration-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.integration-card:hover .integration-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 119, 255, 0.3));
}

.integration-logo.supabase-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.integration-flow {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.integration-card:hover .integration-flow {
    border-color: #0077FF;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Responsive Integration Cards */
@media (max-width: 768px) {
    .integration-logo-wrapper {
        width: 56px;
        height: 56px;
        padding: 10px;
    }
    
    .integration-card {
        padding: 1.5rem;
    }
    
    .integration-flow {
        padding: 1rem;
    }
    
    .integration-flow .flex {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .integration-logo-wrapper {
        width: 80px;
        height: 80px;
        padding: 16px;
    }
}

