/* CSS Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #0075FF;
    --primary-dark: #186BC6;
    --primary-light: #48B1FF;
    --secondary-color: #48B1FF;
    --accent-color: #0075FF;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-soft: #f9fafb;
    --background-card: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-primary: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Rubik', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Disable smooth scroll on mobile to prevent jumpiness */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 2rem;
    width: auto;
    max-width: 2rem;
    margin-right: 0.5rem;
}

.nav-title {
    font-family: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Arial Black', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700;
    line-height: 1.2 !important;
    max-height: 2.5rem !important;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    transform: scale(1) !important;
    width: auto !important;
    max-width: 200px !important;
}

.nav-title .kick {
    color: #48B1FF !important;
}

.nav-title .back {
    color: #186BC6 !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-menu .download-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
    border: 2px solid var(--primary-color);
}

.nav-menu .download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.4);
    border-color: var(--primary-dark);
}

.download-btn::after {
    display: none;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
    border: 2px solid var(--primary-color);
    font-family: inherit;
    font-size: inherit;
}

.nav-dropdown.active .dropdown-toggle {
    border: 2px solid transparent !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.2);
}

.dropdown-toggle:focus {
    outline: none !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.2) !important;
}

.dropdown-toggle:focus-visible {
    outline: none !important;
    border: 2px solid transparent !important;
}

/* Comprehensive outline removal for dropdown button */
.dropdown-toggle:focus,
.dropdown-toggle:active,
.dropdown-toggle:visited,
.dropdown-toggle:focus-within,
.dropdown-toggle:focus-visible {
    outline: none !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.2) !important;
}

/* Remove browser default button styling */
.dropdown-toggle {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
    outline-offset: 0 !important;
}

/* Remove any potential button focus rings */
button.dropdown-toggle,
.nav-link.dropdown-toggle {
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    border: 2px solid var(--primary-color) !important;
}

/* Nuclear option - remove ALL possible outlines */
.dropdown-toggle,
.dropdown-toggle *,
#download-toggle,
#download-dropdown .dropdown-toggle,
button#download-toggle {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    border: 2px solid var(--primary-color) !important;
}

.dropdown-toggle:focus,
.dropdown-toggle:active,
#download-toggle:focus,
#download-toggle:active {
    outline: none !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.2) !important;
}

/* Force remove all possible outlines - last resort */
* {
    outline: none !important;
}

*:focus,
*:active {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
}

/* Re-enable outlines for accessibility except dropdown */
a:focus:not(.dropdown-toggle):not(#download-toggle),
button:focus:not(.dropdown-toggle):not(#download-toggle),
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* When dropdown is active, ensure no outline */
.nav-dropdown.active .dropdown-toggle,
.nav-dropdown.active button.dropdown-toggle {
    outline: none !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.2) !important;
}

.dropdown-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.4);
    border-color: var(--primary-dark);
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-medium);
    z-index: 1001;
    /* Display download buttons vertically stacked */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: var(--background-soft);
    transform: translateY(-2px);
}

.store-badge {
    width: 140px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.dropdown-item:hover .store-badge {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-medium);
}

/* Hero Section */
.hero, .homepage-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #1e293b;
    position: relative;
    overflow: hidden;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    padding-top: 80px; /* Account for fixed navbar */
}

/* Insaniburger font for all title elements */
.hero-animated-title,
.nav-title,
.footer-title {
    font-family: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Impact', 'Arial Black', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em;
}

/* Mobile font loading fix */
@media (max-width: 768px) {
    .hero-animated-title,
    .nav-title,
    .footer-title {
        font-family: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Impact', 'Arial Black', 'Helvetica Neue', Arial, sans-serif !important;
        font-weight: 900 !important;
        letter-spacing: -0.02em;
    }
}

/* Task Bubbles */
.task-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.task-bubble {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(72, 177, 255, 0.08), rgba(24, 107, 198, 0.12));
    border: 2px solid rgba(72, 177, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(72, 177, 255, 0.08);
    animation: taskBubbleFloat 12s ease-in-out infinite;
    opacity: 0;
}

/* Dynamic positioning and timing will be set by JavaScript */


.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: calc(100vh - 80px);
}

.hero-text {
    width: 100%;
    text-align: center;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.mockup-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    left: -15px;
    animation-delay: 1s;
}

.element-3 {
    top: 80%;
    right: 20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.bg-element {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 117, 255, 0.1), rgba(72, 177, 255, 0.05));
    border-radius: 50%;
    animation: bgFloat 6s ease-in-out infinite;
}

.bg-element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.bg-element-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.bg-element-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes bgFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.main-title-container {
    margin-bottom: 2rem;
}

/* Letter Animation Styles */
.animated-word {
    display: inline-block;
}

.letter {
    display: inline-block;
    animation: letterFadeIn 0.6s ease-out both;
    transition: all 0.3s ease;
    cursor: default;
}

.letter:nth-child(1) { animation-delay: 0.1s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.3s; }
.letter:nth-child(4) { animation-delay: 0.4s; }
.letter:nth-child(5) { animation-delay: 0.5s; }
.letter:nth-child(6) { animation-delay: 0.6s; }
.letter:nth-child(7) { animation-delay: 0.7s; }
.letter:nth-child(8) { animation-delay: 0.8s; }

.letter:hover {
    animation: letterBounce 0.6s ease;
    animation-fill-mode: both;
}

.animated-word .letter {
    background: linear-gradient(45deg, #48B1FF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterFadeIn 0.8s ease-out both, letterGlow 2s ease-in-out infinite 1s;
}

.relax-text {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
}

.relax-word .letter {
    color: #48B1FF;
    animation: letterFadeIn 0.8s ease-out both;
}

.relax-word .letter:nth-child(1) { animation-delay: 1.2s; }
.relax-word .letter:nth-child(2) { animation-delay: 1.3s; }
.relax-word .letter:nth-child(3) { animation-delay: 1.4s; }
.relax-word .letter:nth-child(4) { animation-delay: 1.5s; }
.relax-word .letter:nth-child(5) { animation-delay: 1.6s; }

.relax-word .letter:hover {
    animation: letterBounce 0.6s ease;
    color: #186BC6;
    transform: scale(1.1);
}

/* Download Section */
.download-section {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.download-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.app-store-btn {
    transition: all var(--transition-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
}

.app-store-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.app-store-btn img {
    height: 60px;
    width: auto;
    display: block;
}



/* Task Section with Infinite Scroller */
.task-section {
    padding: 2rem 0 4rem 0;
    background: var(--background-soft);
}

.task-section .section-title {
    text-align: center !important;
    margin-bottom: 3rem;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.search-container {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    background: white;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(72, 177, 255, 0.1);
}

.search-results-count {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Task Scroller Container */
.task-scroller-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.task-scroller {
    display: flex;
    gap: 1rem;
    /* animation: infiniteScroll 45s linear infinite; - Disabled, using JS animation */
    will-change: transform;
    cursor: grab;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 1rem 0;
}

.task-scroller:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
}

.task-scroller.dragging {
    animation-play-state: paused;
}

.task-card {
    flex-shrink: 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-width: 180px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.task-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-light);
}

.task-card.hidden {
    display: none;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.task-card:hover::before {
    transform: scaleX(1);
}

.task-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.task-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Infinite scroll animation */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Tasks Preview Section (Legacy) */
.tasks-preview-section {
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 3;
    animation: slideInUp 1s ease-out 0.8s both;
}

.tasks-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.task-search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.task-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font-secondary);
    background: white;
    color: #333;
    transition: all var(--transition-medium);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.task-search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(72, 177, 255, 0.2);
    transform: translateY(-1px);
}

.task-search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #666;
    pointer-events: none;
}

.search-results-count {
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(-10px);
    background: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
}

.search-results-count.visible {
    opacity: 1;
    transform: translateY(0);
}

.tasks-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.tasks-horizontal-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.tasks-scroll-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 1rem 0;
    will-change: transform;
    transition: transform 0.1s ease-out;
    cursor: grab;
}

.tasks-scroll-track:active {
    cursor: grabbing;
}

.tasks-scroll-track.dragging {
    transition: none;
}

.tasks-scroll-track.momentum {
    transition: transform var(--momentum-duration, 2s) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.task-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-medium);
    cursor: pointer;
    min-width: 140px;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
}

.task-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.task-icon {
    font-size: 2.5rem;
    transition: all var(--transition-medium);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.task-card:hover .task-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.task-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
    text-shadow: none;
}

.task-card.filtered-out {
    opacity: 0.3;
    transform: scale(0.95);
    filter: grayscale(0.5);
    pointer-events: none;
}

.task-card.search-hidden {
    display: none !important;
}

/* Ensure task scroller maintains proper layout during search */
.task-scroller.searching {
    justify-content: center;
    min-width: 100%;
    width: 100%;
    transform: none !important;
    position: static;
}

.task-scroller-container.searching {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Search draggable mode - allows scrolling through multiple results */
.task-scroller-container.search-draggable {
    justify-content: flex-start;
    overflow: hidden;
}

.task-scroller-container.search-draggable .task-scroller {
    justify-content: flex-start;
    cursor: grab;
    transition: none;
}

.task-scroller-container.search-draggable .task-scroller:active {
    cursor: grabbing;
}

.task-card.highlighted {
    background: rgba(72, 177, 255, 0.1);
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(72, 177, 255, 0.2);
}

.task-card.highlighted .task-name {
    color: var(--primary-dark);
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #0075FF, #48B1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.highlight {
    background: linear-gradient(45deg, #48B1FF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.rotating-text {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

.text-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-slow);
    background: linear-gradient(45deg, #48B1FF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-cycler-container {
    margin-bottom: 1.5rem;
}

.hero-cycler-text {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #475569;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.task-cycler {
    color: #0075FF;
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
    min-width: 160px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.floating-umbrella {
    display: inline-block;
    animation: floatUmbrella 3s ease-in-out infinite;
    margin-left: 0.2em;
    font-size: 0.9em;
}

@keyframes floatUmbrella {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

  .hero-description {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    font-weight: 400;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Task Bubbles */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.task-bubble {
    position: absolute;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: floatUp linear infinite;
    box-shadow: none;
    opacity: 0;
    width: 80px;
    height: 80px;
    /* Modern glassmorphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.task-bubble.small {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.task-bubble.medium {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.task-bubble.large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.task-bubble.cleaning {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 197, 253, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #1e40af;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(147, 197, 253, 0.4);
}

.task-bubble.outdoor {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(134, 239, 172, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #15803d;
    box-shadow: 
        0 8px 32px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(134, 239, 172, 0.4);
}

.task-bubble.construction {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #c2410c;
    box-shadow: 
        0 8px 32px rgba(249, 115, 22, 0.2),
        inset 0 1px 0 rgba(251, 191, 36, 0.4);
}

.task-bubble.transport {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(196, 181, 253, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: #7c3aed;
    box-shadow: 
        0 8px 32px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(196, 181, 253, 0.4);
}

.task-bubble.event {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(251, 207, 232, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #be185d;
    box-shadow: 
        0 8px 32px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(251, 207, 232, 0.4);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translateY(90vh) scale(1) rotate(8deg);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) scale(1.05) rotate(0deg);
    }
    85% {
        opacity: 1;
        transform: translateY(-5vh) scale(1) rotate(-8deg);
    }
    95% {
        opacity: 0.3;
        transform: translateY(-15vh) scale(0.8) rotate(12deg);
    }
    100% {
        transform: translateY(-20vh) scale(0.2) rotate(15deg);
        opacity: 0;
    }
}

@keyframes floatUpLeft {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translateY(90vh) translateX(-30px) scale(1) rotate(12deg);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) translateX(-60px) scale(1.05) rotate(-3deg);
    }
    85% {
        opacity: 1;
        transform: translateY(-5vh) translateX(-85px) scale(1) rotate(6deg);
    }
    95% {
        opacity: 0.3;
        transform: translateY(-15vh) translateX(-110px) scale(0.8) rotate(15deg);
    }
    100% {
        transform: translateY(-20vh) translateX(-120px) scale(0.2) rotate(20deg);
        opacity: 0;
    }
}

@keyframes floatUpRight {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
        transform: translateY(90vh) translateX(30px) scale(1) rotate(-12deg);
    }
    50% {
        opacity: 1;
        transform: translateY(50vh) translateX(60px) scale(1.05) rotate(3deg);
    }
    85% {
        opacity: 1;
        transform: translateY(-5vh) translateX(85px) scale(1) rotate(-6deg);
    }
    95% {
        opacity: 0.3;
        transform: translateY(-15vh) translateX(110px) scale(0.8) rotate(-15deg);
    }
    100% {
        transform: translateY(-20vh) translateX(120px) scale(0.2) rotate(-20deg);
        opacity: 0;
    }
}

/* Mobile responsiveness for bubbles */
@media (max-width: 768px) {
    .task-bubble.small {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .task-bubble.medium {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .task-bubble.large {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }
}

.hero-download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-download-link {
    transition: transform var(--transition-medium);
    display: inline-block;
}

.hero-download-link:hover {
    transform: translateY(-2px);
}

.hero-store-badge {
    width: 160px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* News Scroller Styles */
.news-scroller-container {
    margin-top: 2rem;
    text-align: center;
}

.news-scroller-title {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-scroller {
    overflow: hidden;
    white-space: nowrap;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.news-items {
    display: inline-flex;
    animation: scrollNews 20s linear infinite;
    gap: 2rem;
}

.news-item {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
    opacity: 0.7;
}

.news-item:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.news-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

@keyframes scrollNews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.news-scroller:hover .news-items {
    animation-play-state: paused;
}

/* Hero CTA Section */
.hero-cta-section {
    margin-top: 2.5rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.05), rgba(72, 177, 255, 0.08));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 117, 255, 0.1);
}

/* Tasks Scroller Section */
.tasks-scroller-section {
    padding: var(--section-padding);
    background: var(--background-soft);
}

/* Tasks Search Bar */
.tasks-search-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.search-bar {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    background: white;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.1);
    transform: translateY(-2px);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-fast);
    padding: 0.25rem;
    border-radius: 50%;
}

.search-clear:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.search-input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
}

.tasks-scroller-container {
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.tasks-scroller {
    display: flex;
    gap: 1rem;
    animation: scrollTasks 30s linear infinite;
    width: max-content;
}

.tasks-scroller.searching {
    animation: none;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.tasks-scroller.searching::-webkit-scrollbar {
    height: 8px;
}

.tasks-scroller.searching::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.tasks-scroller.searching::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.tasks-scroller.searching::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Search results indicator */
.tasks-scroller.searching::before {
    content: '← Scroll to see more results →';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    white-space: nowrap;
    pointer-events: none;
}

/* Hide scroll indicator if all results fit */
.tasks-scroller.searching.no-scroll::before {
    display: none;
}

/* Mobile scrolling improvements */
@media (max-width: 768px) {
    .tasks-scroller.searching {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .tasks-scroller.searching::-webkit-scrollbar {
        height: 6px;
    }
    
    .tasks-scroller.searching::before {
        font-size: 0.7rem;
        bottom: -0.75rem;
    }
}

.tasks-cta-container {
    text-align: center;
    margin-top: 3rem;
}

.view-all-tasks-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-tasks-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.view-all-tasks-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

@keyframes scrollTasks {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover - only for infinite scroll mode */
.tasks-scroller:hover:not(.searching) {
    animation-play-state: paused;
}

.tasks-scroller-container:hover .tasks-scroller:not(.searching) {
    animation-play-state: paused;
}

/* Pause animation when hovering over individual task cards */
.task-card:hover {
    transform: translateY(-4px) scale(1.05);
}

.tasks-scroller:not(.searching):has(.task-card:hover) {
    animation-play-state: paused;
}

/* Fallback for browsers that don't support :has() */
.tasks-scroller-section:hover .tasks-scroller:not(.searching) {
    animation-play-state: paused;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: 2rem;
    padding: 0;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-soft);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    line-height: 1;
    padding: 0.25rem;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.all-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.all-tasks-grid .task-card {
    animation: none;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
}

.task-description {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-align: center;
    opacity: 0.8;
    line-height: 1.2;
}

.all-tasks-grid .task-card:hover .task-description {
    opacity: 1;
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

.hero-cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* News Station Slider */
.news-section {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Hero CTA Section */
.hero-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.05), rgba(72, 177, 255, 0.08));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 117, 255, 0.1);
}

.cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.news-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.news-track {
    display: flex;
    gap: 3rem;
    animation: scroll-news 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.news-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.news-logo {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.8);
    transition: all 0.3s ease;
    min-width: fit-content;
}

.news-item:hover .news-logo {
    color: #0075FF;
    border-color: #0075FF;
    background: rgba(0, 117, 255, 0.05);
}

@keyframes scroll-news {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-medium);
}

.cta-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-medium);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: #48B1FF;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}



.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    animation: float 8s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: -20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: -10%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 1.25rem;
}


/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23e2e8f0" stroke-width="1" opacity="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 117, 255, 0.08), 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 117, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 3rem;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0075FF, #48B1FF, #0075FF);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 117, 255, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 117, 255, 0.2);
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 150px;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0075FF 0%, #48B1FF 50%, #186BC6 100%);
    border-radius: 25px;
    color: white;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 117, 255, 0.3);
    transition: all 0.3s ease;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 117, 255, 0.4);
}

.step:hover .step-icon::after {
    animation: shine 1.5s ease-in-out;
}

.step-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.step h3, .step-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    line-height: 1.2;
}

.step p, .step-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(0, 117, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #0075FF, #48B1FF);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

.how-it-works-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.05), rgba(72, 177, 255, 0.05));
    border-radius: 24px;
    border: 1px solid rgba(0, 117, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.how-it-works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.8s ease;
}

.how-it-works-cta:hover::before {
    left: 100%;
}

.how-it-works-cta h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.how-it-works-cta p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #0075FF, #48B1FF);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 117, 255, 0.4);
    background: linear-gradient(135deg, #186BC6, #0075FF);
}

.cta-btn.secondary {
    background: white;
    color: #0075FF;
    border: 2px solid #0075FF;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.1);
}

.cta-btn.secondary:hover {
    background: #0075FF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 117, 255, 0.3);
}

.btn-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--background-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(72, 177, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.15);
    border-color: #48B1FF;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Reviews Section */
.reviews {
    background: var(--background-soft);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card.modern {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 117, 255, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.review-card.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.review-card.modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.15);
    border-color: var(--primary-light);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 117, 255, 0.3);
}

.avatar-text {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.review-stars {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.review-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
    opacity: 0.3;
}

.review-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.1), rgba(72, 177, 255, 0.15));
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 117, 255, 0.2);
    position: relative;
}

.review-badge::before {
    content: '✓';
    margin-right: 0.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Download Section */
.download {
    background: white;
    color: var(--text-primary);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text .section-title {
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 1rem;
}

.download-text .section-subtitle {
    color: rgba(0, 0, 0, 0.7);
    text-align: left;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background: none;
    border: none;
    padding: 0;
    display: inline-block;
    transition: transform var(--transition-medium);
}

.download-btn img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-medium);
    display: block;
}

.download-btn:hover {
    background: none;
    transform: translateY(-2px);
    box-shadow: none;
}

.download-btn:hover img {
    transform: scale(1.05);
}

.web-app-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #0075FF, #48B1FF);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
}

.web-app-btn:hover {
    background: linear-gradient(135deg, #186BC6, #0075FF);
    transform: translateY(-2px);
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-showcase {
    position: relative;
    perspective: 1000px;
}

/* 3D Phone Container */
.phone-3d-container {
    position: relative;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.phone-3d-container:hover {
    transform: rotateY(15deg) rotateX(5deg) scale(1.05);
}

/* Phone Frame */
.phone-frame {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #1a252f;
    border-radius: 3px;
}


/* Phone Screen */
.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.phone-3d-container:hover .screenshot-image {
    transform: scale(1.02);
}

/* Phone Reflection */
.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

/* Legacy phone-image class for backward compatibility */
.phone-image {
    max-width: 250px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Footer */
.footer {
    background: white;
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-title {
    font-family: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Impact', 'Arial Black', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700;
    line-height: 1 !important;
    max-height: 1rem !important;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    transform: scale(0.7) !important;
    transform-origin: left center;
    width: auto !important;
    max-width: 80px !important;
}

.footer-title .kick {
    color: #48B1FF !important;
}

.footer-title .back {
    color: #186BC6 !important;
}

.footer-description {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: #0075FF;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #48B1FF;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-column-title {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-download {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-download-link {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.footer-download-link:hover {
    transform: translateY(-2px);
}

.footer-store-badge {
    width: 140px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.footer-copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }
    25% {
        transform: translateY(-10px) rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg) rotateX(-2deg);
    }
    75% {
        transform: translateY(-10px) rotateY(0deg) rotateX(0deg);
    }
}

@keyframes taskBubbleFloat {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    15% {
        opacity: 0.6;
        transform: translateY(0px) scale(1);
    }
    85% {
        opacity: 0.6;
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
}


@keyframes shine {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2);
    }
}


@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes letterBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotateX(0);
    }
    40% {
        transform: translateY(-15px) rotateX(-10deg);
    }
    60% {
        transform: translateY(-5px) rotateX(5deg);
    }
}

@keyframes letterFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes letterGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(72, 177, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(72, 177, 255, 0.8), 0 0 30px rgba(72, 177, 255, 0.4);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    /* Enhanced Mobile Viewport */
    html, body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Hero Section Mobile Optimization */
    .hero, .homepage-hero {
        min-height: 100vh;
        min-height: 100svh; /* Safe area viewport height */
        padding: 80px 0 0 0; /* Remove side padding, only top for navbar */
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow-x: hidden;
    }
    
    /* Mobile Hero Container */
    .homepage-hero .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto;
    }
    
    /* Enhanced Hero Title Mobile */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        text-align: center;
        word-break: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }
    
    /* Hero Description Mobile */
    .hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem) !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
        margin: 1rem auto 1.5rem !important;
        max-width: 100% !important;
        text-align: center;
        word-wrap: break-word;
    }
    
    /* Hero Cycler Mobile */
    .hero-cycler-container {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    
    .hero-cycler-text {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
        line-height: 1.3;
        text-align: center;
        word-wrap: break-word;
    }
    
    .task-cycler {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
        font-weight: 600;
        color: var(--primary-color);
    }
    
    /* Floating Umbrella Mobile */
    .floating-umbrella {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        display: inline-block;
        margin-left: 0.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .hero-text {
        max-width: 100%;
        order: 1;
        width: 100%;
        padding: 0;
    }

    .hero-visual {
        max-width: 100%;
        order: 2;
    }

    /* Mobile Download Buttons */
    .hero-download-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center;
        margin: 1.5rem auto !important;
        max-width: 240px;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-store-badge {
        max-width: 180px !important;
        width: 100% !important;
        height: auto !important;
        touch-action: manipulation;
        border-radius: 8px;
    }
    
    .hero-download-link {
        width: 100%;
        display: flex;
        justify-content: center;
        text-decoration: none;
    }
    
    /* Mobile CTA Section */
    .hero-cta-section {
        margin: 2rem 0 !important;
        padding: 0 1rem !important;
        text-align: center;
    }
    
    .hero-cta-text {
        font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
        padding: 0 0.5rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .hero-cta-button {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
        padding: 0.875rem 1.5rem !important;
        min-height: 48px;
        touch-action: manipulation;
        margin: 0 auto !important;
        max-width: 260px;
        display: block;
        text-align: center;
        border-radius: 8px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-container {
        padding: 0 1.5rem;
        min-height: auto;
        max-width: 100%;
        margin-top: 80px; /* Account for navbar */
        margin-bottom: 2rem;
        justify-content: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 0;
        padding-top: 0;
        width: 100%;
    }
    
    /* Mobile News Scroller */
    .news-scroller-container {
        margin: 1.5rem 0 !important;
        padding: 0 0.5rem;
        overflow: hidden;
    }
    
    .news-scroller-title {
        font-size: clamp(0.8rem, 3vw, 0.9rem) !important;
        margin-bottom: 0.75rem !important;
        text-align: center;
        color: var(--text-light);
        padding: 0 0.5rem;
    }
    
    .news-scroller {
        height: 45px !important;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        overflow: hidden;
    }
    
    .news-items {
        animation-duration: 20s !important; /* Slower on mobile for readability */
    }
    
    .news-item {
        padding: 0.375rem 0.75rem !important;
        margin: 0 0.375rem !important;
        min-width: 100px;
        touch-action: manipulation;
        font-size: 0.75rem !important;
    }
    
    .news-logo {
        font-size: clamp(0.7rem, 3vw, 0.8rem) !important;
        white-space: nowrap;
        font-weight: 500;
    }
    
    .animated-text-container {
        margin-bottom: 2rem;
    }
    
    .hero-animated-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        /* Ensure font loads properly on mobile */
        font-family: 'Insaniburger', 'Futura', 'Trebuchet MS', 'Impact', 'Arial Black', sans-serif !important;
        font-weight: 900;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.01em;
    }
    
    .hero-cycler-container {
        margin-bottom: 2rem;
    }
    
    .hero-cycler-text {
        font-size: 1.3rem;
        padding: 0;
        line-height: 1.4;
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0;
        margin: 0 auto 2.5rem;
        line-height: 1.6;
        max-width: 95%;
        color: var(--text-secondary);
    }
    
    /* Mobile Hero Buttons */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .hero-buttons .download-btn {
        width: auto;
        max-width: 160px;
        height: auto;
        flex-shrink: 0;
    }
    
    .hero-buttons .download-btn img {
        width: 100%;
        height: 45px;
        object-fit: contain;
    }
    
    .hero-buttons .cta-primary,
    .hero-buttons .cta-secondary,
    .hero-buttons .web-app-btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 50px;
        border-radius: 12px;
        font-weight: 600;
    }
    
    /* Task Bubbles Mobile */
    .task-bubble {
        width: 60px;
        height: 60px;
        font-size: 24px;
        /* Performance optimizations */
        will-change: transform, opacity;
        backface-visibility: hidden;
    }
    
    /* Mobile Task Cards - Better Touch Interaction */
    .task-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 117, 255, 0.2);
        user-select: none;
        -webkit-user-select: none;
    }
    
    .task-card:active {
        transform: scale(0.98);
        background: rgba(0, 117, 255, 0.1);
    }
    
    /* Reduce motion for better mobile performance */
    @media (prefers-reduced-motion: reduce) {
        .task-bubble {
            animation: none;
        }
        
        .hero-animated-title,
        .hero-content {
            animation: none;
        }
    }
    
    /* 3D Phone Mobile Optimization */
    .phone-frame {
        width: 200px;
        height: 400px;
        padding: 15px;
    }
    
    .phone-frame::before {
        width: 40px;
        height: 4px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .download-visual {
        order: -1;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: left var(--transition-medium);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile dropdown styles */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 1rem 0 0 0;
        display: none;
        /* Stack vertically on mobile too */
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        min-width: auto;
        width: 100%;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-item {
        background: rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
        border-radius: var(--radius-lg);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        max-width: 200px;
        margin: 0 auto;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }

    .store-badge {
        max-height: 45px;
    }

    .hero-container {
        padding: 0 1rem;
        min-height: 100vh;
    }
    
    .main-title-container {
        margin-bottom: 1.5rem;
    }
    
    .relax-text {
        font-size: 2rem;
    }
    
    .hero-cycler-text {
        font-size: 1.25rem;
    }
    
    .task-cycler {
        font-size: 1.25rem;
    }
    
    .news-section {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile CTA Section */
    .hero-cta {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        max-width: 280px;
    }
    
    .news-label {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .news-track {
        gap: 2rem;
    }
    
    .news-logo {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    

    
    .tasks-scroll-track {
        gap: 1rem;
    }
    
    .task-card {
        padding: 1rem 0.75rem;
        min-width: 120px;
    }
    
    .task-icon {
        font-size: 2rem;
    }
    
    .task-name {
        font-size: 0.75rem;
    }


    .floating-card {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .cta-primary,
    .cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 2rem;
    }

    .step-visual {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        font-size: 0.875rem;
        min-width: 50px;
        padding: 0.375rem 0.75rem;
    }

    .step h3, .step-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .step p, .step-content p {
        font-size: 1rem;
        text-align: center;
    }

    .step-features {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
        margin: 0.125rem;
        flex: 0 1 auto;
        min-width: fit-content;
    }

    .how-it-works-cta {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }

    .how-it-works-cta h3 {
        font-size: 1.75rem;
    }

    .how-it-works-cta p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-text .section-title,
    .download-text .section-subtitle {
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile Task Scroller Section */
    .tasks-scroller-section {
        padding: 3rem 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.5;
    }
    
    /* Mobile Search Bar */
    .tasks-search-container {
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .search-input {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        min-height: 48px;
        touch-action: manipulation;
        border-radius: 8px;
    }
    
    .search-clear {
        min-width: 48px !important;
        min-height: 48px !important;
        font-size: 1.2rem !important;
        touch-action: manipulation;
    }
    
    /* Mobile Task Cards */
    .task-card {
        min-width: 120px !important;
        padding: 1rem 0.75rem !important;
        margin: 0 0.5rem !important;
        touch-action: manipulation;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }
    
    .tasks-scroller.searching {
        padding: 0 1rem !important;
        gap: 0.75rem !important;
    }
    
    /* Mobile View All Tasks Button */
    .view-all-tasks-btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        min-height: 48px !important;
        margin: 2rem auto !important;
        max-width: 250px;
        touch-action: manipulation;
        border-radius: 8px !important;
    }
    
    /* Mobile Modal */
    .modal-content {
        width: 95% !important;
        max-height: 90vh !important;
        margin: 5vh auto !important;
        border-radius: 12px !important;
        padding: 0 !important;
    }
    
    .modal-header {
        padding: 1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .modal-header h2 {
        font-size: 1.5rem !important;
        text-align: center;
        margin: 0;
    }
    
    .close {
        font-size: 2rem !important;
        min-width: 40px;
        min-height: 40px;
        touch-action: manipulation;
    }
    
    .all-tasks-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 1rem !important;
        padding: 1rem !important;
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        touch-action: manipulation;
    }
    
    .dropdown-menu {
        border-radius: 8px !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
    }
    
    .dropdown-item {
        padding: 0.75rem !important;
        min-height: 48px !important;
        touch-action: manipulation;
    }
    
    .store-badge {
        max-width: 180px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }
    
    /* Enhanced Mobile Typography */
    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        padding: 0 0.5rem !important;
    }
    
    .section-description {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem !important;
    }
    
    /* Mobile How It Works Section */
    .horizontal-steps-container {
        padding: 2rem 0 !important;
    }
    
    .horizontal-step {
        padding: 1.5rem !important;
        margin-bottom: 2rem !important;
        border-radius: 12px !important;
    }
    
    .step-title-horizontal {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .step-description-horizontal {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .step-icon-large {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
    }
    
    .step-number-badge {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    /* Mobile Reviews Section */
    .review-card {
        padding: 1.25rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 10px !important;
    }
    
    .review-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .review-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .review-author {
        font-size: 0.9rem !important;
    }
    
    /* Mobile CTA Sections */
    .post-task-cta-section,
    .hero-cta-section {
        padding: 2.5rem 0 !important;
    }
    
    .post-task-cta-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .post-task-main-btn {
        font-size: 1rem !important;
        padding: 0.875rem 1.75rem !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        touch-action: manipulation;
        max-width: 280px;
        margin: 0 auto !important;
        display: block;
        text-align: center;
    }

    /* Enhanced Hero Mobile */
    .hero-container {
        margin-top: 70px;
        padding: 0 0.75rem;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0.5rem 0 !important;
        width: 100%;
        gap: 1rem !important;
    }
    
    /* Ultra Mobile Hero Title */
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 0.25rem !important;
    }
    
    /* Ultra Mobile Description */
    .hero-description {
        font-size: clamp(0.85rem, 4vw, 1rem) !important;
        line-height: 1.3 !important;
        padding: 0 0.75rem !important;
        margin: 0.75rem auto 1rem !important;
    }
    
    /* Ultra Mobile Download Buttons */
    .hero-download-buttons {
        margin: 1rem auto !important;
        max-width: 200px !important;
        gap: 0.5rem !important;
    }
    
    .hero-store-badge {
        max-width: 160px !important;
    }
    
    /* Ultra Mobile CTA */
    .hero-cta-section {
        margin: 1.5rem 0 !important;
        padding: 0 0.75rem !important;
    }
    
    .hero-cta-button {
        font-size: clamp(0.9rem, 4.5vw, 1rem) !important;
        padding: 0.75rem 1.25rem !important;
        max-width: 220px !important;
    }
    
    .hero-animated-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-cycler-container {
        margin-bottom: 1rem;
    }
    
    .hero-cycler-text {
        font-size: 1.2rem;
        padding: 0;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0;
        margin: 0 auto 2rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .step,
    .service-card,
    .review-card.modern {
        padding: 1.5rem;
    }
    
    .review-header {
        gap: 0.75rem;
    }
    
    .review-avatar {
        width: 45px;
        height: 45px;
    }
    
    .avatar-text {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    /* Enhanced How It Works Mobile */
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .step-visual {
        min-width: auto;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .step-emoji {
        font-size: 2.5rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    /* Ultra-small 3D Phone */
    .phone-frame {
        width: 180px;
        height: 360px;
        padding: 12px;
    }
    
    /* Mobile Task Bubbles */
    .task-bubble {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Mobile Feature Tags */
    .step-features {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        margin: 0.1rem;
        line-height: 1.2;
    }
    
    /* Stack feature tags in columns for better mobile layout */
    .step-features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.4rem;
        justify-items: center;
        margin-top: 1rem;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .hero-container {
        padding: 0.25rem 0.75rem 0.75rem;
        min-height: 80vh;
        min-height: 80svh;
    }
    
    .hero-content {
        padding-top: 0.5rem;
    }
    
    .hero-animated-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 0.5rem;
    }
    
    .hero-cycler-container {
        margin-bottom: 0.75rem;
    }
    
    .hero-cycler-text {
        font-size: 0.9rem;
        padding: 0;
    }
    
    .hero-description {
        font-size: 0.875rem;
        padding: 0;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .step {
        padding: 1.5rem 0.75rem;
    }
    
    .phone-frame {
        width: 160px;
        height: 320px;
        padding: 10px;
    }
    
    .task-bubble {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .step:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 117, 255, 0.08), 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    
    .phone-3d-container:hover {
        transform: none;
    }
    
    .step-icon:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .nav-link {
        padding: 1rem;
        min-height: 44px;
    }
    
    .download-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .web-app-btn {
        min-height: 44px;
        padding: 1rem 2rem;
    }
}

/* How It Works Page Styles */
.page-hero {
    background: linear-gradient(135deg, #0075FF 0%, #186BC6 50%, #48B1FF 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #48B1FF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--background-soft);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--background-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0075FF, #48B1FF);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
}

.process-step .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0075FF, #48B1FF);
    border-radius: 50%;
    color: white;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 117, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step .step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.process-step:hover .step-icon::before {
    animation: shine 1.5s ease-in-out;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 117, 255, 0.4);
}

.icon-content {
    font-size: 3rem;
    z-index: 2;
    position: relative;
}

.process-step .step-number {
    background: #186BC6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    position: static;
    width: auto;
    height: auto;
}

.process-step .step-content h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.process-step .step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--background-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0075FF, #48B1FF);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 117, 255, 0.15);
    border-color: #48B1FF;
}

.faq-item h4 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0075FF;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Web App Button Styling */
.nav-link.web-app-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-medium);
    border: none;
    position: relative;
    overflow: hidden;
}

.nav-link.web-app-btn::after {
    display: none; /* Remove the underline effect */
}

.nav-link.web-app-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 117, 255, 0.3);
}

.nav-link.web-app-btn:active {
    transform: translateY(0);
}

/* Mobile responsiveness for Web App button */
@media (max-width: 768px) {
    .nav-link.web-app-btn {
        padding: 12px 20px;
        margin: 8px 0;
        text-align: center;
        display: block;
    }
}

/* Responsive Design for How It Works */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .step-visual {
        min-width: auto;
    }
    
    .process-step .step-icon {
        width: 80px;
        height: 80px;
    }
    
    .process-step .step-content h2 {
        font-size: 1.75rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #666666;
    }
}
/* Horizontal How It Works Section */
.how-it-works-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 117, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(72, 177, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.horizontal-steps-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.horizontal-step {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 117, 255, 0.1);
    transition: all var(--transition-medium);
    position: relative;
}

.horizontal-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.horizontal-step:last-child {
    margin-bottom: 0;
}

.step-reverse {
    flex-direction: row-reverse;
}

.step-visual {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-number-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 117, 255, 0.3);
    position: relative;
    z-index: 2;
}

.step-icon-large {
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.1), rgba(72, 177, 255, 0.15));
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(0, 117, 255, 0.2);
    transition: all var(--transition-medium);
}

.horizontal-step:hover .step-icon-large {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.15), rgba(72, 177, 255, 0.25));
    border-color: var(--primary-light);
}

.step-content-horizontal {
    flex: 1;
    min-width: 0;
}

.step-title-horizontal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.step-description-horizontal {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.1), rgba(72, 177, 255, 0.15));
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 117, 255, 0.2);
    transition: all var(--transition-fast);
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(0, 117, 255, 0.15), rgba(72, 177, 255, 0.25));
    transform: translateY(-2px);
}

/* Responsive Design for Horizontal Steps */
@media (max-width: 768px) {
    .horizontal-step {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .step-reverse {
        flex-direction: column !important;
    }
    
    .step-visual {
        order: -1;
    }
    
    .step-icon-large {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .step-title-horizontal {
        font-size: 1.5rem;
    }
    
    .step-description-horizontal {
        font-size: 1rem;
    }
    
    .step-features {
        justify-content: center;
    }
}

/* Post Your First Task CTA Section */
.post-task-cta-section {
    padding: 4rem 0;
    background: white;
    position: relative;
    border-top: 1px solid #f0f0f0;
}

.post-task-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.post-task-cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-task-cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.post-task-main-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    box-shadow: 0 8px 30px rgba(0, 117, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.post-task-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all var(--transition-medium);
}

.post-task-main-btn:hover::before {
    left: 100%;
}

.post-task-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 117, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.post-task-main-btn:active {
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-task-cta-section {
        padding: 3rem 0;
    }
    
    .post-task-main-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* App Download Section */
.app-download-section {
    padding: 3rem 0;
    background: var(--background-soft);
    border-top: 1px solid var(--border-color);
}

.app-download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.app-download-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.app-download-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn {
    transition: all var(--transition-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.app-store-btn .store-badge {
    height: 60px;
    width: auto;
    display: block;
}

/* Responsive Design for How It Works */
@media (max-width: 768px) {
    .step-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-connector {
        min-width: auto;
        min-height: 60px;
    }
    
    .connector-arrow {
        transform: rotate(180deg);
    }
    
    .step-item {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .step-circle {
        width: 70px;
        height: 70px;
    }
    
    .step-icon {
        font-size: 1.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
}
