/* 
   WorkPally Theme
   ----------------
   Crystal Clean White Theme
   Primary: #FF6600 (Orange - Inferred from Logo)
   Secondary: #2D3748 (Dark Slate)
   Background: #FFFFFF
   Surface: #F7FAFC
*/

:root {
    --primary-color: #ff7f50;
    /* Coral/Orange */
    --primary-dark: #e65c2e;
    --secondary-color: #2d3748;
    --accent-color: #4facfe;
    /* Light Blue for contrast/tech feel */
    --text-color: #4a5568;
    --heading-color: #1a202c;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #48bb78;

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary-dark {
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary-dark:hover {
    background-color: #3b8dd6;
    border-color: #3b8dd6;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fff5f2 0%, #fff 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Features */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--success-color);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-placeholder {
    width: 100%;
    height: 300px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 5rem;
    box-shadow: var(--shadow-md);
}

/* Pricing Section */
.pricing {
    background: white;
}

.pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    /* Changed from wrap to nowrap */
    overflow-x: auto;
    /* Enable horizontal scrolling */
    justify-content: flex-start;
    /* Align start */
    gap: 20px;
    padding-bottom: 20px;
    /* Space for scrollbar */
    padding-top: 20px;
    /* Space for hover effects */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on mobile */
    scrollbar-width: thin;
    /* Firefox scrollbar */
}

/* Optional: Custom scrollbar styling for Webkit */
.pricing-grid::-webkit-scrollbar {
    height: 8px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.pricing-card {
    flex: 0 0 auto;
    /* Don't grow, don't shrink, auto basis */
    width: 280px;
    /* Fixed width to ensure consistency */
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 400;
}

.features-list {
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list li i {
    color: var(--success-color);
    margin-top: 4px;
}

/* CTA */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-container h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-container p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #cbd5e0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #a0aec0;
}

.footer ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {

    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 40px 0;
        box-shadow: var(--shadow-md);
        transition: right 0.3s ease;
    }

    .nav-list.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}