@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary: #475569;
    --primary-light: #64748b;
    --primary-dark: #334155;
    --secondary: #059669;
    --secondary-light: #10b981;
    --secondary-dark: #047857;
    --accent: #34d399;
    --accent-light: #6ee7b7;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-gray-50: #f8fafc;
    --bg-gray-100: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

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

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.mobile-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s ease;
}

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

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

/* Add padding to body to account for fixed header */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
    padding: 200px 0 200px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.hero h1 {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.5);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section.gray {
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, #f0fdf4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section h3 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section .lead {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Solution Cards */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    border-radius: 12px 12px 0 0;
}

.card.problem::before {
    background: linear-gradient(135deg, #f87171, #dc2626);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-light);
}

.card.problem:hover {
    border-color: #f87171;
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-primary);
}

/* Workflow Section */
.workflow {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
    margin: 64px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.workflow-header {
    text-align: center;
    margin-bottom: 48px;
}

.workflow-flow {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.workflow-flow h4 {
    font-weight: 600;
    font-size: 18px;
}

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

.phase {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.phase:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.phase:nth-child(1):hover {
    border-color: #BEE0FB;
    box-shadow: 0 12px 25px rgba(190, 224, 251, 0.3);
}

.phase:nth-child(2):hover {
    border-color: #CAE7CC;
    box-shadow: 0 12px 25px rgba(202, 231, 204, 0.3);
}

.phase:nth-child(3):hover {
    border-color: #FFE2B6;
    box-shadow: 0 12px 25px rgba(255, 226, 182, 0.3);
}

.phase:nth-child(4):hover {
    border-color: #FFCFD4;
    box-shadow: 0 12px 25px rgba(255, 207, 212, 0.3);
}

.phase h4 {
    color: var(--secondary);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.phase ul {
    margin-left: 16px;
}

.phase li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.process-diagram {
    display: block;
    margin: auto;
}

/* Principles Section */
.principles {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.principles ul {
    margin-left: 24px;
    font-size: 18px;
}

.principles li {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.principles strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Benefits Grid - Updated for 5 cards on 2 lines */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-top: 64px;
}

/* First three cards take full width in their columns */
.benefits-grid .benefit:nth-child(1) {
    grid-column: 1 / 3;
}

.benefits-grid .benefit:nth-child(2) {
    grid-column: 3 / 5;
}

.benefits-grid .benefit:nth-child(3) {
    grid-column: 5 / 7;
}

/* Last two cards centered on the second row */
.benefits-grid .benefit:nth-child(4) {
    grid-column: 2 / 4;
}

.benefits-grid .benefit:nth-child(5) {
    grid-column: 4 / 6;
}

.benefit {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
    border-color: var(--secondary-light);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.benefit h4 {
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 20px;
}

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

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--bg-gray-50) 0%, #f0fdf4 100%);
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 20px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Dark Footer */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.footer-main h3 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-main p {
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--secondary-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid .benefit:nth-child(1),
    .benefits-grid .benefit:nth-child(2),
    .benefits-grid .benefit:nth-child(3),
    .benefits-grid .benefit:nth-child(4),
    .benefits-grid .benefit:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    body {
        padding-top: 64px;
    }

    .hero {
        padding: 60px 0 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero .tagline {
        font-size: 20px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 36px;
    }

    .section .lead {
        font-size: 18px;
    }

    .problem-solution {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .workflow {
        padding: 32px 24px;
    }

    .phases {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .benefits-grid .benefit:nth-child(4),
    .benefits-grid .benefit:nth-child(5) {
        grid-column: 1;
        margin: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo img {
        height: 28px;
    }

    .footer-logo-text {
        font-size: 18px;
    }
}