:root {
    /* ===== COLOR SYSTEM ===== */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4facfe;
    --dark-color: #2c3e50;
    --success-color: #0ba360;
    --warning-color: #f6d365;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, var(--dark-color) 0%, #3498db 100%);
    --success-gradient: linear-gradient(135deg, var(--success-color) 0%, #3cba92 100%);
    --warning-gradient: linear-gradient(135deg, var(--warning-color) 0%, #fda085 100%);
    
    /* ===== SPACING & SIZING ===== */
    --section-padding: 100px;
    --card-border-radius: 16px;
    --btn-border-radius: 50px;
    --element-border-radius: 12px;
    
    /* ===== SHADOWS ===== */
    --shadow-light: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 15px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
    
    /* ===== ANIMATION TIMING ===== */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --float-animation: 6s ease-in-out infinite;
}

/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
}

/* ===== TYPOGRAPHY & UTILITIES ===== */
.section-py {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: white !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.bg-purple {
    background: var(--primary-gradient) !important;
}

.bg-gray-800 {
    background-color: #2d3748 !important;
}

/* ===== BUTTON COMPONENTS ===== */
.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--btn-border-radius);
    transition: all var(--transition-fast);
    box-shadow: var(--gradient-shadow);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--primary-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--btn-border-radius);
    transition: all var(--transition-fast);
}

.btn-outline-gradient:hover {
    background-image: var(--primary-gradient), var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-fast);
}

.btn-outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

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

/* Hero Badge */
.badge {
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: float var(--float-animation);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

/* Tech Visualization */
.tech-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: orbit 8s linear infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) { top: 20%; left: 20%; }
.floating-icon:nth-child(2) { top: 20%; right: 20%; }
.floating-icon:nth-child(3) { bottom: 20%; left: 20%; }
.floating-icon:nth-child(4) { bottom: 20%; right: 20%; }

.hero-graphic-container {
    position: relative;
    z-index: 3;
}

.hero-graphic-pulse {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-graphic 3s ease-in-out infinite;
    z-index: 1;
}

.hero-graphic {
    position: relative;
    z-index: 2;
    font-size: 6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float var(--float-animation);
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--card-border-radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
}

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

.stat-card small {
    font-size: 0.75rem;
}

.trust-indicators {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* ===== SERVICES SECTION ===== */
.service-card {
    border: none;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    background: white;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    box-shadow: var(--gradient-shadow);
}

/* ===== SHOWCASE SECTIONS ===== */
.showcase-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-graphic {
    position: relative;
}

.device-mockup {
    width: 300px;
    height: 200px;
    background: var(--primary-gradient);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.device-mockup .screen {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: white;
    border-radius: var(--element-border-radius);
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--element-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
    animation: float 4s ease-in-out infinite;
}

.element-1 {
    top: -20px;
    right: 50px;
    animation-delay: 0s;
}

.element-2 {
    bottom: 30px;
    right: -20px;
    animation-delay: 1s;
}

.element-3 {
    bottom: -10px;
    left: 80px;
    animation-delay: 2s;
}

/* Career Visual */
.career-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-graphic {
    position: relative;
}

.avatar-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--shadow-light);
    animation: bounce 2s ease-in-out infinite;
}

.avatar-1 { animation-delay: 0s; }
.avatar-2 { animation-delay: 0.5s; }
.avatar-3 { animation-delay: 1s; }
.avatar-4 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    animation-delay: 1.5s;
}

/* ===== FEATURE LISTS ===== */
.feature-list {
    margin: 2rem 0;
}

.feature-item {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.feature-highlight {
    position: relative;
    padding-left: 30px;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-gradient);
}

/* ===== CARD COMPONENTS ===== */
.project-card,
.product-card,
.job-card,
.testimonial-card {
    border: none;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.project-card:hover,
.product-card:hover,
.job-card:hover,
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.tech-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

/* ===== PARTICLES SYSTEM ===== */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: float-particle 15s infinite linear;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-gradient);
    padding: 12px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(100%);
    animation: slideUp 0.5s ease-out 2s forwards;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes pulse-graphic {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.floating-element {
    animation: float var(--float-animation);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-visual,
    .showcase-visual,
    .career-visual,
    .tech-visualization {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .hero-graphic {
        font-size: 4rem;
    }
    
    .device-mockup {
        width: 250px;
        height: 150px;
    }
    
    .avatar-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .avatar {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .element,
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .sticky-cta-bar .col-md-8 {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .sticky-cta-bar .col-md-4 {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-visual {
        height: 250px;
    }
    
    .hero-graphic {
        font-size: 3rem;
    }
    
    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4 {
        width: 60px;
        height: 60px;
    }
    
    .btn-gradient,
    .btn-outline-gradient {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .floating-element,
    .shape,
    .element,
    .avatar,
    .particle,
    .floating-icon,
    .pulse-animation {
        animation: none;
    }
    
    .service-card:hover,
    .stat-card:hover,
    .btn-gradient:hover,
    .btn-outline-gradient:hover,
    .project-card:hover,
    .product-card:hover,
    .job-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .service-card,
    .device-mockup .screen {
        background: #2d3748;
    }
    
    .element {
        background: #4a5568;
        color: white;
    }
}