/* 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;
}

@font-face {
    font-family: 'PP Formula';
    src: url('webfonts/pp-formula-airtasker/PPFormulaAirtasker-CondensedBold.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-ConsensedExtrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --primary-blue: #0065FC;
    --dark-blue: #061257;
    --text-primary: #1D234D;
    --text-secondary: #5C6285;
    --bg-light: #F7F9FC;
    --white: #FFFFFF;
    --success: #20BF6F;
    --warning: #FF7F00;
    --error: #FF4401;
    --border-color: #E4E5EB;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Navbar */
.navbar {
    height: 72px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s;
}

.scrolled .navbar {
    border-bottom-color: var(--border-color);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    color: var(--primary-blue);
    font-family: 'PP Formula', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -1px;
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0050CA;
}

.btn-secondary {
    background-color: #EAF3FF;
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: #D6E8FF;
}

.btn-ghost {
    background: transparent;
    color: var(--primary-blue);
    padding: 10px 16px;
}

.btn-ghost:hover {
    background-color: var(--bg-light);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Tilted Typography Effect */
.hero-title-wrapper {
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    margin-bottom: 60px;
    text-align: center;
}

.hero-title {
    font-family: 'PP Formula', sans-serif;
    font-weight: 900;
    font-size: 100px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.hero-title span {
    display: block;
}

/* Floating Elements Animation */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.star-1 { top: 20%; left: 10%; width: 24px; }
.star-2 { top: 30%; right: 15%; width: 16px; animation-delay: 1s; }
.star-3 { bottom: 20%; left: 20%; width: 32px; animation-delay: 2s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-cta-container {
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    font-weight: 500;
}

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

/* Post a Task Section */
.post-task-intro {
    padding: 100px 0;
    text-align: left;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: 'PP Formula', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.steps-list {
    list-style: none;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

/* Categories Grid */
.categories-section {
    padding: 60px 0;
    background-color: var(--white);
}

.grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.category-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.cat-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
    background-color: var(--bg-light);
}

.cat-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cat-price {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Trust & Safety */
.trust-section {
    padding: 100px 0;
    background-color: var(--white);
}

.trust-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.feature-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-content h3 {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

/* Earn Money / Boss Section */
.earn-money-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.earn-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.earn-title {
    font-family: 'PP Formula', sans-serif;
    font-weight: 900;
    font-size: 56px;
    line-height: 1;
    margin-bottom: 24px;
}

.earn-list {
    list-style: none;
    margin-bottom: 32px;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.check-icon {
    color: var(--white);
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--primary-blue);
}

.app-downloads {
    display: flex;
    gap: 12px;
}

.app-store-btn {
    height: 40px;
}

/* Utility */
.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 48px;
    }
    
    .nav-links {
        display: none;
    }
    
    .grid-cols-4, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
}
