:root {
    /* Colors */
    --primary: #00898a;
    --primary-light: #00b4b6;
    --secondary: #2d3436;
    --text-dark: #1e272e;
    --text-muted: #636e72;
    --text-light: #f5f6fa;
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1e272e;

    /* Design Tokens */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius-lg: 20px;
    --radius-md: 15px;
    --container-width: 1200px;
    --section-padding: 100px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Shared Components: Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Shared Components: Lists */
.icon-list {
    list-style: none;
}

.icon-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.icon-list li i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Buttons */
.cta-button {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 137, 138, 0.3);
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 137, 138, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    display: block;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

header.scrolled .logo img {
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--secondary);
}

.nav-links a:hover,
header.scrolled .nav-links a:hover {
    color: var(--primary-light);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

header.scrolled .mobile-menu-toggle {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Challenges Section */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.challenge-card {
    color-scheme: card;
    /* Mental note: manually apply properties */
    text-align: left;
}

.challenge-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.challenge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.challenge-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.challenge-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #f8fcfc;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
}

/* Comparison Section */
section.comparison {
    padding: 0px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.comp-card {
    color-scheme: card;
    /* Manually applied below */
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.comp-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.comp-header h3 {
    font-size: 1.5rem;
}

.comp-card.highlight {
    border: 2px solid #2ecc71;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #2ecc71;
    color: white;
    padding: 5px 15px;
    border-radius: 0 18px 0 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.comp-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-price {
    font-size: 1.8rem;
    font-weight: 800;
}

.footer-price.internal {
    color: #e67e22;
}

.footer-price.lutech {
    color: #2ecc71;
}

/* How it Works */
.how-it-works {
    background: var(--bg-alt);
    padding: 120px 0;
}

.steps-wrapper {
    position: relative;
    padding: 20px 0;
}

.steps-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0f2f2;
    z-index: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px 35px 35px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number-badge {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 137, 138, 0.3);
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: #e0f2f2;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.step-icon-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaffee;
    color: #27ae60;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-pill i {
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits {
    background: #212c38;
    /* Darker theme from image */
}

.benefits .section-header h2 {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-card.horizontal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    transition: var(--transition);
}

.benefit-card.horizontal:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.benefit-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 137, 138, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon-box i {
    font-size: 1.25rem;
    color: var(--primary-light);
    margin-bottom: 0;
}

.benefit-content h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Automation Section */
.automation {
    background: var(--bg-light);
}

.automation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.automation-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.automation-icon-box {
    width: 60px;
    height: 60px;
    background: #e0f2f2;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.automation-icon-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.automation-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.automation-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Plans Section Redesign */
.plans {
    background: #f8fcfc;
    /* Lighter background for better integration */
    color: var(--text-dark);
}

.plan-platform-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.plan-platform-header {
    background: #f1fafa;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-platform-icon {
    width: 60px;
    height: 60px;
    background: #e0f2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-platform-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.plan-platform-info {
    flex-grow: 1;
}

.plan-platform-info h3 {
    font-size: 1.5rem;
    color: #2d3436;
}

.plan-platform-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-platform-body {
    padding: 40px;
}

.plan-platform-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-bottom: 40px;
}

.plan-platform-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.plan-platform-feature-item i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.plan-platform-feature-item p {
    font-size: 0.95rem;
    color: #4a4a4a;
}

.plan-platform-footer-box {
    background: #f1fafa;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-light);
}

.plan-platform-footer-box p {
    font-size: 0.95rem;
    color: #00898a;
    line-height: 1.5;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* Apply Shared Card Styles manually to avoid CSS bloat or lack of composes support */
.challenge-card,
.comp-card,
.benefit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.challenge-card:hover,
.comp-card:hover,
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.comp-list,
.footer-content .icon-list {
    list-style: none;
    line-height: 1.5rem;
}

.comp-list i {
    padding: 0px 10px 0px 0px;
}

.comp-list li,
.footer-content .icon-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 0.95rem;

}

/* Responsive Overrides */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .comparison-grid,
    .steps,
    .benefits-grid,
    .plans-grid,
    .plan-platform-card,
    .contact-container,
    .challenges-grid,
    .automation-grid {
        grid-template-columns: 1fr;
    }

    .steps-line {
        display: none;
    }

    .step-card {
        padding: 40px 25px 25px;
    }

    .challenges-grid,
    .automation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comp-card.highlight {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-logo {
        grid-column: span 2;
    }
}

@media (max-width: 865px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 50px;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--secondary) !important;
    }

    nav .cta-button {
        display: none;
    }

    .hero {
        text-align: center;
        height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .plan-platform-header {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .plan-platform-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .plan-platform-cta {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .automation-grid {
        grid-template-columns: 1fr !important;
    }

}