/* Font Faces */
@font-face {
    font-family: 'Manrope';
    src: url('webfonts/manrope/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('webfonts/manrope/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Formula';
    src: url('webfonts/pp-formula-airtasker/PPFormulaAirtasker-CondensedBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Modern Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Luminous Tech Palette */
    --bg-page: #FFFFFF;
    --c-primary: #7C3AED; /* Deep Violet */
    --c-accent: #8b5cf6; /* Lighter violet */
    --c-dark: #111827; /* Near Black */
    --c-grey: #6B7280; /* Body text */
    --c-light-grey: #F3F4F6; /* Background accents */
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(124, 58, 237, 0.15);
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-page);
    color: var(--c-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--c-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--c-dark);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--c-primary); }

/* Language Switcher Dropdown */
.lang-dropdown {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #E5E7EB;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle-btn span { font-weight: 700; color: var(--c-dark); }

.nav-cta {
    background: var(--c-dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s;
}

.nav-cta:hover { transform: translateY(-2px); }

/* Dropdowns */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.dropdown-menu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dd-item {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-grey);
}

.dd-item:hover {
    background: var(--c-light-grey);
    color: var(--c-primary);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--c-primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'PP Formula', 'Manrope', sans-serif;
    font-size: clamp(48px, 6vw, 72px); /* Responsive sizing */
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 32px;
    color: var(--c-dark);
    position: relative;
    z-index: 2;
}

.text-gradient {
    color: var(--c-primary);
}

.hero-desc {
    font-size: 20px;
    color: var(--c-grey);
    max-width: 600px;
    margin: 0 auto 56px;
    position: relative;
    z-index: 2;
}

/* App Buttons */
.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* App Buttons - FIXED SIZE */
/* App Buttons - FIXED SIZE */
.store-btn {
    background: var(--c-dark); /* Solid Black */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    padding: 0 24px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 240px;  /* FIXED WIDTH */
    height: 80px;  /* FIXED HEIGHT */
}

.store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.store-icon {
    width: 32px;
    height: 32px;
    margin-right: 14px;
    object-fit: contain;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.small-text { font-size: 11px; opacity: 0.8; text-transform: uppercase; font-weight: 600; }
.large-text { font-size: 20px; font-weight: 700; line-height: 1.1; }
/* ... */

/* Services Section */
.section { 
    padding: 100px 0;
    min-height: auto; /* Reset min-height */
    display: block; /* Reset flex */
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-family: 'Manrope', sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.section-header p { font-size: 18px; color: var(--c-grey); }

/* Services Grid - Original Design */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    width: 100%;
    padding: 0;
    overflow: visible;
}

.card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    height: auto; /* Reset fixed height */
    min-width: 0; /* Reset fixed width */
    display: block; /* Reset flex from split layout */
    box-shadow: none; /* Reset heavy shadow */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 58, 237, 0.2);
}

.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img { 
    width: 72px; 
    height: 72px; 
    object-fit: contain;
    filter: none; /* Remove drop shadow filter */
    max-width: none;
}

.card-content {
    width: 100%;
    display: block; /* Reset flex */
}

.service-card h3 { 
    font-size: 20px; 
    margin-bottom: 12px; 
    font-weight: 700; 
    font-family: 'Manrope', sans-serif; /* Reset font if needed or keep Formula */
    color: var(--c-dark);
}

.service-card p { 
    font-size: 15px; 
    color: var(--c-grey);
    line-height: 1.6;
}

/* How It Works with Images */
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 24px;
}

.step-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-image::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: var(--c-light-grey);
    border-radius: 50%;
    z-index: -1;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.step-item:hover .step-image img {
    transform: translateY(-10px) scale(1.05);
}


/* Feature Rows (Zig Zag) - Dribbble Style */
.page-header {
    text-align: center;
    padding: 160px 20px 100px;
    background: #fff;
}

.page-header h1 {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--c-dark);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.subtitle {
    font-size: 20px;
    color: var(--c-grey);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section {
    padding: 80px 0 160px;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px; /* More breathing room */
    margin-bottom: 120px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Image Card Styling */
.feature-img {
    flex: 1;
    border-radius: 32px; /* Smoother corners */
    overflow: hidden;
    position: relative;
    /* Soft, multi-layered shadow for depth */
    box-shadow: 
        0 20px 40px -10px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(0,0,0,0.02); 
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.feature-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.feature-img:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px -12px rgba(124, 58, 237, 0.25),
        0 0 0 1px rgba(0,0,0,0.02);
}

.feature-img:hover img {
    transform: scale(1.05); /* Subtle zoom */
}

/* Text Content Styling */
.feature-text {
    flex: 0.9; /* Slightly narrower text column for elegance */
    text-align: left;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    background: #fff;
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 32px;
}

.feature-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--c-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: 18px;
    color: var(--c-grey);
    line-height: 1.8; /* Better readability */
    font-weight: 500;
}

@media (max-width: 900px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 80px;
    }
    
    .feature-text { 
        text-align: center; 
        flex: 1;
    }
    
    .step-badge {
        margin: 0 auto 24px;
    }

    .page-header h1 { font-size: 42px; }
}
/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease forwards;
    min-width: 300px;
    border-left: 4px solid var(--c-primary);
}

.toast.error {
    border-left-color: #EF4444;
}

.toast.success {
    border-left-color: #10B981;
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-dark);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

/* Button Loading State */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}
/* Trust Section */
.trust-section {
    background: #f9fafb;
    padding: 100px 0;
}

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

.trust-badge {
    font-size: 60px;
    margin-bottom: 24px;
    display: block;
}

.trust-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--c-dark);
}

.trust-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--c-grey);
    line-height: 1.6;
}

/* About Us Page Styles */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px; /* Reduced from 80px */
}

.about-intro h2 {
    font-size: 48px;
    margin-bottom: 16px; /* Reduced from 24px */
    color: var(--c-dark);
    letter-spacing: -1px;
}

.about-intro p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--c-grey);
}

/* About List Layout (No Image) */
.about-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Reduced from 80px */
}
.about-item {
    display: flex;
    align-items: flex-start;
    gap: 24px; /* Reduced from 40px */
}
.about-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--c-dark);
}
.about-content p {
    font-size: 18px;
    color: var(--c-grey);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .about-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .about-intro { margin-bottom: 40px; }
    .about-intro h2 { font-size: 36px; }
}

/* Footer */
.footer {
    background: #F9FAFB;
    padding: 80px 0 40px;
    border-top: 1px solid #e5e7eb;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-brand h3 { font-size: 24px; font-weight: 900; margin-bottom: 16px; }
.footer-brand p { color: var(--c-grey); font-size: 14px; }

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

.footer-col h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 24px; color: var(--c-dark); }
.footer-col a { display: block; margin-bottom: 12px; color: var(--c-grey); font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--c-primary); }

/* Mobile */
@media (max-width: 768px) {
    .hero-title { font-size: 48px; }
    .nav-links { display: none; } /* Simplified for prototype */
    .steps-row { flex-direction: column; gap: 40px; }
    .step-connector { display: none; }
    .footer-container { flex-direction: column; }
    .footer-links-group { flex-direction: column; gap: 40px; }
    .app-buttons { flex-direction: column; align-items: center; }
}
