/* Modern CSS Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    
    /* Animations */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo .logo-text {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    background: linear-gradient(45deg, #fff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: var(--radius-full);
    animation: dotBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

/* ============================================
   HEADER AND NAVIGATION
============================================ */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gray-300);
}

.navbar {
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    z-index: var(--z-tooltip);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    font-size: 1.5rem;
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.95rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    border: none;
    background: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    z-index: var(--z-tooltip);
}

.hamburger:hover {
    background: var(--gray-100);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    margin: 3px 0;
    transition: all var(--transition-normal);
    border-radius: var(--radius-sm);
}

.hamburger.active span {
    background: var(--primary-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   PARTICLES BACKGROUND
============================================ */

.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ============================================
   HERO SECTION
============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: var(--gradient-primary);
}

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

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    animation: shapeFloat 20s ease-in-out infinite;
}

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

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: 15s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge-text {
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out both;
}

.title-line-1 {
    animation-delay: 0.4s;
}

.title-line-2 {
    animation-delay: 0.6s;
}

.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.highlight-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 1s ease-out 1s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-secondary);
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: var(--space-xs);
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* Modern Button Styles */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform var(--transition-normal);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Tech Showcase */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 1.4s both;
}

.tech-showcase {
    position: relative;
    width: 400px;
    height: 400px;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all var(--transition-normal);
}

.main-circle {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-secondary);
    border-color: rgba(255, 255, 255, 0.3);
    animation: mainPulse 3s ease-in-out infinite;
}

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

.main-circle .circle-content i {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.main-circle .circle-content span {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.satellite-circle {
    width: 60px;
    height: 60px;
    animation: satelliteOrbit 10s linear infinite;
}

.satellite-circle i {
    font-size: 1.5rem;
}

.satellite-1 {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.satellite-2 {
    top: 15%;
    right: 25%;
    animation-delay: 2.5s;
}

.satellite-3 {
    bottom: 15%;
    right: 25%;
    animation-delay: 5s;
}

.satellite-4 {
    bottom: 15%;
    left: 25%;
    animation-delay: 7.5s;
}

.connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

.connection-line {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: lineDash 2s linear infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out 1.6s both;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

/* ============================================
   SECTION HEADERS
============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
    font-size: 1rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.title-decoration {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.title-decoration:first-child {
    left: -80px;
}

.title-decoration:last-child {
    right: -80px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.contact {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e5e7eb" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    transition: left var(--transition-slow);
    opacity: 0;
}

.contact-item:hover::before {
    left: 0;
    opacity: 1;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.contact-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.contact-item:hover .icon-glow {
    opacity: 0.6;
}

.contact-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-details h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-action {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 2;
}

.contact-action:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.whatsapp-container {
    margin-top: var(--space-xl);
}

.whatsapp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-2xl);
    background: #25d366;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modern-btn {
    border: none;
    cursor: pointer;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #25d366, #128c7e);
    transition: transform var(--transition-normal);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover .btn-bg {
    transform: scale(1.05);
}

/* Contact Visual */
.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.card-dots {
    display: flex;
    gap: var(--space-sm);
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.card-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.office-showcase {
    padding: var(--space-2xl);
    text-align: center;
}

.office-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.office-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.office-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.office-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.office-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    animation: pulse 2s infinite;
}

.overlay-content span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.office-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.office-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.office-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.office-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gray-100);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.feature-tag i {
    color: var(--primary-color);
}

/* ============================================
   SERVICES SECTION
============================================ */

.services {
    padding: var(--space-4xl) 0;
    background: var(--white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 0.3;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: transform var(--transition-normal);
}

.service-card:hover .icon-bg {
    transform: rotate(180deg) scale(1.1);
}

.service-badge {
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.service-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.service-footer {
    margin-top: auto;
}

.service-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.service-btn i {
    transition: transform var(--transition-normal);
}

.service-btn:hover i {
    transform: translateX(4px);
}

/* ============================================
   WHY CHOOSE SECTION
============================================ */

.why-choose {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
    position: relative;
}

.features-grid {
    display: grid;
    gap: var(--space-2xl);
}

.feature-item {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-visual {
    position: relative;
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.icon-orbit {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: iconRotate 10s linear infinite;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border: 1px dashed var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: ringRotate 15s linear infinite reverse;
}

.orbit-dot {
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: dotOrbit 3s ease-in-out infinite;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.expandable-content.expanded {
    max-height: 1200px;
}

.expanded-details {
    display: none;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.expandable-content.expanded .expanded-details {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.expanded-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: var(--space-lg) 0 var(--space-sm) 0;
}

.expanded-details h5 {
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    margin: var(--space-md) 0 var(--space-sm) 0;
}

.detailed-features {
    list-style: none;
    margin: var(--space-md) 0;
}

.detailed-features li {
    padding: var(--space-sm) 0;
    border-left: 3px solid var(--primary-color);
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
    background: var(--gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.detailed-features strong {
    color: var(--primary-color);
}

.ai-advances {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
}

.advances-list {
    list-style: none;
    margin: 0;
}

.advances-list li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-xl);
}

.advances-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: var(--space-sm);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.expandable-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.tech-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
}

.stats-mini {
    display: flex;
    gap: var(--space-lg);
}

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

.stat-mini .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-mini .stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.process-steps {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.process-step {
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto var(--space-xs);
}

.step-text {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.support-features {
    display: grid;
    gap: var(--space-md);
}

.support-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-700);
    font-size: 0.9rem;
}

.support-item i {
    color: var(--secondary-color);
    width: 16px;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    margin-top: var(--space-md);
}

.modern-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    transition: all var(--transition-normal);
}

.modern-expand:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.modern-expand i {
    transition: transform var(--transition-normal);
}

.modern-expand.rotated i {
    transform: rotate(180deg);
}

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

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-shape {
    position: absolute;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    animation: shapeFloat 20s ease-in-out infinite;
}

.footer-shape.shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.footer-shape.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 10%;
    animation-delay: 5s;
}

.footer-shape.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: -50px;
    animation-delay: 10s;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.footer-brand {
    animation: fadeInUp 0.6s ease-out;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.brand-logo .logo-icon {
    font-size: 2rem;
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iconPulse 2s ease-in-out infinite;
}

.brand-logo h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: var(--space-md);
}

.brand-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.footer-section .section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--gray-200);
    font-size: 1.1rem;
}

.footer-section .section-title i {
    color: var(--primary-color);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--space-sm);
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--gray-400);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

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

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.tech-item:hover {
    color: var(--primary-color);
}

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

.footer-bottom {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
    margin-bottom: var(--space-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.copyright {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-400);
    font-size: 0.9rem;
}

.copyright i {
    color: var(--gray-500);
}

.footer-meta {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.made-with {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ============================================
   UTILITY CLASSES
============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }
.p-4 { padding: var(--space-xl); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.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;
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
============================================ */

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

@supports selector(:focus-visible) {
    .focus-visible {
        outline: none;
    }
    
    .focus-visible:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 2px;
    }
    
    .service-card,
    .contact-item,
    .feature-item {
        border-width: 2px;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
============================================ */

.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   LOADING STATE
============================================ */

body.loaded .loading-screen {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded {
    overflow: visible;
}

/* ============================================
   MODERN BROWSER FEATURES
============================================ */

/* CSS Grid fallback */
@supports not (display: grid) {
    .hero-container {
        display: flex;
        flex-direction: column;
    }
    
    .services-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .service-card {
        flex: 1 1 300px;
    }
}

/* Backdrop filter fallback */
@supports not (backdrop-filter: blur(10px)) {
    .header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .hero-badge,
    .tech-circle {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection styles */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

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

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

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

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

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

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

@keyframes badgeGlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes mainPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
}

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

@keyframes lineDash {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.5;
    }
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* AOS Animation Overrides */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .tech-showcase {
        width: 300px;
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2.5rem;
        --space-2xl: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-xl);
        padding: var(--space-xl) 0;
        border-top: 1px solid var(--gray-200);
        z-index: var(--z-dropdown);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-sm) var(--space-md);
        display: block;
        color: var(--gray-800);
        font-weight: 600;
        border-radius: var(--radius-lg);
    }
    
    .nav-menu a:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(0);
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .title-decoration {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-container {
        padding: 0 var(--space-md);
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .tech-showcase {
        width: 250px;
        height: 250px;
    }
    
    .main-circle {
        width: 100px;
        height: 100px;
    }
    
    .satellite-circle {
        width: 50px;
        height: 50px;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .contact-item {
        padding: var(--space-lg);
    }
    
    .feature-item {
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-attachment: scroll;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-screen {
        display: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .loading-screen,
    .scroll-indicator,
    .particles-background {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .btn {
        border: 1px solid black;
        background: none;
        color: black;
    }
}
