/* ===============================================
   VEDORA - CONSOLIDATED STYLES
   Reduced from 2308 lines to ~1200 lines
   =============================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

:root {
    --primary-color: #7209B7;
    --primary-dark: #560BAD;
    --primary-light: #F72585;
    --accent-color: #7209B7;
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #262626;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-color: #404040;
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --animation-fast: 0.2s;
    --animation-normal: 0.3s;
    --animation-slow: 0.7s;
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Typography and Layout */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(114, 9, 183, 0.2), transparent 50%), #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===============================================
   PROFESSIONAL TYPOGRAPHY HIERARCHY
   =============================================== */

/* Primary Headings - Hero titles, main sections */
.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.1;
}

/* Section Titles - Important section headings */
.section-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Accent Text - Key highlights and CTAs */
.accent-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Premium Text - Special emphasis */
.premium-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Success/Positive Text */
.success-text {
    color: #10B981;
    font-weight: 500;
}

/* Warning/Important Text */
.warning-text {
    color: #F59E0B;
    font-weight: 500;
}

/* Error/Danger Text */
.error-text {
    color: #EF4444;
    font-weight: 500;
}

/* Secondary Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: #f5f5f5; }
h3 { font-size: 1.75rem; color: #e5e5e5; }
h4 { font-size: 1.5rem; color: #d5d5d5; }
h5 { font-size: 1.25rem; color: #c5c5c5; }
h6 { font-size: 1.125rem; color: #b5b5b5; }

/* Body Text Hierarchy */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* Special Text Styles */
.text-large {
    font-size: 1.125rem;
    color: #e5e5e5;
    line-height: 1.6;
}

.text-small {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Description Text - Enhanced readability */
.hero-description, .section-description {
    color: #b5b5b5;
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.2), rgba(247, 37, 133, 0.2));
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(114, 9, 183, 0.3);
    color: #e5e5e5;
    font-weight: 500;
}

/* Stats and Numbers */
.stat-number {
    background: linear-gradient(135deg, #10B981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Labels and Captions */
.label-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Buttons moved to /public/components.css */

/* Cards moved to /public/components.css */

/* Icons moved to /public/components.css */

/* ===============================================
   SECTION STYLES
   =============================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Ensure section titles are properly styled */
.section-header .section-title {
    font-size: 2.25rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    color: var(--text-primary) !important;
    text-align: center !important;
    display: block !important;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Landing page heading overrides to beat /public/components.css .section-title */
.features .section-title,
.pricing .section-title,
.workers .section-title,
.faq .section-title,
.contact .section-title,
.benefits .section-title,
.how-it-works .section-title {
    display: block !important;
    text-align: center !important;
    font-size: 2.25rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    color: var(--text-primary) !important;
}

.features .section-description,
.pricing .section-description,
.workers .section-description,
.faq .section-description,
.contact .section-description,
.benefits .section-description,
.how-it-works .section-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===============================================
   NAVIGATION
   =============================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.03) 0%,
        rgba(15, 15, 15, 0.06) 50%,
        rgba(15, 15, 15, 0.03) 100%
    );
    backdrop-filter: blur(15px) saturate(160%) brightness(1.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 20px rgba(114, 9, 183, 0.06);
    z-index: 1000;
    transition: all var(--animation-normal) var(--ease-smooth);
    animation: navbarFadeIn 0.6s ease-out;
}

.navbar.scrolled-medium {
    backdrop-filter: blur(18px) saturate(160%);
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.04) 0%,
        rgba(15, 15, 15, 0.08) 50%,
        rgba(15, 15, 15, 0.04) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 20px rgba(114, 9, 183, 0.04);
}

.navbar.scrolled {
    backdrop-filter: blur(30px) saturate(180%);
    background: linear-gradient(
        135deg,
        rgba(15, 15, 15, 0.05) 0%,
        rgba(15, 15, 15, 0.08) 50%,
        rgba(15, 15, 15, 0.05) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 25px rgba(114, 9, 183, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.nav-logo a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo:hover a {
    color: var(--primary-light);
}

.nav-logo i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    transition: all var(--animation-normal) var(--ease-smooth);
}

.nav-logo:hover i {
    color: var(--primary-light);
}

.logo-img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    border-radius: 8px;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.nav-logo:hover .logo-img {
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    position: relative;
    transition: all var(--animation-normal) var(--ease-smooth);
    overflow: hidden;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width var(--animation-normal) var(--ease-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
    background: linear-gradient(
        135deg,
        rgba(114, 9, 183, 0.12) 0%,
        rgba(114, 9, 183, 0.18) 50%,
        rgba(114, 9, 183, 0.12) 100%
    );
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.25);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all var(--animation-normal) var(--ease-smooth);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
}

.hamburger:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all var(--animation-normal) var(--ease-smooth);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Hamburger Menu for Worker Dashboard */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all var(--animation-normal) var(--ease-smooth);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-menu span {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--animation-normal) var(--ease-smooth);
    border-radius: 1px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10001;
    transition: transform var(--animation-normal) var(--ease-smooth);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
    transform: translateX(-350px);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-normal) ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.drawer-logo i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all var(--animation-normal) ease;
    font-size: 1.25rem;
}

.drawer-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.drawer-menu {
    flex: 1;
}

.drawer-menu .account-dropdown {
    position: static;
}

.drawer-menu .account-btn {
    width: 100%;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    margin-bottom: 1rem;
    min-width: auto;
    width: 100%;
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.workers-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.workers-hero-title {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.workers-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.workers-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.workers-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.workers-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.stat {
    text-align: center;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.worker-stat {
    text-align: left;
    min-width: auto;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.stat:hover {
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.worker-stat .stat-number {
    font-size: 2rem;
}

.stat:hover .stat-number {
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.worker-stat .stat-label {
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ===============================================
   SPECIFIC LAYOUTS
   =============================================== */

.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%,
            rgba(114, 9, 183, 0.05) 0%,
            transparent 70%);
    pointer-events: none;
}

.stats .section-header {
    margin-bottom: 3rem;
}

.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%,
            rgba(114, 9, 183, 0.03) 0%,
            transparent 60%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.pricing {
    padding: 6rem 0;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--animation-normal) var(--ease-smooth);
    backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 20%,
            transparent 80%,
            rgba(255, 255, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    pointer-events: none;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.pricing-price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.75rem;
    color: var(--primary-color);
    vertical-align: top;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.period {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.pricing-highlights {
    margin: 2rem 0;
    text-align: center;
}

.highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.highlight i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.highlight span {
    font-weight: 500;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Workers Page Specific */
.workers {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.workers-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workers-text {
    max-width: 800px;
    text-align: center;
}

.workers-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
}

.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.how-it-works {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.5);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 24px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-arrow {
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0.6;
    transition: all var(--animation-fast);
}

.step-arrow:hover {
    opacity: 1;
}

/* Workers Benefits */
.workers-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Enhanced Workers Section Animations */
.workers-benefits .benefit {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workers-benefits .benefit:hover {
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(114, 9, 183, 0.1);
}

.workers-benefits .benefit .icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(114, 9, 183, 0.25);
    flex-shrink: 0;
}

.workers-benefits .benefit:hover .icon {
    box-shadow: 0 8px 20px rgba(114, 9, 183, 0.4);
}

.workers-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workers-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.workers-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.workers-cta .btn {
    min-width: 140px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--animation-normal) var(--ease-smooth);
    min-height: 80px;
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(114, 9, 183, 0.3);
}

.details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* Device Options */
.device-options {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.device-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--animation-normal) var(--ease-smooth);
    cursor: pointer;
    flex: 1;
}

/* Hero card specific device options - more compact */
.hero .device-options {
    margin: 1.5rem 0;
    gap: 0.75rem;
}

.hero .device-option {
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .device-option i {
    font-size: 1rem;
    color: var(--primary-color);
}

.hero .device-option span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero card button styling */
.hero .card .btn {
    margin-top: 1.5rem;
    width: 100%;
}

/* Workers hero card button styling - wider for desktop */
.workers-hero .card .btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.device-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.device-option i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.device-option span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Workers Earnings Components */
.earnings-preview {
    width: 100%;
    max-width: 380px;
    padding: 32px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--animation-normal) var(--ease-smooth);
}

.earnings-preview:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(114, 9, 183, 0.15);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #10b981;
}

.live-indicator i {
    font-size: 8px;
    animation: pulse 2s infinite;
}

.earnings-display {
    margin-bottom: 24px;
}

.daily-earnings,
.weekly-earnings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.daily-earnings .label,
.weekly-earnings .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.daily-earnings .amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.weekly-earnings .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.activity-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
    text-align: center;
}

.metric:nth-child(3) {
    grid-column: span 2;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--animation-normal) ease-out;
}

.earnings-preview:hover .metric-value {
    color: var(--primary-color);
}

.payout-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(114, 9, 183, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(114, 9, 183, 0.2);
}

.payout-info i {
    color: var(--primary-color);
}

/* Workers Earnings Card */
.earnings-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.earnings-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.earnings-period {
    font-size: 0.875rem;
    color: #a3a3a3;
}

.earnings-amount {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7209B7;
}

.earnings-amount .currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    vertical-align: top;
}

.earnings-amount .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0.25rem;
}

.earnings-amount .per-unit {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.earnings-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.earning-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.earning-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: #737373;
    margin-bottom: 0.5rem;
}

.earning-stat .stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.earnings-progress {
    margin-top: 1.5rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7209B7, #F72585);
    border-radius: 3px;
    width: 75%;
    transition: width var(--animation-normal) ease;
}

.earnings-progress span {
    font-size: 0.875rem;
    color: #a3a3a3;
}



/* ===============================================
   FORMS
   =============================================== */

/* ===============================================
   CUSTOM CHECKBOX STYLES
   =============================================== */

.custom-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    transition: color var(--animation-fast) var(--ease-smooth);
    user-select: none;
}

.custom-checkbox:hover {
    color: var(--text-primary);
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 1.25rem;
    width: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    transition: all var(--animation-fast) var(--ease-smooth);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.custom-checkbox:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.4);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(114, 9, 183, 0.2);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 0.3125rem;
    top: 0.0625rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    flex: 1;
    padding-top: 0.125rem;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--animation-fast) var(--ease-smooth);
}

.checkbox-text a:hover {
    color: #a855f7;
    text-decoration: underline;
}

/* Error state */
.custom-checkbox.error {
    color: #ef4444;
}

.custom-checkbox.error .checkmark {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.custom-checkbox.error input:checked ~ .checkmark {
    background: #ef4444;
    border-color: #ef4444;
}

/* Tablet responsive improvements */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-visual .card {
        max-width: 300px;
        padding: 1.5rem;
    }
}

/* Medium mobile devices - make auth buttons smaller but keep visible */
@media (max-width: 900px) and (min-width: 769px) {
    .auth-buttons {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .auth-buttons .btn {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.85rem !important;
        min-width: 70px !important;
        min-height: 36px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Mobile navigation adjustments */
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    /* Show hamburger on mobile - hide main menu */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: flex;
    }
    
    /* Make auth buttons properly sized for mobile with adequate touch targets */
    .nav-container .auth-buttons {
        gap: 0.375rem;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        width: auto !important;
    }
    
    .nav-container .auth-buttons .btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        min-width: 55px !important;
        min-height: 32px !important;
        height: 32px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        border-radius: 0.25rem !important;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto !important;
    }
    
    .nav-container .auth-buttons .btn-secondary {
        padding: 0.4rem 0.6rem !important;
        min-height: 32px !important;
        height: 32px !important;
        width: auto !important;
    }
    
    /* Hero Section Mobile Layout - Stack vertically with proper spacing */
    .hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 0 1rem !important;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        order: 2;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }
    
    /* Workers Hero Section Mobile Layout - Stack vertically with proper spacing */
    .workers-hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .workers-hero .hero-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 0 1rem !important;
        text-align: center;
    }
    
    .workers-hero-content {
        order: 1;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .workers-hero-visual {
        order: 2 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
    }
    
    /* Hero Typography Mobile Improvements */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
        max-width: 340px;
    }
    
    .hero-buttons {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0 !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 600;
        border-radius: 0.75rem !important;
    }
    
    /* Professional Mobile Card Design - Compact */
    .hero-visual .card,
    .workers-hero-visual .card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 1rem !important;
        border-radius: 1rem !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                    0 0 0 1px rgba(255, 255, 255, 0.08),
                    inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    
    /* Earnings Header - Compact */
    .hero .earnings-header,
    .workers-hero .earnings-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .hero .earnings-header h4 {
        font-size: 1rem !important;
        margin: 0 !important;
        font-weight: 600 !important;
        color: var(--text-primary);
    }
    
    .hero .earnings-period {
        font-size: 0.8rem !important;
        color: var(--text-secondary);
        opacity: 0.8;
    }
    
    /* Prominent earnings amount */
    .hero .earnings-amount {
        font-size: 2rem !important;
        margin: 1rem 0 1.25rem 0 !important;
        font-weight: 700 !important;
        text-align: center !important;
        color: var(--primary-color);
        letter-spacing: -0.02em;
    }
    
    /* Stats grid - compact single row */
    .hero .earnings-stats,
    .workers-hero .earnings-stats {
        display: flex !important;
        justify-content: center !important;
        gap: 0.25rem !important;
        margin: 1rem 0 !important;
    }
    
    .hero .earning-stat,
    .workers-hero .earning-stat {
        text-align: center !important;
        padding: 0.5rem 0.25rem !important;
        background: rgba(255, 255, 255, 0.04) !important;
        flex: 1 !important;
        border-radius: 0.5rem !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.2s ease;
    }
    
    .hero .earning-stat:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(114, 9, 183, 0.2) !important;
    }
    
    .hero .earning-stat .stat-label {
        font-size: 0.7rem !important;
        margin-bottom: 0.375rem !important;
        color: var(--text-secondary);
        display: block !important;
        font-weight: 500;
    }
    
    .hero .earning-stat .stat-value,
    .workers-hero .earning-stat .stat-value {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        color: var(--text-primary);
        display: block !important;
    }
    
    /* Device options - compact single row */
    .hero .device-options,
    .workers-hero .device-options {
        display: flex !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        margin: 1rem 0 !important;
        width: 100% !important;
    }
    
    .hero .device-option,
    .workers-hero .device-option {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem 0.25rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 0.5rem !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-align: center !important;
        transition: all 0.2s ease;
        gap: 0.25rem !important;
    }
    
    .hero .device-option:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-1px);
    }
    
    .hero .device-option i {
        font-size: 1rem !important;
        margin-bottom: 0.375rem !important;
        color: var(--primary-color);
    }
    
    .hero .device-option span {
        font-size: 0.75rem !important;
        color: var(--text-secondary);
        font-weight: 500;
    }
    
    /* Professional card button - compact */
    .hero .card .btn,
    .workers-hero .card .btn {
        margin-top: 1rem !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        border-radius: 0.75rem !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .features .section-title,
    .pricing .section-title,
    .workers .section-title,
    .faq .section-title,
    .contact .section-title,
    .benefits .section-title,
    .how-it-works .section-title {
        font-size: 2rem !important;
        text-align: center !important;
    }
    .custom-checkbox {
        font-size: 1rem;
        gap: 0.875rem;
    }
    
    .checkmark {
        height: 1.375rem;
        width: 1.375rem;
        margin-top: 0.0625rem;
    }
    
    .checkmark:after {
        left: 0.375rem;
        top: 0.125rem;
        width: 0.375rem;
        height: 0.625rem;
    }
}



/* Application Section */
.application {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.signup-header {
    margin-bottom: 40px;
    text-align: left;
}

.signup-form-container {
    position: relative;
    margin-bottom: 40px;
}

.form-header {
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-number-display {
    display: flex;
    gap: 12px;
    align-items: center;
}

.account-number-display input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(114, 9, 183, 0.1);
    border-color: rgba(114, 9, 183, 0.3);
    color: var(--primary-color);
}

.account-number-display input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.2);
}

#generateAccount {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--animation-fast) var(--ease-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

#generateAccount:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

#generateAccount i {
    margin-right: 6px;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.terms-link,
.privacy-link,
.referral-link {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-link:hover,
.privacy-link:hover,
.referral-link:hover {
    text-decoration: underline;
}

/* Modals: base styles provided by /public/components.css */

/* Compact Referral Modal */
#referral-modal .card {
    max-width: 500px;
    width: 90%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(114, 9, 183, 0.2);
    backdrop-filter: blur(30px);
}

#referral-modal .card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

#referral-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#referral-modal .modal-body {
    padding: 1.5rem 2rem;
}

#referral-modal .modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

/* Modal header/body/close are defined in /public/components.css */

.referral-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.referral-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--animation-fast);
}

.referral-contact:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.referral-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Compact referral modal specific styles */
#referral-modal .referral-contacts {
    gap: 6px;
    margin: 12px 0;
}

#referral-modal .referral-contact {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 0.9rem;
}

#referral-modal .referral-contact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
}

#referral-modal .referral-contact i {
    color: var(--primary-color);
    font-size: 1rem;
}

.referral-note {
    background: rgba(114, 9, 183, 0.1);
    border: 1px solid rgba(114, 9, 183, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.referral-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Compact referral modal note */
#referral-modal .referral-note {
    background: rgba(114, 9, 183, 0.08);
    border: 1px solid rgba(114, 9, 183, 0.15);
    border-radius: 4px;
    padding: 6px 8px;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

#referral-modal .referral-note i {
    color: var(--primary-color);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

#referral-modal .referral-note p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.3;
}

.account-info {
    background: rgba(114, 9, 183, 0.1);
    border: 1px solid rgba(114, 9, 183, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.success-actions {
    text-align: center;
    margin-top: 24px;
}

.close-success {
    padding: 12px 32px;
}

/* ===============================================
   FAQ SECTION
   =============================================== */

.faq {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 80%,
            rgba(114, 9, 183, 0.03) 0%,
            transparent 60%);
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all var(--animation-normal) var(--ease-smooth);
    position: relative;
    border-radius: 0.75rem;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    transition: width var(--animation-normal) var(--ease-smooth);
    border-radius: 0.75rem 0 0 0.75rem;
}

.faq-question:hover {
    background: rgba(114, 9, 183, 0.05);
}

.faq-question:hover::before {
    width: 4px;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
    flex: 1;
    text-align: left;
    display: block;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--animation-normal) ease;
    font-size: 1rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.card.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--animation-normal) ease;
}

.card.active .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.faq .card {
    padding: 0;
    text-align: left;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
}

.faq .card:hover {
    transform: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   CONTACT SECTION
   =============================================== */

.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(114, 9, 183, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(114, 9, 183, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
}

.contact .grid a.card {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    min-height: 80px;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.contact .grid a.card:hover {
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact .grid .card .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    margin: 0 1rem 0 0;
    flex-shrink: 0;
}

.contact .grid .card .details {
    flex: 1;
    text-align: left;
}

.contact .grid .card .details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact .grid .card .details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact .grid .card .details span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-logo .logo-img {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
    border-radius: 8px;
}

.mobile-logo .logo-img {
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
    border-radius: 7px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color var(--animation-normal) ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--animation-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.footer-socials a:hover {
    color: var(--text-primary);
}

/* ===============================================
   UTILITIES
   =============================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

/* Selection Styling */
::selection {
    background: rgba(114, 9, 183, 0.3);
    color: var(--text-primary);
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===============================================
   ANIMATIONS
   =============================================== */

/* Enhanced AOS Animations */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0);
    opacity: 0;
    filter: blur(1px);
}

[data-aos="fade-left"] {
    transform: translate3d(80px, 0, 0);
    opacity: 0;
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

[data-aos="zoom-in-up"] {
    transform: translate3d(0, 40px, 0) scale(0.85);
    opacity: 0;
}

[data-aos="slide-right"] {
    transform: translate3d(-60px, 0, 0);
    opacity: 0;
}

[data-aos="slide-left"] {
    transform: translate3d(60px, 0, 0);
    opacity: 0;
}

/* AOS Animation States */
[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    filter: blur(0px);
}

[data-aos="fade-left"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

[data-aos="zoom-in-up"].aos-animate {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

[data-aos="slide-right"].aos-animate,
[data-aos="slide-left"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply animations */
.hero-visual,
.workers-hero-visual {
    animation: float 6s ease-in-out infinite;
}

.section-header {
    animation: fadeInUp 0.8s ease-out;
}

.card {
    animation: slideInUp 0.6s ease-out backwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:nth-child(5) {
    animation-delay: 0.5s;
}

.card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: 1001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(114, 9, 183, 0.5);
}

/* Background Effects */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(114, 9, 183, 0.05) 0%, transparent 70%);
}

/* ===============================================
   AUTHENTICATION STYLES
   =============================================== */

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(26, 26, 26, 0.98) 50%, 
        rgba(15, 15, 15, 0.95) 100%);
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(114, 9, 183, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(247, 37, 133, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.auth-content {
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.auth-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.account-type-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(114, 9, 183, 0.1);
    border: 1px solid rgba(114, 9, 183, 0.3);
    border-radius: 0.75rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* password input/toggle base styles are defined in /public/components.css */

.password-strength {
    margin-top: 0.75rem;
}

.strength-meter {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all var(--animation-normal) ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--animation-fast) ease;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--animation-fast) ease;
}

.forgot-password:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* auth button base style provided by /public/components.css */

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.auth-divider span {
    background: var(--bg-primary);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.auth-alternatives {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    justify-content: center;
}

/* auth footer base styles provided by /public/components.css */

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--animation-fast) ease;
}

.auth-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Auth Visual Styles */
.auth-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-visual .card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
}

.security-features,
.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.security-item,
.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--animation-fast) ease;
}

.security-item:hover,
.benefit-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(114, 9, 183, 0.2);
}

.security-item i,
.benefit-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.security-item span,
.benefit-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.login-stats,
.signup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-stats .stat,
.signup-stats .stat {
    text-align: center;
}

.worker-fields {
    margin: 1rem 0;
}

/* CTA Section Styles */
.cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-header {
    margin-bottom: 2.5rem;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(24px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--animation-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 20%,
            transparent 80%,
            rgba(255, 255, 255, 0.04) 100%);
    opacity: 0;
    transition: opacity var(--animation-normal) ease;
    pointer-events: none;
}

.cta-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all var(--animation-normal) var(--ease-smooth);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(114, 9, 183, 0.3);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--animation-normal) var(--ease-smooth);
}

.highlight-item:hover i {
    color: var(--primary-light);
}

.highlight-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-actions .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    min-width: 160px;
}

/* btn-outline base/hover defined in /public/components.css */

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* error-notification base styles provided by /public/components.css */

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Fix mobile body and container issues */
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.92) 0%,
            rgba(15, 15, 15, 0.95) 50%,
            rgba(10, 10, 10, 0.92) 100%
        );
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 200px;
        text-align: center;
        border-radius: 1rem;
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.06) 100%
        );
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(25px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .nav-link:hover {
        background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.18) 50%,
            rgba(255, 255, 255, 0.12) 100%
        );
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 25px rgba(114, 9, 183, 0.25);
    }

    .hero,
    .workers-hero {
        padding-top: 7rem;
    }

    .hero-container,
    .workers-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .workers-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .workers-hero-title {
        font-size: 2rem;
    }

    .hero-description,
    .workers-hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        justify-content: center;
    }
    
    .workers-hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .btn {
        width: auto;
        min-width: 120px;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .workers-hero-buttons .btn {
        flex: 1;
        min-width: 0;
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }
    
    /* Compact benefits cards on mobile */
    .benefits .card {
        padding: 1.25rem 1rem !important;
        margin-bottom: 0;
    }
    
    .benefits .card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3;
    }
    
    .benefits .card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
        color: var(--text-secondary);
    }
    
    /* Compact how-it-works cards on mobile */
    .how-it-works .card {
        padding: 1.25rem 1rem !important;
        margin-bottom: 0;
    }
    
    .how-it-works .card .icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .how-it-works .card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3;
    }
    
    .how-it-works .card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
        color: var(--text-secondary);
    }
    
    /* Compact features cards on mobile */
    .features .card {
        padding: 1.25rem 1rem !important;
        margin-bottom: 0;
    }
    
    .features .card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3;
    }
    
    .features .card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
        color: var(--text-secondary);
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: stretch;
    }

    .step-arrow {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    /* Worker Dashboard Mobile Fixes */
    .worker-main {
        padding-top: 3.5rem !important; /* Ultra compact mobile navbar */
    }

    /* Special handling for worker dashboard navbar */
    .worker-main .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        min-height: auto;
    }

    .worker-main .nav-menu {
        position: static !important;
        transform: none !important;
        background: none !important;
        backdrop-filter: none !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        border: none !important;
        box-shadow: none !important;
    }

    .worker-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        gap: 0.5rem !important;
        width: auto !important;
        order: 2 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        margin: 0 !important;
    }

    .worker-main .nav-menu {
        order: 3 !important;
    }
    
    .hamburger-menu {
        display: flex !important;
        order: 4 !important;
        margin-left: 0.5rem !important;
    }

    .worker-main .nav-logo {
        order: 1 !important;
        align-self: flex-start !important;
    }

    .stat-item {
        text-align: center !important;
        padding: 0 !important;
        background: none !important;
        border-radius: 0 !important;
        border: none !important;
        flex: none !important;
        min-width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .stat-value {
        font-size: 0.75rem !important;
        display: block !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        line-height: 1 !important;
    }

    .stat-label {
        font-size: 0.55rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.25px !important;
        opacity: 0.7 !important;
        display: block !important;
        margin: 0 !important;
        line-height: 1 !important;
        margin-top: 1px !important;
    }
    
    /* Hero earnings stat labels - override general rule */
    .hero .earning-stat .stat-label {
        font-size: 0.65rem !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        opacity: 1 !important;
        line-height: 1.3 !important;
        margin-bottom: 0.25rem !important;
    }

    /* Worker Layout Mobile */
    .worker-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Captcha Queue Mobile */
    #captcha-queue {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .captcha-slot {
        min-height: 120px !important;
        padding: 1rem !important;
    }

    /* Leaderboard Mobile */
    .leaderboard-section {
        position: static !important;
    }

    #leaderboard-list {
        max-height: 300px !important;
    }

    .leaderboard-item {
        padding: 0.75rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .worker-info {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .worker-solved {
        margin-left: auto !important;
    }

    /* Account Dropdown Mobile */
    .account-dropdown {
        position: relative !important;
    }

    .dropdown-menu {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
        right: auto !important;
        width: 90% !important;
        max-width: 320px !important;
        z-index: 10001 !important;
    }

    .dropdown-menu.show {
        transform: translate(-50%, -50%) scale(1) !important;
    }

    .dropdown-item {
        padding: 1rem !important;
        min-height: 44px !important; /* Touch target */
    }

    .dropdown-action {
        font-size: 1rem !important;
        gap: 0.75rem !important;
    }

    .card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    }

    .workers-hero {
        padding: 100px 0 60px;
    }

    .workers-hero .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .workers-hero-content {
        align-items: center;
    }

    .workers-hero-visual {
        order: -1;
    }

    .workers-stats {
        justify-content: center;
        gap: 1rem;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }

    .worker-stat {
        text-align: center;
        flex: 1;
        min-width: 0;
    }
    
    .worker-stat .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem;
    }
    
    .worker-stat .stat-label {
        font-size: 0.75rem !important;
        line-height: 1.2;
        color: var(--text-secondary);
    }

    .earnings-preview {
        max-width: 100%;
    }

    .activity-metrics {
        grid-template-columns: 1fr;
    }

    .metric:nth-child(3) {
        grid-column: span 1;
    }

    .signup-content {
        max-width: 100%;
    }

    .device-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Override for hero and workers hero - keep device options horizontal */
    .hero .device-options,
    .workers-hero .device-options {
        flex-direction: row !important;
    }

    .device-option {
        flex-direction: row;
        padding: 0.75rem;
    }

    .workers-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .workers-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .workers-cta .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }

    /* Compact workers benefit cards on mobile */
    .workers-benefits {
        gap: 0.75rem !important;
        margin: 1rem 0 !important;
    }

    .benefit {
        padding: 0.75rem !important;
        flex-direction: row !important;
        text-align: left !important;
        min-height: 60px !important;
        align-items: center;
        gap: 0.75rem;
    }

    .benefit .icon {
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.875rem !important;
        margin: 0 !important;
        flex-shrink: 0;
    }

    .details {
        text-align: left !important;
        flex: 1;
    }

    .details h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.125rem !important;
        line-height: 1.2;
        white-space: normal !important;
    }
    
    .details p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        opacity: 0.8;
    }

    .details p {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .earnings-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .faq-container {
        margin: 0 1rem;
        gap: 0.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question span {
        font-size: 0.9rem;
    }

    .faq-question i {
        font-size: 0.9rem;
        margin-left: 0.75rem;
    }

    .card.active .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
        max-height: 300px;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .contact .grid a.card {
        padding: 0.875rem 1rem;
        min-height: 70px;
    }

    .contact .grid .card .icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin: 0 0.75rem 0 0;
    }

    .contact .grid .card .details h4 {
        font-size: 0.95rem;
    }

    .contact .grid .card .details p {
        font-size: 0.85rem;
    }

    .contact .grid .card .details span {
        font-size: 0.75rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .pricing-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .pricing-card .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features .section-title,
    .pricing .section-title,
    .workers .section-title,
    .faq .section-title,
    .contact .section-title,
    .benefits .section-title,
    .how-it-works .section-title {
        font-size: 1.75rem !important;
        text-align: center !important;
    }
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .amount {
        font-size: 3rem;
    }

    .workers-hero-title {
        font-size: 2rem;
    }

    .workers-hero-description {
        font-size: 1rem;
    }

    .earnings-amount .amount {
        font-size: 2.5rem;
    }

    .device-option {
        padding: 0.5rem;
    }

    .device-option i {
        font-size: 1rem;
    }

    .device-option span {
        font-size: 0.8rem;
    }

    /* Ultra compact workers benefit cards for small screens */
    .benefit {
        padding: 0.625rem 0.5rem !important;
        min-height: 50px !important;
        gap: 0.625rem;
    }
    
    .benefit .icon {
        width: 1.75rem !important;
        height: 1.75rem !important;
        font-size: 0.75rem !important;
    }
    
    .details h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .details p {
        font-size: 0.7rem !important;
        line-height: 1.25 !important;
    }

    .faq-question span {
        font-size: 0.9rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }

    /* Auth section responsive */
    .auth-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .auth-content {
        max-width: 100%;
        order: 2;
    }

    .auth-visual {
        order: 1;
    }

    .auth-visual .card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .auth-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }

    .error-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    /* CTA responsive */
    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .highlight-item {
        padding: 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }

    .highlight-item i {
        font-size: 1.25rem;
    }

    .highlight-item span {
        font-size: 0.95rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .cta-card {
        padding: 1.5rem 1rem;
    }

    .cta-highlights {
        gap: 0.75rem;
    }

    .highlight-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .highlight-item i {
        font-size: 1.1rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    /* Reduced AOS animations on mobile for better performance */
    [data-aos] {
        transition-duration: 500ms !important;
    }

    [data-aos="fade-up"] {
        transform: translate3d(0, 25px, 0);
        filter: blur(0.5px);
    }

    [data-aos="zoom-in-up"] {
        transform: translate3d(0, 25px, 0) scale(0.9);
    }

    [data-aos="slide-right"] {
        transform: translate3d(-30px, 0, 0);
    }

    [data-aos="slide-left"] {
        transform: translate3d(30px, 0, 0);
    }
}

/* ===============================================
   NAVBAR ANIMATIONS
   =============================================== */

@keyframes navbarFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
        backdrop-filter: blur(0px);
        background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.01) 0%,
            rgba(15, 15, 15, 0.02) 50%,
            rgba(15, 15, 15, 0.01) 100%
        );
    }
    to {
        opacity: 1;
        transform: translateY(0);
        backdrop-filter: blur(15px);
        background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.03) 0%,
            rgba(15, 15, 15, 0.06) 50%,
            rgba(15, 15, 15, 0.03) 100%
        );
    }
}

