/* ========================================
   Doreto Web - Main Stylesheet
   ======================================== */

/* ----------------------------------------
   CSS Variables (Design Tokens)
   ---------------------------------------- */
:root {
    --color-dark-navy: #0a0a0b;
    --color-teal: #00b4d8;
    --color-magenta: #c026d3;
    --color-pink: #ec4899;
    --color-cyan-light: #22d3ee;
    --font-primary: 'Inter', sans-serif;

    /* Interactive cursor position */
    --mouse-x: 0px;
    --mouse-y: 0px;
}

/* ----------------------------------------
   Base Styles
   ---------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color-dark-navy);
    color: white;
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo Treatment - Background Removal */
img[src*="logo_transparent.png"],
img[src*="LogoDWA2.jpg"] {
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1);
}

/* Background Logo Treatment (logo.jpg) */
.logo-bg-wrapper img {
    filter: contrast(120%) brightness(110%);
    mix-blend-mode: screen;
}

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

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */

/* Procedural Data Screens */
.data-screen {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    animation: float-rotate 10s infinite ease-in-out;
    transform-style: preserve-3d;
}

.data-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-teal), transparent, var(--color-magenta));
    -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;
}

@keyframes float-rotate {

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

    33% {
        transform: translateY(-15px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

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

.screen-2 {
    animation-delay: -3s;
}

.screen-3 {
    animation-delay: -5s;
}

.screen-4 {
    animation-delay: -7s;
}



/* Procedural Glass Data Screens */
.glass-screen {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    pointer-events: none;
    animation: screen-drift 12s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 210, 255, 0.1);
}

@keyframes screen-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, -15px) rotate(1deg);
    }
}

.ui-line {
    height: 2px;
    background: linear-gradient(90deg, var(--color-teal), transparent);
    margin-bottom: 8px;
    border-radius: 1px;
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.ui-block {
    height: 12px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 2px;
}

/* Refined Glass Classes */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-elite {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Glow Button Effect - Enhanced */
.glow-btn {
    position: relative;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

.glow-btn::after {
    content: '';
    position: absolute;
    top: var(--y, 0);
    left: var(--x, 0);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.4) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.glow-btn:hover::after {
    width: 300px;
    height: 300px;
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* Neon Glow Effects */
.glow-neon-blue {
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.8), 0 0 30px rgba(0, 210, 255, 0.4);
    color: #fff;
}

.glow-neon-magenta {
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.4);
    color: #fff;
}

.glow-btn-pulse {
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
    animation: btn-pulse 2s infinite ease-in-out;
}

@keyframes btn-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 180, 216, 0.8);
        transform: scale(1.02);
    }
}

/* Gradient Text (Enhanced for Neon) */
.gradient-text {
    background: linear-gradient(to right, #00d2ff, #fff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.3));
}

/* ----------------------------------------
   Animation Classes
   ---------------------------------------- */
@keyframes ping {

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

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ----------------------------------------
   Component: FAQ Accordion
   ---------------------------------------- */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary span:last-child {
    transform: rotate(45deg);
}

details summary span:last-child {
    transition: transform 0.2s ease;
}

/* Floating Animation for Brand Logo */
@keyframes floating-logo {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(20px, -20px) rotate(1.5deg);
    }

    66% {
        transform: translate(-15px, 20px) rotate(-1deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.floating-anim {
    animation: floating-logo 18s ease-in-out infinite;
}

/* Custom Spotlight Cursor */
#custom-cursor {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

/* Global Logo Treatment for Background Removal */
img[src*="LogoDWA2.jpg"] {
    mix-blend-mode: screen;
    filter: brightness(1.1);
}

.logo-bg-wrapper img {
    filter: contrast(120%) brightness(110%);
    mix-blend-mode: screen;
}

/* Specialized Hero Pulse */
.glow-btn-pulse {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
    animation: btn-pulse-v2 2.5s infinite ease-in-out !important;
}

@keyframes btn-pulse-v2 {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 180, 216, 1);
        transform: scale(1.03);
    }
}