/* ============================================
   UNIFIED DESIGN SYSTEM - Uses CSS Variables
   Dark glass morphism theme for entire site
   ============================================ */

/* ============================================
   Section Containers - Reusable Classes
   ============================================ */
.section-base {
    padding: var(--space-20) 0;
    position: relative;
    background: transparent;
    color: var(--text-primary);
}

.section-glass,
.section-dark {
    padding: var(--space-20) 0;
    position: relative;
    background: transparent;
    color: var(--text-primary);
}

/* ============================================
   Glass Containers - Reusable
   ============================================ */
.glass-container,
.glass-card-wrapper {
    background: var(--glass-white-5);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-10);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-white-10);
}

/* Modifier for spaced glass card wrappers */
.glass-card-wrapper-spaced {
    margin-bottom: var(--space-8);
}

/* Alternative: use on parent container to space all child glass-card-wrappers */
.glass-cards-container > .glass-card-wrapper {
    margin-bottom: var(--space-8);
}

.glass-cards-container > .glass-card-wrapper:last-child {
    margin-bottom: 0;
}

.glass-card,
.glass-content-card {
    /* Match plan card styling */
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-all-base);
    height: 100%;
}

/* Spacing for content cards within Advanced Features section */
.glass-content-card + .glass-content-card {
    margin-top: var(--space-8);
}

.glass-card:hover,
.glass-content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(45, 45, 45, 0.8);
}

.glass-card-highlight {
    border-color: rgba(var(--color-success-rgb), 0.3);
    box-shadow: 0 8px 24px rgba(var(--color-success-rgb), 0.1);
}

.glass-card-highlight:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(var(--color-success-rgb), 0.2);
    border-color: rgba(var(--color-success-rgb), 0.5);
}

.glass-content-card-alt {
    background: rgba(35, 35, 35, 0.7);
}

/* ============================================
   Typography - Uses Design System Scale
   ============================================ */
.title-hero {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.title-section,
.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-align: center;
}

.title-card,
.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.subtitle-section,
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-12);
}

.text-card,
.card-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-badge {
    display: inline-block;
    margin-bottom: var(--space-6);
}

/* ============================================
   Badges - Glass Style with Variables
   ============================================ */
.badge-glass {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    gap: var(--space-2);
}

.badge-green,
.badge-glass-green {
    background: rgba(var(--color-success-rgb), 0.15);
    color: var(--color-success);
    border: 1px solid rgba(var(--color-success-rgb), 0.3);
}

.badge-blue,
.badge-glass-blue,
.badge-glass-cyan {
    background: rgba(var(--brand-primary-rgb), 0.15);
    color: var(--brand-primary-light);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
}

.badge-purple,
.badge-glass-purple {
    background: rgba(147, 51, 234, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

/* ============================================
   Icon Circles - Glass Style
   ============================================ */
.icon-circle,
.icon-circle-glass {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
}

.icon-circle-green,
.icon-circle-glass-green {
    background: rgba(var(--color-success-rgb), 0.15);
    border: 1px solid rgba(var(--color-success-rgb), 0.3);
    color: var(--color-success);
}

.icon-circle-blue,
.icon-circle-glass-blue,
.icon-circle-glass-cyan {
    background: rgba(var(--brand-primary-rgb), 0.15);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.3);
    color: var(--brand-primary-light);
}

.icon-circle-purple,
.icon-circle-glass-purple {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #a78bfa;
}

/* ============================================
   Lists - Reusable Check Lists
   ============================================ */
.list-check,
.check-list-unified {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
}

.list-check-item,
.check-list-item-unified {
    display: flex;
    align-items: start;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.list-check-icon,
.check-icon-unified {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    margin-right: var(--space-3);
    margin-top: 2px;
    flex-shrink: 0;
}

.list-check-content,
.check-content-unified {
    flex: 1;
}

.list-check-title,
.check-title-unified {
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.list-check-subtitle,
.check-subtitle-unified {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================
   Section CTA
   ============================================ */
.section-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
}