* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #f2f4ff;
    background: radial-gradient(circle at 15% 15%, rgba(30, 7, 37, 0.651), transparent 45%),
                radial-gradient(circle at 85% 20%, rgba(255, 133, 218, 0.733), transparent 50%),
                radial-gradient(circle at 50% 85%, rgba(255, 0, 149, 0.658), transparent 55%),
                #0a0614;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 120px;
}

/* Quick Links Bar */
.quick-links-bar {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 6, 20, 0.35);
    backdrop-filter: blur(20px);
    padding: 14px clamp(24px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.quick-links-slot {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}

.quick-links-slot--left {
    justify-content: flex-start;
}

.quick-links-slot--right {
    justify-content: flex-end;
}

.quick-links-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: nowrap;
}

.quick-links-bar.scrolled {
    top: 0;
    background: rgba(10, 6, 20, 0.85);
    backdrop-filter: blur(28px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

#navbar-placeholder {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar-placeholder.hidden {
    transform: translateY(-100%);
}

.quick-links-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(184, 124, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quick-link {
    font-size: 0.9rem;
    color: rgba(242, 244, 255, 0.8);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(155, 89, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-link:hover {
    background: rgba(155, 89, 255, 0.2);
    border-color: rgba(155, 89, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    body {
        padding-top: 130px;
    }
    
    .quick-links-bar {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .quick-links-slot {
        width: 100%;
        flex: 0 0 auto;
        justify-content: center;
    }

    .quick-links-slot--right {
        display: none;
    }

    .quick-links-center {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .quick-links-label {
        width: 100%;
        margin-bottom: 4px;
        text-align: center;
    }
    
    .quick-link {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

/* Animated Network Canvas */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 10vh, 120px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 3;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(155, 89, 255, 0.15);
    border: 1px solid rgba(180, 160, 255, 0.3);
    color: rgba(220, 210, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: clamp(24px, 3vh, 40px);
    animation: badge-pulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(155, 89, 255, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
    animation: rotate-icon 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(155, 89, 255, 0.6));
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(155, 89, 255, 0.3), 0 0 40px rgba(155, 89, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(155, 89, 255, 0.5), 0 0 60px rgba(155, 89, 255, 0.2);
    }
}

@keyframes rotate-icon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vh, 16px);
    margin-bottom: clamp(24px, 3vh, 32px);
}

.title-line {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up 0.8s ease-out forwards;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 45px rgba(155, 120, 255, 0.45);
}

.title-line:first-child {
    animation-delay: 0.2s;
}

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

.gradient-text {
    background: linear-gradient(135deg, #2dceff, #00ccff, #28bbff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slide-up 0.8s ease-out 0.4s forwards, gradient-shift 4s ease infinite;
    filter: drop-shadow(0 0 30px rgba(247, 14, 255, 0.4));
}

@keyframes slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: rgba(220, 215, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.6s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

/* Floating Energy Nexus */
.floating-energy-nexus {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(350px, 38vw, 550px);
    height: clamp(350px, 38vw, 550px);
    pointer-events: none;
    opacity: 0;
    animation: fade-in 0.8s ease-out 0.8s forwards;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
    will-change: transform;
}

.nexus-container {
    position: relative;
    width: 100%;
    height: 100%;
    animation: float-nexus 8s ease-in-out infinite;
    filter: drop-shadow(0 30px 80px rgba(155, 89, 255, 0.6));
    transform-style: preserve-3d;
    perspective: 1200px;
}

@keyframes float-nexus {
    0%, 100% {
        transform: translateY(0) rotateX(5deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(8deg) rotateY(5deg);
    }
    50% {
        transform: translateY(0) rotateX(5deg) rotateY(10deg);
    }
    75% {
        transform: translateY(-15px) rotateX(2deg) rotateY(5deg);
    }
}

/* Energy Core */
.energy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 10;
}

.core-sphere {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: sphere-rotate 20s linear infinite;
    transform-style: preserve-3d;
}

@keyframes sphere-rotate {
    from {
        transform: rotateY(0deg) rotateX(15deg);
    }
    to {
        transform: rotateY(360deg) rotateX(15deg);
    }
}

.sphere-layer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse-layer 4s ease-in-out infinite;
}

.layer-1 {
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 1, 221, 0.9), 
        rgba(66, 148, 255, 0.8) 30%, 
        rgba(155, 89, 255, 0.6) 60%,
        transparent 80%);
    box-shadow: 
        inset 0 0 60px rgba(255, 255, 255, 0.5),
        inset 0 0 120px rgba(184, 124, 255, 0.8),
        0 0 80px rgba(155, 89, 255, 0.8),
        0 0 120px rgba(184, 124, 255, 0.6);
}

.layer-2 {
    background: conic-gradient(from 180deg at 50% 50%, 
        rgba(255, 89, 180, 0.4), 
        rgba(89, 195, 255, 0.4),
        rgba(255, 89, 180, 0.4));
    mix-blend-mode: screen;
    animation-delay: -1s;
    animation-duration: 6s;
}

.layer-3 {
    background: radial-gradient(circle at 60% 40%, 
        rgba(27, 183, 255, 0.795), 
        transparent 60%);
    mix-blend-mode: screen;
    animation-delay: -2s;
    animation-duration: 5s;
}

@keyframes pulse-layer {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Core Pulses */
.core-pulse {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    border: 3px solid rgba(184, 124, 255, 0.6);
    animation: pulse-expand 10s ease-out infinite;
}

.pulse-1 {
    animation-delay: 0s;
}

.pulse-2 {
    animation-delay: .5s;
}

.pulse-3 {
    animation-delay: 1s;
}

@keyframes pulse-expand {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Orbital Rings */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(155, 89, 255, 0.6);
    box-shadow: 
        0 0 30px rgba(155, 89, 255, 0.8),
        inset 0 0 30px rgba(155, 89, 255, 0.4);
    animation: orbit-spin 15s linear infinite;
    transform-style: preserve-3d;
}

.ring-outer {
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%) rotateX(75deg);
    animation-duration: 20s;
}

.ring-middle {
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(45deg);
    animation-duration: 16s;
    animation-direction: reverse;
    border-color: rgba(89, 195, 255, 0.6);
    box-shadow: 
        0 0 30px rgba(89, 195, 255, 0.8),
        inset 0 0 30px rgba(89, 195, 255, 0.4);
}

.ring-inner {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(90deg);
    animation-duration: 12s;
    border-color: rgba(255, 89, 180, 0.6);
    box-shadow: 
        0 0 30px rgba(255, 89, 180, 0.8),
        inset 0 0 30px rgba(255, 89, 180, 0.4);
}

@keyframes orbit-spin {
    from {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

.ring-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 255, 0.3), transparent 70%);
    filter: blur(20px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Ring Nodes */
.ring-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(184, 124, 255, 0.8));
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    animation: node-orbit 8s linear infinite;
}

.node-1 {
    animation-delay: 0s;
}

.node-2 {
    animation-delay: -2.67s;
}

.node-3 {
    animation-delay: -5.33s;
}

@keyframes node-orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Energy Particles */
.energy-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(184, 124, 255, 0.6));
    box-shadow: 0 0 20px rgba(184, 124, 255, 0.9);
    top: 50%;
    left: 50%;
    animation: particle-float 6s ease-in-out infinite;
}

.particle-1 {
    animation-delay: 0s;
    --orbit-x: 150px;
    --orbit-y: 80px;
}

.particle-2 {
    animation-delay: -1s;
    --orbit-x: -120px;
    --orbit-y: 100px;
}

.particle-3 {
    animation-delay: -2s;
    --orbit-x: 80px;
    --orbit-y: -140px;
}

.particle-4 {
    animation-delay: -3s;
    --orbit-x: -150px;
    --orbit-y: -90px;
}

.particle-5 {
    animation-delay: -4s;
    --orbit-x: 180px;
    --orbit-y: -60px;
}

.particle-6 {
    animation-delay: -5s;
    --orbit-x: -90px;
    --orbit-y: 160px;
}

.particle-7 {
    animation-delay: -1.5s;
    --orbit-x: 110px;
    --orbit-y: 130px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(89, 195, 255, 0.6));
    box-shadow: 0 0 20px rgba(89, 195, 255, 0.9);
}

.particle-8 {
    animation-delay: -4.5s;
    --orbit-x: -130px;
    --orbit-y: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 89, 180, 0.6));
    box-shadow: 0 0 20px rgba(255, 89, 180, 0.9);
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(calc(-50% + var(--orbit-x) * 0), calc(-50% + var(--orbit-y) * 0)) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(calc(-50% + var(--orbit-x) * 1), calc(-50% + var(--orbit-y) * 0.5)) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translate(calc(-50% + var(--orbit-x) * 0.5), calc(-50% + var(--orbit-y) * 1)) scale(0.8);
        opacity: 0.7;
    }
    75% {
        transform: translate(calc(-50% + var(--orbit-x) * -0.5), calc(-50% + var(--orbit-y) * 0.5)) scale(1.2);
        opacity: 0.9;
    }
}

/* Holographic Grid */
.holo-grid {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    background: 
        repeating-linear-gradient(0deg, rgba(155, 89, 255, 0.3) 0px, transparent 2px, transparent 20px),
        repeating-linear-gradient(90deg, rgba(155, 89, 255, 0.3) 0px, transparent 2px, transparent 20px);
    mix-blend-mode: screen;
    opacity: 0.4;
    animation: grid-spin 25s linear infinite;
    border-radius: 50%;
}

.grid-1 {
    animation-duration: 30s;
}

.grid-2 {
    width: 180px;
    height: 180px;
    animation-duration: 20s;
    animation-direction: reverse;
    background: 
        repeating-linear-gradient(45deg, rgba(89, 195, 255, 0.3) 0px, transparent 2px, transparent 15px),
        repeating-linear-gradient(-45deg, rgba(89, 195, 255, 0.3) 0px, transparent 2px, transparent 15px);
}

@keyframes grid-spin {
    from {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

/* Energy Field */
.energy-field {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 255, 0.2), transparent 70%);
    filter: blur(60px);
    animation: field-pulse 6s ease-in-out infinite;
}

@keyframes field-pulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Data Streams */
.data-stream {
    position: absolute;
    width: 3px;
    height: 100px;
    background: linear-gradient(180deg, 
        transparent,
        rgba(184, 124, 255, 0.8),
        transparent);
    filter: blur(1px);
    box-shadow: 0 0 10px rgba(184, 124, 255, 0.8);
    animation: stream-flow 2s ease-in-out infinite;
}

.stream-1 {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.stream-2 {
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: 0.5s;
}

.stream-3 {
    bottom: 20%;
    left: 20%;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.stream-4 {
    bottom: 15%;
    right: 25%;
    transform: rotate(60deg);
    animation-delay: 1.5s;
}

@keyframes stream-flow {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(30px);
    }
}

/* Responsive adjustments for Energy Nexus */
@media (max-width: 1024px) {
    .floating-energy-nexus {
        opacity: 0.7;
        width: clamp(280px, 32vw, 420px);
        height: clamp(280px, 32vw, 420px);
    }
    
    .ring-outer {
        width: 320px;
        height: 320px;
    }
    
    .ring-middle {
        width: 240px;
        height: 240px;
    }
    
    .ring-inner {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .floating-energy-nexus {
        display: none;
    }
}

/* Mission Section */
.mission-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 100px);
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: clamp(20px, 3vh, 32px);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #b87cff, #59c3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.7;
    color: rgba(220, 215, 255, 0.85);
    margin-bottom: clamp(40px, 6vh, 60px);
}

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

.stat-card {
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(155, 89, 255, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(155, 89, 255, 0.5);
    box-shadow: 0 20px 40px rgba(155, 89, 255, 0.3);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #b87cff, #59c3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(200, 195, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mission Visual */
.mission-visual {
    position: relative;
    width: min(100%, 600px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-grid {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    transform-style: preserve-3d;
    animation: rotate-grid 20s linear infinite;
}

@keyframes rotate-grid {
    from {
        transform: rotateX(25deg) rotateY(0deg);
    }
    to {
        transform: rotateX(25deg) rotateY(360deg);
    }
}

.grid-cube {
    position: absolute;
    width: clamp(140px, 32vw, 280px);
    height: clamp(140px, 32vw, 280px);
    border: 2px solid rgba(174, 34, 255, 0.863);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 35, 244, 0.651), rgba(89, 195, 255, 0.1));
    box-shadow: 0 10px 30px rgba(155, 89, 255, 0.2);
    animation: float-cube 3s ease-in-out infinite;
}

.cube-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.cube-2 {
    top: 0;
    right: 0;
    animation-delay: 0.5s;
}

.cube-3 {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.cube-4 {
    bottom: 0;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes float-cube {
    0%, 100% {
        transform: translateZ(0) scale(1);
    }
    50% {
        transform: translateZ(50px) scale(1.1);
    }
}

/* Services Overview */
.services-overview {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.services-overview .section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(220, 215, 255, 0.7);
    max-width: 700px;
    margin: 0 auto clamp(60px, 8vh, 80px);
    line-height: 1.6;
}

.services-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 5vw, 48px);
}

.service-card-large {
    position: relative;
    background: rgba(20, 15, 35, 0.6);
    border-radius: 28px;
    padding: clamp(40px, 6vw, 56px);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card-large::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.6), rgba(89, 195, 255, 0.6));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-flow 4s linear infinite;
    opacity: 0.5;
}

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

.service-card-large:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(155, 89, 255, 0.4);
}

.service-card-large:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 255, 0.4), transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.4;
    transition: all 0.5s ease;
}

.service-card-large:hover .card-glow {
    transform: scale(1.5);
    opacity: 0.7;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.2), rgba(89, 195, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #b87cff;
    box-shadow: 0 10px 30px rgba(155, 89, 255, 0.3);
    position: relative;
    z-index: 1;
}

.service-card-large h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 16px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}

.service-card-large p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.7;
    color: rgba(220, 215, 255, 0.8);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.3), rgba(89, 195, 255, 0.3));
    border: 1px solid rgba(155, 89, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card-link:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(155, 89, 255, 0.4);
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.5), rgba(89, 195, 255, 0.5));
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* Values Section */
.values-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.values-section .section-title {
    text-align: center;
    margin-bottom: clamp(60px, 8vh, 80px);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(28px, 4vw, 40px);
}

.value-card {
    background: rgba(20, 15, 35, 0.5);
    border: 1px solid rgba(155, 89, 255, 0.15);
    border-radius: 20px;
    padding: clamp(32px, 5vw, 40px);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(155, 89, 255, 0.4);
    box-shadow: 0 20px 40px rgba(155, 89, 255, 0.3);
    background: rgba(20, 15, 35, 0.7);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(155, 89, 255, 0.5));
}

.value-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 12px;
    font-weight: 600;
    color: #fff;
}

.value-card p {
    line-height: 1.7;
    color: rgba(220, 215, 255, 0.75);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* Process Timeline - 3D Depth Curve Design */
.process-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
    overflow: hidden;
    perspective: 2500px;
    -webkit-perspective: 2500px;
    perspective-origin: 50% 50%;
    -webkit-perspective-origin: 50% 50%;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: relative;
    max-width: 1400px;
    margin: 0 auto clamp(40px, 6vh, 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.carousel-hint {
    font-size: 0.9rem;
    color: rgba(184, 124, 255, 0.8);
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(155, 89, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: pulse-hint 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes pulse-hint {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.carousel-hint.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.carousel-arrow {
    display: none;
}

.process-section::before {
    display: none;
}

.process-section .section-title {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: clamp(20px, 3vh, 32px);
}

.process-section .section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(220, 215, 255, 0.7);
    max-width: 700px;
    margin: 0 auto clamp(80px, 10vh, 120px);
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.timeline-container {
    --items: 5;
    --angle-step: calc(360deg / var(--items));
    --radius: clamp(250px, 25vw, 350px);
    width: 100%;
    height: clamp(500px, 70vh, 700px);
    margin: 0 auto;
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    overflow: visible;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#globe-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.timeline-item {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.timeline-content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.timeline-track {
    display: none;
}

.timeline-item {
    --item-angle: 0deg;
    --pop: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(240px, 26vw, 300px);
    min-height: clamp(320px, 34vw, 380px);
    padding: clamp(32px, 4vw, 48px) clamp(20px, 2.4vw, 32px);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
    transform: 
        translate(-50%, -50%)
        rotateY(var(--item-angle))
        translateZ(calc(var(--radius) + var(--pop)));
    opacity: 1;
    z-index: 1;
}

.timeline-item:focus-visible {
    outline: 2px solid rgba(184, 124, 255, 0.75);
    outline-offset: 10px;
}

.timeline-item:nth-child(1) {
    --item-angle: 0deg;
}

.timeline-item:nth-child(2) {
    --item-angle: calc(var(--angle-step) * 1);
}

.timeline-item:nth-child(3) {
    --item-angle: calc(var(--angle-step) * 2);
}

.timeline-item:nth-child(4) {
    --item-angle: calc(var(--angle-step) * 3);
}

.timeline-item:nth-child(5) {
    --item-angle: calc(var(--angle-step) * 4);
}

.timeline-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 35, 0.95);
    border: 1px solid rgba(155, 89, 255, 0.4);
    border-radius: 32px;
    backdrop-filter: blur(24px);
    transition: all 0.5s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.timeline-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 35, 0.95);
    border: 1px solid rgba(155, 89, 255, 0.2);
    border-radius: 32px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: -1;
}

.timeline-marker {
    display: none;
}

.marker-pulse {
    display: none;
}

.timeline-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Small step numbers in top-left of cards */
.timeline-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(155, 89, 255, 0.4);
    background: none;
    z-index: 10;
}

.timeline-item[data-step="1"] .timeline-content::before { content: '1'; }
.timeline-item[data-step="2"] .timeline-content::before { content: '2'; }
.timeline-item[data-step="3"] .timeline-content::before { content: '3'; }
.timeline-item[data-step="4"] .timeline-content::before { content: '4'; }
.timeline-item[data-step="5"] .timeline-content::before { content: '5'; }

.timeline-content h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #b87cff, #59c3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
    position: relative;
    line-height: 1.3;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b87cff, transparent);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.timeline-content p {
    line-height: 1.7;
    color: rgba(220, 215, 255, 0.85);
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    transition: all 0.4s ease;
}

.process-section {
    isolation: isolate;
}

.process-section::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
            rgba(155, 89, 255, 0.2), 
            transparent 40%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .timeline-container {
        --radius: clamp(280px, 32vw, 400px);
        height: clamp(480px, 62vh, 620px);
    }

    .timeline-item {
        width: clamp(220px, 28vw, 260px);
    }
    
    .carousel-hint {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

@media (max-width: 1024px) {
    .process-section {
        overflow: hidden;
        perspective: none;
    }

    .carousel-nav {
        display: none;
    }

    .carousel-hint {
        display: none;
    }

    .timeline-container {
        --radius: 0px;
        height: auto;
        padding: clamp(32px, 6vw, 48px) 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(32px, 6vw, 48px);
        transform-style: flat;
        transform: none !important;
        cursor: default;
    }

    .timeline-track {
        display: none;
    }

    .timeline-item {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        filter: none !important;
    }

    #globe-canvas {
        display: none;
    }
}

@media (max-width: 640px) {
    .timeline-container {
        padding: clamp(24px, 8vw, 40px) 0;
        gap: clamp(24px, 8vw, 36px);
    }

    .timeline-item {
        max-width: 100%;
        padding: clamp(28px, 8vw, 36px) clamp(18px, 6vw, 28px);
    }

    .service-card-large {
        padding: clamp(28px, 8vw, 36px);
    }

    .card-icon {
        width: 64px;
        height: 64px;
    }

    .service-card-large p {
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: clamp(28px, 8vw, 40px);
    }

    .pricing-header h3 {
        font-size: 1.4rem;
    }

    .amount {
        font-size: 2.4rem;
    }

    .cta-content {
        padding: clamp(40px, 12vw, 60px);
    }

    .cta-buttons {
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-container,
    .timeline-item {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Pricing Section */
.pricing-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.pricing-section .section-title {
    text-align: center;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: clamp(50px, 7vh, 70px);
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 14px 36px;
    border-radius: 999px;
    border: 1px solid rgba(155, 89, 255, 0.3);
    background: rgba(20, 15, 35, 0.5);
    color: rgba(220, 215, 255, 0.8);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.toggle-btn:hover {
    border-color: rgba(155, 89, 255, 0.5);
    background: rgba(155, 89, 255, 0.1);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.4), rgba(89, 195, 255, 0.4));
    border-color: rgba(155, 89, 255, 0.7);
    color: #fff;
    box-shadow: 0 10px 30px rgba(155, 89, 255, 0.4);
}

.pricing-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 5vw, 48px);
    transition: all 0.4s ease;
}

.pricing-grid.hidden {
    display: none;
}

.pricing-card {
    position: relative;
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(155, 89, 255, 0.2);
    border-radius: 24px;
    padding: clamp(36px, 5vw, 48px);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(155, 89, 255, 0.5);
    box-shadow: 0 25px 50px rgba(155, 89, 255, 0.3);
}

.pricing-card.featured {
    border-color: rgba(155, 89, 255, 0.6);
    background: rgba(30, 20, 50, 0.7);
    transform: scale(1.05);
}

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

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.8), rgba(89, 195, 255, 0.8));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(155, 89, 255, 0.5);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 12px;
}

.currency {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: rgba(200, 195, 255, 0.7);
    margin-right: 4px;
    margin-top: 6px;
}

.amount {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #b87cff, #59c3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.price-description {
    color: rgba(200, 195, 255, 0.7);
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: rgba(220, 215, 255, 0.85);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(155, 89, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list svg {
    color: #b87cff;
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 16px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.3), rgba(89, 195, 255, 0.3));
    border: 1px solid rgba(155, 89, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.5), rgba(89, 195, 255, 0.5));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(155, 89, 255, 0.4);
}

.pricing-card.featured .pricing-cta {
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.6), rgba(89, 195, 255, 0.6));
    box-shadow: 0 8px 24px rgba(155, 89, 255, 0.4);
}

/* Contact Section */
.contact-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 100px);
    align-items: start;
}

.contact-left .section-title {
    text-align: left;
}

.contact-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(220, 215, 255, 0.8);
    margin-bottom: clamp(40px, 6vh, 60px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.2), rgba(89, 195, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b87cff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 89, 255, 0.2);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 600;
}

.info-text p,
.info-text a {
    font-size: 1rem;
    color: rgba(200, 195, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #b87cff;
}

/* Contact Form */
.contact-form {
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(155, 89, 255, 0.2);
    border-radius: 24px;
    padding: clamp(36px, 5vw, 48px);
    backdrop-filter: blur(20px);
}

.contact-redirect {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    overflow: hidden;
}

.contact-redirect::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto;
    height: clamp(220px, 35vw, 320px);
    background: radial-gradient(circle at top right, rgba(123, 77, 255, 0.55), rgba(46, 104, 255, 0) 65%);
    pointer-events: none;
    transform: rotate(8deg);
    z-index: 0;
}

.contact-redirect::after {
    content: "";
    position: absolute;
    inset: auto -30% -40%;
    height: clamp(220px, 35vw, 320px);
    background: radial-gradient(circle at bottom left, rgba(89, 195, 255, 0.4), rgba(46, 104, 255, 0) 65%);
    pointer-events: none;
    transform: rotate(-6deg);
    z-index: 0;
}

.contact-redirect-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(220, 215, 255, 0.8);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(220, 215, 255, 0.9);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(155, 89, 255, 0.2);
    background: rgba(10, 8, 20, 0.6);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(155, 89, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(155, 89, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.6), rgba(89, 195, 255, 0.6));
    border: 1px solid rgba(155, 89, 255, 0.7);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(155, 89, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.8), rgba(89, 195, 255, 0.8));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(155, 89, 255, 0.5);
}

.contact-redirect .submit-btn {
    font-size: 1.05rem;
    padding: clamp(18px, 3vw, 22px) clamp(40px, 6vw, 52px);
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.85), rgba(59, 130, 246, 0.9));
    border: 1px solid rgba(173, 134, 255, 0.9);
    box-shadow: 0 14px 38px rgba(103, 80, 255, 0.45);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-redirect .submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-redirect .submit-btn:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 44px rgba(103, 80, 255, 0.55);
}

.contact-redirect .submit-btn:hover::before {
    opacity: 1;
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

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

/* CTA Section */
.cta-section {
    padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(20, 15, 35, 0.6);
    border: 1px solid rgba(155, 89, 255, 0.3);
    border-radius: 32px;
    padding: clamp(56px, 9vw, 90px);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(155, 89, 255, 0.2);
}

.cta-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #b87cff, #59c3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    color: rgba(220, 215, 255, 0.85);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 18px 42px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.7), rgba(89, 195, 255, 0.7));
    color: #fff;
    border: 1px solid rgba(155, 89, 255, 0.6);
    box-shadow: 0 10px 30px rgba(155, 89, 255, 0.4);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(155, 89, 255, 0.5);
    background: linear-gradient(135deg, rgba(155, 89, 255, 0.9), rgba(89, 195, 255, 0.9));
}

.cta-secondary {
    background: transparent;
    color: rgba(220, 215, 255, 0.9);
    border: 1px solid rgba(155, 89, 255, 0.4);
}

.cta-secondary:hover {
    background: rgba(155, 89, 255, 0.15);
    border-color: rgba(155, 89, 255, 0.6);
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .floating-energy-nexus {
        opacity: 0.5;
        width: 250px;
        height: 300px;
    }
    
    .mission-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .mission-left {
        max-width: 620px;
    }

    .mission-text {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        justify-items: center;
    }

    .mission-right {
        width: 100%;
        margin-top: clamp(24px, 6vw, 40px);
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .mission-visual {
        width: min(100%, 420px);
    }

    .visual-grid {
        max-width: 420px;
    }

    .grid-cube {
        width: clamp(140px, 38vw, 220px);
        height: clamp(140px, 38vw, 220px);
    }
}

@media (max-width: 820px) {
    .cube-1 {
        top: -3%;
        left: -3%;
    }

    .cube-2 {
        top: -3%;
        right: -3%;
    }

    .cube-3 {
        bottom: -3%;
        left: -3%;
    }

    .cube-4 {
        bottom: -3%;
        right: -3%;
    }
}

@media (min-width: 901px) and (max-width: 1199px) {
    .mission-visual {
        width: min(100%, 520px);
    }

    .visual-grid {
        max-width: 520px;
    }

    .cube-1 {
        top: -4%;
        left: -4%;
    }

    .cube-2 {
        top: -4%;
        right: -4%;
    }

    .cube-3 {
        bottom: -4%;
        left: -4%;
    }

    .cube-4 {
        bottom: -4%;
        right: -4%;
    }
}

@media (min-width: 1200px) {
    .mission-visual {
        width: min(100%, 660px);
    }

    .visual-grid {
        max-width: 660px;
    }

    .cube-1 {
        top: -6%;
        left: -6%;
    }

    .cube-2 {
        top: -6%;
        right: -6%;
    }

    .cube-3 {
        bottom: -6%;
        left: -6%;
    }

    .cube-4 {
        bottom: -6%;
        right: -6%;
    }
}

@media (max-width: 768px) {
    .floating-energy-nexus {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-12px) scale(1);
    }

    .contact-container {
        gap: clamp(40px, 8vw, 60px);
    }

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

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .info-icon {
        margin-bottom: 0;
    }

    .contact-redirect .submit-btn {
        width: 100%;
    }

    .contact-redirect-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
    
    .pricing-toggle {
        gap: 12px;
    }
    
    .toggle-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}