/* Custom Stripe-like modern variables and styles for RootROI.com */

:root {
    --color-bg: #030712;
    --color-surface: #0b0f19;
    --color-surface-card: #111827;
    --color-primary: #d4af37;
    --color-primary-glow: rgba(212, 175, 55, 0.15);
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(212, 175, 55, 0.3);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Monolith Grid Background */
.monolith-grid {
    background-image: radial-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Glowing Spotlights (Stripe-like) */
.glow-spot-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(3, 7, 18, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.glow-spot-2 {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(3, 7, 18, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Glassmorphism Navigation */
.nav-glass {
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

/* Premium Card Designs */
.stripe-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.6) 0%, rgba(11, 15, 25, 0.8) 100%);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stripe-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(212, 175, 55, 0.1);
}

/* Custom Interactive Range Sliders */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    outline: none;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    border-radius: 9999px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.15s, background-color 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #f0c94c;
}

/* Markdown prose override for modern dark aesthetic */
.prose-dark {
    color: var(--color-text-muted);
}

.prose-dark h1, .prose-dark h2, .prose-dark h3, .prose-dark h4 {
    color: var(--color-text-main);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.prose-dark a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.prose-dark a:hover {
    border-color: var(--color-primary);
}

.prose-dark blockquote {
    border-left: 3px solid var(--color-primary);
    color: var(--color-text-main);
    font-style: italic;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Form Styling */
.form-input-premium {
    background: rgba(17, 24, 39, 0.8) !important;
    border: 1px solid var(--color-border) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-input-premium::placeholder {
    color: #4b5563 !important; /* Clearly muted gray for placeholder, high contrast with background but distinct from input */
    font-weight: 400 !important;
    opacity: 1 !important;
}

.form-input-premium:focus {
    outline: none !important;
    background: rgba(17, 24, 39, 0.95) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
}

/* Interactive Graph Transitions */
.svg-interactive-path {
    transition: stroke-dashoffset 0.6s ease-out, d 0.3s ease-out;
}

.bar-transition {
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), y 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global input overrides to guarantee dark background and white text */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea {
    background-color: rgba(17, 24, 39, 0.8) !important;
    color: #ffffff !important;
}
