/* --- CORE VARIABLES --- */
:root {
    /* Override Bootstrap Variables */
    --bs-primary: #0ea5e9; /* Sky Blue 500 */
    --bs-primary-rgb: 14, 165, 233;
    --bs-secondary: #64748b; /* Slate 500 */
    --bs-dark: #0f172a; /* Slate 900 */
    --bs-light: #f8fafc; /* Slate 50 */
    --bs-body-bg: #f8fafc;
    --bs-body-font-family: 'Be Vietnam Pro', sans-serif;
    
    /* Custom Brand Colors */
    --brand-600: #0284c7;
    --accent-500: #8b5cf6;
    --accent-600: #7c3aed;
}

body {
    color: var(--bs-dark);
    overflow-x: hidden;
}

/* --- UTILITIES & EFFECTS --- */
.text-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-brand {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

/* Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.scroll-container {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.scroll-wrapper:hover .scroll-container {
    animation-play-state: paused;
}

/* --- COMPONENT STYLING --- */
.btn-rounded { border-radius: 50rem; }
.rounded-4xl { border-radius: 2rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* Navbar Logo Box */
.navbar-brand-box {
    width: 42px; 
    height: 42px;
    background: linear-gradient(135deg, var(--bs-primary), var(--accent-600));
    border-radius: 10px;
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Feature Cards & Icons */
.tool-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px; /* Rounded-2xl equivalent */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.tool-card:hover .feature-icon-box {
    transform: rotate(6deg) scale(1.1);
}

/* Specific Colors for Feature Cards */
.icon-red { background-color: #fee2e2; color: #dc2626; } /* Red-100/600 */
.icon-purple { background-color: #f3e8ff; color: #9333ea; } /* Purple-100/600 */
.icon-blue { background-color: #dbeafe; color: #2563eb; } /* Blue-100/600 */
.icon-green { background-color: #dcfce7; color: #16a34a; } /* Green-100/600 */
.icon-orange { background-color: #ffedd5; color: #ea580c; } /* Orange-100/600 */
.icon-indigo { background-color: #e0e7ff; color: #4f46e5; } /* Indigo-100/600 */

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    animation: pulse-slow 8s infinite alternate;
}
@keyframes pulse-slow {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.2); opacity: 0.2; }
}

/* Form Controls */
.form-control-lg-custom {
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.2s;
}
.form-control-lg-custom:focus {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
    border-color: var(--bs-primary);
}

/* Demo Area */
.demo-textarea {
    resize: none;
    outline: none !important;
    box-shadow: none !important;
    border: none;
    background: transparent;
}

/* FAQ Styling */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--bs-dark);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}