:root {
    /* Light Mode Colors - Modern & Beautiful */
    --bg-primary: #fafbfc;
    --bg-secondary: #f0f2f5;
    --bg-tertiary: #ffffff;
    --text-primary: #0a0e27;
    --text-secondary: #5a5f7a;
    --text-tertiary: #8b8fa3;
    --text-accent: #6366f1;
    --border-color: rgba(10, 14, 39, 0.08);
    --border-color-light: #e1e4e8;
    --border-accent: rgba(99, 102, 241, 0.2);
    --header-bg: rgba(250, 251, 252, 0.85);
    --card-bg: #ffffff;
    --card-shadow: rgba(10, 14, 39, 0.06);
    --button-primary: #6366f1;
    --button-primary-hover: #4f46e5;
    --button-primary-light: rgba(99, 102, 241, 0.1);
    --button-secondary: #0a0e27;
    --button-secondary-hover: #1e2139;
    --button-accent: #8b5cf6;
    --button-accent-hover: #7c3aed;
    --footer-bg: #0a0e27;
    --footer-text: #e2e8f0;
    --footer-accent: #818cf8;
    --testimonial-border: #e1e4e8;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f0f2f5 0%, #ffffff 100%);
}

[data-theme="dark"] {
    /* Dark Mode Colors - Rich & Modern */
    --bg-primary: #0a0e27;
    --bg-secondary: #141829;
    --bg-tertiary: #1e2139;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-accent: #818cf8;
    --border-color: rgba(241, 245, 249, 0.1);
    --border-color-light: rgba(241, 245, 249, 0.15);
    --border-accent: rgba(129, 140, 248, 0.3);
    --header-bg: rgba(10, 14, 39, 0.85);
    --card-bg: #1e2139;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --button-primary: #6366f1;
    --button-primary-hover: #818cf8;
    --button-primary-light: rgba(99, 102, 241, 0.2);
    --button-secondary: #f1f5f9;
    --button-secondary-hover: #ffffff;
    --button-accent: #8b5cf6;
    --button-accent-hover: #a78bfa;
    --footer-bg: #0a0e27;
    --footer-text: #cbd5e1;
    --footer-accent: #a78bfa;
    --testimonial-border: rgba(241, 245, 249, 0.1);
    --success: #34d399;
    --error: #f87171;
    --warning: #fbbf24;
    --info: #60a5fa;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #141829 0%, #1e2139 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text size adjustment on iOS */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    zoom: 1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
    max-width: 100vw;
    transform: none !important;
    zoom: 1 !important;
}

/* Ensure minimum touch target size (44x44px) and improve mobile interactions */
@media (max-width: 768px) {
    a, button, .service-button, .submit-button, .apple-button-primary, .apple-button-secondary {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Reduce hover effects on mobile for better performance */
    .service-card:hover,
    .testimonial-card:hover,
    .apple-feature-card:hover {
        transform: none;
    }

    /* Improve button active states for touch */
    .service-button:active,
    .submit-button:active,
    .apple-button-primary:active,
    .apple-button-secondary:active {
        transform: scale(0.96);
        opacity: 0.9;
    }
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .testimonial-card:hover,
    .apple-feature-card:hover {
        transform: none;
        box-shadow: 0 2px 20px var(--card-shadow);
    }
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Header & Navigation - Osmo Style */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.osmo-style {
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.osmo-style .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    min-height: 60px;
}

.menu-button {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.menu-button:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.menu-button.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.menu-icon {
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.navbar.osmo-style .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap;
}

.navbar.osmo-style .logo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Desktop - Always show logo and buttons */
@media (min-width: 769px) {
    .navbar.osmo-style .logo {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar.osmo-style .nav-actions {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.nav-button {
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-button-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.nav-button-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-accent);
}

.nav-button-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

.nav-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Marquee Bar - Smooth Continuous Scroll */
.marquee-bar {
    background: var(--button-primary);
    color: #fff;
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    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);
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
    animation: marquee 25s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    align-items: center;
}

.marquee-separator {
    margin: 0 0.5rem;
    opacity: 0.7;
    font-weight: 300;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar.osmo-style .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .navbar.osmo-style .logo {
        position: static;
        transform: none;
        font-size: 1.25rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .menu-button {
        display: flex;
    }
}

/* Osmo-style Full Screen Menu */
.osmo-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.osmo-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.osmo-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.osmo-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.osmo-menu-close {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.osmo-menu-close:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.osmo-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.osmo-menu-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.osmo-menu-header-button {
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.osmo-menu-login {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.osmo-menu-login:hover {
    background: var(--bg-tertiary);
}

.osmo-menu-join {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
}

.osmo-menu-join:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
}

.osmo-menu-logout {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.osmo-menu-logout:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border-accent);
}

.osmo-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.osmo-menu-column {
    display: flex;
    flex-direction: column;
}

.osmo-menu-column-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.osmo-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.osmo-menu-list li {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.osmo-menu-overlay.active .osmo-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.osmo-menu-overlay.active .osmo-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.osmo-menu-overlay.active .osmo-menu-list li:nth-child(2) { transition-delay: 0.15s; }
.osmo-menu-overlay.active .osmo-menu-list li:nth-child(3) { transition-delay: 0.2s; }
.osmo-menu-overlay.active .osmo-menu-list li:nth-child(4) { transition-delay: 0.25s; }

.osmo-menu-list a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.osmo-menu-list a:hover {
    color: #8b5cf6;
}

/* Mobile navigation menu (hidden on desktop) */
.nav-menu {
    display: none; /* Hidden by default on desktop */
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-accent);
}

/* Desktop navigation menu (visible on desktop) */
.nav-menu-desktop {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-menu-desktop a:hover {
    color: var(--text-accent);
}

/* Hide desktop menu on mobile */
@media (max-width: 768px) {
    .nav-menu-desktop {
        display: none;
    }
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 20px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.hamburger-line {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    transform: scale(1.1);
    color: var(--text-primary);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle-icon {
    display: block;
    transition: transform 0.3s ease;
}

.theme-toggle-text {
    display: none;
}

/* Theme toggle visibility */
/* Desktop: show icon toggle, hide text toggle */
.desktop-theme-toggle {
    display: flex;
}

.mobile-theme-toggle {
    display: none;
}

.theme-toggle-icon {
    display: block;
}

.theme-toggle-text {
    display: none;
}

/* Mobile: show text toggle, hide icon toggle */
@media (max-width: 768px) {
    .desktop-theme-toggle {
        display: none;
    }
    
    .mobile-theme-toggle {
        display: flex;
    }
    
    .theme-toggle-icon {
        display: none;
    }
    
    .theme-toggle-text {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-secondary);
    padding: 10rem 0 8rem;
    position: relative;
    transition: background 0.3s ease;
    overflow: visible;
    margin-bottom: 0;
}

/* Hero Section - Osmo Style */
.hero.osmo-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
    padding: 12rem 2rem 6rem;
    position: relative;
    transition: background 0.3s ease;
    overflow: hidden;
    margin-bottom: 0;
}

.hero.osmo-hero .hero-content {
    margin-bottom: 4rem;
    max-width: 1000px;
    z-index: 2;
}

.hero-content {
    margin-bottom: 4rem;
    padding-bottom: 0;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    line-height: 1.05;
    transition: color 0.3s ease;
}

/* Osmo Style Title */
.hero-title.osmo-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -3px;
    line-height: 1.1;
    transition: color 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.title-main {
    display: block;
}

.title-accent {
    color: #8b5cf6;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-tagline {
    font-size: 0.4em;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -1px;
    margin-left: 0.5rem;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.hero-subtitle.osmo-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.highlight {
    background: var(--button-primary-light);
    color: var(--button-primary);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight:hover {
    background: var(--button-primary);
    color: #fff;
}

/* Preview Cards - Osmo Style */
.preview-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    perspective: 1000px;
    flex-wrap: wrap;
}

.preview-card {
    width: 280px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.preview-card-1 {
    transform: rotateY(-5deg) rotateX(2deg);
}

.preview-card-2 {
    transform: rotateY(0deg) rotateX(-3deg);
    z-index: 2;
}

.preview-card-3 {
    transform: rotateY(5deg) rotateX(2deg);
}

.preview-card:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.card-content {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.preview-card:hover .card-content {
    box-shadow: 0 16px 48px var(--card-shadow);
    border-color: var(--border-accent);
}

.card-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.card-placeholder svg {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.card-placeholder p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

/* Page Hero (for individual pages) */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-primary);
    padding: 10rem 0 4rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.page-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

/* Page Content */
.page-content {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-card {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 18px;
    border: 0.5px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, border-color 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
}

.content-card h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.content-card p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.process-list {
    list-style: none;
    padding: 0;
}

.process-list li {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--button-primary);
    font-weight: 600;
}

.service-buttons {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 1100px;
    margin: 4rem auto 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding-top: 3rem;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 20px var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px var(--card-shadow);
    border-color: var(--border-accent);
}

.service-button {
    display: inline-block;
    padding: 1.75rem 3.5rem;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 1.5rem;
    border: none;
    cursor: pointer;
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.service-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-button:hover::before {
    width: 300px;
    height: 300px;
}

.service-button:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.service-button:active {
    transform: scale(0.98);
}

.service-button-secondary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.service-button-secondary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.service-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 100%;
    margin: 0;
    padding: 1rem 0.5rem 0;
    font-weight: 400;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.1px;
}

/* Modern Service Cards - Osmo Style */
.services-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 6rem auto 0;
    padding: 0 2rem;
}

.service-modern-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--card-shadow);
    border-color: var(--border-accent);
}

.service-modern-card:hover::before {
    transform: scaleX(1);
}

.service-modern-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.service-modern-card:hover .service-modern-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
    transform: scale(1.1);
}

.service-modern-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-modern-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
    transition: color 0.3s ease;
}

.service-modern-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.service-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b5cf6;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-modern-link span {
    transition: transform 0.3s ease;
}

.service-modern-link:hover {
    color: #7c3aed;
    gap: 0.75rem;
}

.service-modern-link:hover span {
    transform: translateX(4px);
}

.service-modern-link-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    justify-content: center;
}

.service-modern-link-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0 10rem;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: visible;
    width: 100%;
    margin-top: 0;
    clear: both;
}

/* Modern Testimonials - Osmo Style */
.testimonials-modern {
    padding: 10rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.testimonials-modern-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials-modern-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.testimonials-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-modern-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--card-shadow);
    border-color: var(--border-accent);
}

.testimonial-modern-quote {
    color: #8b5cf6;
    opacity: 0.3;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
}

.testimonial-modern-card:hover .testimonial-modern-quote {
    opacity: 0.5;
}

.testimonial-modern-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
    transition: color 0.3s ease;
    font-weight: 400;
}

.testimonial-modern-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-modern-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.testimonial-modern-role {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.07143;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 18px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 0.5px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--card-shadow);
    border-color: var(--border-accent);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex: 1;
    overflow: hidden;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--text-primary);
    line-height: 1.47059;
    font-weight: 400;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.testimonial-author {
    border-top: 1px solid var(--testimonial-border);
    padding-top: 1rem;
    transition: border-color 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    transition: color 0.3s ease;
    margin: 0 0 0.25rem 0;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.3s ease;
    margin: 0;
}

/* Sign Up Section */
.signup-section {
    padding: 10rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.signup-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.signup-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* Modern Sign Up - Osmo Style */
.signup-modern {
    padding: 10rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
    position: relative;
}

.signup-modern-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.signup-modern-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.signup-modern-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.signup-modern-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.signup-modern-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    letter-spacing: -0.2px;
}

.signup-modern-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.signup-modern-link {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.signup-modern-link a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-modern-link a:hover {
    color: #7c3aed;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
}

.form-group.password-group {
    position: relative;
}

.form-group.remember-me-group {
    margin-bottom: 1rem;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
}

.remember-me-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--button-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 3.5rem;
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    font-size: 1.0625rem;
    font-family: inherit;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.password-group input {
    padding-right: 3.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--button-primary);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 3px var(--button-primary-light);
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle-icon {
    font-size: 1.25rem;
    user-select: none;
    pointer-events: none;
}

.password-toggle.active .password-toggle-icon {
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
    letter-spacing: -0.2px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.submit-button:active {
    transform: scale(0.98);
}

/* Google Sign-In Button */
.google-signin-button {
    width: 100%;
    padding: 1rem 2.5rem;
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.google-signin-button:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-secondary);
    transform: scale(1.02);
}

.google-signin-button:active {
    transform: scale(0.98);
}

.google-signin-button svg {
    flex-shrink: 0;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color-light);
}

.divider span {
    padding: 0 1rem;
}

/* Error and Success Messages */
.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: var(--error);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--success);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.login-link {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-align: center;
}

.login-link a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.login-link a:hover {
    color: var(--button-primary);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Terms of Service Section */
.tos-section {
    padding: 10rem 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.tos-content {
    max-width: 800px;
    margin: 0 auto;
}

.tos-text {
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.tos-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.tos-text h3:first-child {
    margin-top: 0;
}

.tos-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, #050712 100%);
    color: var(--footer-text);
    padding: 3rem 0;
    transition: background 0.3s ease, color 0.3s ease;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-accent);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Show menu button */
    .menu-button {
        display: flex;
    }
    
    /* Narrow navbar initially (Osmo style) */
    .navbar.osmo-style .nav-container {
        max-width: fit-content;
        margin-left: 1rem;
        padding: 1rem 1.25rem;
    }
    
    /* Expanded navbar when menu is open */
    .navbar.osmo-style.expanded .nav-container {
        max-width: 100%;
        margin: 0;
        padding: 1rem 1.5rem;
    }
    
    .navbar.osmo-style .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.25rem;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-actions {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-actions .nav-button-primary,
    .nav-actions .nav-button-secondary {
        display: none;
    }
    
    .nav-actions .desktop-theme-toggle {
        display: none;
    }

    /* Show mobile nav menu on mobile */
    .nav-menu {
        display: flex; /* Show on mobile */
        position: fixed;
        top: 80px; /* Account for navbar height */
        left: 0;
        right: 0;
        background-color: var(--bg-tertiary);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        width: 100%;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        padding: 2rem 1.5rem;
    }
    
    /* Hide marquee when menu is open */
    .navbar.osmo-style.expanded ~ .marquee-bar {
        display: none;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 0.5px solid var(--border-color);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: 0s;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1.25rem 1.5rem;
        font-size: 1.0625rem;
        color: var(--text-primary);
        font-weight: 400;
        width: 100%;
        text-align: left;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .nav-menu a:hover {
        background-color: var(--bg-secondary);
    }

    .nav-menu .theme-toggle {
        width: 100%;
        padding: 1.25rem 0;
        justify-content: flex-start;
        font-size: 1.0625rem;
        border: none;
        background: transparent;
        color: var(--text-primary);
        font-weight: 400;
    }

    .nav-menu .theme-toggle:hover {
        background: transparent;
        color: var(--text-accent);
    }

    .theme-toggle-text {
        display: block;
    }

    .theme-toggle-icon {
        display: none;
    }

    /* Hide desktop theme toggle on mobile */
    .desktop-theme-toggle {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.875rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
        position: relative;
    }

    .logo {
        font-size: 1.125rem;
    }

    /* Hero Section */
    .hero.osmo-hero {
        min-height: auto;
        padding: 14rem 1rem 6rem;
    }
    
    .hero-title.osmo-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        gap: 0.25rem;
        flex-direction: column;
        align-items: center;
    }
    
    .title-tagline {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 0.35em;
    }
    
    .hero-subtitle.osmo-subtitle {
        font-size: clamp(1rem, 3vw, 1.25rem);
        padding: 0 1rem;
    }
    
    .preview-cards {
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .preview-card {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
    
    .preview-card-1,
    .preview-card-2,
    .preview-card-3 {
        transform: none;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.375rem;
        padding: 0 1rem;
    }

    /* Service Buttons */
    .service-buttons {
        flex-direction: column;
        gap: 2.5rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .service-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin: 0;
    }

    .service-button {
        padding: 1.5rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .service-description {
        font-size: 1rem;
        padding: 1rem 0.5rem 0;
        line-height: 1.6;
    }
    
    /* Modern Services */
    .services-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
        margin-top: 4rem;
    }
    
    .service-modern-card {
        padding: 2.5rem 2rem;
    }
    
    .service-modern-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-modern-title {
        font-size: 1.5rem;
    }
    
    .service-modern-description {
        font-size: 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    /* Modern Testimonials */
    .testimonials-modern {
        padding: 6rem 0;
    }
    
    .testimonials-modern-header {
        margin-bottom: 3rem;
    }
    
    .testimonials-modern-title {
        font-size: 2.5rem;
    }
    
    .testimonials-modern-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .testimonial-modern-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-modern-text {
        font-size: 1.0625rem;
    }
    
    /* Modern Sign Up */
    .signup-modern {
        padding: 6rem 0;
    }
    
    .signup-modern-content {
        padding: 0 1.5rem;
    }
    
    .signup-modern-title {
        font-size: 2.5rem;
    }
    
    .signup-modern-description {
        font-size: 1.125rem;
    }
    
    .signup-modern-button {
        padding: 1.125rem 2.5rem;
        font-size: 1rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 6rem 0 8rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Forms */
    .signup-section,
    .contact-section,
    .tos-section {
        padding: 6rem 0;
    }

    .signup-content,
    .contact-content {
        padding: 0 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1.125rem 1.25rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .submit-button {
        padding: 1.125rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Page Hero */
    .page-hero {
        min-height: 50vh;
        padding: 10rem 0 3rem;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.25rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    .content-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .nav-container {
        padding: 0 1.25rem;
    }

    .logo {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        width: 18px;
        height: 14px;
    }

    .hamburger-line {
        height: 1.5px;
    }

    .nav-menu {
        top: 65px;
        padding: 1.5rem 1.25rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 1rem 0;
    }

    /* Hero Section */
    .hero {
        padding: 9rem 0 4rem;
    }

    .hero-content {
        margin-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        padding: 0 0.5rem;
    }

    /* Service Buttons */
    .service-buttons {
        gap: 2rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-button {
        padding: 1.25rem 2rem;
        font-size: 0.9375rem;
        width: 100%;
    }

    .service-description {
        font-size: 0.9375rem;
        padding: 0.875rem 0.25rem 0;
        line-height: 1.6;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
        line-height: 1.2;
    }

    /* Testimonials */
    .testimonials {
        padding: 5rem 0 6rem;
    }

    .testimonials-grid {
        gap: 1.25rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .author-name {
        font-size: 0.9375rem;
    }

    .author-role {
        font-size: 0.8125rem;
    }

    /* Forms */
    .signup-section,
    .contact-section,
    .tos-section {
        padding: 5rem 0;
    }

    .signup-content,
    .contact-content {
        padding: 0 0.5rem;
    }

    .signup-description,
    .contact-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem 1.125rem;
        font-size: 0.9375rem;
    }

    .submit-button {
        padding: 1rem 2rem;
        font-size: 0.9375rem;
    }

    /* Footer */
    .footer-content {
        gap: 1.25rem;
    }

    .footer-links {
        gap: 0.875rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 9rem 0 2.5rem;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1.125rem;
    }

    .content-card {
        padding: 1.75rem 1.25rem;
    }

    .content-card h2 {
        font-size: 1.375rem;
    }

    .content-card p {
        font-size: 0.9375rem;
    }

    .tos-text h3 {
        font-size: 1.25rem;
    }
}

/* Apple-Style Hero Section */
.apple-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12rem 2rem 8rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.apple-hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.apple-hero-title {
    font-size: 5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.05;
    transition: color 0.3s ease;
}

.apple-hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.apple-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.apple-button-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: #0071e3;
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
}

.apple-button-primary:hover {
    background: #0077ed;
    transform: scale(1.05);
}

.apple-button-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #0071e3;
    text-decoration: none;
    border: 2px solid #0071e3;
    border-radius: 980px;
    font-size: 1.0625rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
}

.apple-button-secondary:hover {
    background: #0071e3;
    color: #fff;
    transform: scale(1.05);
}

.apple-hero-image {
    margin-top: 4rem;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder Graphics */
.placeholder-graphic {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.placeholder-content {
    text-align: center;
}

.placeholder-content svg {
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Apple-Style Sections */
.apple-section {
    padding: 8rem 2rem;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.apple-section-alt {
    padding: 8rem 2rem;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.apple-section-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.apple-section-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.07143;
    transition: color 0.3s ease;
}

.apple-section-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.47059;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.apple-section-image {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apple-section-image .placeholder-graphic {
    width: 100%;
    max-width: 800px;
    height: 500px;
}

/* Features Grid */
.apple-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.apple-feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.apple-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--card-shadow);
    border-color: var(--border-accent);
}

.apple-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.apple-feature-card p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Apple Sections */
@media (max-width: 768px) {
    .apple-hero {
        padding: 11rem 1.5rem 6rem;
        min-height: auto;
    }

    .apple-hero-content {
        padding: 0;
    }

    .apple-hero-title {
        font-size: 3rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }

    .apple-hero-subtitle {
        font-size: 1.375rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .apple-section-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
        padding: 0 1rem;
    }

    .apple-section-description {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .apple-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .apple-button-primary,
    .apple-button-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .apple-hero-image {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    .apple-section,
    .apple-section-alt {
        padding: 6rem 1.5rem;
    }

    .apple-section-content {
        padding: 0;
    }

    .apple-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .apple-feature-card {
        padding: 1.75rem 1.5rem;
    }

    .apple-feature-card h3 {
        font-size: 1.375rem;
    }

    .apple-feature-card p {
        font-size: 1rem;
    }

    .placeholder-graphic {
        height: 300px;
        border-radius: 18px;
    }

    .apple-section-image {
        padding: 0 1rem;
    }

    .apple-section-image .placeholder-graphic {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .apple-hero {
        padding: 9rem 1.25rem 4rem;
    }

    .apple-hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .apple-hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }

    .apple-section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        line-height: 1.2;
    }

    .apple-section-description {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    .apple-button-primary,
    .apple-button-secondary {
        max-width: 100%;
        padding: 0.9375rem 1.75rem;
        font-size: 0.9375rem;
    }

    .apple-hero-image {
        margin-top: 2.5rem;
        padding: 0 0.5rem;
    }

    .apple-section,
    .apple-section-alt {
        padding: 5rem 1.25rem;
    }

    .apple-features-grid {
        gap: 1.25rem;
    }

    .apple-feature-card {
        padding: 1.5rem 1.25rem;
    }

    .apple-feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .apple-feature-card p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .placeholder-graphic {
        height: 250px;
        border-radius: 16px;
    }

    .apple-section-image .placeholder-graphic {
        height: 350px;
    }

    .placeholder-content svg {
        width: 150px;
        height: 150px;
    }

    .placeholder-content p {
        font-size: 1.125rem;
    }
}

/* Listings Page Styles - Osmo/Homepage Style */
/* Budget Dual Range Slider */
.budget-slider-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
    flex: 1;
}

.budget-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.budget-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.budget-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--button-primary);
}

.budget-separator {
    color: var(--text-secondary);
    font-size: 1rem;
}

.dual-range-slider {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.dual-range-slider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    z-index: 1;
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #8b5cf6;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.6);
}

.range-slider::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #8b5cf6;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.6);
}

.range-slider::-moz-range-track {
    background: transparent;
    height: 6px;
}

#budgetMaxSlider {
    z-index: 1;
}

#budgetMaxSlider::-webkit-slider-thumb {
    background: #a78bfa;
}

#budgetMaxSlider::-moz-range-thumb {
    background: #a78bfa;
}

.listings-filters {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 120px;
    z-index: 100;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filters-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filters-toggle:hover {
    border-color: var(--button-primary);
    background: var(--bg-primary);
}

.filters-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.filters-content {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filters-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
}

.filter-dropdown {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-dropdown:hover {
    border-color: var(--border-accent);
}

.filter-dropdown:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.filters-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.filter-toggle input {
    display: none;
}

.filter-toggle input:checked + .toggle-slider {
    background: #8b5cf6;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}

.filter-toggle input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 0.9375rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-badge {
    background: #8b5cf6;
    color: #fff;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.results-count {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.sort-dropdown {
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    min-width: 200px;
}

.custom-dropdown-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.custom-dropdown-button:hover {
    border-color: var(--button-primary);
    background: var(--bg-primary);
}

.custom-dropdown-button svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--card-shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.custom-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.dropdown-option:hover {
    background: var(--bg-secondary);
    color: var(--button-primary);
}

.dropdown-option:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.dropdown-option:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.price-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.price-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.price-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.listings-grid-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-listing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.service-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--card-shadow);
    border-color: var(--border-accent);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.service-card-favorite:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.service-card-content {
    padding: 1.25rem;
}

.service-card-header {
    margin-bottom: 0.75rem;
}

.service-freelancer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-freelancer-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.service-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.rating-stars {
    color: #fbbf24;
}

.rating-value {
    color: var(--text-primary);
    font-weight: 600;
}

.rating-reviews {
    color: var(--text-secondary);
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.delivery-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.no-results svg {
    margin-bottom: 1.5rem;
    opacity: 0.5;
    color: var(--text-tertiary);
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.no-results p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin: 0;
}

.service-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Service Detail Page */
.service-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-detail-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-main-image {
    width: 100%;
    min-height: 500px;
    max-height: 600px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
}

.service-thumbnail {
    width: 100px;
    height: 70px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-thumbnail:hover {
    border-color: var(--button-primary);
    transform: scale(1.05);
}

.service-detail-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.service-seller-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.seller-profile {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.seller-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.seller-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.seller-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.seller-stats {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.seller-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--button-primary);
}

.service-detail-sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.service-packages {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.package-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.package-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-tab.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-bottom: 2px solid #8b5cf6;
}

.package-content {
    padding: 2rem;
}

.service-description-section,
.service-seller-section,
.service-portfolio-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-description-section h2,
.service-seller-section h2,
.service-portfolio-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.package-price {
    margin-bottom: 1.5rem;
}

.package-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.package-price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.package-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.package-features {
    margin-bottom: 1.5rem;
}

.package-feature-item {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-feature-item span {
    color: var(--success);
    font-weight: 500;
}

/* CTA Card on Homepage */
.service-modern-card-cta {
    border: 2px dashed var(--border-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
}

.service-modern-card-cta:hover {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
}

.service-modern-link-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-modern-link-cta:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Mobile Responsive for Listings */
@media (max-width: 768px) {
    .listings-filters {
        position: static;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .filters-left {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .budget-slider-container {
        min-width: 100%;
    }
    
    .filters-right {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .results-count {
        text-align: left;
    }
    
    .results-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-section-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .service-detail-sidebar {
        position: static;
    }
    
    .service-seller-info {
        flex-direction: column;
    }
    
    .seller-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Comprehensive Mobile Optimizations */
@media (max-width: 768px) {
    /* Prevent text overflow and overlapping */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Text elements - prevent overflow */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    p, span, div, a, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Navbar improvements */
    .navbar.osmo-style .nav-container {
        padding: 0.875rem 1rem;
        min-height: 56px;
    }
    
    .nav-welcome {
        font-size: 0.875rem !important;
        margin-right: 0.5rem !important;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .nav-actions {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    /* Service cards - prevent text overlap */
    .service-card,
    .service-modern-card,
    .service-listing-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card-title,
    .service-modern-card h3,
    .service-card-title {
        font-size: 1.125rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }
    
    .service-card-content {
        padding: 0;
    }
    
    .service-freelancer-name {
        font-size: 0.875rem;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .service-card-title {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0.5rem 0;
        word-wrap: break-word;
    }
    
    /* Service detail page */
    .service-detail-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }
    
    .service-main-image {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    .service-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .service-thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .service-seller-info {
        padding: 1.25rem !important;
        gap: 1.25rem !important;
    }
    
    .seller-profile {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .seller-name {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .seller-stats {
        font-size: 0.8125rem;
        word-wrap: break-word;
    }
    
    .seller-actions {
        width: 100%;
        gap: 0.75rem;
    }
    
    .service-description-section,
    .service-seller-section,
    .service-portfolio-section {
        padding: 1.25rem !important;
        margin-bottom: 2rem;
    }
    
    .service-description-section h2,
    .service-seller-section h2,
    .service-portfolio-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    /* Package sidebar */
    .package-content {
        padding: 1.25rem !important;
    }
    
    .package-price-amount {
        font-size: 1.75rem;
    }
    
    .package-description {
        font-size: 0.9375rem;
        padding: 0.75rem;
        line-height: 1.6;
    }
    
    /* Forms */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Buttons - ensure touch targets */
    button, .btn-primary, .btn-secondary, .nav-button {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        touch-action: manipulation;
    }
    
    /* Admin panel */
    .admin-container {
        padding: 1rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .admin-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .admin-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    .admin-table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    /* Freelancer signup page */
    .editable-preview-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .editable-main-image-container {
        height: 250px;
    }
    
    .editable-title-input {
        font-size: 1.25rem;
        padding: 0.75rem;
    }
    
    .editable-description-input {
        font-size: 0.9375rem;
        padding: 0.75rem;
        min-height: 120px;
    }
    
    .editable-price-input,
    .editable-revisions-input {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    /* Osmo menu */
    .osmo-menu-content {
        padding: 2rem 1.5rem;
    }
    
    .osmo-menu-column {
        margin-bottom: 2rem;
    }
    
    .osmo-menu-list li {
        padding: 0.75rem 0;
    }
    
    .osmo-menu-list a {
        font-size: 1rem;
    }
    
    /* Hero section */
    .hero.osmo-hero {
        padding: 12rem 1rem 4rem;
    }
    
    .hero-title.osmo-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle.osmo-subtitle {
        font-size: clamp(0.9375rem, 3vw, 1.125rem);
        padding: 0;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        gap: 1.25rem;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    main {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Grid improvements */
    .services-modern,
    .services-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Cards */
    .card, .content-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-welcome {
        max-width: 100px;
        font-size: 0.8125rem !important;
    }
    
    .service-detail-title {
        font-size: 1.25rem !important;
    }
    
    .service-main-image {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    
    .hero.osmo-hero {
        padding: 10rem 0.75rem 3rem;
    }
    
    .admin-container {
        padding: 0.75rem;
    }
    
    .admin-header h1 {
        font-size: 1.25rem;
    }
    
    .package-price-amount {
        font-size: 1.5rem;
    }
    
    .editable-main-image-container {
        height: 200px;
    }
    
    .service-card,
    .service-modern-card {
        padding: 1rem;
    }
}

/* How It Works Page Styles */
.how-it-works-hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: var(--bg-primary);
}

.how-it-works-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.how-it-works-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.how-it-works-features {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.how-it-works-features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.scroll-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #8b5cf6;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.how-it-works-process {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.process-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.process-step.scroll-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-it-works-security {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.security-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.security-content.scroll-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.security-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.security-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.security-text h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-it-works-cta {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.cta-content.scroll-reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cta-button-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Freelancer Signup Styles */
.freelancer-signup-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.freelancer-signup-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.freelancer-signup-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

.freelancer-signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.freelancer-signup-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
}

.freelancer-signup-form .form-group {
    margin-bottom: 1.5rem;
}

.freelancer-signup-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.freelancer-signup-form input,
.freelancer-signup-form textarea,
.freelancer-signup-form select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.freelancer-signup-form input:focus,
.freelancer-signup-form textarea:focus,
.freelancer-signup-form select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.freelancer-signup-form textarea {
    resize: vertical;
    min-height: 120px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .how-it-works-features .container {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .security-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .freelancer-signup-form {
        padding: 2rem 1.5rem;
    }
    
    .osmo-menu-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .osmo-menu-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .osmo-menu-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Freelancer Listing Form Styles */
.freelancer-listing-section {
    padding: 2rem 0 4rem;
}

.listing-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.listing-form-left {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.freelancer-listing-form .form-group {
    margin-bottom: 1.5rem;
}

.freelancer-listing-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.freelancer-listing-form input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.freelancer-listing-form input[type="file"]:hover {
    border-color: var(--button-primary);
    background: var(--bg-secondary);
}

.listing-preview-right {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.listing-preview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--card-shadow);
}

.preview-service-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.preview-service-image {
    width: 100%;
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.preview-service-info {
    padding: 1.5rem;
}

.preview-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.preview-service-freelancer {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.preview-service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.preview-service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--button-primary);
}

.preview-service-delivery {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preview-service-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.preview-service-revisions {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preview-service-revisions strong {
    color: var(--text-primary);
}

.remove-file-btn {
    background: var(--error) !important;
    color: white !important;
    border: none !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
}

.remove-file-btn:hover {
    background: #dc2626 !important;
    transform: scale(1.05) !important;
}

/* Fiverr-style Preview Gallery */
.fiverr-style-preview {
    width: 100%;
}

.preview-gallery-container {
    margin-bottom: 2rem;
}

.preview-main-gallery {
    position: relative;
}

.preview-main-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-tertiary);
}

.preview-gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.preview-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.preview-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.preview-thumbnail.active {
    border-color: var(--button-primary);
    opacity: 1;
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.preview-seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.preview-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--button-primary), var(--button-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.preview-seller-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-seller-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.preview-seller-rating {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preview-package-info {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-package-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.preview-price-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.preview-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--button-primary);
}

.preview-package-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-feature-item {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.preview-description-section {
    margin-top: 1.5rem;
}

.preview-description-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .listing-form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .listing-preview-right {
        position: static;
    }
}

/* Editable Preview Interface Styles */
.editable-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin: 2rem 0;
}

.editable-preview-main {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
}

.editable-gallery-section {
    margin-bottom: 2rem;
}

.editable-main-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    background: var(--bg-secondary);
}

.editable-image-upload {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.editable-image-upload:hover {
    border-color: var(--button-primary);
    background: var(--bg-primary);
}

.upload-placeholder {
    text-align: center;
    color: var(--text-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.upload-placeholder svg {
    color: var(--text-tertiary);
    opacity: 0.5;
}

.upload-placeholder p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

.image-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-image-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.editable-thumbnails-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.thumbnail-upload-slot {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail-upload-slot:hover {
    border-color: var(--button-primary);
}

.thumbnail-upload-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.thumbnail-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-thumbnail-btn,
.set-main-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.remove-thumbnail-btn {
    top: 0.25rem;
    right: 0.25rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.set-main-btn {
    bottom: 0.25rem;
    left: 0.25rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

.remove-thumbnail-btn:hover,
.set-main-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.editable-title-section {
    margin-bottom: 2rem;
}

.editable-title-input {
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid transparent;
    border-bottom: 2px solid var(--border-color);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-family: inherit;
}

.editable-title-input:focus {
    outline: none;
    border-bottom-color: var(--button-primary);
}

.editable-seller-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.seller-avatar-preview {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--button-primary), var(--button-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.seller-info-preview {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.seller-name-preview {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.seller-rating-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.editable-description-section {
    margin-bottom: 2rem;
}

.editable-description-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.editable-description-input {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
}

.editable-description-input:focus {
    outline: none;
    border-color: var(--button-primary);
    box-shadow: 0 0 0 3px var(--button-primary-light);
}

.editable-preview-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.editable-package-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--card-shadow);
}

.editable-price-section {
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-input-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--button-primary);
}

.editable-price-input {
    font-size: 2rem;
    font-weight: 700;
    color: var(--button-primary);
    background: transparent;
    border: 2px solid transparent;
    border-bottom: 2px solid var(--border-color);
    padding: 0.25rem 0;
    width: 150px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.editable-price-input:focus {
    outline: none;
    border-bottom-color: var(--button-primary);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.editable-revisions-section {
    margin-bottom: 1.5rem;
}

.editable-revisions-section label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.editable-revisions-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.editable-revisions-input:focus {
    outline: none;
    border-color: var(--button-primary);
    box-shadow: 0 0 0 3px var(--button-primary-light);
}

.publish-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.publish-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.publish-button:active {
    transform: translateY(0);
}

/* Additional styles for editable preview */
.editable-preview-wrapper {
    padding: 2rem 0;
}

.editable-preview-main {
    box-shadow: 0 2px 10px var(--card-shadow);
}

.upload-placeholder svg {
    color: var(--text-tertiary);
}

.upload-placeholder p {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
    margin-top: 0.75rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.9375rem;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .editable-preview-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .editable-preview-sidebar {
        position: static;
    }
    
    .editable-preview-main {
        padding: 1.5rem;
    }
    
    .editable-package-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .editable-preview-wrapper {
        margin: 1rem 0;
        padding: 1rem 0;
    }
    
    .editable-preview-main {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .editable-package-card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .editable-title-input {
        font-size: 1.5rem;
    }
    
    .editable-price-input {
        font-size: 1.5rem;
        width: 120px;
    }
    
    .currency {
        font-size: 1.25rem;
    }
}

/* YouTube Embed Styles */
.youtube-embed {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    border: none;
}

.image-preview iframe.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* YouTube URL Section */
.youtube-url-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.youtube-url-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.youtube-url-section p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.youtube-url-section input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.youtube-url-section input:focus {
    outline: none;
    border-color: var(--button-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.youtube-url-section button {
    padding: 0.75rem 1.5rem;
    background: var(--button-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.youtube-url-section button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Ensure upload area is clickable */
.editable-image-upload {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.editable-image-upload .upload-placeholder {
    cursor: pointer;
    pointer-events: auto;
}

.editable-image-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

