/* CSS Reset & Variables */
:root {
    --primary: #00BA6A; /* Vibrant Green from AcreFlow */
    --primary-dark: #009957;
    --dark: #0A0A0A;
    --light-bg: #F9FAFB;
    --text-main: #111827;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-padding {
    padding: 120px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar.scrolled .nav-links a, 
.navbar.scrolled .logo {
    color: var(--text-main);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1rem;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    background: url('./pexels-robert-clark-504241532-25748967.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.pill-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

.pill-badge a {
    color: var(--white);
    text-decoration: none;
    margin-left: 8px;
    font-weight: 600;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

/* Partner Logos Hero */
.partner-logos-hero p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.logo-grid-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
}

.logo-grid-hero img {
    height: 24px;
    filter: brightness(0) invert(1);
}

/* About Section */
.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.about-section h2 {
    max-width: 1000px;
    color: #333;
}

.text-highlight {
    color: var(--primary);
}

/* Solution Grid */
.bg-light { background: var(--light-bg); }

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.flex-header h2 { flex: 1; margin: 0; }
.flex-header p { flex: 1; margin: 0; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-icon {
    margin-bottom: 24px;
}

.text-link {
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}

.badge-small {
    background: #E5E7EB;
    color: #4B5563;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Metrics Section */
.section-header-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-item .number {
    font-size: 3.5rem;
    font-weight: 600;
}

.metric-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.metrics-image {
    width: 100%;
    height: 400px;
    margin-top: 80px;
    overflow: hidden;
    border-radius: 24px;
}

.metrics-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature Dashboard Previews */
.centered { text-align: center; justify-content: center; }

.feature-dashboards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.dash-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.dash-card h4 { margin-bottom: 10px; }
.dash-card p { font-size: 0.9rem; margin-bottom: 20px; }
.dash-card img { width: 100%; border-radius: 8px; }

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 80px;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-trigger {
    width: 100%;
    padding: 30px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 30px;
}

/* Footer */
.footer {
    background: #F3F4F6;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.footer-brand .logo { color: var(--dark); margin-bottom: 20px; }

.newsletter-form {
    display: flex;
    background: var(--white);
    padding: 6px;
    border-radius: 100px;
    width: 350px;
}

.newsletter-form input {
    border: none;
    background: none;
    padding: 10px 20px;
    flex: 1;
    outline: none;
}

.btn-circle {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 80px 0;
}

.link-col h6 { font-size: 1rem; margin-bottom: 24px; }
.link-col a { display: block; text-decoration: none; color: var(--text-muted); margin-bottom: 12px; font-size: 0.9rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bg-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .product-grid, .feature-dashboards { grid-template-columns: 1fr 1fr; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .faq-layout, .flex-header, .section-header-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hero { height: auto; padding: 160px 0 100px; }
    .product-grid, .feature-dashboards, .metrics-grid, .footer-links { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 40px; }
    .newsletter-form { width: 100%; }
}