/* ============================================
   WORKPIIK Landing Page - Global Styles
   ============================================ */

/* Color Palette */


:root {
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #e0e0e0;
    --color-gray-dark: #666666;
    --color-green: #00b34f;
    --color-green-hover: #009940;
    --color-green-light: #f0fdf4;

    /* ✅ Added missing variables */
    --color-background: var(--color-white);
    --color-border: var(--color-gray-medium);
    --transition-duration: 0.3s;
    --border-radius-sm: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
}


/* Reset & Base Styles */
* {
    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(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
}


.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    text-decoration: none;
}


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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-green-hover);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-medium);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-black);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}

.nav-cta {
    flex-shrink: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 179, 79, 0.2);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-medium);
}

.btn-secondary:hover {
    background-color: var(--color-gray-light);
    border-color: var(--color-black);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 6rem 0;
    background-color: var(--color-white);
}

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

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* ============================================
   SECTIONS - GENERAL
   ============================================ */

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 3rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    background-color: var(--color-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background-color: var(--color-gray-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
}




/* Navigation */
.nav-links {
    display: none;
    list-style: none;
    margin: 0;
}

.nav-links li {
    display: inline-block;
    margin: 0 var(--space-md);
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Desktop CTA */
.nav-ctas {
    display: none;
    gap: var(--space-md);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-black); /* ✅ Use defined --color-black */
    border-radius: 10px;
    transition: all var(--transition-duration);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: var(--color-gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-medium);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-green);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    font-size: 0.95rem;
}

/* ============================================
   WHY WORKPIIK SECTION
   ============================================ */

.why-workpiik {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--color-green-light);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 179, 79, 0.15);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.95rem;
}

/* ============================================
   CALL TO ACTION SECTION
   ============================================ */

.cta {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-hero {
    background-color: var(--color-gray-light);
    padding: 4rem 0;
}

.about-hero-content {
    text-align: center;
}

.about-hero-content h1 {
    margin-bottom: 0.5rem;
}

.about-hero-content p {
    font-size: 1.25rem;
    color: var(--color-gray-dark);
}

.mission-section {
    background-color: var(--color-white);
}

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

.mission-content h2 {
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.problem-section {
    background-color: var(--color-gray-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-green);
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--color-green);
}

.values-section {
    background-color: var(--color-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--color-gray-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.different-section {
    background-color: var(--color-gray-light);
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.different-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.different-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.different-card h3 {
    color: var(--color-green);
    margin-bottom: 0.75rem;
}

.vision-section {
    background-color: var(--color-white);
    text-align: center;
}

.vision-section h2 {
    margin-bottom: 1.5rem;
}

.vision-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.about-cta {
    background-color: var(--color-green);
}

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

.about-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   DEMO PAGE STYLES
   ============================================ */

.demo-hero {
    background-color: var(--color-gray-light);
    padding: 4rem 0;
}

.demo-hero-content {
    text-align: center;
}

.demo-hero-content h1 {
    margin-bottom: 0.5rem;
}

.demo-hero-content p {
    font-size: 1.25rem;
    color: var(--color-gray-dark);
}

.flow-section {
    background-color: var(--color-white);
}

.flow-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 3rem;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.flow-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background-color: var(--color-gray-light);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.flow-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.flow-content h3 {
    margin-bottom: 0.75rem;
}

.flow-example {
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-green);
}

.flow-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-green);
    margin: -1rem 0;
}

.worker-flow {
    background-color: var(--color-gray-light);
}

.trust-section {
    background-color: var(--color-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-card {
    background-color: var(--color-green-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 179, 79, 0.15);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.trust-card h3 {
    margin-bottom: 0.75rem;
}

.faq-section {
    background-color: var(--color-gray-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-question {
    color: var(--color-black);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
}

.demo-cta {
    background-color: var(--color-green);
}

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

.demo-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header-content {
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 1rem;
        border-bottom: 1px solid var(--color-gray-medium);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 0.5rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta button {
        width: 100%;
    }

    section {
        padding: 2.5rem 0;
    }

    .steps-grid,
    .services-grid,
    .benefits-grid,
    .values-grid,
    .different-grid,
    .trust-grid,
    .faq-grid,
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons button {
        width: 100%;
    }

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

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .logo img {
        height: 30px;
    }

    .nav {
        width: 100%;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .step-card,
    .service-card,
    .benefit-card,
    .value-card,
    .different-card,
    .trust-card,
    .faq-item,
    .problem-card {
        padding: 1.5rem;
    }

    .flow-step {
        padding: 1.5rem;
    }

    .cta {
        padding: 2rem 0;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .hidemobilehandbuger {
        display: none;
    }  }

  /* Mobile Navigation */
.mobile-nav {
    display: none;
}

@media (max-width: 1023px) {
    .mobile-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-background);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 101;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-duration) ease-out, opacity var(--transition-duration) ease-out, visibility 0s linear var(--transition-duration);
    }

    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform var(--transition-duration) ease-out, opacity var(--transition-duration) ease-out, visibility 0s linear 0s;
    }

    .nav-links-mobile {
        list-style: none;
        margin: 0;
        padding: var(--space-md) 0;
    }

    .nav-links-mobile li {
        text-align: center;
        padding: var(--space-sm) var(--space-lg);
        border-bottom: 1px solid transparent;
    }

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

    .nav-links-mobile a {
        display: block;
        font-size: 1.1rem;
        color: var(--color-black);
        text-decoration: none;
        font-weight: 500;
    }

    .nav-links-mobile a:hover {
        color: var(--color-green);
    }

    .mobile-cta {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
        border-top: 1px solid var(--color-border);
    }

    .mobile-cta .btn {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.95rem;
        border-radius: var(--border-radius-sm);
    }

    /* Show hamburger on mobile */
    .menu-toggle {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
    .menu-toggle {
        display: none;
    }
}
/* Desktop */
@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
    }
    .nav-ctas {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
    .mobile-cta {
        display: none !important;
    }
}

/* Mobile button sizing for hero only */
@media (max-width: 767px) {
    .hero-ctas .btn-large {
        width: 100%;
        max-width: 280px;
    }
}

/* Prevent background scroll */
body.menu-open {
    overflow: hidden;
}