/* ===== CSS Variables ===== */
:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-tertiary: #151520;
    --bg-card: rgba(30, 30, 46, 0.6);
    --bg-card-solid: #1e1e2e;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Accent Colors - Modern Palette */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --accent-orange: #f97316;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-accent: #a78bfa;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-hero: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                      radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section,
.hero,
.header {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo__icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.nav__logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
}

.nav__link:hover::before,
.nav__link.active::before {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-base);
    display: inline-block;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    list-style: none;
    min-width: 240px;
    padding: 0.75rem 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
    padding-left: 2rem;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn--hero-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn--hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.5);
}

.btn--hero-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn--hero-secondary:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
}

.btn--form {
    background: var(--gradient-primary);
    color: var(--text-primary);
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
}

.btn--form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.nav__cta {
    margin-left: 1rem;
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.hero__gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.hero__gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.hero__gradient-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

@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);
    }
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero__content {
    animation: fadeInUp 1s ease-out;
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-accent);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.2s both;
    opacity: 0;
    transform: translateY(20px);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero__title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title-line--highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.4s both;
    opacity: 0;
    transform: translateY(20px);
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
    opacity: 0;
    transform: translateY(20px);
}

.hero__visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.hero__floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s ease-in-out infinite;
}

.hero__floating-card--1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    top: 50%;
    right: 10%;
    animation-delay: -2s;
}

.hero__floating-card--3 {
    bottom: 10%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.floating-card__icon {
    font-size: 2.5rem;
}

.floating-card__text {
    font-weight: 600;
    color: var(--text-primary);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
    color: var(--accent-primary);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== Section Headers ===== */
.section__header {
    margin-bottom: var(--spacing-lg);
}

.section__header--center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section__label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.2;
}

.section__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
}

.section__header--white .section__title,
.section__header--white .section__description {
    color: var(--text-primary);
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-secondary);
    position: relative;
}

.services__header {
    padding-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-bounce);
}

.service-card:hover .service-card__icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--text-primary);
}

.service-card__icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.service-card__icon--gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.3);
}

.service-card__icon--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.service-card__icon--light-blue {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
}

.service-card__icon--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-card__description {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

/* ===== Professional Section ===== */
.professional {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.professional__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.professional__content {
    position: relative;
    z-index: 1;
}

.professional__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
}

.professional__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.professional__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item__text {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
}

.professional__visual {
    position: relative;
    height: 500px;
}

.professional__card {
    position: absolute;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.professional__card--1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    top: 0;
    left: 0;
    animation: floatCard 8s ease-in-out infinite;
}

.professional__card--2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.3) 100%);
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: floatCard 10s ease-in-out infinite;
    animation-delay: -2s;
}

.professional__card--3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.3) 100%);
    bottom: 0;
    left: 20%;
    animation: floatCard 12s ease-in-out infinite;
    animation-delay: -4s;
}

/* ===== Spheres Section ===== */
.spheres {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.spheres__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.spheres__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: pulseGlow 8s ease-in-out infinite;
}

.spheres__glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.spheres__glow--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -4s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.spheres__container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.spheres__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.spheres__center-content {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
    animation: centerPulse 4s ease-in-out infinite;
    position: relative;
}

.spheres__center-content::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(99, 102, 241, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spheres__center-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.spheres__center-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.spheres__center-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.spheres__center-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spheres__orbital {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 700px;
    z-index: 2;
}

.sphere-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    width: 200px;
    z-index: 2;
    overflow: visible;
}

.sphere-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.sphere-card:hover::before {
    width: 400px;
    height: 400px;
}

.sphere-card:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.4);
    z-index: 10;
}

.sphere-card__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.sphere-card:hover .sphere-card__glow {
    opacity: 1;
}

/* Orbital positions */
.sphere-card--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitTop 20s linear infinite;
}

.sphere-card--right {
    top: 20%;
    right: 0;
    animation: orbitRight 20s linear infinite;
}

.sphere-card--bottom-right {
    bottom: 10%;
    right: 15%;
    animation: orbitBottomRight 20s linear infinite;
}

.sphere-card--bottom-left {
    bottom: 10%;
    left: 15%;
    animation: orbitBottomLeft 20s linear infinite;
}

.sphere-card--left {
    top: 20%;
    left: 0;
    animation: orbitLeft 20s linear infinite;
}

@keyframes orbitTop {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    25% { transform: translateX(-50%) translateY(10px) rotate(5deg); }
    50% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    75% { transform: translateX(-50%) translateY(-10px) rotate(-5deg); }
}

@keyframes orbitRight {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-10px) translateX(-5px) rotate(5deg); }
    50% { transform: translateY(0) translateX(0) rotate(0deg); }
    75% { transform: translateY(10px) translateX(5px) rotate(5deg); }
}

@keyframes orbitBottomRight {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5px, -10px) rotate(5deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(5px, 10px) rotate(5deg); }
}

@keyframes orbitBottomLeft {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -10px) rotate(-5deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(-5px, 10px) rotate(5deg); }
}

@keyframes orbitLeft {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-10px) translateX(5px) rotate(-5deg); }
    50% { transform: translateY(0) translateX(0) rotate(0deg); }
    75% { transform: translateY(10px) translateX(-5px) rotate(5deg); }
}


.sphere-card__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-bounce);
}

.sphere-card:hover .sphere-card__icon {
    transform: rotate(360deg) scale(1.15);
}

.sphere-card__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--text-primary);
}

.sphere-card__icon--blue {
    background: var(--gradient-primary);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.sphere-card__icon--purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.sphere-card__icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.sphere-card__icon--cyan {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.sphere-card__icon--emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.sphere-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.sphere-card__description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.spheres__connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.spheres__connection-lines {
    width: 100%;
    height: 100%;
}

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out forwards;
}

.connection-line:nth-child(1) { animation-delay: 0.5s; }
.connection-line:nth-child(2) { animation-delay: 1s; }
.connection-line:nth-child(3) { animation-delay: 1.5s; }
.connection-line:nth-child(4) { animation-delay: 2s; }
.connection-line:nth-child(5) { animation-delay: 2.5s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.contact__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact__pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.contact__content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.form__input {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form__input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: var(--bg-glass-hover);
}

.form__select {
    color: var(--text-primary);
    cursor: pointer;
}

.form__select option {
    background: var(--bg-card-solid);
    color: var(--text-primary);
}

.form__select:invalid {
    color: var(--text-muted);
}

.form__textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-primary);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.contact__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
}

.contact__label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact__text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer__list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all var(--transition-base);
    color: var(--accent-primary);
}

.footer__list a:hover {
    color: var(--text-primary);
    padding-left: 20px;
}

.footer__list a:hover::before {
    opacity: 1;
    left: 0;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer__contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: 0.9rem;
}

.footer__link:hover {
    color: var(--text-primary);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__visual {
        display: none;
    }

    .hero__content {
        max-width: 100%;
    }

    .professional__wrapper {
        grid-template-columns: 1fr;
    }

    .professional__visual {
        display: none;
    }

    .spheres__container {
        min-height: 600px;
    }

    .spheres__orbital {
        min-height: 600px;
    }

    .sphere-card {
        width: 180px;
        padding: 1.5rem 1.25rem;
    }

    .spheres__connections {
        width: 500px;
        height: 500px;
    }
}

/* Medium Tablets and Small Laptops */
@media (max-width: 968px) and (min-width: 577px) {
    .hero {
        padding-top: 90px;
    }

    .hero__container {
        padding: 0 1.5rem;
    }

    .hero__title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .hero__subtitle {
        font-size: clamp(1.125rem, 3vw, 1.25rem);
    }

    .hero__actions {
        gap: 1.25rem;
    }
}

@media (max-width: 968px) {
    .hero {
        padding-top: 90px;
    }

    .hero__container {
        padding: 0 1.5rem;
    }

    .hero__title {
        font-size: clamp(2.25rem, 6vw, 3.5rem);
    }

    .hero__subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        height: -webkit-fill-available;
        height: 100dvh;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right var(--transition-base);
        box-shadow: var(--shadow-lg);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav__cta {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .contact__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .spheres__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section {
        padding: var(--spacing-lg) 0;
        width: 100%;
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .nav {
        padding: 1rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav__logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo {
        gap: 0.75rem;
    }

    .logo__icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .nav__logo .logo-text {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav__menu {
        width: 100%;
        order: 3;
    }

    /* Hero Section Mobile Fixes */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available; /* iOS Safari fix */
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding-top: 80px;
        padding-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
    }

    .hero__container {
        padding: 0 1rem;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .hero__title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        margin-bottom: 1rem;
        letter-spacing: -1px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero__title-line {
        display: block;
        width: 100%;
    }

    .hero__subtitle {
        font-size: clamp(0.9rem, 4.5vw, 1.125rem);
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero__actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .btn--hero-primary,
    .btn--hero-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Touch target size */
        box-sizing: border-box;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.3);
    }

    .hero__scroll-indicator {
        bottom: 1rem;
        font-size: 0.75rem;
    }

    .spheres__container {
        min-height: 500px;
    }

    .spheres__orbital {
        min-height: 500px;
    }

    .spheres__center-content {
        width: 150px;
        height: 150px;
    }

    .spheres__center-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.25rem;
    }

    .spheres__center-title {
        font-size: 1rem;
    }

    .spheres__center-text {
        font-size: 0.75rem;
    }

    .sphere-card {
        width: 150px;
        padding: 1.25rem 1rem;
    }

    .sphere-card__icon {
        width: 60px;
        height: 60px;
    }

    .sphere-card__icon svg {
        width: 30px;
        height: 30px;
    }

    .sphere-card__title {
        font-size: 1rem;
    }

    .sphere-card__description {
        font-size: 0.75rem;
    }

    .spheres__connections {
        width: 400px;
        height: 400px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Extra Small Devices (phones below 400px) */
@media (max-width: 400px) {
    .nav {
        padding: 0.875rem 1rem;
    }

    .logo__icon {
        width: 30px;
        height: 30px;
    }

    .nav__logo .logo-text {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 1.5rem;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        min-height: 100dvh;
    }

    .hero__container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.875rem;
        margin-bottom: 1.25rem;
        max-width: 100%;
    }

    .hero__title {
        font-size: clamp(1.5rem, 11vw, 2.25rem);
        margin-bottom: 0.875rem;
        line-height: 1.15;
    }

    .hero__subtitle {
        font-size: clamp(0.85rem, 5vw, 1rem);
        margin-bottom: 1.75rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .hero__actions {
        gap: 0.875rem;
        padding: 0;
    }

    .btn--hero-primary,
    .btn--hero-secondary {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
    }

    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Reduce gradient orb sizes on very small screens */
    .hero__gradient-orb--1 {
        width: 250px;
        height: 250px;
        top: -80px;
        left: -80px;
    }

    .hero__gradient-orb--2 {
        width: 200px;
        height: 200px;
        bottom: -60px;
        right: -60px;
    }

    .hero__gradient-orb--3 {
        width: 150px;
        height: 150px;
    }
}

/* iPhone and Android specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific */
    .hero {
        min-height: -webkit-fill-available;
    }
}

@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    * {
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    }

    .hero__container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero__title {
        font-size: clamp(1.75rem, 9vw, 2.75rem) !important;
    }

    .hero__subtitle {
        font-size: clamp(0.9rem, 4vw, 1.15rem) !important;
    }
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== Particles Background - Global Gradient Orbs ===== */
#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.global-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.global-gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.global-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 25s ease-in-out infinite;
}

.global-gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.global-gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.global-gradient-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
}

.global-gradient-orb--4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    top: 30%;
    right: 20%;
    animation-delay: -8s;
}

.global-gradient-orb--5 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    bottom: 40%;
    right: 5%;
    animation-delay: -12s;
}

.global-gradient-orb--6 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.7) 50%, transparent 70%);
    animation: floatParticle 18s infinite linear;
    opacity: 0.85;
    --horizontal: 100px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.7), 0 0 40px rgba(139, 92, 246, 0.5);
    will-change: transform, opacity;
    z-index: 2;
}

.particle--small {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6), 0 0 24px rgba(99, 102, 241, 0.4);
}

.particle--medium {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.7), 0 0 32px rgba(139, 92, 246, 0.5);
}

.particle--large {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8), 0 0 40px rgba(236, 72, 153, 0.6);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
        transform: translateY(95vh) translateX(0) rotate(0deg) scale(0.8);
    }
    25% {
        opacity: 0.85;
        transform: translateY(75vh) translateX(calc(var(--horizontal, 100px) * 0.25)) rotate(90deg) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateY(50vh) translateX(calc(var(--horizontal, 100px) * 0.5)) rotate(180deg) scale(1.1);
    }
    75% {
        opacity: 0.85;
        transform: translateY(25vh) translateX(calc(var(--horizontal, 100px) * 0.75)) rotate(270deg) scale(1);
    }
    95% {
        opacity: 0.7;
        transform: translateY(5vh) translateX(var(--horizontal, 100px)) rotate(360deg) scale(0.8);
    }
    100% {
        transform: translateY(-100vh) translateX(var(--horizontal, 100px)) rotate(360deg) scale(0.7);
        opacity: 0;
    }
}

