/* ==========================================
   WebsiteCreator Landing — sevensoftware.ch style
   Dark theme, violet/blue gradients, glassmorphism
   ========================================== */

/* --- Base --- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

::selection {
    background-color: rgba(139, 92, 246, 0.4);
    color: #fafafa;
}

/* --- Gradient text --- */

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glass cards --- */

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Noise overlay --- */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Floating orbs --- */

.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.08);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.06);
    bottom: -200px;
    left: -200px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Button shine effect --- */

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

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-shine:hover::after {
    left: 100%;
}

/* --- Reveal animations --- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal.stagger-1 { transition-delay: 80ms; }
.reveal.stagger-2 { transition-delay: 160ms; }
.reveal.stagger-3 { transition-delay: 240ms; }
.reveal.stagger-4 { transition-delay: 320ms; }
.reveal.stagger-5 { transition-delay: 400ms; }

/* --- Floating badges animation --- */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-badge {
    animation: float 4s ease-in-out infinite;
}

.float-badge-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* --- FAQ --- */

.faq-icon {
    transition: transform 0.2s ease;
}

/* --- Custom scrollbar --- */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Focus for accessibility --- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Responsive adjustments --- */

@media (max-width: 768px) {
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 200px; height: 200px; }
}
