@charset "utf-8";

/* ==========================================================================
   Solution Page Shared CSS
   - Themes: Orange (CRM/AI), Green (VOC), Blue (CS)
   - Shared Components: Hero Pattern, Gradient Text, Screenshot Frame
   ========================================================================== */

/* Theme Variables */
:root {
    --brand-primary: #F97316;
    /* Default Orange */
    --brand-secondary: #FB923C;
}

.theme-orange {
    --brand-primary: #F97316;
    --brand-secondary: #FB923C;
}

.theme-green {
    --brand-primary: #10B981;
    --brand-secondary: #34D399;
}

.theme-blue {
    --brand-primary: #3B82F6;
    --brand-secondary: #60A5FA;
}

.theme-violet {
    --brand-primary: #8B5CFC;
    --brand-secondary: #9333EA;
}

/* Global Reset & Scroll Behavior */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll from full-width elements */
}

/* Scroll Offset for Fixed Header/Nav */
section[id] {
    scroll-margin-top: 100px;
}

/* Hide Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   Component Styles
   ========================================================================== */

/* Hero Pattern Background */
.hero-pattern {
    background-color: #0F172A;
    background-image: radial-gradient(var(--brand-primary) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-link {
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-primary);
}

/* ==========================================================================
   Navigation Styles (Unified & Compact)
   ========================================================================== */

/* Shared Base Styles for Title and Links */
.nav-title,
.nav-link {
    display: inline-block;
    padding-bottom: 2px;
    /* Reduced from 4px */
    border-bottom: 2px solid transparent;
    /* Reduced from 3px */
    color: #4b5563;
    /* text-gray-600 */
    font-weight: 500;
    font-size: 0.875rem;
    /* text-sm (14px) */
    opacity: 0.8;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

/* Hover State */
.nav-title:hover,
.nav-link:hover {
    color: var(--brand-primary) !important;
    opacity: 1;
}

/* Active State (Unified) */
.nav-title.active,
.nav-link.active {
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
    /* Bold (was Extra Black) */
    border-bottom-color: var(--brand-primary) !important;
    opacity: 1 !important;
}

/* Specific Tweak for Title */
.nav-title {
    margin-right: 2rem;
    font-size: 1rem;
    /* Slightly larger than links but compact */
    font-weight: 700;
    /* Title always bold-ish */
}

/* Screenshot Frame / Feature Card */
.screenshot-frame,
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.screenshot-frame:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Long Image Helper */
.long-image {
    width: 100%;
    height: auto;
    display: block;
}