/* Collabs in Sync - Redesigned Landing Page */

:root {
    --blue: #0066ff;
    --orange: #ff6b35;
    --black: #000000;
    --white: #ffffff;
    --grey-light: #f5f5f5;
    --grey-medium: #e0e0e0;
    --grey-dark: #666666;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-2xl: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: var(--space-xl);
}

h3 {
    font-size: 18px;
}

p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

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

.text-muted {
    color: var(--grey-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* HEADER */
.header {
    background: var(--white);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--grey-medium);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    max-height: 80px;
}

.logo img {
    height: auto;
    width: 100%;
    max-width: 300px;
    display: block;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.85) 0%, rgba(255, 107, 53, 0.85) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.hero__content h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero__form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.form-input {
    flex: 1;
    min-width: 250px;
    padding: 14px 16px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background: var(--white);
}

.form-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--orange);
    color: var(--black);
}

.btn--primary:hover {
    background: #ff5517;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* COMPARISON SECTION */
.comparison {
    background: var(--grey-light);
    padding: var(--space-2xl) 0;
}

.comparison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .comparison__grid {
        grid-template-columns: 1fr;
    }
}

.comparison__card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

.comparison__card.solution {
    border-left-color: var(--orange);
}

.comparison__card h3 {
    font-size: 22px;
    margin-bottom: var(--space-md);
}

/* FEATURES */
.features {
    padding: var(--space-2xl) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.feature {
    text-align: center;
}

.feature__icon {
    font-size: 40px;
    margin-bottom: var(--space-md);
    display: block;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: var(--space-sm);
}

/* PROFIT SHARING */
.profit-sharing {
    background: linear-gradient(135deg, #f0f7ff 0%, #fff0eb 100%);
    padding: var(--space-2xl) 0;
}

.profit-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .profit-comparison {
        grid-template-columns: 1fr;
    }
}

.profit-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 8px;
    border-top: 3px solid var(--blue);
}

.profit-item:last-child {
    border-top-color: var(--orange);
}

.profit-divider {
    font-size: 24px;
    color: var(--blue);
    font-weight: 700;
}

.profit-note {
    text-align: center;
    font-size: 16px;
    color: var(--grey-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* PROFILES */
.profiles {
    padding: var(--space-2xl) 0;
}

.profiles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.profile-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.profile-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-icon {
    font-size: 48px;
}

.profile-content {
    padding: var(--space-lg);
}

.profile-content h3 {
    margin-bottom: 4px;
}

.role {
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--space-sm);
}

.location {
    color: var(--grey-dark);
    font-size: 14px;
    margin-bottom: var(--space-md);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.skills span {
    background: var(--grey-light);
    color: var(--black);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.looking-for {
    border-top: 1px solid var(--grey-medium);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    font-size: 14px;
    color: var(--orange);
    font-weight: 600;
}

/* FAQ */
.faq {
    background: var(--grey-light);
    padding: var(--space-2xl) 0;
}

.faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.faq__item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 8px;
    border-left: 3px solid var(--blue);
}

.faq__item h3 {
    font-size: 16px;
    margin-bottom: var(--space-sm);
}

.faq__item p {
    font-size: 14px;
    color: var(--grey-dark);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
    color: var(--white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: var(--space-lg);
}

.cta-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form .form-input {
    min-width: 250px;
}

/* FOOTER */
.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer p {
    margin-bottom: var(--space-sm);
}

.footer a {
    color: var(--orange);
    text-decoration: none;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .hero__content h1 {
        font-size: 36px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__form {
        flex-direction: column;
    }

    .form-input {
        width: 100%;
    }

    .profit-comparison {
        grid-template-columns: 1fr;
    }

    .profit-divider {
        display: none;
    }
}

/* ACCESSIBILITY */
a:focus, button:focus, input:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
