/* Global Styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --card-bg: rgba(30, 41, 59, 0.5);
    --glow-color: rgba(99, 102, 241, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* Prevent any element from causing horizontal scroll */
body > *,
main,
section,
div {
    max-width: 100vw;
}

/* Mobile-first approach - ensure nothing breaks viewport */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    body,
    html,
    #root,
    main {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
    }
}

/* Light Mode Theme */
body.light-mode {
    --dark-bg: #f8fafc;
    --darker-bg: #f1f5f9;
    --text-light: #0f172a;
    --text-muted: #475569;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glow-color: rgba(99, 102, 241, 0.3);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .service-card,
body.light-mode .testimonial-card,
body.light-mode .faq-item,
body.light-mode .tech-logo-item,
body.light-mode .system-card,
body.light-mode .output-feature-item,
body.light-mode .data-feature-item,
body.light-mode .enterprise-stat,
body.light-mode .contact-container {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .laptop-screen,
body.light-mode .phone-screen {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.light-mode .server-unit,
body.light-mode .output-device {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

body.light-mode .shape {
    opacity: 0.3;
}

body.light-mode .cube-face {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .document,
body.light-mode .data-circle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.3);
}

body.light-mode .footer {
    background: #e2e8f0;
    border-top-color: rgba(99, 102, 241, 0.2);
}

html {
    scroll-behavior: smooth;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: translateY(0);
    }
    
    .service-card:active {
        transform: translateY(-5px);
    }
    
    /* Disable 3D tilt on touch devices */
    .service-card {
        transition: transform 0.2s ease;
    }
    
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-text {
    color: var(--text-light);
}

.brand-highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--card-bg);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
}

.theme-toggle:hover {
    border-color: rgba(99, 102, 241, 0.6);
    background: rgba(99, 102, 241, 0.1);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    color: #fbbf24;
}

.theme-toggle .fa-moon {
    color: #60a5fa;
    display: none;
}

/* Light mode active */
body.light-mode .theme-toggle .fa-sun {
    display: none;
}

body.light-mode .theme-toggle .fa-moon {
    display: block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
}

/* Animated gradient overlay */
.animated-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, -5%) rotate(120deg);
    }
    66% {
        transform: translate(-5%, 5%) rotate(240deg);
    }
}

/* Animated mesh grid */
.animated-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite ease-in-out;
    opacity: 0.8;
}

.shape-1 {
    width: min(400px, 80vw);
    height: min(400px, 80vw);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(99, 102, 241, 0.1) 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0.05) 100%);
    top: 50%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: min(350px, 70vw);
    height: min(350px, 70vw);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0.1) 100%);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: min(450px, 85vw);
    height: min(450px, 85vw);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.05) 100%);
    top: 30%;
    right: 30%;
    animation-delay: -7s;
}

.shape-5 {
    width: min(300px, 65vw);
    height: min(300px, 65vw);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(168, 85, 247, 0.1) 100%);
    bottom: 10%;
    right: 20%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(100px, -80px) scale(1.2) rotate(90deg);
    }
    50% {
        transform: translate(-50px, 50px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(80px, 100px) scale(1.1) rotate(270deg);
    }
}

/* Video-like floating particles */
.video-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.particle-dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation: particleFloat1 15s infinite ease-in-out;
}

.particle-dot:nth-child(2) {
    top: 40%;
    left: 25%;
    animation: particleFloat2 18s infinite ease-in-out;
}

.particle-dot:nth-child(3) {
    top: 60%;
    left: 10%;
    animation: particleFloat3 20s infinite ease-in-out;
}

.particle-dot:nth-child(4) {
    top: 15%;
    right: 20%;
    animation: particleFloat4 16s infinite ease-in-out;
}

.particle-dot:nth-child(5) {
    top: 50%;
    right: 15%;
    animation: particleFloat1 22s infinite ease-in-out;
}

.particle-dot:nth-child(6) {
    top: 70%;
    right: 25%;
    animation: particleFloat2 19s infinite ease-in-out;
}

.particle-dot:nth-child(7) {
    top: 30%;
    left: 50%;
    animation: particleFloat3 17s infinite ease-in-out;
}

.particle-dot:nth-child(8) {
    top: 80%;
    left: 40%;
    animation: particleFloat4 21s infinite ease-in-out;
}

.particle-dot:nth-child(9) {
    top: 25%;
    right: 40%;
    animation: particleFloat1 14s infinite ease-in-out;
}

.particle-dot:nth-child(10) {
    top: 65%;
    right: 50%;
    animation: particleFloat2 23s infinite ease-in-out;
}

@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(0, -100vh);
        opacity: 0;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(50px, -100vh);
        opacity: 0;
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-50px, -100vh);
        opacity: 0;
    }
}

@keyframes particleFloat4 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, -100vh);
        opacity: 0;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn-glow {
    background: var(--gradient-1);
    border: none;
    box-shadow: 0 0 30px var(--glow-color);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--glow-color);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 3D Cube Animation */
.hero-3d-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.cube-container {
    width: 100%;
    max-width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.cube-face.front  { transform: rotateY(0deg) translateZ(150px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(150px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(150px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(150px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(150px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(150px); }

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
    animation: mouseFloat 2s infinite;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes mouseFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    background: var(--darker-bg);
    padding: 100px 0 !important;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(99, 102, 241, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Websites Portfolio Section */
.websites-section {
    background: var(--dark-bg);
    padding: 100px 0 !important;
}

.laptop-mockup {
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 20px;
    max-width: 100%;
    overflow: hidden;
}

.laptop-container {
    position: relative;
    transform-style: preserve-3d;
    animation: laptopFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.4));
}

@keyframes laptopFloat {
    0%, 100% {
        transform: translateY(0) rotateX(15deg) rotateY(-5deg);
    }
    50% {
        transform: translateY(-20px) rotateX(15deg) rotateY(5deg);
    }
}

.laptop-screen {
    width: 100%;
    max-width: 800px;
    height: 500px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border-radius: 20px 20px 0 0;
    border: 15px solid #2d3748;
    border-bottom: 8px solid #2d3748;
    overflow: hidden;
    position: relative;
    box-shadow: 
        inset 0 0 0 2px #000,
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Add screen reflection effect */
.laptop-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.laptop-notch {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
    box-shadow: 
        inset 0 -2px 5px rgba(0, 0, 0, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Camera dot */
.laptop-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #1e3a8a 0%, #1e293b 100%);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(59, 130, 246, 0.5);
}

.website-slider {
    width: 100%;
    height: 100%;
    display: flex;
    animation: slideWebsites 20s infinite;
}

@keyframes slideWebsites {
    0%, 20% {
        transform: translateX(0);
    }
    25%, 45% {
        transform: translateX(-100%);
    }
    50%, 70% {
        transform: translateX(-200%);
    }
    75%, 95% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(0);
    }
}

.website-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.website-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.slide-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.laptop-base {
    width: 100%;
    max-width: 920px;
    height: 25px;
    background: linear-gradient(to bottom, 
        #475569 0%, 
        #334155 40%, 
        #1e293b 100%);
    border-radius: 0 0 40px 40px / 0 0 20px 20px;
    position: relative;
    margin-top: -8px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        inset 0 -5px 15px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Keyboard/trackpad area effect */
.laptop-base::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 180px;
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.3) 0%, 
        transparent 100%);
    border-radius: 10px;
    pointer-events: none;
}

/* Hinge detail */
.laptop-base::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 10px;
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border-radius: 0 0 8px 8px;
    box-shadow: 
        inset 0 -1px 3px rgba(0, 0, 0, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Mobile Apps Section */
.mobile-apps-section {
    background: var(--darker-bg);
    padding: 100px 0 !important;
}

.mobile-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mobile-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.features-list i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.phone-mockup {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    max-width: 100%;
    overflow: hidden;
}

.phone-container {
    width: 100%;
    max-width: 320px;
    height: 650px;
    position: relative;
    transform-style: preserve-3d;
    animation: phoneFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.4));
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-10deg) rotateX(5deg);
    }
    50% {
        transform: translateY(-30px) rotateY(10deg) rotateX(-5deg);
    }
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Camera and speaker details */
.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: radial-gradient(circle, #1e3a8a 0%, #0f172a 100%);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(59, 130, 246, 0.6);
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 30%;
    width: 30px;
    height: 3px;
    background: #1e293b;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 100%);
    border-radius: 40px;
    border: 14px solid #1e293b;
    overflow: hidden;
    box-shadow: 
        inset 0 0 0 2px #000,
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 5px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Phone screen reflection */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        transparent 100%);
    pointer-events: none;
    z-index: 5;
    border-radius: 28px;
}

.app-slider {
    width: 100%;
    height: 100%;
    display: flex;
    animation: slideApps 16s infinite;
}

@keyframes slideApps {
    0%, 22% {
        transform: translateX(0);
    }
    25%, 47% {
        transform: translateX(-100%);
    }
    50%, 72% {
        transform: translateX(-200%);
    }
    75%, 97% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(0);
    }
}

.app-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.app-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
    color: white;
}

.phone-buttons {
    position: absolute;
    right: -2px;
    top: 120px;
    width: 3px;
    height: 60px;
    background: #1e293b;
    border-radius: 0 3px 3px 0;
}

/* Output Management Section */
.output-section {
    background: var(--dark-bg);
    padding: 100px 0 !important;
}

.output-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    perspective: 1200px;
}

.document-generator {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    transform-style: preserve-3d;
}

/* 3D Output Device (Generator/Printer) */
.output-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 3px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 20px rgba(99, 102, 241, 0.2);
    animation: devicePulse 3s ease-in-out infinite;
}

@keyframes devicePulse {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 2px 20px rgba(99, 102, 241, 0.2),
            0 0 30px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 2px 20px rgba(99, 102, 241, 0.2),
            0 0 60px rgba(99, 102, 241, 0.6);
    }
}

.device-screen {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 5px;
    animation: progressFill 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.device-status {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Floating Documents */
.floating-documents {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.document {
    position: absolute;
    width: 100px;
    height: 110px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.doc-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.doc-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.doc-1 {
    top: 10%;
    left: 5%;
    animation: floatDoc1 4s ease-in-out infinite;
}

.doc-2 {
    top: 10%;
    right: 5%;
    animation: floatDoc2 4s ease-in-out infinite 0.5s;
}

.doc-3 {
    bottom: 10%;
    left: 5%;
    animation: floatDoc3 4s ease-in-out infinite 1s;
}

.doc-4 {
    bottom: 10%;
    right: 5%;
    animation: floatDoc4 4s ease-in-out infinite 1.5s;
}

.doc-1 .doc-icon { color: #06b6d4; } /* Real-time Dashboard - Cyan */
.doc-2 .doc-icon { color: #f59e0b; } /* API Integration - Amber */
.doc-3 .doc-icon { color: #3b82f6; } /* Cloud Services - Blue */
.doc-4 .doc-icon { color: #8b5cf6; } /* Business Intelligence - Purple */

@keyframes floatDoc1 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
    }
}

@keyframes floatDoc2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
        box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
    }
}

@keyframes floatDoc3 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
        box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    }
}

@keyframes floatDoc4 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
    }
}

/* Output Connection Lines */
.output-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.output-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.6) 50%,
        transparent 100%);
}

.line-1 {
    top: 20%;
    left: 50%;
    transform-origin: center;
    width: 150px;
    animation: lineFlow1 2s ease-in-out infinite;
}

.line-2 {
    top: 50%;
    right: 20%;
    width: 150px;
    animation: lineFlow2 2s ease-in-out infinite 0.5s;
}

.line-3 {
    bottom: 20%;
    left: 50%;
    width: 150px;
    animation: lineFlow3 2s ease-in-out infinite 1s;
}

.line-4 {
    bottom: 50%;
    left: 20%;
    width: 150px;
    animation: lineFlow4 2s ease-in-out infinite 1.5s;
}

@keyframes lineFlow1 {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(-45deg) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: rotate(-45deg) scaleX(1.3);
    }
}

@keyframes lineFlow2 {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(-45deg) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: rotate(-45deg) scaleX(1.3);
    }
}

@keyframes lineFlow3 {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(45deg) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scaleX(1.3);
    }
}

@keyframes lineFlow4 {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(45deg) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scaleX(1.3);
    }
}

.output-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.output-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.output-feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.output-feature-item:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.5);
}

.output-feature-item .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.output-feature-item h5 {
    margin-bottom: 0.5rem;
}

.output-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Enterprise Systems Section */
.enterprise-section {
    background: var(--dark-bg);
    padding: 100px 0 !important;
}

.enterprise-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.enterprise-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.enterprise-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.enterprise-stat {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.enterprise-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.enterprise-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 3D Server Rack */
.server-3d-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
}

.server-rack {
    transform-style: preserve-3d;
    animation: serverFloat 4s ease-in-out infinite;
    position: relative;
}

@keyframes serverFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-15deg) rotateX(10deg);
    }
    50% {
        transform: translateY(-20px) rotateY(15deg) rotateX(-5deg);
    }
}

.server-unit {
    width: 100%;
    max-width: 350px;
    height: 80px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 10px rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.server-unit:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 15px 50px rgba(99, 102, 241, 0.3),
        inset 0 2px 10px rgba(99, 102, 241, 0.2);
}

.server-unit::before {
    content: '';
    position: absolute;
    left: 15px;
    width: 60px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 5px;
}

.server-lights {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s ease-in-out infinite;
}

.server-1 .light:nth-child(1) { animation-delay: 0s; }
.server-1 .light:nth-child(2) { animation-delay: 0.3s; }
.server-1 .light:nth-child(3) { animation-delay: 0.6s; }
.server-2 .light:nth-child(1) { animation-delay: 0.2s; }
.server-2 .light:nth-child(2) { animation-delay: 0.5s; }
.server-2 .light:nth-child(3) { animation-delay: 0.8s; }
.server-3 .light:nth-child(1) { animation-delay: 0.4s; }
.server-3 .light:nth-child(2) { animation-delay: 0.7s; }
.server-3 .light:nth-child(3) { animation-delay: 1s; }

@keyframes blink {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 10px #10b981;
    }
    50% { 
        opacity: 0.3;
        box-shadow: 0 0 3px #10b981;
    }
}

/* Network Connection Lines */
.network-connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.6) 50%, 
        transparent 100%);
    transform-origin: left center;
}

.line-1 {
    top: 30%;
    left: 50%;
    width: 200px;
    animation: dataFlow1 3s ease-in-out infinite;
}

.line-2 {
    top: 50%;
    left: 50%;
    width: 180px;
    animation: dataFlow2 3s ease-in-out infinite 0.5s;
}

.line-3 {
    top: 70%;
    left: 50%;
    width: 160px;
    animation: dataFlow3 3s ease-in-out infinite 1s;
}

@keyframes dataFlow1 {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateX(20px) scaleX(1.2);
    }
}

@keyframes dataFlow2 {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-20px) scaleX(1.2);
    }
}

@keyframes dataFlow3 {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) scaleX(1);
    }
    50% {
        opacity: 1;
        transform: translateX(15px) scaleX(1.1);
    }
}

/* System Cards */
.system-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.system-card:hover::before {
    transform: scaleX(1);
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.system-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.system-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

.system-card:hover .system-icon {
    animation: iconRotate 0.6s ease-in-out;
}

@keyframes iconRotate {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.system-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.system-card > p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.system-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.system-features i {
    color: #10b981;
    font-size: 0.8rem;
}

/* Technologies Section */
.technologies-section {
    background: var(--dark-bg);
    padding: 100px 0 !important;
    overflow: hidden;
}

.tech-slider-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.tech-slider-container::before,
.tech-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-slider-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 100%);
}

.tech-slider-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--dark-bg) 0%, transparent 100%);
}

.tech-slider {
    display: flex;
    gap: 3rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.tech-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 150px;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-logo-item:hover::before {
    opacity: 0.1;
}

.tech-logo-item:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.tech-logo-item i {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.tech-logo-item:hover i {
    transform: rotateY(360deg) scale(1.2);
}

.tech-logo-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Technology brand colors */
.tech-logo-item:nth-child(1) i { color: #61dafb; } /* React */
.tech-logo-item:nth-child(2) i { color: #42b883; } /* Vue */
.tech-logo-item:nth-child(3) i { color: #dd0031; } /* Angular */
.tech-logo-item:nth-child(4) i { color: #777bb3; } /* PHP */
.tech-logo-item:nth-child(5) i { color: #f05340; } /* Laravel */
.tech-logo-item:nth-child(6) i { color: #68a063; } /* Node */
.tech-logo-item:nth-child(7) i { color: #3776ab; } /* Python */
.tech-logo-item:nth-child(8) svg { color: #02569b; } /* Flutter */
.tech-logo-item:nth-child(9) i { color: #fa7343; } /* Swift */
.tech-logo-item:nth-child(10) i { color: #3ddc84; } /* Android */
.tech-logo-item:nth-child(11) i { color: #ffffff; } /* iOS */
.tech-logo-item:nth-child(12) i { color: #00758f; } /* MySQL */
.tech-logo-item:nth-child(13) i { color: #4db33d; } /* MongoDB */
.tech-logo-item:nth-child(14) i { color: #ff9900; } /* AWS */
.tech-logo-item:nth-child(15) i { color: #4285f4; } /* Google Cloud */
.tech-logo-item:nth-child(16) i { color: #0078d4; } /* Azure */
.tech-logo-item:nth-child(17) i { color: #007396; } /* Java */
.tech-logo-item:nth-child(18) i { color: #e34f26; } /* HTML5 */
.tech-logo-item:nth-child(19) i { color: #1572b6; } /* CSS3 */
.tech-logo-item:nth-child(20) i { color: #f7df1e; } /* JavaScript */

.flutter-logo svg {
    width: 60px;
    height: 60px;
    color: #02569b;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.flutter-logo:hover svg {
    transform: rotateY(360deg) scale(1.2);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--darker-bg);
    padding: 100px 0 !important;
}

.overall-rating {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-score {
    display: inline-block;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    padding: 2.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.rating-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.rating-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stars {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stars i {
    margin: 0 0.1rem;
    animation: starPulse 2s ease-in-out infinite;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.2);
        filter: brightness(1.3);
    }
}

.rating-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-avatar {
    transform: scale(1.1) rotate(360deg);
}

.client-info {
    flex: 1;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-rating i {
    margin-right: 0.2rem;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-footer {
    text-align: right;
}

.testimonial-footer i {
    font-size: 2rem;
    color: rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-footer i {
    color: rgba(99, 102, 241, 0.5);
    transform: scale(1.2);
}

/* Process/Timeline Section */
.process-section {
    background: var(--darker-bg);
    padding: 100px 0 !important;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.5) 20%,
        rgba(99, 102, 241, 0.8) 50%,
        rgba(99, 102, 241, 0.5) 80%,
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    max-width: 500px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

/* Connection dot */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

/* Animated pulse */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -60px;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50%) scale(2);
        opacity: 0;
    }
}

.timeline-content:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-icon {
    transform: rotateY(360deg) scale(1.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--dark-bg);
    padding: 100px 0 !important;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
    transform: scaleX(1);
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
}

.faq-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon i {
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.faq-item.active .faq-icon i {
    transform: rotate(-45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 2rem 2rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: var(--darker-bg);
    padding: 100px 0 !important;
}

.contact-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-info {
    background: var(--gradient-1);
    padding: 3rem;
    height: 100%;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h5 {
    margin-bottom: 0.5rem;
}

.contact-text p {
    margin: 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    padding: 3rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    color: var(--text-light);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form select.form-control {
    cursor: pointer;
}

.contact-form select.form-control option {
    background: var(--dark-bg);
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: var(--text-light);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--glow-color);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .laptop-screen {
        max-width: 700px;
        height: 437px;
    }
    
    .laptop-base {
        max-width: 800px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-section {
        padding: 80px 0 30px;
    }
    
    .services-section,
    .websites-section,
    .mobile-apps-section,
    .output-section,
    .contact-section {
        padding: 60px 0 !important;
    }
    
    .laptop-mockup {
        min-height: 500px;
    }
    
    .laptop-screen {
        max-width: 550px;
        height: 343px;
        border: 10px solid #2d3748;
        border-bottom: 6px solid #2d3748;
    }
    
    .laptop-base {
        max-width: 650px;
        height: 20px;
    }
    
    .laptop-notch {
        width: 140px;
        height: 25px;
    }
    
    .phone-container {
        max-width: 280px;
        height: 570px;
    }
    
    .phone-mockup {
        min-height: 600px;
    }
    
    .cube-container {
        max-width: 200px;
        height: 200px;
    }
    
    .cube-face {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
    
    .cube-face.front  { transform: rotateY(0deg) translateZ(100px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(100px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(100px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(100px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(100px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }
    
    .document-generator {
        max-width: 400px;
        height: 400px;
    }
    
    .output-device {
        width: 180px;
        height: 180px;
    }
    
    .document {
        width: 85px;
        height: 100px;
    }
    
    .doc-icon {
        font-size: 2rem;
    }
    
    .doc-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    /* Force viewport constraints on mobile */
    html,
    body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    * {
        max-width: 100vw;
    }
    
    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }
    
    section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .navbar .container {
        max-width: 100% !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-3d-container {
        height: 350px;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .laptop-mockup {
        min-height: 400px;
        padding: 10px;
    }
    
    .laptop-screen {
        max-width: 450px;
        height: 281px;
        border: 8px solid #2d3748;
        border-bottom: 5px solid #2d3748;
        border-radius: 15px 15px 0 0;
    }
    
    .laptop-base {
        max-width: 520px;
        height: 18px;
        border-radius: 0 0 30px 30px / 0 0 15px 15px;
    }
    
    .laptop-notch {
        width: 120px;
        height: 22px;
        top: -5px;
    }
    
    .laptop-notch::before {
        width: 5px;
        height: 5px;
    }
    
    .slide-overlay {
        padding: 1.5rem;
    }
    
    .slide-overlay h4 {
        font-size: 1.2rem;
    }
    
    .phone-container {
        max-width: 250px;
        height: 510px;
    }
    
    .phone-mockup {
        min-height: 550px;
    }
    
    .phone-screen {
        border: 10px solid #1e293b;
        border-radius: 35px;
    }
    
    .phone-notch {
        width: 100px;
        height: 25px;
    }
    
    .mobile-content h3 {
        font-size: 1.8rem;
    }
    
    .mobile-content p {
        font-size: 1rem;
    }
    
    .features-list li {
        font-size: 1rem;
    }
    
    .document-generator {
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .output-device {
        width: 160px;
        height: 160px;
    }
    
    .document {
        width: 75px;
        height: 95px;
    }
    
    .doc-icon {
        font-size: 1.7rem;
    }
    
    .doc-label {
        font-size: 0.65rem;
    }
    
    .output-content h3 {
        font-size: 1.8rem;
    }
    
    .output-feature-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .server-rack {
        transform: scale(0.85);
    }
    
    .server-unit {
        max-width: 320px;
        height: 75px;
    }
    
    .system-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .enterprise-content h3 {
        font-size: 1.8rem;
    }
    
    .rating-score {
        padding: 2rem 3rem;
    }
    
    .rating-number {
        font-size: 3rem;
    }
    
    .stars {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .client-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .tech-logo-item {
        min-width: 130px;
        padding: 1.8rem 1.2rem;
    }
    
    .tech-logo-item i {
        font-size: 3rem;
    }
    
    .flutter-logo svg {
        width: 50px;
        height: 50px;
    }
    
    .tech-logo-item span {
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
    }
    
    .faq-icon i {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    body,
    html,
    section,
    .container,
    .row {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-buttons .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .laptop-mockup {
        min-height: 320px;
        padding: 5px;
    }
    
    .laptop-screen {
        max-width: 320px;
        height: 200px;
        border: 6px solid #2d3748;
        border-bottom: 4px solid #2d3748;
        border-radius: 12px 12px 0 0;
    }
    
    .laptop-base {
        max-width: 370px;
        height: 15px;
        border-radius: 0 0 25px 25px / 0 0 12px 12px;
    }
    
    .laptop-notch {
        width: 100px;
        height: 18px;
        top: -4px;
        border-radius: 0 0 8px 8px;
    }
    
    .laptop-notch::before {
        width: 4px;
        height: 4px;
    }
    
    .laptop-base::after {
        width: 100px;
        height: 8px;
    }
    
    .slide-overlay {
        padding: 1rem;
    }
    
    .slide-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .slide-overlay p {
        font-size: 0.85rem;
    }
    
    .phone-container {
        max-width: 220px;
        height: 450px;
    }
    
    .phone-mockup {
        min-height: 480px;
    }
    
    .phone-screen {
        border: 8px solid #1e293b;
        border-radius: 30px;
    }
    
    .phone-notch {
        width: 90px;
        height: 22px;
        border-radius: 0 0 15px 15px;
    }
    
    .app-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .app-overlay h5 {
        font-size: 0.9rem;
    }
    
    .mobile-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .mobile-content h3 {
        font-size: 1.5rem;
    }
    
    .features-list {
        text-align: left;
    }
    
    .cube-container {
        max-width: 150px;
        height: 150px;
    }
    
    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }
    
    .cube-face.front  { transform: rotateY(0deg) translateZ(75px); }
    .cube-face.back   { transform: rotateY(180deg) translateZ(75px); }
    .cube-face.right  { transform: rotateY(90deg) translateZ(75px); }
    .cube-face.left   { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face.top    { transform: rotateX(90deg) translateZ(75px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }
    
    .hero-3d-container {
        height: 250px;
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
    
    .document-generator {
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .output-device {
        width: 140px;
        height: 140px;
    }
    
    .document {
        width: 65px;
        height: 85px;
    }
    
    .doc-icon {
        font-size: 1.4rem;
    }
    
    .doc-label {
        font-size: 0.6rem;
    }
    
    .output-visualization {
        padding: 2rem 1rem;
        min-height: 400px;
    }
    
    .output-content {
        margin-top: 2rem;
        text-align: center;
    }
    
    .output-content h3 {
        font-size: 1.5rem;
    }
    
    .output-content p {
        font-size: 0.95rem;
    }
    
    .output-feature-item {
        padding: 1rem;
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .output-feature-item .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .output-feature-item h5 {
        font-size: 1rem;
    }
    
    .output-feature-item p {
        font-size: 0.85rem;
    }
    
    .enterprise-stats {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .enterprise-stat {
        flex: 1;
        min-width: 100px;
    }
    
    .enterprise-stat p {
        font-size: 0.85rem;
    }
    
    .server-rack {
        transform: scale(0.9);
    }
    
    .server-unit {
        max-width: 90vw;
        height: 70px;
    }
    
    .server-3d-container {
        min-height: 400px;
    }
    
    .system-card {
        margin-bottom: 1rem;
    }
    
    .enterprise-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-brand {
        font-size: 1.3rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .rating-score {
        padding: 1.5rem 2rem;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .stars {
        font-size: 1.2rem;
    }
    
    .rating-text {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    .client-role {
        font-size: 0.8rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .tech-logo-item {
        min-width: 110px;
        padding: 1.5rem 1rem;
    }
    
    .tech-logo-item i {
        font-size: 2.5rem;
    }
    
    .flutter-logo svg {
        width: 40px;
        height: 40px;
    }
    
    .tech-logo-item span {
        font-size: 0.85rem;
    }
    
    .tech-slider {
        gap: 2rem;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-icon {
        width: 38px;
        height: 38px;
    }
    
    .faq-answer {
        padding: 0 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.5rem 1.2rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .enterprise-stats {
        gap: 1rem;
    }
    
    .enterprise-stat {
        min-width: 90px;
    }
    
    .enterprise-stat .stat-number {
        font-size: 1.8rem;
    }
    
    .enterprise-stat p {
        font-size: 0.75rem;
    }
    
    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-number {
        position: absolute;
        left: 0;
        font-size: 3rem;
        min-width: 60px;
    }
    
    .timeline-content {
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -48px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -48px;
        right: auto;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    body,
    html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    * {
        max-width: 100vw;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-3d-container {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .laptop-screen {
        max-width: 90vw;
        height: auto;
        aspect-ratio: 16/10;
    }
    
    .laptop-base {
        max-width: 95vw;
    }
    
    .laptop-mockup,
    .phone-mockup {
        max-width: 100%;
    }
    
    .phone-container {
        max-width: 85vw;
        height: 410px;
    }
    
    .brand-text,
    .brand-highlight {
        font-size: 2rem;
    }
    
    .data-center-circle {
        width: 120px;
        height: 120px;
        font-size: 1rem;
    }
    
    .enterprise-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .enterprise-stat {
        min-width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tech-slider,
    .tech-track {
        max-width: 100vw;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* Mobile Overflow Prevention */
section,
.container,
.row,
.col,
[class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
}

/* Force all Bootstrap columns to respect viewport */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

