/* ========================================
   Home Page - Core Styles & Variables
   ======================================== */

/* ========================================
   Green Fresh Color Palette (Spotify Inspired)
   Modern, Energetic, Dynamic
   ======================================== */
:root {
    /* Primary - Fresh Green */
    --primary: #1DB954;
    --primary-dark: #1AA34A;
    --primary-light: #1ED760;
    /* Accent - Bright Green */
    --accent: #1ED760;
    --accent-dark: #1DB954;
    /* Success - Green */
    --success: #1DB954;
    /* Warning - Yellow */
    --warning: #FFD700;
    /* Neutral Colors - Clean Gray Scale */
    --dark: #191414;
    --gray-900: #282828;
    --gray-800: #3E3E3E;
    --gray-700: #535353;
    --gray-600: #6B6B6B;
    --gray-500: #8B8B8B;
    --gray-400: #B3B3B3;
    --gray-300: #D9D9D9;
    --gray-200: #F0F0F0;
    --gray-100: #F7F7F7;
    --white: #FFFFFF;
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    /* Shadows - Subtle */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Accessibility Styles
   ======================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Focus styles for interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus {
    outline: 3px solid #FFD500;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.5);
}

/* Remove outline for mouse users but keep for keyboard users */
.user-is-tabbing a:focus,
.user-is-tabbing button:focus,
.user-is-tabbing input:focus,
.user-is-tabbing select:focus,
.user-is-tabbing textarea:focus,
.user-is-tabbing [tabindex="0"]:focus {
    outline: 3px solid #FFD500;
}

/* High contrast mode support */
@media (forced-colors: active) {
    * {
        forced-color-adjust: none;
    }

    body {
        -ms-high-contrast-adjust: none;
    }

    .skip-to-content {
        background: highlight;
        color: highlightText;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {

    .no-print,
    nav,
    footer,
    .btn,
    .skip-to-content {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

/* ========================================
   Global Styles
   ======================================== */
body {
    background: var(--bg-secondary);
    color: var(--gray-900);
    line-height: 1.6;
}

* {
    transition: var(--transition-base);
}

/* ========================================
   Skip to Content - Accessibility
   ======================================== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD500;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    z-index: 99999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 20px;
}

/* ========================================
   Section Title Styles - Modern & Professional
   ======================================== */
.section-title-modern {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title-modern h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title-modern h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
}

.section-title-modern p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-top: 1.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Alternative Title Style - With Icon */
.section-title-icon {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-icon h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-icon h2::before {
    content: '';
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-block;
}

.section-title-icon h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

/* Subtitle Styles */
.subtitle-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 3rem 0 1.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    letter-spacing: -0.01em;
}

.subtitle-modern::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 75%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
}

/* Join Us Title */
.joins-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

/* List Items with Icons */
.list-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    border: 1px solid var(--gray-300);
}

.list-item-modern:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(-4px);
}

.list-item-modern i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.list-item-modern span {
    font-size: 1.0625rem;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.7;
}

/* Features Section Styles */
.section-features-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F3F4F6;
    color: #1A1A1A;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.header-badge i {
    color: #FFD500;
}

.features-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1A1A1A;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD500, #FFC400, #FFD500, transparent);
    border-radius: 1px;
}

.features-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title-modern h2 {
        font-size: 2rem;
    }

    .section-title-icon h2 {
        font-size: 1.8rem;
    }

    .subtitle-modern {
        font-size: 1.5rem;
    }

    .joins-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .section-features-modern {
        padding: 80px 0;
    }

    .features-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .features-title {
        font-size: 2rem;
    }

    .features-subtitle {
        font-size: 1.125rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}