/**
 * SmartDect.ro - Page Specific Styles (Legacy Refactored)
 * Aligning with DESIGN_GUIDELINES.md v2.0
 * 
 * NOTE: Core styles (typography, colors, grid, buttons) are now in:
 * - assets/css/design-system.css
 * - assets/css/components.css
 */

/* ============================================
   HERO SECTIONS
   ============================================ */

.silo-hero {
    padding: var(--space-20) 0 var(--space-12);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.silo-hero h1,
.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: var(--font-black);
    color: var(--primary);
    margin-bottom: var(--space-6);
    line-height: 1.1;

    /* Text Gradient Effect */
    background: linear-gradient(to bottom, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px var(--primary-light));
}

.hero-lead {
    font-size: var(--text-xl);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto var(--space-8);
    line-height: 1.6;
}

/* ============================================
   FEATURE CARDS (Custom Landing Elements)
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.feature-card {
    background: var(--surface-dark);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Highlight top border effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 0 15px var(--primary-light));
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--text-muted);
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}

/* ============================================
   SILO NAVIGATION (Custom Grid)
   ============================================ */

.silo-navigation {
    padding: var(--space-12) 0;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.nav-card {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: var(--transition-base);
    text-decoration: none;
}

.nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background: var(--surface-dark);
    box-shadow: var(--shadow-lg);
}

.nav-card .icon {
    color: var(--primary);
    font-size: 2rem;
}

.nav-card h4 {
    color: var(--text-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: 2px;
}

.nav-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================
   WIZARD / CHECKLISTS
   ============================================ */

.checklist-item {
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.checklist-item:hover {
    border-color: var(--primary-border);
    background: rgba(91, 236, 19, 0.05);
    /* --primary-light */
}

/* ============================================
   LEGACY OVERRIDES (Safeguards)
   ============================================ */

/* Ensure images behave responsively */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal overflow on mobile */
html,
body {
    overflow-x: hidden;
}

/* Fix for specific Lidar Gold Accents if needed */
.text-gold {
    color: #FFD700;
    /* As per Guidelines */
}

.bg-gold-light {
    background-color: rgba(255, 215, 0, 0.1);
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

.section-padding {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: var(--space-12);
        padding-bottom: var(--space-12);
    }
}