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

:root {
    /* Brand Colors */
    --primary-color: #296be5;
    --secondary-color: #5ec6ef;
    --dark-color: #000000;
    --light-color: #ffffff;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Funnel Display', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Header Styles */
.header-sticky {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-sticky.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.navbar {
    padding: 16px 24px;
    transition: var(--transition);
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(41, 107, 229, 0.05);
}

/* Social Icons in Header */
.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 20px;
}

.social-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Mobile menu toggle - Simple & Clean */
.navbar-toggler {
    border: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.2s ease;
    border-radius: 2px;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 12px;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(41, 107, 229, 0.5);
    --bs-btn-border-color: rgba(255, 255, 255, 1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(33, 89, 196, 0.6);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 1);
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(28, 76, 173, 0.7);
    --bs-btn-active-border-color: rgba(255, 255, 255, 1);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(41, 107, 229, 0.5);
    --bs-btn-disabled-border-color: rgba(255, 255, 255, 1);
    
    background: rgba(41, 107, 229, 0.5) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.btn-primary:hover {
    background: rgba(33, 89, 196, 0.6) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    background: rgba(41, 107, 229, 0.5) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 1) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.btn-primary:active {
    background: rgba(28, 76, 173, 0.7) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 1) !important;
    transform: translateY(0) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.7);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.25);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.9);
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.25);
    --bs-btn-active-border-color: rgba(255, 255, 255, 0.9);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgba(255, 255, 255, 0.7);
    
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 41, 107, 229;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(41, 107, 229, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
    overflow: hidden;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.7;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.75) 0%,
        rgba(94, 198, 239, 0.65) 50%,
        rgba(41, 107, 229, 0.8) 100%);
    z-index: 2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    color: var(--white);
    z-index: 3;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #f0f0f0, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientText 3s ease infinite;
}

/* Highlight text for automation page - dark on light */
.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.typewriter {
    position: relative;
    color: var(--white);
    min-height: 1.2em;
    display: inline-block;
    font-weight: 300;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    text-decoration: none;
}

.floating-card i {
    font-size: 1.5rem;
}

/* Link styles for floating cards */
a.floating-card:link,
a.floating-card:visited,
a.floating-card:active {
    text-decoration: none;
    color: var(--primary-color);
}

a.floating-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation: float2 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float3 6s ease-in-out infinite 4s;
}

.card-4 {
    top: 10%;
    right: 30%;
    animation: float1 6s ease-in-out infinite 1s;
}

.card-5 {
    bottom: 10%;
    right: 25%;
    animation: float2 6s ease-in-out infinite 3s;
}

@keyframes float1 {
    0%, 100% { 
        transform: translateY(0px) rotate(-2deg);
    }
    50% { 
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: translateY(0px) rotate(2deg);
    }
    50% { 
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes float3 {
    0%, 100% { 
        transform: translateY(0px) rotate(-1deg);
    }
    50% { 
        transform: translateY(-25px) rotate(1deg);
    }
}

/* Prevent hover transform from conflicting with animation */
.floating-card:not(:hover) {
    animation-play-state: running;
}

.floating-card:hover {
    animation-play-state: paused;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--white);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    position: relative;
    font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
/* ===== Services Section - Modular Grid ===== */
.services-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services-section .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.services-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* Services Grid Layout - Asymmetric Modular */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.services-row {
    display: grid;
    gap: 20px;
}

/* Row 1: Equal thirds for uniform appearance */
.services-row-1 {
    grid-template-columns: repeat(3, 1fr);
}

/* Row 2: 60% + 20% + 20% (Wide automation, Two small squares) */
.services-row-2 {
    grid-template-columns: 3fr 1fr 1fr;
}

/* Base Service Tile */
.service-tile {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.18);
}

.service-tile:hover::before {
    opacity: 1;
}

/* Specific Tile Sizes - Row 1 */
.service-tile-large-left {
    min-height: 420px;
}

.service-tile-medium-center {
    min-height: 420px;
}

.service-tile-tall-right {
    min-height: 420px;
}

/* Specific Tile Sizes - Row 2 */
.service-tile-automation {
    min-height: 280px;
}

.service-tile-small-square {
    min-height: 280px;
    padding: 24px;
}

/* Service Tile Content */
.service-tile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-icon-badge {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-icon-badge i {
    font-size: 1.6rem;
    color: var(--white);
}

.service-icon-badge.primary,
.service-icon-badge.gradient,
.service-icon-badge.creative,
.service-icon-badge.analytics,
.service-icon-badge.content {
    background: rgba(255, 255, 255, 0.2);
}

.service-tile:hover .service-icon-badge {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.service-tile h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-tile-small-square h3 {
    font-size: 1.25rem;
}

.service-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 16px;
}

.service-tile-small-square .service-description {
    font-size: 0.85rem;
}

/* Service Images */
.service-tile-image {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
}

.service-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-image-placeholder.tall {
    aspect-ratio: 16/9;
}

.service-image-placeholder i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Service Tags Inline (for automation) */
.service-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.service-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Service Features Compact */
.service-features-compact {
    list-style: none;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features-compact li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 18px;
    position: relative;
}

.service-features-compact li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-row-1,
    .services-row-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-tile-tall-right {
        grid-column: span 2;
    }
    
    .service-tile-automation {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }
    
    .services-grid {
        gap: 16px;
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-row-1,
    .services-row-2 {
        display: contents;
    }
    
    .service-tile {
        padding: 24px;
        border-radius: 20px;
        min-height: 180px !important;
    }
    
    .service-tile-tall-right {
        grid-column: span 1;
    }
    
    /* Hide images, descriptions and tags on mobile */
    .service-tile-image,
    .service-description,
    .service-tags-inline,
    .service-tag {
        display: none;
    }
    
    .service-tile-content {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .service-tile h3 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .service-tile-small-square h3 {
        font-size: 1.1rem;
    }
    
    .service-icon-badge {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }
    
    .service-icon-badge i {
        font-size: 1.5rem;
    }
    
    .service-tile-small-square {
        aspect-ratio: auto;
        min-height: 180px !important;
    }
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-text {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    position: relative;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 350px;
}

.tech-item {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
}

/* Portfolio Section */
.portfolio-section {
    background: var(--white);
    padding: var(--section-padding) 0;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 350px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(41, 107, 229, 0.15);
}

.portfolio-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-card-image {
    position: relative;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-logo {
    margin-bottom: 20px;
}

.client-logo {
    max-height: 50px;
    width: auto;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(41, 107, 229, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-description {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 25px;
}

.portfolio-description p {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.portfolio-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.portfolio-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray-700);
}

.portfolio-checklist li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

.portfolio-actions {
    margin-top: auto;
}

.portfolio-checklist-mobile li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

.portfolio-logo {
    margin-bottom: 30px;
}

.client-logo {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
    position: relative;
}

/* Portfolio responsywność */
@media (max-width: 991px) {
    .portfolio-layout {
        flex-direction: column;
    }
    
    .portfolio-content {
        width: 100%;
        padding: 30px;
    }
    
    .portfolio-image-container {
        width: 100%;
        margin-left: 0;
        max-height: 250px;
    }
    
    .portfolio-image {
        min-height: 250px;
        border-radius: 0 0 30px 30px;
    }
    
    /* Mobile compact design */
    .portfolio-expand-btn {
        display: block;
    }
    
    .portfolio-checklist {
        display: none;
    }
    
    .portfolio-description p {
        display: none;
    }
    
    .portfolio-item {
        background: var(--white);
        border-radius: 20px;
        padding: 0;
        margin: 20px 0;
        overflow: hidden;
    }
    
    .portfolio-layout {
        position: relative;
    }
    
    .portfolio-content {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        margin: 15px;
        margin-bottom: 0;
    }
    
    .portfolio-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .portfolio-logo {
        margin-bottom: 15px;
    }
    
    .client-logo {
        max-height: 40px;
    }
    
    .portfolio-tags {
        margin-bottom: 15px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Tablet styles */
@media (max-width: 991px) {
    .hero-visual {
        height: 300px;
        margin-top: 40px;
    }
    
    .hero-visual {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
        position: relative;
    }
    
    .floating-card {
        position: relative;
        margin: 0;
        display: flex;
        animation: none;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .card-1, .card-2, .card-3, .card-4, .card-5 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0;
    }
    
    .card-5 {
        grid-column: span 2;
    }
    
    .cta-box {
        padding: 40px 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 50px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-answer p {
    padding: 24px 30px 24px 30px;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background: var(--white);
    color: var(--dark-color);
    position: relative;
    padding: var(--section-padding) 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 400px;
}

.cta-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: white;
}

.cta-image {
    position: relative;
    overflow: hidden;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.btn-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    opacity: 0.8;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

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

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(41, 107, 229, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px;
    }
    
    .header-sticky {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
    }
    
    /* Modern Mobile Menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        z-index: 9999;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-100%);
    }
    
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Prevent body scroll when menu is open */
    body.navbar-collapse-show {
        overflow: hidden;
    }
    
    .navbar-nav {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .social-icons {
        margin: 40px 0 0 0;
        justify-content: center;
        gap: 24px;
    }
    
    .social-icon {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 2rem;
        font-weight: 500;
        color: var(--dark-color);
        text-decoration: none;
        padding: 0;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 40px;
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 10000;
    }
    
    .hero-visual {
        margin-top: 60px;
        height: 300px;
    }
    
    .floating-card {
        font-size: 0.9rem;
        padding: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-section .row.g-4 {
        justify-content: center;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .header-sticky {
        top: 5px;
        width: calc(100% - 10px);
        border-radius: 12px;
    }
    
    .hero-section {
        padding: 60px 0 30px;
        text-align: center;
        min-height: 40vh;
    }
    
    .hero-video {
        min-width: 120%;
        min-height: 120%;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .portfolio-item {
        padding: 40px 30px;
    }
    
    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .portfolio-card {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 20px;
    }
    
    .portfolio-card-image {
        order: -1;
        height: 180px;
        min-height: 180px;
    }
    
    .portfolio-card-image .portfolio-img {
        height: 100%;
        aspect-ratio: 16/12;
        object-fit: cover;
    }
    
    .portfolio-card-content {
        padding: 20px 15px;
        text-align: center;
    }
    
    .portfolio-logo {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .client-logo {
        max-height: 35px;
    }
    
    .portfolio-tags {
        display: none;
    }
    
    .portfolio-description {
        text-align: left;
        margin-bottom: 20px;
    }
    
    .portfolio-description p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .portfolio-checklist li {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .portfolio-checklist li i {
        font-size: 14px;
    }
    
    .portfolio-actions .btn {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        min-height: auto;
        margin: 0 10px;
        border-radius: 20px;
    }
    
    .cta-content {
        padding: 40px 20px;
        text-align: center;
    }
    
    .cta-content .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-image {
        order: -1;
        min-height: 200px;
    }
    
    .portfolio-image {
        min-height: 200px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-visual {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    section {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-section {
        padding: 0 20px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-visual {
        height: 150px;
        margin-top: 20px;
    }
    
    .portfolio-grid {
        gap: 15px;
        margin-top: 20px;
    }
    
    .portfolio-card {
        border-radius: 15px;
    }
    
    .portfolio-card-image {
        height: 150px;
        min-height: 150px;
    }
    
    .portfolio-card-content {
        padding: 15px 12px;
    }
    
    .client-logo {
        max-height: 30px;
    }
    
    .portfolio-description p {
        font-size: 0.85rem;
    }
    
    .portfolio-checklist li {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .portfolio-actions .btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .floating-card {
        padding: 12px 16px;
        font-size: 0.8rem;
        margin: 6px 3px;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-logo {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-card {
        margin: 0 5px;
        border-radius: 15px;
    }
    
    .cta-content {
        padding: 30px 15px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .portfolio-content {
        padding: 20px 15px;
    }
    
    .portfolio-slide {
        padding: 30px 15px;
    }
    
    .portfolio-logo {
        margin-bottom: 15px;
    }
    
    .client-logo {
        max-height: 35px;
        max-width: 120px;
    }
    
    .portfolio-checklist li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .portfolio-checklist li i {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        max-width: 100%;
        padding: 0;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .tech-item {
        padding: 12px 10px;
        font-size: 0.8rem;
        border-radius: 10px;
        font-weight: 600;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h5 {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-logo {
        height: 45px;
    }
}

/* Privacy Policy Page */
.privacy-policy-section {
    padding: 220px 0 80px;
    background: var(--white);
}

.privacy-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.privacy-updated {
    color: var(--gray-700);
    margin-bottom: 40px;
    font-style: italic;
}

.privacy-content {
    line-height: 1.7;
}

.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
}

.privacy-content p, .privacy-content li {
    margin-bottom: 15px;
    color: var(--gray-700);
}

.privacy-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.contact-section {
    margin-top: 50px;
    padding: 30px;
    background: var(--gray-100);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

/* Team Page - Modern 70/30 Layout */
.team-section {
    padding: 220px 0 80px;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(41, 107, 229, 0.15);
    border-color: var(--primary-color);
}

.team-image {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.team-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.team-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0;
}

.team-email {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.team-card:hover .team-email {
    color: var(--secondary-color);
}

/* Team page responsive - Complete */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 80px 0 60px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
    }
    
    .team-card {
        margin: 0;
    }
    
    .team-image {
        padding-bottom: 50%;
    }
    
    .team-info {
        padding: 16px;
        min-height: 50%;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-role {
        font-size: 0.9rem;
    }
    
    .team-email {
        font-size: 0.85rem;
    }
}

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

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

/* Loading animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

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

/* Selection styles */
::selection {
    background: rgba(41, 107, 229, 0.2);
    color: var(--gray-900);
}

/* Focus styles for accessibility */
.btn:focus,
.btn:focus-visible,
.faq-question:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 2px solid var(--white) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

*:focus,
*:focus-visible {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

/* Remove default browser focus styles */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

/* Specific override for buttons */
.btn,
.btn:hover,
.btn:active,
.btn:focus,
.btn:focus-visible {
    box-shadow: none !important;
}

/* Print styles */
@media print {
    .header-sticky,
    .hero-background,
    body::before,
    body::after {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ================================
   AUTOMATYZACJE PAGE STYLES
   ================================ */

/* Automation Hero Section */
.automation-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.05) 0%,
        rgba(94, 198, 239, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.automation-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 107, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.automation-hero .hero-content {
    z-index: 2;
    position: relative;
}

.automation-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    color: var(--gray-900);
}

.automation-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Animation */
.hero-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Flow Animation Container */
.flow-animation-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.flow-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Background paths (static, light gray) */
.flow-path-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Animated paths (blue) */
.flow-path {
    fill: none;
    stroke: url(#blueGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: url(#glow);
    opacity: 0;
}

/* Individual path animations with stagger */
.flow-path-1 {
    animation: flowAnimation 2s ease-in-out 0.3s forwards, pulseOpacity 2s ease-in-out 0.3s forwards;
}

.flow-path-2 {
    animation: flowAnimation 1.5s ease-in-out 1.2s forwards, pulseOpacity 1.5s ease-in-out 1.2s forwards;
}

.flow-path-3 {
    animation: flowAnimation 1.5s ease-in-out 1.2s forwards, pulseOpacity 1.5s ease-in-out 1.2s forwards;
}

.flow-path-4 {
    animation: flowAnimation 2s ease-in-out 2s forwards, pulseOpacity 2s ease-in-out 2s forwards;
}

.flow-path-5 {
    animation: flowAnimation 2s ease-in-out 2s forwards, pulseOpacity 2s ease-in-out 2s forwards;
}

.flow-path-6 {
    animation: flowAnimation 1.8s ease-in-out 3.3s forwards, pulseOpacity 1.8s ease-in-out 3.3s forwards;
}

.flow-path-7 {
    animation: flowAnimation 1.8s ease-in-out 3.3s forwards, pulseOpacity 1.8s ease-in-out 3.3s forwards;
}

.flow-path-8 {
    animation: flowAnimation 2s ease-in-out 4.5s forwards, pulseOpacity 2s ease-in-out 4.5s forwards;
}

/* Keyframe for stroke drawing */
@keyframes flowAnimation {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Keyframe for opacity fade in */
@keyframes pulseOpacity {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

/* Continuous loop - restart animation */
@keyframes continuousFlow {
    0%, 100% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Flow Labels */
.flow-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.flow-label-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.flow-label-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    animation: labelFadeIn 0.5s ease-out 1s forwards;
}

.flow-label-2 {
    top: 150px;
    left: -30px;
    animation: labelFadeIn 0.5s ease-out 2.5s forwards;
}

.flow-label-3 {
    top: 150px;
    right: -30px;
    animation: labelFadeIn 0.5s ease-out 2.5s forwards;
}

.flow-label-4 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    animation: labelFadeIn 0.5s ease-out 5s forwards;
}

@keyframes labelFadeIn {
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.flow-label-2,
.flow-label-3 {
    transform: scale(0.8);
}

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

.flow-label-2 {
    animation: labelFadeInSide 0.5s ease-out 2.5s forwards;
}

.flow-label-3 {
    animation: labelFadeInSide 0.5s ease-out 2.5s forwards;
}

/* Hover effects for labels */
.flow-label:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(41, 107, 229, 0.2);
}

.flow-label-2:hover,
.flow-label-3:hover {
    transform: scale(1.05);
}

.automation-visual {
    width: 100%;
    max-width: 500px;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.chaos-state,
.system-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 20px;
    background: var(--gray-100);
    border-radius: 16px;
    flex: 1;
    transition: var(--transition);
}

.chaos-state i,
.system-state i {
    font-size: 3rem;
}

.chaos-state {
    color: #dc3545;
    animation: shake 3s infinite;
}

.system-state {
    color: #28a745;
    animation: pulse 3s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.arrow-transform {
    font-size: 2rem;
    color: var(--primary-color);
    animation: slideRight 2s infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(10px); opacity: 0.5; }
}

/* Target Audience Section */
.target-audience-section {
    padding: var(--section-padding) 0;
    background: white;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.audience-card {
    padding: 32px 24px;
    background: var(--gray-100);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(41, 107, 229, 0.1);
}

.audience-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.audience-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.audience-card p {
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Problems Section */
.problems-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.03) 0%,
        rgba(94, 198, 239, 0.03) 100%);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(41, 107, 229, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.problem-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.problem-card p {
    color: var(--gray-700);
    margin-bottom: 0;
    line-height: 1.6;
}

/* What We Do Section */
.what-we-do-section {
    padding: var(--section-padding) 0;
    background: white;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.05) 0%,
        rgba(94, 198, 239, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.info-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.info-content p {
    color: var(--gray-700);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services Automation Grid */
.services-automation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.automation-service-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.automation-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(41, 107, 229, 0.15);
    border-color: var(--primary-color);
}

.service-number {
    position: absolute;
    top: -15px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(41, 107, 229, 0.3);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.1) 0%,
        rgba(94, 198, 239, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.automation-service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex: 1;
}

.service-features li {
    padding: 10px 0;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.service-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-benefit {
    padding: 16px;
    background: rgba(41, 107, 229, 0.05);
    border-radius: 12px;
    color: var(--gray-800);
    font-weight: 500;
    margin-bottom: 0;
    border-left: 3px solid var(--primary-color);
}

/* Case Study Section */
.case-study-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.03) 0%,
        rgba(94, 198, 239, 0.03) 100%);
}

.case-study-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.case-study-header {
    padding: 40px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.case-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.case-study-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-study-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.case-study-content {
    padding: 40px;
}

.case-description h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    margin-top: 24px;
}

.case-description h4:first-child {
    margin-top: 0;
}

.case-description p {
    color: var(--gray-700);
    line-height: 1.6;
}

.case-results {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-200);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.result-item {
    text-align: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.result-impact {
    padding: 24px;
    background: linear-gradient(135deg, 
        rgba(41, 107, 229, 0.05) 0%,
        rgba(94, 198, 239, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.result-impact i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.result-impact p {
    margin-bottom: 0;
    color: var(--gray-800);
    line-height: 1.6;
}

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

.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 50px;
    bottom: 50px;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(41, 107, 229, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 20px 0;
}

.step-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Technologies Section */
.technologies-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.tech-logos-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    background: white;
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-width: 100px;
}

.tech-logo-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tech-logo-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    font-family: var(--font-heading);
}

.tech-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tech-logo-item:hover i {
    color: var(--secondary-color);
}

/* Final CTA Section */
.final-cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out;
}

.final-cta-section .section-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* White button on blue background for CTA section */
.final-cta-section .btn-outline-light {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.final-cta-section .btn-outline-light:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

.final-cta-section .btn-outline-light i {
    color: var(--primary-color);
}

.trust-elements {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.9;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.trust-item i {
    font-size: 1.5rem;
}

/* Responsive Styles for Automation Page */
@media (max-width: 992px) {
    .automation-hero {
        padding: 120px 0 60px;
    }
    
    .automation-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .flow-animation-container {
        max-width: 350px;
    }
    
    .flow-label {
        font-size: 0.75rem;
        padding: 10px 16px;
    }
    
    .flow-label-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .flow-label-2,
    .flow-label-3 {
        left: 10px;
        right: auto;
    }
    
    .flow-label-3 {
        left: auto;
        right: 10px;
    }
    
    .before-after {
        flex-direction: column;
        gap: 20px;
    }
    
    .arrow-transform {
        transform: rotate(90deg);
    }
    
    .services-automation-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .automation-hero .hero-title {
        font-size: 2rem;
    }
    
    .automation-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .flow-animation-container {
        max-width: 300px;
        margin-top: 40px;
    }
    
    .flow-label {
        font-size: 0.7rem;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .flow-label span {
        display: none;
    }
    
    .flow-label-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .flow-label-2,
    .flow-label-3 {
        left: 5px;
        right: auto;
    }
    
    .flow-label-3 {
        left: auto;
        right: 5px;
    }
    
    .audience-cards,
    .problems-grid,
    .services-automation-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .tech-logos-horizontal {
        gap: 16px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .trust-elements {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* ================================
   STRONY INTERNETOWE & GRAFIKA PAGE STYLES
   ================================ */

/* Websites Visual */
.websites-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Globe Animation Container */
.globe-animation-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.globe-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Background paths (static, light gray) */
.globe-path-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Animated paths (blue) */
.globe-path {
    fill: none;
    stroke: url(#globeGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: url(#globeGlow);
    opacity: 0;
}

/* Individual path animations with stagger */
.globe-path-1 {
    animation: globeFlowAnimation 3s ease-in-out 0.2s infinite;
}

.globe-path-2 {
    animation: globeFlowAnimation 2.5s ease-in-out 0.8s infinite;
}

.globe-path-3 {
    animation: globeFlowAnimation 2.2s ease-in-out 1.5s infinite;
}

.globe-path-4 {
    animation: globeFlowAnimation 2.8s ease-in-out 0.5s infinite;
}

.globe-path-5 {
    animation: globeFlowAnimation 2.3s ease-in-out 1.8s infinite;
}

.globe-path-6 {
    animation: globeFlowAnimation 2s ease-in-out 1.2s infinite;
}

.globe-path-7 {
    animation: globeFlowAnimation 2.6s ease-in-out 0.3s infinite;
}

/* Keyframe for globe stroke drawing */
@keyframes globeFlowAnimation {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Globe center icon */
.globe-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(41, 107, 229, 0.3);
    animation: pulse 3s ease-in-out infinite;
    z-index: 10;
}

.globe-center-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Floating icons around globe */
.globe-floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: floatAround 8s ease-in-out infinite;
}

.globe-floating-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.globe-floating-icon.icon-1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.globe-floating-icon.icon-2 {
    bottom: 15%;
    left: 15%;
    animation-delay: -2.6s;
}

.globe-floating-icon.icon-3 {
    top: 45%;
    right: 5%;
    animation-delay: -5.2s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.05);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(15px) scale(0.95);
    }
}

.devices-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.device i {
    font-size: 3rem;
    color: var(--primary-color);
}

.device.desktop {
    width: 280px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.device.tablet {
    width: 180px;
    height: 240px;
    top: 30%;
    right: 10%;
    z-index: 2;
    animation: float 5s ease-in-out infinite;
    animation-delay: -2s;
}

.device.mobile {
    width: 120px;
    height: 220px;
    bottom: 15%;
    left: 15%;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    animation-delay: -1s;
}

.device:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 15px 60px rgba(41, 107, 229, 0.3);
}

.device.tablet:hover {
    transform: scale(1.05);
}

.device.mobile:hover {
    transform: scale(1.05);
}

/* Graphic Visual */
.graphic-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Creative Animation Container */
.creative-animation-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.creative-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Animated creative paths (brush strokes) */
.creative-path {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: url(#creativeGlow);
    opacity: 0;
}

/* Individual path animations with different colors */
.creative-path-1 {
    animation: creativeFlowAnimation 3s ease-in-out 0.3s infinite;
}

.creative-path-2 {
    animation: creativeFlowAnimation 2.8s ease-in-out 1s infinite;
}

.creative-path-3 {
    animation: creativeFlowAnimation 2.5s ease-in-out 1.8s infinite;
}

.creative-path-4 {
    animation: creativeFlowAnimation 3.2s ease-in-out 0.6s infinite;
}

.creative-path-5 {
    animation: creativeFlowAnimation 2.6s ease-in-out 2.3s infinite;
}

@keyframes creativeFlowAnimation {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* Creative center icon (palette) */
.creative-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
    animation: pulse 3s ease-in-out infinite;
    z-index: 10;
}

.creative-center-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Color dots animation */
.color-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.color-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: colorDotFloat 4s ease-in-out infinite;
}

.color-dot.dot-1 {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.color-dot.dot-2 {
    background: linear-gradient(135deg, #ffd93d, #ffe66d);
    top: 25%;
    right: 20%;
    animation-delay: -0.8s;
}

.color-dot.dot-3 {
    background: linear-gradient(135deg, #296be5, #5ec6ef);
    bottom: 25%;
    left: 20%;
    animation-delay: -1.6s;
}

.color-dot.dot-4 {
    background: linear-gradient(135deg, #a29bfe, #c3b8ff);
    bottom: 20%;
    right: 15%;
    animation-delay: -2.4s;
}

.color-dot.dot-5 {
    background: linear-gradient(135deg, #6bcf7f, #8bdf9a);
    top: 50%;
    right: 8%;
    animation-delay: -3.2s;
}

@keyframes colorDotFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Floating tool icons */
.creative-tool-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: toolFloat 6s ease-in-out infinite;
}

.creative-tool-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.creative-tool-icon.tool-1 {
    top: 8%;
    left: 45%;
    animation-delay: 0s;
}

.creative-tool-icon.tool-2 {
    bottom: 12%;
    left: 10%;
    animation-delay: -2s;
}

.creative-tool-icon.tool-3 {
    top: 40%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes toolFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-12px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(12px) rotate(-5deg);
    }
}

.design-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.design-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.design-element i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.design-element.element-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 4s ease-in-out infinite;
}

.design-element.element-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: float 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.design-element.element-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 4.5s ease-in-out infinite;
    animation-delay: -3s;
}

.design-element.element-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: float 5.5s ease-in-out infinite;
    animation-delay: -2s;
}

.design-element:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(41, 107, 229, 0.2);
}

.design-element.element-2:hover,
.design-element.element-4:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Tech Comparison Cards */
.tech-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.comparison-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(41, 107, 229, 0.15);
    border-color: var(--primary-color);
}

.comparison-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.comparison-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.comparison-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(41, 107, 229, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.comparison-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.comparison-features li {
    padding: 12px 0;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.comparison-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-pros {
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.comparison-pros strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: 8px;
}

.comparison-pros p {
    color: var(--gray-700);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Placeholder */
.portfolio-placeholder {
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.portfolio-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(41, 107, 229, 0.1), rgba(94, 198, 239, 0.1));
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px;
}

.portfolio-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.portfolio-placeholder p {
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Package Cards */
.package-card {
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(41, 107, 229, 0.15);
    border-color: var(--primary-color);
}

.package-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(41, 107, 229, 0.03), rgba(94, 198, 239, 0.03));
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(41, 107, 229, 0.3);
}

.package-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-align: center;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

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

.package-list li {
    padding: 12px 0;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    border-bottom: 1px solid var(--gray-200);
}

.package-list li:last-child {
    border-bottom: none;
}

.package-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Responsive for new pages */
@media (max-width: 992px) {
    .tech-comparison {
        grid-template-columns: 1fr;
    }
    
    .globe-animation-container {
        max-width: 350px;
    }
    
    .globe-center-icon {
        width: 70px;
        height: 70px;
    }
    
    .globe-center-icon i {
        font-size: 2rem;
    }
    
    .globe-floating-icon {
        width: 45px;
        height: 45px;
    }
    
    .devices-mockup {
        height: 350px;
    }
    
    .device.desktop {
        width: 240px;
        height: 150px;
    }
    
    .device.tablet {
        width: 150px;
        height: 200px;
    }
    
    .device.mobile {
        width: 100px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .comparison-card {
        padding: 32px 24px;
    }
    
    .globe-animation-container {
        max-width: 300px;
        margin-top: 40px;
    }
    
    .globe-center-icon {
        width: 60px;
        height: 60px;
    }
    
    .globe-center-icon i {
        font-size: 1.75rem;
    }
    
    .globe-floating-icon {
        width: 40px;
        height: 40px;
    }
    
    .globe-floating-icon i {
        font-size: 1.25rem;
    }
    
    .creative-animation-container {
        max-width: 300px;
        margin-top: 40px;
    }
    
    .creative-center-icon {
        width: 70px;
        height: 70px;
    }
    
    .creative-center-icon i {
        font-size: 2rem;
    }
    
    .color-dot {
        width: 25px;
        height: 25px;
    }
    
    .creative-tool-icon {
        width: 45px;
        height: 45px;
    }
    
    .creative-tool-icon i {
        font-size: 1.25rem;
    }
    
    .devices-mockup,
    .design-elements {
        transform: scale(0.8);
    }
    
    .package-card {
        margin-top: 20px;
    }
}

