

* { font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }


@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.8; }
}

@keyframes dash {
    to { stroke-dashoffset: -100; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.3), 0 0 40px rgba(168, 85, 247, 0.2); }
    50% { box-shadow: 0 0 30px rgba(34, 211, 238, 0.5), 0 0 60px rgba(168, 85, 247, 0.3); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

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

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


.animate-float { animation: float 6s ease-in-out infinite; }
.animate-dash { animation: dash 3s linear infinite; }
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }
.animate-glow-pulse { animation: glow-pulse 2s ease-in-out infinite; }
.animate-pulse-ring { animation: pulse-ring 2s ease-out infinite; }
.animate-gradient { animation: gradient-shift 8s ease infinite; background-size: 200% 200%; }
.animate-spin { animation: spin 1s linear infinite; }


.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-700 { animation-delay: 700ms; }
.delay-1000 { animation-delay: 1000ms; }


.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #22d3ee, #a855f7, #ec4899, #22d3ee);
    background-size: 300% 100%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradient-shift 3s linear infinite;
}

.btn-glow:hover::before { 
    opacity: 1; 
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.25);
}

.input-focus {
    transition: all 0.3s ease;
}

.input-focus:focus {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
    outline: none;
}


::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }


.toast {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}


.page-body {
    background-color: #0a0a0f;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}


.background-container {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background-color: #0a0a0f;
}

.background-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(128px);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.glow-purple {
    top: 0;
    left: -10rem;
    width: 600px;
    height: 600px;
    background-color: rgba(147, 51, 234, 0.2);
}

.glow-cyan {
    bottom: 0;
    right: -10rem;
    width: 600px;
    height: 600px;
    background-color: rgba(6, 182, 212, 0.2);
    animation-delay: 1s;
}

.glow-indigo {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 800px;
    height: 800px;
    background-color: rgba(79, 70, 229, 0.1);
    animation-delay: 0.5s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
}

.grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 64px 64px;
}

.particle-1 {
    left: 10%;
    top: 20%;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow-pulse 2s ease-in-out infinite;
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    color: #9ca3af;
    transition: color 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
}

.nav-link:hover,
.nav-link-active {
    color: white;
}

.cta-button {
    position: relative;
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-image: linear-gradient(to right, #22d3ee, #a855f7);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.4);
    transform: scale(1.05);
}


.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 0;
}

.hero-content {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.status-dot-container {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.status-dot-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #4ade80;
    opacity: 0.75;
}

.status-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.5rem;
    width: 0.5rem;
    background-color: #4ade80;
}

.status-text {
    font-size: 0.875rem;
    color: #d1d5db;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    line-height: 1.625;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .cta-container { flex-direction: row; }
}

.main-cta {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    background-image: linear-gradient(to right, #22d3ee, #a855f7);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.main-cta:hover {
    box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.4);
    transform: scale(1.05);
}

.secondary-cta {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.demo-container {
    animation: fade-in-up 0.8s ease-out forwards;
    animation-delay: 500ms;
    opacity: 0;
}

.demo-box {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0d0d12;
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.1);
}


.demo-test-label {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    
    background: linear-gradient(to bottom, #ffffff, #6b7280);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    pointer-events: none;
    user-select: none;
    
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
}


.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); 
    opacity: 0.5;
    mix-blend-mode: screen;
    will-change: transform;
}

.blob-cyan {
    top: -20%; left: -10%; width: 70%; height: 70%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.8) 0%, rgba(0,0,0,0) 70%);
    animation: aurora-move-1 25s ease-in-out infinite alternate;
}
.blob-purple {
    bottom: -20%; right: -10%; width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.8) 0%, rgba(0,0,0,0) 70%);
    animation: aurora-move-2 30s ease-in-out infinite alternate;
}
.blob-pink {
    top: 40%; left: 30%; width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.6) 0%, rgba(0,0,0,0) 70%);
    animation: aurora-move-3 28s ease-in-out infinite alternate;
}

@keyframes aurora-move-1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(10%, 20%) scale(1.2); } }
@keyframes aurora-move-2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-15%, -10%) scale(1.1); } }
@keyframes aurora-move-3 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-5%, 15%) scale(1.3); } 100% { transform: translate(5%, -5%) scale(0.9); } }


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 400px;
    background: #13131f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.hidden { display: none; }


.connector-handle {
    cursor: crosshair; 
    transition: all 0.2s ease;
    stroke: #fff;
    stroke-width: 2px;
}

.connector-handle:hover {
    r: 8px; 
    fill: #fff !important; 
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}


.draggable-group:hover .connector-handle {
    opacity: 1;
}



.engagement-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 18, 0.85); 
    backdrop-filter: blur(8px);
    z-index: 50; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement-overlay.active {
    opacity: 1;
    pointer-events: auto; 
}

.engagement-text {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.engagement-overlay.active .engagement-text {
    transform: translateY(0);
    opacity: 1;
}


select.form-input {
    background-color: rgba(255, 255, 255, 0.05); 
    color: white;
    cursor: pointer;
}

select.form-input option {
    background-color: #13131f; 
    color: white;
    padding: 10px;
}


.modal-overlay {
    z-index: 9999 !important; 
}


@keyframes hint-pulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-2px); } 
}

.hint-label {
    font-size: 0.75rem;
    font-weight: 500;
    fill: #fff;
    pointer-events: none;
    text-anchor: middle;
    
    animation: hint-pulse 2s infinite ease-in-out;
}

.fade-out {
    opacity: 0 !important;
    animation: none !important;
    transition: opacity 0.5s ease-out;
}



.node-metric {
    font-family: 'Consolas', 'Monaco', monospace; 
    font-size: 10px;
    fill: #9ca3af; 
    pointer-events: none; 
    transition: fill 0.3s;
}


.metric-high { fill: #f87171; } 
.metric-ok { fill: #4ade80; }   




.draggable-group {
    cursor: grab;
    transition: filter 0.3s ease;
}

.draggable-group:hover {
    filter: brightness(1.2); 
}

.draggable-group:active {
    cursor: grabbing;
}


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #9ca3af;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}


.features-section {
    padding: 6rem 1.5rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


.architecture-section {
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.architecture-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .architecture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.contact-section {
    padding: 3rem 1.5rem;
}

.contact-section.hidden-section {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

.contact-section.visible {
    display: block;
    animation: reveal-section 0.6s ease-out forwards;
}

.contact-form-container {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-input::placeholder {
    color: #6b7280;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    background-image: linear-gradient(to right, #22d3ee, #a855f7);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px -5px rgba(168, 85, 247, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-text {
    color: #6b7280;
    font-size: 0.875rem;
}



.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown-btn .flag {
    font-size: 1.1rem;
}

.lang-dropdown-btn .arrow {
    transition: transform 0.2s ease;
}

.lang-dropdown.open .lang-dropdown-btn .arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(26, 26, 38, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.lang-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-option:first-child {
    border-radius: 0.75rem 0.75rem 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 0.75rem 0.75rem;
}

.lang-option:hover {
    background: rgba(168, 85, 247, 0.2);
    color: white;
}

.lang-option.active {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}

.lang-option .flag {
    font-size: 1.2rem;
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .check {
    opacity: 0;
    color: #a855f7;
}

.lang-option.active .check {
    opacity: 1;
}


body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: body-fallback 0s linear 2s forwards;
}

body.loaded {
    opacity: 1;
    animation: none;
}

@keyframes body-fallback {
    to { opacity: 1; }
}

