/* ========================================
   HuSoMa - AI Innovation Website Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #f8fafc;
    --gray: #94a3b8;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 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-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animated Background Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.nav-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: var(--transition);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    z-index: 100;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(236, 72, 153, 0.5));
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}

.lang-toggle .flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.back-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 4rem 4rem;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

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

    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-title .subtitle {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--gray);
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.stat-number,
.stat-suffix {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark-lighter);
    color: var(--light);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Video */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-video-container {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.3);
    animation: videoFloat 6s ease-in-out infinite;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes videoFloat {

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

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

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

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

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ========================================
   AI Projects Section
   ======================================== */
.ai-section {
    background: linear-gradient(to bottom, var(--dark), var(--dark-light));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

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

.project-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.project-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-progress {
    position: relative;
    z-index: 1;
}

.progress-bar {
    height: 6px;
    background: var(--dark-lighter);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease-out;
}

.progress-fill.animate {
    width: var(--progress);
}

.card-progress span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========================================
   Innovation Section
   ======================================== */
.innovation-section {
    background: var(--dark);
}

.innovation-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse>* {
    direction: ltr;
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.showcase-icon i {
    font-size: 2rem;
    color: white;
}

.pulse-animation {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }
}

.showcase-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.showcase-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--light);
}

.feature-list i {
    color: var(--accent);
}

/* Orbit Animation */
.orbit-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.orbit-center i {
    font-size: 2rem;
    color: white;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 150px;
    height: 150px;
    animation: orbit1 10s linear infinite;
}

.orbit-2 {
    width: 220px;
    height: 220px;
    animation: orbit2 15s linear infinite;
}

.orbit-3 {
    width: 290px;
    height: 290px;
    animation: orbit3 20s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--primary);
}

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

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

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

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Grid Animation */
.grid-animation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 250px;
    margin: 0 auto;
}

.grid-cell {
    aspect-ratio: 1;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    animation: gridPulse 2s ease-in-out infinite;
}

.grid-cell:nth-child(1) {
    animation-delay: 0s;
}

.grid-cell:nth-child(2) {
    animation-delay: 0.1s;
}

.grid-cell:nth-child(3) {
    animation-delay: 0.2s;
}

.grid-cell:nth-child(4) {
    animation-delay: 0.3s;
}

.grid-cell:nth-child(5) {
    animation-delay: 0.4s;
}

.grid-cell:nth-child(6) {
    animation-delay: 0.5s;
}

.grid-cell:nth-child(7) {
    animation-delay: 0.6s;
}

.grid-cell:nth-child(8) {
    animation-delay: 0.7s;
}

.grid-cell:nth-child(9) {
    animation-delay: 0.8s;
}

@keyframes gridPulse {

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

    50% {
        transform: scale(1.1);
        opacity: 1;
        background: rgba(99, 102, 241, 0.3);
    }
}

/* ========================================
   Development Section
   ======================================== */
.development-section {
    background: linear-gradient(to bottom, var(--dark-light), var(--dark));
}

.dev-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stack-category {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.stack-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stack-category h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stack-category h3 i {
    color: var(--primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--light);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Code Window */
.code-window {
    max-width: 700px;
    margin: 0 auto;
    background: var(--dark-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.window-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    color: var(--gray);
}

.window-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.window-content pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-keyword {
    color: #c678dd;
}

.code-variable {
    color: #e06c75;
}

.code-property {
    color: #e5c07b;
}

.code-string {
    color: #98c379;
}

.code-function {
    color: #61afef;
}

.code-comment {
    color: #5c6370;
    font-style: italic;
}

/* ========================================
   Business Section
   ======================================== */
.business-section {
    background: var(--dark);
}

.growth-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.metric-card.highlight {
    background: var(--gradient-1);
    border-color: transparent;
}

.metric-card.highlight:hover {
    transform: translateY(-10px) scale(1.02);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.metric-card.highlight .metric-icon {
    background: rgba(255, 255, 255, 0.2);
}

.metric-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.metric-card.highlight .metric-icon i {
    color: white;
}

.metric-content {
    margin-bottom: 1.5rem;
}

.metric-value,
.metric-suffix {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}

.metric-card.highlight .metric-value,
.metric-card.highlight .metric-suffix {
    color: white;
}

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

.metric-card.highlight .metric-value {
    background: none;
    -webkit-text-fill-color: white;
}

.metric-label {
    display: block;
    color: var(--gray);
    margin-top: 0.5rem;
}

.metric-card.highlight .metric-label {
    color: rgba(255, 255, 255, 0.8);
}

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

.chart-bar {
    width: 20px;
    background: var(--gradient-1);
    border-radius: 4px 4px 0 0;
    height: 0;
    transition: height 1s ease-out;
}

.chart-bar.animate {
    height: var(--height);
}

.growth-arrow {
    font-size: 3rem;
    color: white;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {

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

    50% {
        transform: translateY(-10px);
    }
}

.partners-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 60px;
    height: 60px;
    animation: ringExpand 2s ease-out infinite;
}

.ring-2 {
    width: 80px;
    height: 80px;
    animation: ringExpand 2s ease-out infinite 0.5s;
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ========================================
   Sustainability Section
   ======================================== */
.sustainability-section {
    background: linear-gradient(to bottom, var(--dark), var(--dark-light));
}

.sustainability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.sustain-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.sustain-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.sustain-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.sustain-icon i {
    font-size: 1.5rem;
    color: white;
}

.sustain-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sustain-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--gray);
}

.sustainability-pledge {
    background: var(--gradient-2);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.pledge-content i {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.pledge-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.pledge-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    background: var(--dark-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

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

.team-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background: var(--color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.avatar-circle span {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--color);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.team-social i {
    color: var(--light);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.info-value {
    font-weight: 500;
    color: var(--light);
}

.contact-form {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--dark-lighter);
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group select option {
    background: var(--dark-light);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.form-group input:focus~.form-line,
.form-group select:focus~.form-line,
.form-group textarea:focus~.form-line {
    width: 100%;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links i {
    color: var(--light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   Animations
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

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

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

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

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {

    .projects-grid,
    .sustainability-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .growth-metrics {
        grid-template-columns: 1fr;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-item.reverse {
        direction: ltr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 5rem 2rem 3rem;
    }

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

    .hero-stats {
        justify-content: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-video-container {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }


    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 1rem;
        gap: 1rem;
        z-index: 99;
        border-top: 1px solid rgba(99, 102, 241, 0.3);
    }

    .nav-toggle {
        display: flex;
        padding: 12px;
        z-index: 100;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 1rem;
        width: 40px;
        height: 40px;
        padding: 0.4rem;
    }

    .lang-toggle .flag-icon {
        width: 22px;
        height: 16px;
    }

    .hero-title .gradient-text {
        font-size: 2.5rem;
    }

    .hero-title .subtitle {
        font-size: 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-video-container {
        width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid,
    .dev-stack,
    .sustainability-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        transform: none;
    }

    .project-card.featured:hover {
        transform: translateY(-10px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .orbit-animation,
    .grid-animation {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-title .gradient-text {
        font-size: 2.5rem;
    }

    .stat-number,
    .stat-suffix {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}