/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */
:root {
    --primary-red: #c10001;
    --dark-red: #a00001;
    --light-red: rgba(193, 0, 1, 0.1);

    /* Light theme colors */
    --bg-dark: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #999999;

    --accent-blue: #00d4ff;
    --accent-green: #00ff88;
    --gradient-1: linear-gradient(135deg, var(--primary-red), #ff4444);
    --gradient-2: linear-gradient(135deg, var(--bg-dark), var(--bg-secondary));
    --shadow-glow: 0 0 20px rgba(193, 0, 1, 0.3);
    --border-gradient: linear-gradient(90deg, transparent, var(--primary-red), transparent);

    /* Spacing and layout variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(193, 0, 1, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        opacity: 0.2;
        transform: scale(0.95);
    }

    100% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

.logo-img {
    height: 50px;
    width: auto;
    position: relative;
    z-index: 1;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(193, 0, 1, 0.2));
    transition: var(--transition-normal);
}

.logo-img:hover {
    filter: brightness(1.4) drop-shadow(0 0 20px rgba(193, 0, 1, 0.8));
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.login-btn {
    background: var(--gradient-1);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    color: white !important;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-normal);
}

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

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.login-btn:hover::before {
    left: 100%;
}

.theme-toggle {
    background: var(--bg-card);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin: 0 var(--spacing-md);
}

.theme-toggle:hover {
    background: var(--primary-red);
    transform: scale(1.1) rotate(180deg);
}

.theme-toggle:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.theme-icon {
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--spacing-sm);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    display: block;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--light-red), transparent),
        linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: gridMove 20s linear infinite;
    background-image: linear-gradient(rgba(193, 0, 1, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(193, 0, 1, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

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

.floating-card {
    position: absolute;
    width: 200px;
    height: 100px;
    background: rgba(193, 0, 1, 0.1);
    border: 1px solid rgba(193, 0, 1, 0.3);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 6s;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    animation: underlineGrow 1s ease 0.6s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    font-size: 1rem;
    min-height: 44px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(193, 0, 1, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    transform: translateY(-3px) scale(1.05);
    color: white;
}

.play-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all var(--transition-normal);
}

.btn-secondary:hover .play-icon {
    background: white;
    color: var(--primary-red);
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* ========================================
   DASHBOARD PREVIEW
======================================== */
.dashboard-preview {
    position: relative;
    perspective: 1000px;
}

.screen-frame {
    background: var(--bg-card);
    border: 2px solid var(--primary-red);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.screen-frame:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(193, 0, 1, 0.2);
}

.screen-header {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-bottom: 1px solid rgba(193, 0, 1, 0.2);
}

.screen-controls {
    display: flex;
    gap: var(--spacing-sm);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ff5f56;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #27ca3f;
}

.screen-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.screen-content {
    padding: var(--spacing-xl);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: liveDotPulse 2s infinite;
    box-shadow: 0 0 10px var(--accent-green);
}

@keyframes liveDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-green);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
        box-shadow: 0 0 20px var(--accent-green);
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.metric-card {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(193, 0, 1, 0.2);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 0, 1, 0.1), transparent);
    transition: left var(--transition-slow);
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(193, 0, 1, 0.2);
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    filter: drop-shadow(0 0 5px rgba(193, 0, 1, 0.3));
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: var(--spacing-xs);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(193, 0, 1, 0.3);
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-chart {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 30px;
    justify-content: center;
}

.chart-bar {
    width: 6px;
    background: var(--gradient-1);
    border-radius: 3px;
    animation: chartBarGrow 3s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(193, 0, 1, 0.3);
}

.chart-bar:nth-child(1) {
    animation-delay: 0s;
}

.chart-bar:nth-child(2) {
    animation-delay: 0.5s;
}

.chart-bar:nth-child(3) {
    animation-delay: 1s;
}

.chart-bar:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes chartBarGrow {

    0%,
    100% {
        transform: scaleY(0.8);
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(193, 0, 1, 0.3);
    }

    50% {
        transform: scaleY(1.2);
        opacity: 1;
        box-shadow: 0 0 15px rgba(193, 0, 1, 0.6);
    }
}

/* Additional metric animations */
.signal-waves {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 30px;
    gap: 2px;
}

.signal-wave {
    width: 4px;
    background: var(--accent-green);
    border-radius: 2px;
    animation: signalWaveAnimation 1.5s ease-in-out infinite;
    box-shadow: 0 0 3px var(--accent-green);
}

.signal-wave:nth-child(1) {
    height: 15px;
    animation-delay: 0s;
}

.signal-wave:nth-child(2) {
    height: 25px;
    animation-delay: 0.2s;
}

.signal-wave:nth-child(3) {
    height: 20px;
    animation-delay: 0.4s;
}

.signal-wave:nth-child(4) {
    height: 30px;
    animation-delay: 0.6s;
}

.signal-wave:nth-child(5) {
    height: 18px;
    animation-delay: 0.8s;
}

@keyframes signalWaveAnimation {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.6;
        box-shadow: 0 0 3px var(--accent-green);
    }

    50% {
        transform: scaleY(1.5);
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-green);
    }
}

.data-stream {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.stream-line {
    background: var(--accent-blue);
    height: 3px;
    border-radius: 2px;
    animation: dataStreamFlow 2s ease-in-out infinite;
    box-shadow: 0 0 5px var(--accent-blue);
}

.stream-line:nth-child(1) {
    width: 25px;
    animation-delay: 0s;
}

.stream-line:nth-child(2) {
    width: 35px;
    animation-delay: 0.3s;
}

.stream-line:nth-child(3) {
    width: 20px;
    animation-delay: 0.6s;
}

.stream-line:nth-child(4) {
    width: 30px;
    animation-delay: 0.9s;
}

@keyframes dataStreamFlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.7);
        box-shadow: 0 0 5px var(--accent-blue);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.1);
        box-shadow: 0 0 15px var(--accent-blue);
    }
}

.accuracy-ring {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    position: relative;
}

.accuracy-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(193, 0, 1, 0.2);
    border-radius: 50%;
}

.ring-progress {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-red);
    border-right: 3px solid var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: accuracyRingRotate 2s linear infinite;
    box-shadow: 0 0 10px rgba(193, 0, 1, 0.3);
}

@keyframes accuracyRingRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.floating-data {
    position: absolute;
    background: rgba(193, 0, 1, 0.9);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    animation: floatData 4s ease-in-out infinite;
    pointer-events: none;
}

.floating-data:nth-child(1) {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-data:nth-child(2) {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.floating-data:nth-child(3) {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes floatData {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}
/* ========================================
   ENHANCED SERVICES OVERVIEW - LIGHT THEME
======================================== */

.services-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.services-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(193, 0, 1, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    animation: bgPatternPulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgPatternPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Floating Decorative Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 0, 1, 0.08) 0%, transparent 70%);
    animation: floatAnimation 20s ease-in-out infinite;
}

.float-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -7s;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}

.float-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.7;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.6;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.1) 0%, rgba(193, 0, 1, 0.05) 100%);
    border: 2px solid rgba(193, 0, 1, 0.3);
    border-radius: 50px;
    color: #C10001;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(193, 0, 1, 0.1);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(193, 0, 1, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(193, 0, 1, 0.2);
    }
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #C10001 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #C10001 50%, transparent 100%);
    border-radius: 2px;
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        transform: scaleX(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(193, 0, 1, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 0, 1, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Hover Border Gradient */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #C10001, #00D4FF, #C10001);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 3s linear infinite;
}

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

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

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-color: rgba(193, 0, 1, 0.3);
    box-shadow: 
        0 30px 60px rgba(193, 0, 1, 0.25),
        0 0 40px rgba(193, 0, 1, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Service Icon */
.service-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating Rings */
.icon-ring,
.icon-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
}

.icon-ring {
    width: 100%;
    height: 100%;
    border-top-color: rgba(193, 0, 1, 0.5);
    border-right-color: rgba(193, 0, 1, 0.5);
    animation: rotateRing 3s linear infinite;
}

.icon-ring-2 {
    width: 80%;
    height: 80%;
    border-bottom-color: rgba(0, 212, 255, 0.5);
    border-left-color: rgba(0, 212, 255, 0.5);
    animation: rotateRingReverse 4s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateRingReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.service-card:hover .icon-ring {
    animation-duration: 1.5s;
    border-width: 4px;
    border-top-color: #C10001;
    border-right-color: #C10001;
}

.service-card:hover .icon-ring-2 {
    animation-duration: 2s;
    border-width: 4px;
    border-bottom-color: #00D4FF;
    border-left-color: #00D4FF;
}

/* Icon SVG */
.service-icon svg {
    position: relative;
    z-index: 3;
    width: 56px;
    height: 56px;
    color: #C10001;
    filter: drop-shadow(0 4px 10px rgba(193, 0, 1, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.3) rotateY(360deg);
    color: #C10001;
    filter: drop-shadow(0 8px 25px rgba(193, 0, 1, 0.6));
}

/* Service Title */
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover h3 {
    color: #C10001;
    transform: scale(1.05);
}

/* Card Entrance Animations */
.service-card {
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }
.service-card:nth-child(7) { animation-delay: 0.4s; }
.service-card:nth-child(8) { animation-delay: 0.45s; }

/* Continuous Icon Float Animation */
.service-icon {
    animation: iconFloat 4s ease-in-out infinite;
}

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

.service-card:nth-child(2) .service-icon { animation-delay: -1s; }
.service-card:nth-child(3) .service-icon { animation-delay: -2s; }
.service-card:nth-child(4) .service-icon { animation-delay: -3s; }
.service-card:nth-child(5) .service-icon { animation-delay: -1.5s; }
.service-card:nth-child(6) .service-icon { animation-delay: -2.5s; }
.service-card:nth-child(7) .service-icon { animation-delay: -3.5s; }
.service-card:nth-child(8) .service-icon { animation-delay: -0.5s; }

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        padding: 40px 25px;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-icon svg {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    .services-overview {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 35px 20px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .float-circle {
        display: none;
    }
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.features-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.features-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0;
    position: relative;
}

.intro-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.features-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-primary);
    font-weight: 600;
}

.arrow-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: rgba(193, 0, 1, 0.05);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(193, 0, 1, 0.3);
    position: relative;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(10px);
        opacity: 0.8;
    }
}

.arrow-indicator svg {
    color: var(--primary-red);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(193, 0, 1, 0.4));
}

.arrow-text {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-primary);
    font-weight: 500;
    font-style: italic;
}

.features-closing {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.1), rgba(193, 0, 1, 0.05));
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-red);
    margin: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.tech-card-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.15), rgba(193, 0, 1, 0.05));
    border: 2px solid var(--primary-red);
}

.tech-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(193, 0, 1, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 0, 1, 0.1), transparent);
    transition: right var(--transition-slow);
}

.tech-card:hover::after {
    right: 100%;
}

.tech-card:hover,
.tech-card.active {
    border-color: var(--primary-red);
    background: rgba(193, 0, 1, 0.1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(193, 0, 1, 0.2);
}

.tech-icon {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.tech-card:hover .tech-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(193, 0, 1, 0.6));
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .arrow-indicator {
        transform: rotate(90deg);
        margin: var(--spacing-lg) auto;
    }

    .arrow-indicator svg {
        transform: rotate(90deg);
    }

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

    .tech-card-featured {
        grid-column: 1;
    }
}

/* ========================================
   WHAT WE DO SECTION - LIGHT THEME
======================================== */
.what-we-do {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    /* background: var(--bg-dark); */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        conic-gradient(from 0deg at 30% 20%, transparent, rgba(193, 0, 1, 0.04), transparent),
        radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    33% {
        transform: rotate(2deg) scale(1.05);
    }
    66% {
        transform: rotate(-2deg) scale(0.95);
    }
}

.services-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    position: relative;
}

.services-detailed::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 70%;
    background: linear-gradient(180deg, transparent, var(--primary-red), transparent);
    opacity: 0.3;
    z-index: 0;
}

.services-left,
.services-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.service-detail {
    min-height: 200px ;
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(193, 0, 1, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(193, 0, 1, 0.02) 0%,
            transparent 30%,
            transparent 70%,
            rgba(193, 0, 1, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-detail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(45deg,
            transparent,
            var(--primary-red),
            var(--accent-blue),
            var(--primary-red),
            transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-detail:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(193, 0, 1, 0.15),
        0 0 30px rgba(193, 0, 1, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(193, 0, 1, 0.3);
}

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

.service-detail:hover::after {
    opacity: 1;
}

.service-number {
    background: var(--gradient-1);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow:
        0 8px 20px rgba(193, 0, 1, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: iconSpin 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-detail:hover .service-number {
    transform: scale(1.1);
    box-shadow:
        0 12px 30px rgba(193, 0, 1, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-detail:hover .service-number::before {
    opacity: 1;
}

.service-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    opacity: 0;
    transform: scale(0.8);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.service-detail:hover .service-number::after {
    animation-play-state: running;
}

.service-content {
    flex: 1;
}

.service-detail h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.service-detail h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail:hover h3 {
    color: var(--primary-red);
}

.service-detail:hover h3::after {
    width: 100%;
}

.service-detail p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-detail:hover p {
    color: var(--text-primary);
}

/* Animation delays */
.service-detail:nth-child(1) {
    animation-delay: 0.1s;
}

.service-detail:nth-child(2) {
    animation-delay: 0.2s;
}

.service-detail:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes serviceDetailFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-detail {
    animation: serviceDetailFadeIn 0.8s ease forwards;
    opacity: 0;
}

.services-right .service-detail {
    animation-name: serviceDetailFadeInRight;
}

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

/* ========================================
   CTA BANNER - REDESIGNED LIGHT THEME
======================================== */

.cta-banner {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    background: var(--gradient-1);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(193, 0, 1, 0.25);
}

/* Decorative background effects */
.cta-banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Text Section */
.cta-banner-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.cta-banner-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.highlight-text {
    color: white;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.cta-banner-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 600px;
}

/* Action Section */
.cta-banner-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

/* Banner Button */
.cta-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: white;
    color: var(--primary-red);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-banner-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 0, 1, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-banner-button:hover::before {
    left: 100%;
}

.cta-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.cta-banner-button:active {
    transform: translateY(0);
}

.cta-banner-button svg {
    transition: transform var(--transition-normal);
}

.cta-banner-button:hover svg {
    transform: translateX(5px);
}

.cta-banner-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl);
        gap: var(--spacing-xl);
    }

    .cta-banner-text {
        width: 100%;
    }

    .cta-banner-subtitle {
        max-width: 100%;
    }

    .cta-banner-action {
        align-items: center;
        width: 100%;
    }

    .cta-banner-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .cta-banner {
        padding: var(--spacing-xl) 0;
    }

    .cta-banner-content {
        padding: var(--spacing-lg);
    }

    .cta-banner-title {
        font-size: 1.5rem;
    }

    .cta-banner-subtitle {
        font-size: 0.9rem;
    }

    .cta-banner-button {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1rem;
        max-width: none;
    }
}
/* ========================================
   VIDEO SECTION
======================================== */
.video-section {
    padding: var(--spacing-3xl) 0;
    /* background: var(--bg-dark); */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* ========================================
   REPORTS SECTION - LIGHT THEME
======================================== */
.reports-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.reports-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(193, 0, 1, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.02) 0%, transparent 60%),
        linear-gradient(135deg, transparent 0%, rgba(193, 0, 1, 0.01) 50%, transparent 100%);
    animation: reportsBgFloat 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes reportsBgFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.05) rotate(1deg);
        opacity: 0.8;
    }
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    position: relative;
}

.report-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-card);
    border: 2px solid rgba(193, 0, 1, 0.1);
    backdrop-filter: blur(20px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(193, 0, 1, 0.02) 0%,
            transparent 30%,
            transparent 70%,
            rgba(193, 0, 1, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

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

.report-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(193, 0, 1, 0.3);
    box-shadow:
        0 25px 50px rgba(193, 0, 1, 0.2),
        0 0 40px rgba(193, 0, 1, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.report-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--bg-secondary);
}

.report-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(193, 0, 1, 0.05) 50%,
            transparent 100%);
    animation: imageSkeleton 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes imageSkeleton {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.05);
    position: relative;
    z-index: 2;
}

.report-card:hover .report-image img {
    transform: scale(1.15);
    filter: brightness(0.7) contrast(1.15);
}

.report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg,
            rgba(26, 26, 26, 0.95) 0%,
            rgba(193, 0, 1, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.report-card:hover .report-overlay {
    opacity: 1;
}

.report-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.report-badge.standard {
    background: rgba(76, 175, 80, 0.95);
    color: white;
    border-color: rgba(76, 175, 80, 0.4);
}

.report-badge.premium {
    background: rgba(255, 152, 0, 0.95);
    color: white;
    border-color: rgba(255, 152, 0, 0.4);
}

.report-badge.enterprise {
    background: rgba(103, 58, 183, 0.95);
    color: white;
    border-color: rgba(103, 58, 183, 0.4);
}

.report-badge.custom {
    background: rgba(233, 30, 99, 0.95);
    color: white;
    border-color: rgba(233, 30, 99, 0.4);
}

.report-overlay h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.report-card:hover .report-overlay h3 {
    transform: translateY(0);
}

.report-overlay p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.report-card:hover .report-overlay p {
    transform: translateY(0);
}

.report-features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.report-card:hover .report-features {
    transform: translateY(0);
}

.report-features .feature-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.view-report {
    background: var(--gradient-1);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow:
        0 10px 25px rgba(193, 0, 1, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.report-card:hover .view-report {
    transform: translateY(0);
    transition-delay: 0.3s;
}

.view-report::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.view-report:hover::before {
    width: 300px;
    height: 300px;
}

.view-report:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(193, 0, 1, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.view-report svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.view-report:hover svg {
    transform: translateX(3px);
}

.view-report span {
    position: relative;
    z-index: 1;
}

.report-info {
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-top: 1px solid rgba(193, 0, 1, 0.1);
    position: relative;
    z-index: 2;
}

.report-info h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.report-card:hover .report-info h4 {
    color: var(--primary-red);
}

.report-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Report Card Animations */
.report-card:nth-child(1) {
    animation-delay: 0.1s;
}

.report-card:nth-child(2) {
    animation-delay: 0.2s;
}

.report-card:nth-child(3) {
    animation-delay: 0.3s;
}

.report-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes reportCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.report-card {
    animation: reportCardSlideIn 0.8s ease forwards;
    opacity: 0;
}
/* ========================================
   CLIENTS SECTION - LIGHT THEME
======================================== */
.clients-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(193, 0, 1, 0.15);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-red) 25%,
            var(--accent-blue) 50%,
            var(--primary-red) 75%,
            transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(193, 0, 1, 0.3);
}

.dual-carousel-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
    position: relative;
}

.clients-carousel {
    position: relative;
    overflow: hidden;
    height: 140px;
    display: flex;
    align-items: center;
    mask: linear-gradient(90deg, transparent 0%, white 5%, white 95%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, white 5%, white 95%, transparent 100%);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    width: max-content;
    will-change: transform;
    animation-play-state: running !important;
}

.carousel-top .carousel-track {
    animation: scroll-left 90s linear infinite;
}

.carousel-bottom .carousel-track {
    animation: scroll-right 35s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.client-logo {
    flex-shrink: 0;
    padding: var(--spacing-xl);
    height: 120px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid rgba(193, 0, 1, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.client-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(193, 0, 1, 0.04), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.client-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(45deg,
            transparent,
            var(--primary-red),
            var(--accent-blue),
            var(--primary-red),
            transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.client-logo:hover::before {
    opacity: 1;
}

.client-logo:hover::after {
    opacity: 1;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(193, 0, 1, 0.25);
    box-shadow:
        0 15px 35px rgba(193, 0, 1, 0.15),
        0 0 25px rgba(193, 0, 1, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.client-logo img {
    height: 70px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.client-logo:hover img {
    opacity: 1;
    filter: brightness(1.1);
    transform: scale(1.05);
}

.clients-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clients-carousel::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .clients-carousel {
        height: 120px;
    }
    
    .client-logo {
        height: 100px;
        min-width: 140px;
        padding: var(--spacing-md);
    }
    
    .client-logo img {
        height: 60px;
        max-width: 120px;
    }
    
    .carousel-track {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .clients-carousel {
        height: 100px;
    }
    
    .client-logo {
        height: 85px;
        min-width: 120px;
        padding: var(--spacing-sm);
    }
    
    .client-logo img {
        height: 50px;
        max-width: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        animation: none !important;
    }
    
    .clients-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .client-logo {
        scroll-snap-align: center;
        pointer-events: auto;
    }
}

.carousel-track {
    backface-visibility: hidden;
    perspective: 1000px;
}

.client-logo {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ========================================
   ENHANCED FOOTER SECTION - MODERN DESIGN
======================================== */

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    color: #ffffff;
}

.footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(193, 0, 1, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.footer-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(193, 0, 1, 0.8) 25%, 
        rgba(0, 212, 255, 0.8) 50%, 
        rgba(193, 0, 1, 0.8) 75%, 
        transparent 100%);
    animation: gradientSlide 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* ========================================
   BRAND SECTION
======================================== */

.footer-brand {
    position: relative;
}

.footer-brand .logo {
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.brand-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* Enhanced Stats Cards */
.footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.footer-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 16px;
    border: 1px solid rgba(193, 0, 1, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(193, 0, 1, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.footer-stats .stat-item:hover::before {
    left: 100%;
}

.footer-stats .stat-item:hover {
    transform: translateY(-8px);
    border-color: rgba(193, 0, 1, 0.6);
    box-shadow: 0 20px 40px rgba(193, 0, 1, 0.3);
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.footer-stats .stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C10001 0%, #8B0000 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-stats .stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(193, 0, 1, 0.5);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

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

.footer-stats .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(193, 0, 1, 0.5);
    margin-bottom: 4px;
}

.footer-stats .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* ========================================
   LINKS SECTION
======================================== */

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.link-section h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #C10001 0%, #00D4FF 100%);
    border-radius: 2px;
}

.link-section ul {
    list-style: none;
    padding: 0;
}

.link-section ul li {
    margin-bottom: 12px;
}

.link-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.link-icon {
    opacity: 0;
    color: #C10001;
    font-weight: bold;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.link-section ul li a:hover {
    color: #ffffff;
    padding-left: 16px;
}

.link-section ul li a:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   CONTACT SECTION
======================================== */

.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #C10001 0%, #00D4FF 100%);
    border-radius: 2px;
}

.contact-info {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 12px;
    border: 1px solid rgba(193, 0, 1, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-color: rgba(193, 0, 1, 0.4);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(193, 0, 1, 0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #C10001 0%, #8B0000 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(193, 0, 1, 0.5);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: #C10001;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.contact-details address,
.contact-details a,
.contact-details span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.contact-details a:hover {
    color: #ffffff;
}

/* ========================================
   SOCIAL SECTION
======================================== */

.social-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-section h5 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 12px;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-link.facebook {
    background: rgba(66, 103, 178, 0.15);
    border: 2px solid rgba(66, 103, 178, 0.4);
    color: #4267B2;
}

.social-link.facebook::before {
    background: #4267B2;
}

.social-link.facebook:hover {
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 12px 35px rgba(66, 103, 178, 0.5);
    border-color: #4267B2;
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.15);
    border: 2px solid rgba(29, 161, 242, 0.4);
    color: #1DA1F2;
}

.social-link.twitter::before {
    background: #1DA1F2;
}

.social-link.twitter:hover {
    color: white;
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(29, 161, 242, 0.5);
    border-color: #1DA1F2;
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.15);
    border: 2px solid rgba(0, 119, 181, 0.4);
    color: #0077B5;
}

.social-link.linkedin::before {
    background: #0077B5;
}

.social-link.linkedin:hover {
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 119, 181, 0.5);
    border-color: #0077B5;
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.15);
    border: 2px solid rgba(225, 48, 108, 0.4);
    color: #E1306C;
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-link.instagram:hover {
    color: white;
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(225, 48, 108, 0.5);
    border-color: #E1306C;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ========================================
   FOOTER BOTTOM
======================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.company-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(193, 0, 1, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(193, 0, 1, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-color: rgba(193, 0, 1, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 0, 1, 0.3);
}

/* ========================================
   ANIMATIONS
======================================== */

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

.footer-brand,
.footer-links,
.footer-contact {
    animation: footerSlideUp 0.8s ease forwards;
    opacity: 0;
}

.footer-brand {
    animation-delay: 0.1s;
}

.footer-links {
    animation-delay: 0.3s;
}

.footer-contact {
    animation-delay: 0.5s;
}

.footer-newsletter {
    animation: footerSlideUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .newsletter-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-stats .stat-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .stat-content {
        text-align: left;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-newsletter {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .newsletter-text h3 {
        font-size: 1.25rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-badges {
        flex-direction: column;
        width: 100%;
    }
    
    .badge {
        justify-content: center;
        width: 100%;
    }
    
    .link-section h4,
    .footer-contact h4 {
        font-size: 1rem;
    }
}