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

:root {
    /* Colors */
    --bg-primary: #050816;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #5B7FFF;
    --secondary: #6EE7F9;
    --accent: #9F7AEA;
    --text-primary: #ffffff;
    --text-secondary: #B6BDD1;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ==================== ANIMATED BACKGROUND ==================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(91, 127, 255, 0.05) 0%, 
        rgba(159, 122, 234, 0.05) 50%, 
        rgba(110, 231, 249, 0.05) 100%
    );
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.blur-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blur-circle-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.blur-circle-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

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

/* ==================== CONTAINER & LAYOUT ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 4px 20px rgba(91, 127, 255, 0.3);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(91, 127, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91, 127, 255, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-line {
    display: block;
    opacity: 0;
    animation: titleReveal 0.8s ease forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.6s;
}

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

.hero-title-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-engineering-tags {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.engineering-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.engineering-tag:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tag-icon {
    font-size: 24px;
}

.tag-text {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.role-badge {
    padding: 8px 16px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--card-border);
}

/* ==================== HERO VISUAL ==================== */
.hero-visual {
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.tech-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatBadge 6s ease-in-out infinite;
}

.tech-badge-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.tech-badge-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.tech-badge-3 {
    bottom: 30%;
    left: 0;
    animation-delay: 2s;
}

.tech-badge-4 {
    bottom: 15%;
    right: 5%;
    animation-delay: 3s;
}

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

.tech-icon {
    font-size: 20px;
    filter: grayscale(0.3);
}

.glass-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 280px;
    animation: floatCard 8s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    25% { transform: translate(-50%, -55%) rotateX(5deg) rotateY(-5deg); }
    75% { transform: translate(-50%, -45%) rotateX(-5deg) rotateY(5deg); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border);
}

.card-dots span:nth-child(1) { background: #FF5F57; }
.card-dots span:nth-child(2) { background: #FFBD2E; }
.card-dots span:nth-child(3) { background: #28CA42; }

.card-title {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.code-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
}

.code-key {
    color: var(--secondary);
}

.code-value {
    color: var(--accent);
}

.glass-card-float {
    padding: 16px;
    animation: floatSmall 5s ease-in-out infinite;
}

.glass-card-float-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.glass-card-float-2 {
    bottom: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

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

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
}

.chart-bar {
    width: 8px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
    animation: chartGrow 2s ease-in-out infinite;
}

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

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

.metric-value {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 127, 255, 0.3), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

.glow-circle-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.glow-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    left: 15%;
    animation-delay: 1.3s;
}

.glow-circle-3 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 25%;
    animation-delay: 2.6s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.animated-ring {
    position: absolute;
    border: 2px solid rgba(91, 127, 255, 0.2);
    border-radius: 50%;
    animation: ringExpand 3s ease-out infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -150px;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -150px;
    animation-delay: 1.5s;
}

@keyframes ringExpand {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding: 6px 0;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    margin-bottom: 80px;
}

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* ==================== ENGINEERING DIVISIONS ==================== */
.divisions-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent, rgba(91, 127, 255, 0.02), transparent);
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.division-panel {
    margin: 80px 0;
    position: relative;
}

.division-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.division-container.reverse {
    direction: rtl;
}

.division-container.reverse > * {
    direction: ltr;
}

.division-content {
    padding: 60px 0;
}

.division-number {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 20px;
}

.division-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.division-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.division-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.division-tech-stack span {
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-base);
}

.division-tech-stack span:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(91, 127, 255, 0.1);
}

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

/* Code Window Visual */
.code-window {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--card-border);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #FF5F57; }
.code-dots span:nth-child(2) { background: #FFBD2E; }
.code-dots span:nth-child(3) { background: #28CA42; }

.code-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: 'Monaco', 'Courier New', monospace;
}

.code-content {
    padding: 24px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 8px;
}

.code-keyword {
    color: #C792EA;
}

.code-function {
    color: #82AAFF;
}

.code-string {
    color: #C3E88D;
}

.code-cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

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

/* Network Topology Visual */
.network-topology {
    width: 100%;
    height: 100%;
    position: relative;
}

.topology-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(91, 127, 255, 0.4);
    animation: nodeFloat 3s ease-in-out infinite;
}

.topology-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
}

.node-1 { top: 10%; left: 50%; animation-delay: 0s; }
.node-2 { top: 40%; left: 20%; animation-delay: 0.6s; }
.node-3 { top: 40%; right: 20%; animation-delay: 1.2s; }
.node-4 { bottom: 20%; left: 30%; animation-delay: 1.8s; }
.node-5 { bottom: 20%; right: 30%; animation-delay: 2.4s; }

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

.topology-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform-origin: left;
    opacity: 0.5;
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.conn-1 { top: 25%; left: 50%; width: 150px; transform: rotate(-30deg); animation-delay: 0s; }
.conn-2 { top: 25%; left: 50%; width: 150px; transform: rotate(30deg); animation-delay: 0.4s; }
.conn-3 { bottom: 35%; left: 25%; width: 120px; transform: rotate(-45deg); animation-delay: 0.8s; }
.conn-4 { bottom: 35%; right: 25%; width: 120px; transform: rotate(45deg); animation-delay: 1.2s; }

/* PCB Board Visual */
.pcb-board {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.8), rgba(30, 40, 60, 0.8));
    border-radius: 12px;
    overflow: hidden;
}

.pcb-trace {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.6;
    animation: traceGlow 3s ease-in-out infinite;
}

@keyframes traceGlow {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 10px var(--secondary); }
    50% { opacity: 0.8; box-shadow: 0 0 20px var(--secondary); }
}

.trace-1 { top: 20%; left: 10%; width: 200px; transform: rotate(15deg); animation-delay: 0s; }
.trace-2 { top: 40%; left: 30%; width: 180px; transform: rotate(-10deg); animation-delay: 0.6s; }
.trace-3 { top: 60%; left: 15%; width: 220px; transform: rotate(5deg); animation-delay: 1.2s; }
.trace-4 { top: 80%; left: 25%; width: 150px; transform: rotate(-15deg); animation-delay: 1.8s; }

.pcb-component {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(159, 122, 234, 0.4);
}

.comp-1 { top: 15%; left: 20%; }
.comp-2 { top: 50%; left: 45%; }
.comp-3 { bottom: 25%; right: 20%; }

.pcb-via {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: viaGlow 2s ease-in-out infinite;
}

@keyframes viaGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 10px var(--primary); }
    50% { transform: scale(1.2); box-shadow: 0 0 25px var(--primary); }
}

.via-1 { top: 25%; left: 35%; animation-delay: 0s; }
.via-2 { top: 55%; left: 60%; animation-delay: 0.4s; }
.via-3 { bottom: 30%; left: 40%; animation-delay: 0.8s; }

/* Robot Arm Visual */
.robot-arm {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arm-segment {
    position: absolute;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.3), rgba(110, 231, 249, 0.3));
    border: 2px solid var(--primary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(91, 127, 255, 0.3);
}

.segment-1 {
    width: 120px;
    height: 20px;
    bottom: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateX(-50%) rotate(-30deg);
    animation: armMove1 4s ease-in-out infinite;
}

.segment-2 {
    width: 100px;
    height: 18px;
    bottom: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateX(-50%) translateY(-60px) rotate(-60deg);
    animation: armMove2 4s ease-in-out infinite;
}

.segment-3 {
    width: 80px;
    height: 16px;
    bottom: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateX(-50%) translateY(-100px) rotate(-90deg);
    animation: armMove3 4s ease-in-out infinite;
}

@keyframes armMove1 {
    0%, 100% { transform: translateX(-50%) rotate(-30deg); }
    50% { transform: translateX(-50%) rotate(-45deg); }
}

@keyframes armMove2 {
    0%, 100% { transform: translateX(-50%) translateY(-60px) rotate(-60deg); }
    50% { transform: translateX(-50%) translateY(-60px) rotate(-75deg); }
}

@keyframes armMove3 {
    0%, 100% { transform: translateX(-50%) translateY(-100px) rotate(-90deg); }
    50% { transform: translateX(-50%) translateY(-100px) rotate(-105deg); }
}

.arm-joint {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.joint-1 { bottom: 50%; left: 50%; transform: translate(-50%, 0); }
.joint-2 { bottom: 50%; left: 50%; transform: translate(-50%, -60px); }
.joint-3 { bottom: 50%; left: 50%; transform: translate(-50%, -100px); }

.sensor-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -100px);
    animation: sensorScan 3s linear infinite;
}

@keyframes sensorScan {
    0% { transform: translate(-50%, -100px) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -100px) scale(1.5); opacity: 0; }
}

/* ==================== ENGINEERING BEYOND SOFTWARE ==================== */
.beyond-software-section {
    padding: var(--section-padding) 0;
    background: radial-gradient(circle at 50% 50%, rgba(91, 127, 255, 0.05), transparent 60%);
}

.beyond-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.beyond-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.beyond-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.beyond-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.beyond-highlight {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.beyond-highlight:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.engineering-layers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.layer {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateX(30px);
    animation: layerSlideIn 0.6s ease forwards;
}

.layer:nth-child(1) { animation-delay: 0.1s; }
.layer:nth-child(2) { animation-delay: 0.2s; }
.layer:nth-child(3) { animation-delay: 0.3s; }
.layer:nth-child(4) { animation-delay: 0.4s; }

@keyframes layerSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.layer:hover {
    transform: translateX(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.layer-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 8px;
}

.layer-content {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.layer-hardware { border-left: 3px solid #FF6B6B; }
.layer-firmware { border-left: 3px solid #F59E0B; }
.layer-backend { border-left: 3px solid var(--primary); }
.layer-cloud { border-left: 3px solid var(--secondary); }

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.about-feature {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.about-feature:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.2), rgba(110, 231, 249, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    stroke: var(--primary);
}

.about-feature h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== SERVICES SECTION ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

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

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.service-icon {
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* ==================== TECHNOLOGIES SECTION ==================== */
.tech-container {
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.tech-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    cursor: default;
}

.tech-badge-large:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(91, 127, 255, 0.3);
}

.tech-badge-icon {
    font-size: 36px;
    filter: grayscale(0.2);
    animation: iconBounce 2s ease-in-out infinite;
}

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

.tech-badge-large span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== FEATURES SECTION ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.feature-large {
    padding: 48px 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(91, 127, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-large:hover::after {
    opacity: 1;
}

.feature-large:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-large h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

/* ==================== STATISTICS SECTION ==================== */
.stats-section {
    background: linear-gradient(180deg, transparent, rgba(91, 127, 255, 0.02), transparent);
}

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

.stat-card {
    padding: 48px 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.stat-counter {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    display: inline-block;
}

.stat-title {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== PROJECTS SECTION ==================== */
.projects-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    text-align: center;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 120px 0;
    position: relative;
}

.project-showcase.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-showcase.reverse .showcase-visual {
    order: 2;
}

.project-showcase.reverse .showcase-content {
    order: 1;
}

.showcase-visual {
    height: 500px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-illustration {
    width: 100%;
    height: 100%;
    position: relative;
}

.showcase-content {
    padding: 40px 0;
}

.project-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.project-showcase h3 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.project-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.engineering-challenge {
    margin: 32px 0;
    padding: 24px;
    background: rgba(91, 127, 255, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
}

.engineering-challenge h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.engineering-challenge ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.engineering-challenge li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.engineering-challenge li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.project-tech-stack span {
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-base);
}

.project-tech-stack span:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(91, 127, 255, 0.1);
}

/* Distributed Nodes Illustration */
.distributed-nodes {
    width: 100%;
    height: 100%;
    position: relative;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(91, 127, 255, 0.5);
    animation: nodeFloat 3s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
}

.node-primary {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-color: var(--secondary);
    box-shadow: 0 0 50px rgba(110, 231, 249, 0.6);
}

.node-primary::before {
    width: 40px;
    height: 40px;
    background: var(--secondary);
}

.node-secondary.n2 {
    top: 15%;
    left: 25%;
    animation-delay: 0.5s;
}

.node-secondary.n3 {
    top: 15%;
    right: 25%;
    animation-delay: 1s;
}

.node-secondary.n4 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform-origin: center;
    animation: connectionPulse 2s ease-in-out infinite;
}

.connection.c1 {
    top: 35%;
    left: 30%;
    width: 150px;
    transform: rotate(-35deg);
}

.connection.c2 {
    top: 35%;
    right: 30%;
    width: 150px;
    transform: rotate(35deg);
}

.connection.c3 {
    bottom: 35%;
    left: 40%;
    width: 120px;
    transform: rotate(-55deg);
}

.connection.c4 {
    bottom: 35%;
    right: 40%;
    width: 120px;
    transform: rotate(55deg);
}

.data-flow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
    animation: dataFlow 3s ease-in-out infinite;
}

.data-flow.df1 {
    top: 35%;
    left: 30%;
    animation-delay: 0s;
}

.data-flow.df2 {
    top: 35%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes dataFlow {
    0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    50% { opacity: 1; transform: translate(60px, 60px) scale(1); }
}

/* Circuit Board Illustration */
.circuit-board {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.8), rgba(30, 40, 60, 0.8));
    position: relative;
}

.circuit-trace {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 15px var(--secondary);
    animation: traceGlow 3s ease-in-out infinite;
}

.circuit-trace.t1 {
    top: 25%;
    left: 15%;
    width: 250px;
    transform: rotate(10deg);
}

.circuit-trace.t2 {
    top: 50%;
    left: 20%;
    width: 300px;
    transform: rotate(-5deg);
    animation-delay: 0.8s;
}

.circuit-trace.t3 {
    bottom: 25%;
    left: 10%;
    width: 280px;
    transform: rotate(8deg);
    animation-delay: 1.6s;
}

.circuit-chip {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 3px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(159, 122, 234, 0.5);
}

.circuit-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--accent);
    opacity: 0.5;
}

.circuit-chip.chip1 {
    top: 20%;
    left: 25%;
}

.circuit-chip.chip2 {
    bottom: 30%;
    right: 25%;
}

.circuit-resistor {
    position: absolute;
    width: 40px;
    height: 15px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    box-shadow: 0 0 15px var(--primary);
}

.circuit-resistor.r1 {
    top: 35%;
    right: 30%;
    transform: rotate(25deg);
}

.circuit-resistor.r2 {
    bottom: 40%;
    left: 35%;
    transform: rotate(-15deg);
}

.signal-pulse {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
    animation: signalPulse 2s ease-in-out infinite;
}

.signal-pulse.sp1 {
    top: 25%;
    left: 20%;
}

.signal-pulse.sp2 {
    bottom: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes signalPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Robot System Illustration */
.robot-system {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-base {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.4), rgba(110, 231, 249, 0.4));
    border: 2px solid var(--primary);
    border-radius: 8px;
}

.robot-arm-seg {
    position: absolute;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.3), rgba(110, 231, 249, 0.3));
    border: 2px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(91, 127, 255, 0.3);
}

.robot-arm-seg.seg1 {
    bottom: 30%;
    left: 50%;
    width: 140px;
    height: 25px;
    transform-origin: left center;
    transform: translateX(-50%) translateY(-20px) rotate(-35deg);
    animation: armMove1 4s ease-in-out infinite;
}

.robot-arm-seg.seg2 {
    bottom: 30%;
    left: 50%;
    width: 110px;
    height: 22px;
    transform-origin: left center;
    transform: translateX(-50%) translateY(-80px) translateX(70px) rotate(-70deg);
    animation: armMove2 4s ease-in-out infinite;
}

.robot-gripper {
    position: absolute;
    bottom: 30%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%) translateY(-120px) translateX(120px);
    box-shadow: 0 0 30px var(--primary);
    animation: gripperMove 4s ease-in-out infinite;
}

.vision-cone {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 100px solid rgba(110, 231, 249, 0.2);
    transform: translateX(-50%);
    animation: visionScan 3s ease-in-out infinite;
}

.target-object {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(159, 122, 234, 0.3);
    border: 2px solid var(--accent);
    border-radius: 8px;
    animation: targetDetect 2s ease-in-out infinite;
}

.scan-line {
    position: absolute;
    height: 2px;
    width: 150px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    animation: scanMove 2s ease-in-out infinite;
}

.scan-line.sl2 {
    top: 35%;
    animation-delay: 0.5s;
}

@keyframes armMove1 {
    0%, 100% { transform: translateX(-50%) translateY(-20px) rotate(-35deg); }
    50% { transform: translateX(-50%) translateY(-20px) rotate(-45deg); }
}

@keyframes armMove2 {
    0%, 100% { transform: translateX(-50%) translateY(-80px) translateX(70px) rotate(-70deg); }
    50% { transform: translateX(-50%) translateY(-80px) translateX(70px) rotate(-85deg); }
}

@keyframes gripperMove {
    0%, 100% { transform: translateX(-50%) translateY(-120px) translateX(120px); }
    50% { transform: translateX(-50%) translateY(-120px) translateX(130px); }
}

@keyframes visionScan {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes targetDetect {
    0%, 100% { border-color: var(--accent); box-shadow: 0 0 20px var(--accent); }
    50% { border-color: var(--secondary); box-shadow: 0 0 30px var(--secondary); }
}

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

/* Automation Flow Illustration */
.automation-flow {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(91, 127, 255, 0.3);
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
}

.flow-step.step1 {
    top: 25%;
    left: 15%;
    animation: flowPulse 2s ease-in-out infinite;
}

.flow-step.step2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: flowPulse 2s ease-in-out infinite 0.7s;
}

.flow-step.step3 {
    top: 25%;
    right: 15%;
    animation: flowPulse 2s ease-in-out infinite 1.4s;
}

@keyframes flowPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(91, 127, 255, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 50px rgba(91, 127, 255, 0.6); }
}

.flow-arrow {
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: arrowFlow 2s ease-in-out infinite;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--secondary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.flow-arrow.a1 {
    top: 30%;
    left: 25%;
    transform: rotate(-15deg);
}

.flow-arrow.a2 {
    top: 30%;
    right: 25%;
    transform: rotate(15deg);
}

@keyframes arrowFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.ai-brain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.3), rgba(91, 127, 255, 0.3));
    border: 3px solid var(--accent);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 50px rgba(159, 122, 234, 0.5);
    animation: brainPulse 3s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.decision-node {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(110, 231, 249, 0.4);
    animation: decisionBlink 1.5s ease-in-out infinite;
}

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

/* Network Infrastructure Illustration */
.network-infra {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-rack {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 150px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.3), rgba(110, 231, 249, 0.3));
    border: 3px solid var(--primary);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(91, 127, 255, 0.4);
}

.server-rack::before,
.server-rack::after {
    content: '';
    position: absolute;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.server-rack::before {
    top: 33%;
    animation: serverLight 1s ease-in-out infinite;
}

.server-rack::after {
    top: 66%;
    animation: serverLight 1s ease-in-out infinite 0.5s;
}

@keyframes serverLight {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tunnel-pipe {
    position: absolute;
    width: 150px;
    height: 8px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 4px;
    box-shadow: 0 0 20px var(--primary);
    animation: tunnelFlow 3s ease-in-out infinite;
}

.tunnel-pipe.t1 {
    top: 35%;
    left: 20%;
    transform: rotate(-25deg);
}

.tunnel-pipe.t2 {
    top: 35%;
    right: 20%;
    transform: rotate(25deg);
    animation-delay: 1.5s;
}

@keyframes tunnelFlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.client-device {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(110, 231, 249, 0.4);
}

.client-device::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.5;
}

.client-device.d1 {
    top: 25%;
    left: 15%;
    animation: devicePing 2s ease-in-out infinite;
}

.client-device.d2 {
    top: 25%;
    right: 15%;
    animation: devicePing 2s ease-in-out infinite 1s;
}

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

.encryption-shield {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 90px;
    border: 3px solid var(--accent);
    border-radius: 40px 40px 0 0;
    background: linear-gradient(180deg, rgba(159, 122, 234, 0.2), transparent);
    box-shadow: 0 0 30px rgba(159, 122, 234, 0.4);
    animation: shieldGlow 2s ease-in-out infinite;
}

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

.packet-flow {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
    animation: packetMove 3s ease-in-out infinite;
}

.packet-flow.pf1 {
    top: 35%;
    left: 20%;
}

@keyframes packetMove {
    0% { opacity: 0; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(100px, -20px); }
    100% { opacity: 0; transform: translate(200px, 0); }
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.project-card-large {
    grid-column: span 2;
}

.project-visual {
    height: 200px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.1), rgba(110, 231, 249, 0.1));
    position: relative;
    overflow: hidden;
}

.project-card-large .project-visual {
    height: 280px;
}

.project-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 127, 255, 0.4), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: projectGlow 3s ease-in-out infinite;
}

@keyframes projectGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.project-content {
    padding: 32px;
}

.project-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 6px 12px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* ==================== TIMELINE SECTION ==================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent, 
        rgba(91, 127, 255, 0.3) 10%, 
        rgba(91, 127, 255, 0.3) 90%, 
        transparent
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: -68px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(91, 127, 255, 0.2);
}

.timeline-content {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.timeline-content:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 127, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==================== FOUNDER SECTION ==================== */
.founder-section {
    padding: var(--section-padding) 0;
    background: radial-gradient(circle at 50% 50%, rgba(159, 122, 234, 0.05), transparent 60%);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: center;
}

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

.founder-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91, 127, 255, 0.4), transparent 70%);
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.avatar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: avatarRotate 20s linear infinite;
}

.avatar-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
}

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

.avatar-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.2), rgba(110, 231, 249, 0.2));
    border: 3px solid var(--primary);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 900;
    color: var(--primary);
    box-shadow: 0 0 60px rgba(91, 127, 255, 0.4);
}

.expertise-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.orbit-item {
    position: absolute;
    font-size: 48px;
    animation: orbitRotate 15s linear infinite;
    transform-origin: 200px 200px;
}

.orbit-item:nth-child(1) {
    top: 0;
    left: 200px;
    transform: translateX(-50%) rotate(0deg) translateX(180px);
    animation-delay: var(--delay);
}

.orbit-item:nth-child(2) {
    top: 0;
    left: 200px;
    transform: translateX(-50%) rotate(90deg) translateX(180px);
    animation-delay: var(--delay);
}

.orbit-item:nth-child(3) {
    top: 0;
    left: 200px;
    transform: translateX(-50%) rotate(180deg) translateX(180px);
    animation-delay: var(--delay);
}

.orbit-item:nth-child(4) {
    top: 0;
    left: 200px;
    transform: translateX(-50%) rotate(270deg) translateX(180px);
    animation-delay: var(--delay);
}

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

.founder-content {
    padding: 40px 0;
}

.founder-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.founder-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.expertise-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.expertise-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.expertise-item:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.expertise-item span {
    font-size: 15px;
    font-weight: 600;
}

.founder-quote {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.1), rgba(159, 122, 234, 0.1));
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.founder-quote p {
    font-size: 20px;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent, rgba(91, 127, 255, 0.03), transparent);
    text-align: center;
}

.contact-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.contact-info {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.brand-identity h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-link-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(91, 127, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-base);
}

.contact-link-item:hover {
    background: rgba(91, 127, 255, 0.1);
    transform: translateX(4px);
}

.link-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.link-content a {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.link-content a:hover {
    color: var(--secondary);
}

.username {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.social-connect {
    padding: 40px 0;
}

.social-connect h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.premium-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05));
    transform: translateX(-100%);
    transition: var(--transition-slow);
}

.social-button:hover::before {
    transform: translateX(0);
}

.social-button:hover {
    transform: translateY(-8px) translateX(4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-button.instagram:hover {
    box-shadow: 0 20px 60px rgba(225, 48, 108, 0.3);
    border-color: #E1306C;
}

.social-button.telegram:hover {
    box-shadow: 0 20px 60px rgba(36, 161, 222, 0.3);
    border-color: #24A1DE;
}

.social-button.twitter:hover {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-button.github:hover {
    box-shadow: 0 20px 60px rgba(110, 231, 249, 0.3);
    border-color: var(--secondary);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(91, 127, 255, 0.2), rgba(110, 231, 249, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.social-button.instagram .social-icon {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.social-button.telegram .social-icon {
    background: linear-gradient(135deg, #37BBF3, #2CA4DE);
}

.social-button.twitter .social-icon {
    background: linear-gradient(135deg, #666666, #000000);
}

.social-button.github .social-icon {
    background: linear-gradient(135deg, #444444, #222222);
}

.social-icon svg {
    color: white;
}

.social-content {
    flex: 1;
}

.social-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.social-handle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 600;
}

.social-arrow {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition-base);
}

.social-button:hover .social-arrow {
    transform: translateX(8px);
}

.social-button:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px;
    background: rgba(5, 8, 22, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* ==================== ANIMATIONS ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-slow);
}

[data-animate="fade-up"].animated {
    animation: fadeUp 0.8s ease forwards;
}

[data-animate="fade-left"].animated {
    animation: fadeLeft 0.8s ease forwards;
}

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

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .visual-container {
        height: 500px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .project-card-large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(5, 8, 22, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--card-border);
        padding: 32px;
        flex-direction: column;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-base);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Updated Hero Responsive */
    .hero-title {
        font-size: 48px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-engineering-tags {
        flex-wrap: wrap;
    }
    
    .engineering-tag {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        justify-content: center;
    }
    
    /* Division Panels Responsive */
    .division-container,
    .division-container.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .division-number {
        font-size: 80px;
    }
    
    .division-title {
        font-size: 36px;
    }
    
    .division-visual {
        height: 350px;
    }
    
    .code-window {
        max-width: 100%;
    }
    
    /* Beyond Software Responsive */
    .beyond-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .beyond-title {
        font-size: 36px;
    }
    
    .beyond-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    /* Projects Bento Responsive */
    .projects-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .project-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .project-featured .project-visual {
        height: 200px;
    }
    
    .project-card {
        grid-column: span 1;
    }
    
    .project-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        height: 1px;
        width: 100%;
    }
    
    /* Projects Section Responsive */
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 80px 0;
    }
    
    .project-showcase.reverse {
        grid-template-columns: 1fr;
    }
    
    .project-showcase.reverse .showcase-visual {
        order: 1;
    }
    
    .project-showcase.reverse .showcase-content {
        order: 2;
    }
    
    .showcase-visual {
        height: 350px;
    }
    
    .project-showcase h3 {
        font-size: 32px;
    }
    
    /* Founder Section Responsive */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .founder-visual {
        height: 400px;
    }
    
    .founder-avatar {
        width: 150px;
        height: 150px;
    }
    
    .avatar-inner {
        width: 150px;
        height: 150px;
        font-size: 48px;
    }
    
    .avatar-ring {
        width: 170px;
        height: 170px;
    }
    
    .expertise-orbit {
        width: 300px;
        height: 300px;
    }
    
    .orbit-item {
        font-size: 36px;
    }
    
    .orbit-item:nth-child(1) {
        transform: translateX(-50%) rotate(0deg) translateX(140px);
    }
    
    .orbit-item:nth-child(2) {
        transform: translateX(-50%) rotate(90deg) translateX(140px);
    }
    
    .orbit-item:nth-child(3) {
        transform: translateX(-50%) rotate(180deg) translateX(140px);
    }
    
    .orbit-item:nth-child(4) {
        transform: translateX(-50%) rotate(270deg) translateX(140px);
    }
    
    @keyframes orbitRotate {
        0% { transform: translateX(-50%) rotate(0deg) translateX(140px); }
        100% { transform: translateX(-50%) rotate(360deg) translateX(140px); }
    }
    
    .founder-title {
        font-size: 36px;
    }
    
    .expertise-areas {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section Responsive */
    .contact-title {
        font-size: 42px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .premium-social-buttons {
        gap: 16px;
    }
    
    .social-button {
        padding: 20px 24px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .timeline {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: -58px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .visual-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .division-title {
        font-size: 28px;
    }
    
    .division-number {
        font-size: 60px;
    }
    
    .beyond-title {
        font-size: 28px;
    }
    
    .engineering-tag {
        flex: 1 1 100%;
    }
    
    .division-visual {
        height: 300px;
    }
    
    /* Projects Showcase Mobile */
    .project-showcase {
        margin: 60px 0;
    }
    
    .project-showcase h3 {
        font-size: 26px;
    }
    
    .showcase-visual {
        height: 280px;
    }
    
    .engineering-challenge {
        padding: 16px;
    }
    
    /* Founder Section Mobile */
    .founder-visual {
        height: 300px;
    }
    
    .founder-avatar {
        width: 120px;
        height: 120px;
    }
    
    .avatar-inner {
        width: 120px;
        height: 120px;
        font-size: 36px;
    }
    
    .avatar-ring {
        width: 140px;
        height: 140px;
    }
    
    .expertise-orbit {
        width: 250px;
        height: 250px;
    }
    
    .orbit-item {
        font-size: 28px;
    }
    
    .orbit-item:nth-child(1),
    .orbit-item:nth-child(2),
    .orbit-item:nth-child(3),
    .orbit-item:nth-child(4) {
        transform: translateX(-50%) rotate(calc(var(--delay) * 720deg)) translateX(110px);
    }
    
    @keyframes orbitRotate {
        0% { transform: translateX(-50%) rotate(0deg) translateX(110px); }
        100% { transform: translateX(-50%) rotate(360deg) translateX(110px); }
    }
    
    .founder-title {
        font-size: 28px;
    }
    
    .founder-quote p {
        font-size: 16px;
    }
    
    /* Contact Section Mobile */
    .contact-title {
        font-size: 32px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-info {
        padding: 24px;
    }
    
    .brand-identity h3 {
        font-size: 28px;
    }
    
    .social-button {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .social-name {
        font-size: 16px;
    }
    
    .social-handle {
        font-size: 13px;
    }
    
    .social-arrow {
        font-size: 20px;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .stat-counter {
        font-size: 40px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
* {
    will-change: auto;
}

.hero-visual,
.tech-badge,
.glass-card,
.glow-circle,
.service-card,
.project-card {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
