/* ============================================
   JURUX AI - LINEAR-INSPIRED MINIMALIST DESIGN
   Ultra-clean, premium, futuristic
   ============================================ */

:root {
    --color-primary: #6366f1;
    --color-secondary: #8b5cf6;
    --color-accent: #a855f7;
    --bg-black: #0a0a0a;
    --bg-elevated: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --border-color: rgba(255, 255, 255, 0.06);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-black);
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Radial gradient overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at top center,
        rgba(99, 102, 241, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above overlays */
header, main, section, footer {
    position: relative;
    z-index: 1;
}

/* SMOOTH SCROLL ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GLASS EFFECTS - More subtle */
.glass-subtle {
    background: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.glass-card {
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(17, 17, 17, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 3D PERSPECTIVE CONTAINER */
.perspective-container {
    perspective: 2000px;
    perspective-origin: center;
}

.perspective-card {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.perspective-card:hover {
    transform: rotateX(2deg) rotateY(-2deg) translateY(-8px);
}

/* VIDEO/MOCKUP WITH 3D EFFECT */
.mockup-3d {
    transform: perspective(1500px) rotateX(8deg) rotateY(-3deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(99, 102, 241, 0.1);
}

.mockup-3d:hover {
    transform: perspective(1500px) rotateX(4deg) rotateY(-2deg) scale(1.02);
}

/* MINIMAL GLOW - More subtle */
.glow-subtle {
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
}

.glow-border {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* BUTTONS - Cleaner style */
.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-black);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-cta {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* BADGE - Minimal style */
.badge-minimal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* BADGE - Scarcity with purple glow pulse */
.badge-scarcity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    animation: scarcity-pulse 2.5s ease-in-out infinite;
}

@keyframes scarcity-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
        border-color: rgba(168, 85, 247, 0.35);
    }
    50% {
        box-shadow: 0 0 12px 2px rgba(168, 85, 247, 0.2);
        border-color: rgba(168, 85, 247, 0.6);
    }
}

/* SECTION SPACING - More generous */
.section-spacing {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 80px 0;
    }
}

/* TYPOGRAPHY - Larger, cleaner */
.headline-xl {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.body-lg {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-md {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* CARDS - Minimal borders */
.card-minimal {
    background: rgba(17, 17, 17, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card-minimal:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(17, 17, 17, 0.6);
}

.feature-card:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.25);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card {
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.pricing-card:hover {
    box-shadow: 0 0 36px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
}

/* DIVIDER */
.divider-subtle {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--border-color),
        transparent
    );
    margin: 80px 0;
}

/* INPUT - Clean style */
input[type="email"],
input[type="text"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

input::placeholder {
    color: var(--text-muted);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

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

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

/* SELECTION */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* SMOOTH TRANSITIONS */
a, button {
    transition: all 0.2s ease;
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #c084fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FEATURE ICON */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    margin-bottom: 16px;
}

/* ANIMATIONS */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-gentle {
    animation: float-gentle 6s ease-in-out infinite;
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.5);
    outline-offset: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .headline-xl {
        font-size: 40px;
    }

    .headline-lg {
        font-size: 32px;
    }

    .body-lg {
        font-size: 18px;
    }
}
