/* OddJobzz Website Styles - Matching Mobile App Theme */

:root {
    /* Colors from mobile app theme */
    --bg: #0f1216;
    --card: #161b22;
    --accent: #00b9fe;
    --line: #22262b;
    --text: #ffffff;
    --sub: #b0b8c3;
    --success: #60d394;
    --warn: #ffd166;
    --danger: #ff6b6b;
    
    /* Additional web colors */
    --card-border: #2a2d31;
    --hover: #1a1f24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--bg);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 200;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

/* Header */
header {
    background-color: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
}

.wordmark {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

/* Desktop Navigation */
nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--sub);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

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

nav a.active {
    color: var(--accent);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 36px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

/* AccountHub-inspired menu items */
.mobile-nav-item {
    display: flex;
    align-items: center;
    background-color: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
    width: 100%;
    max-width: 400px;
    min-height: 68px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 254, 0.2);
}

.mobile-nav-item.active {
    border-color: var(--accent);
    background-color: rgba(0, 185, 254, 0.05);
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.nav-text {
    flex: 1;
    text-align: left;
}

.nav-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.nav-subtitle {
    color: var(--sub);
    font-size: 13px;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(180deg, var(--bg) 0%, #0a0c0f 100%);
}

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

.hero h1 {
    font-size: clamp(32px, 6vw + 1rem, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(16px, 3vw + 0.5rem, 20px);
    color: var(--sub);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: clamp(12px, 2vw, 14px);
    color: var(--sub);
    margin-top: 4px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: clamp(14px, 2.5vw, 16px);
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg);
    font-size: 18px;
    padding: 18px 40px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 185, 254, 0.3);
}

.btn-primary:hover {
    background-color: #00a3e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 185, 254, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--sub);
    border: 2px solid var(--line);
    font-size: 16px;
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(0, 185, 254, 0.1);
    color: var(--text);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--card);
}

.section h2 {
    font-size: clamp(28px, 5vw + 0.5rem, 42px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--sub);
    margin-bottom: 48px;
}

/* Page Hero (for About/Contact pages) */
.page-hero {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--bg) 0%, #0a0c0f 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(36px, 6vw + 1rem, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero .accent {
    color: var(--accent);
}

.page-hero .hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--sub);
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.stat-card .stat-description {
    color: var(--sub);
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Page Enhancements */
.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.contact-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--sub);
    font-style: italic;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.faq-item {
    background-color: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--sub);
    font-size: 15px;
    line-height: 1.6;
}

/* Support Tips */
.support-tips {
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.tip-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tip-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tip-card p {
    color: var(--sub);
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg);
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    margin-bottom: 12px;
}

.step p {
    color: var(--sub);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.service-card {
    background-color: var(--bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 185, 254, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 185, 254, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--sub);
    font-size: 15px;
}

/* Download Section */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--card);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 14px 24px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Manrope', sans-serif;
    min-height: 60px;
}

.store-button:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.store-button svg {
    flex-shrink: 0;
}

.store-text {
    font-size: 12px;
    color: var(--sub);
    text-align: left;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.coming-soon-note {
    text-align: center;
    color: var(--accent);
    font-size: 16px;
    margin-top: 24px;
    font-weight: 600;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--sub);
    margin-bottom: 24px;
}

.trust-features {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.trust-item {
    display: flex;
    gap: 20px;
    align-items: start;
    background-color: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--success);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-item p {
    color: var(--sub);
    font-size: 15px;
    margin: 0;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-method {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.contact-method h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-method p {
    color: var(--sub);
}

.contact-method a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Legal Section */
.legal-section {
    margin-top: 64px;
}

.legal-section h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.policy-card {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
}

.policy-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.policy-card p {
    color: var(--sub);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--card);
    border-top: 1px solid var(--line);
    padding: 24px 0 16px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-top img {
    height: 24px;
}

.footer-tagline {
    color: var(--sub);
    font-size: 13px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sub);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item:hover {
    color: var(--accent);
}

.footer-contact-item span {
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--hover);
    color: var(--sub);
    transition: all 0.2s ease;
    border: 1px solid var(--line);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    color: var(--sub);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--sub);
    font-size: 12px;
}

.footer-divider {
    color: var(--line);
}

.footer-stripe-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-stripe-badge a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-stripe-badge a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--card);
    border: 1px solid var(--card-border);
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: var(--sub);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text);
}

.modal-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--sub);
    margin-bottom: 16px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop nav, show mobile toggle */
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: clamp(28px, 8vw, 42px);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-brand-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-nav-item {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 48px 0 80px;
    }
    
    .page-hero {
        padding: 80px 0 40px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
    
    .store-button {
        padding: 12px 20px;
        min-height: 56px;
    }
    
    .mobile-nav-content {
        padding: 80px 16px 40px;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
        border-radius: 20px;
    }
    
    .nav-icon span {
        font-size: 20px !important;
    }
    
    .nav-title {
        font-size: 15px;
    }
    
    .nav-subtitle {
        font-size: 12px;
    }
}
