/* AI Partner Pro - style.css */

/* Basic Reset & Global Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-font: 'Roboto', sans-serif;
    --heading-font: 'Open Sans', sans-serif;
    
    --bg-dark: #181a1d; /* Even darker base */
    --bg-dark-section: #1f2327; /* For alternating sections */
    --bg-card: #2a2f34; /* For cards like features, pricing */
    
    --text-light: #e0e6f0; /* Slightly bluish white */
    --text-muted: #a0a8b4; /* Muted gray */
    --text-dark: #181a1d;

    --accent-color: #3498db; /* Tech blue */
    --accent-hover: #2980b9; /* Darker blue */
    --accent-secondary: #e67e22; /* Orange for contrast, use sparingly */

    --border-color: #3a4148;
    --container-width: 1140px;
    --navbar-height: 70px;
    --border-radius: 8px;
    --shadow-light: rgba(255, 255, 255, 0.05);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--primary-font);
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 1.5rem; } /* Responsive heading */
h2.section-title { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}
p.subtitle, p.section-intro {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 80px 0;
}
.section-padding-dark {
    padding: 80px 0;
    background-color: var(--bg-dark-section);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--heading-font);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--accent-color), 0.4);
}
.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}
.btn-lg {
    padding: 1.1rem 2.8rem;
    font-size: 1.15rem;
}
.btn-block { display: block; width: 100%; }

/* Navbar */
.navbar {
    background-color: rgba(24, 26, 29, 0.85); /* Semi-transparent dark */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 1rem;
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(31, 35, 39, 0.95); /* Slightly more opaque on scroll */
    box-shadow: 0 2px 10px var(--shadow-dark);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}
.logo:hover { color: var(--text-light); }

.nav-links ul { list-style: none; display: flex; }
.nav-links ul li { margin-left: 30px; }
.nav-links ul li a {
    color: var(--text-muted);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    font-size: 0.95rem;
}
.nav-links ul li a:hover, .nav-links ul li a.active-link { color: var(--text-light); }
.nav-links ul li a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background-color: var(--accent-color); transition: width 0.3s ease;
}
.nav-links ul li a:hover::after, .nav-links ul li a.active-link::after { width: 100%; }
.nav-cta { margin-left: 30px; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none; background: none; border: none; color: var(--text-light);
    font-size: 1.8rem; cursor: pointer; z-index: 1001; padding: 10px;
}
.hamburger-icon {
    display: block; width: 25px; height: 2px; background-color: var(--text-light);
    position: relative; transition: all 0.3s ease;
}
.hamburger-icon::before, .hamburger-icon::after {
    content: ''; position: absolute; width: 25px; height: 2px;
    background-color: var(--text-light); left: 0; transition: all 0.3s ease;
}
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { bottom: -7px; }
.mobile-menu-toggle.active .hamburger-icon { background-color: transparent; }
.mobile-menu-toggle.active .hamburger-icon::before { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-icon::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero Section */
.hero-section {
    padding-top: calc(var(--navbar-height) + 80px);
    padding-bottom: 80px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #232b31 100%);
    overflow: hidden; /* For animations */
}
.hero-content h1 { color: #fff; }
.hero-image-placeholder { margin-top: 3rem; }
.hero-image-placeholder img {
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px var(--shadow-dark);
    max-width: 700px; /* Control image size */
    width: 100%;
}

/* Value Proposition */
.value-prop-section .value-columns {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; margin-top: 3rem;
}
.value-prop-section .value-column {
    background-color: var(--bg-card); padding: 30px; border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.value-prop-section .value-icon {
    color: var(--accent-color); margin-bottom: 1rem;
    width: 50px; height: 50px;
}
.value-prop-section .value-column h3 { color: var(--text-light); }

/* How It Works */
.how-it-works-section .steps-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px; margin-top: 3rem; margin-bottom: 3rem; text-align: center;
}
.how-it-works-section .step-item {
    background-color: var(--bg-card); padding: 30px 25px; border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.how-it-works-section .step-number {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; line-height: 45px; border-radius: 50%;
    background-color: var(--accent-color); color: white; font-weight: 700;
    font-size: 1.3rem; margin: 0 auto 1.5rem auto;
}
.how-it-works-section .step-icon { color: var(--accent-color); margin-bottom: 1rem; }
.how-it-works-section .step-item h3 { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--text-light); }
.how-it-works-visual-placeholder img {
    border-radius: var(--border-radius); margin-top: 2rem;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

/* Features Section */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 3rem;
}
.feature-item {
    background-color: var(--bg-card); padding: 30px; border-radius: var(--border-radius);
    border: 1px solid var(--border-color); text-align: left;
}
.feature-item .feature-icon { color: var(--accent-color); margin-bottom: 1rem; }
.feature-item h3 { color: var(--text-light); }
.feature-item .benefit {
    font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; font-style: italic;
}
.feature-item .benefit strong { color: var(--text-light); font-style: normal;}

/* Use Cases Section */
.use-cases-section .use-cases-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px; margin-top: 3rem;
}
.use-cases-section .use-case-item {
    background-color: var(--bg-card); padding: 30px 25px; border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.use-cases-section .use-case-icon { color: var(--accent-color); margin-bottom: 1rem; }
.use-cases-section .use-case-item h3 { color: var(--text-light); }

/* Pricing Section */
.pricing-plan-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}
.pricing-plan {
    background-color: var(--bg-card); padding: 35px; border-radius: var(--border-radius);
    border: 1px solid var(--border-color); flex: 1; min-width: 300px; max-width: 380px;
    text-align: center; display: flex; flex-direction: column;
}
.pricing-plan.main-plan {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(var(--accent-color), 0.15);
    transform: scale(1.02); /* Slightly larger */
}
.pricing-plan .price-tag {
    background-color: var(--accent-secondary); color: white; font-size: 0.8rem;
    padding: 5px 10px; border-radius: 15px; display: inline-block; margin-bottom: 1rem;
    font-weight: 700; text-transform: uppercase;
}
.pricing-plan.main-plan .price-tag { background-color: var(--accent-color); }

.pricing-plan h3 { font-size: 1.8rem; color: var(--text-light); }
.pricing-plan .price {
    font-size: 2rem; font-weight: 700; color: var(--accent-color); margin: 1rem 0 1.5rem 0;
}
.pricing-plan .price span { font-size: 3.5rem; }
.pricing-plan .price small { font-size: 1rem; color: var(--text-muted); }
.pricing-plan .features-list {
    list-style: none; padding: 0; margin: 1.5rem 0; text-align: left;
    flex-grow: 1; /* Pushes button to bottom */
}
.pricing-plan .features-list li {
    margin-bottom: 0.8rem; display: flex; align-items: flex-start;
}
.pricing-plan .features-list .check-icon {
    color: var(--accent-color); margin-right: 10px; flex-shrink: 0; margin-top: 4px;
    width: 18px; height: 18px;
}
.pricing-plan .btn { margin-top: auto; /* Pushes button to bottom */ }
.appsumo-link, .lifetime-deal-link { margin-top: 1rem; font-size: 0.9rem; }
.pricing-note { text-align: center; margin-top: 2.5rem; font-size: 0.9rem; color: var(--text-muted); }

/* FAQ Section */
.faq-grid { max-width: 800px; margin: 3rem auto 0 auto; }
.faq-item {
    background-color: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    background: none; border: none; width: 100%; text-align: left;
    padding: 20px; font-family: var(--heading-font); font-size: 1.15rem;
    font-weight: 600; color: var(--text-light); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { background-color: rgba(var(--accent-color), 0.05); }
.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-color);
    width: 20px; height: 20px;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
}
.faq-answer p { margin-bottom: 0; padding-bottom: 20px; color: var(--text-muted); }
.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 300px; /* Adjust if answers are longer */
    padding-top: 0; padding-bottom: 20px; /* Match question padding */
}


/* Final CTA Section */
.final-cta-section { text-align: center; }
.final-cta-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.final-cta-section p { margin-bottom: 2.5rem; }

/* Footer */
.footer-section {
    background-color: var(--bg-dark-section); color: var(--text-muted);
    padding: 40px 0; text-align: center; border-top: 1px solid var(--border-color);
}
.footer-links a { color: var(--text-muted); margin: 0 12px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-color); }
.footer-section p { margin-top: 1.5rem; font-size: 0.9rem; line-height: 1.5; }

/* Animation Placeholders - simple fade-in on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
    .value-prop-section .value-columns,
    .how-it-works-section .steps-container,
    .features-grid,
    .use-cases-section .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; } /* Slightly smaller base on mobile */
    .section-padding, .section-padding-dark { padding: 60px 0; }
    .nav-links {
        display: none; position: absolute; top: var(--navbar-height); left: 0;
        width: 100%; background-color: var(--bg-card);
        flex-direction: column; padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 5px 10px var(--shadow-dark);
    }
    .nav-links.active { display: flex; }
    .nav-links ul { flex-direction: column; width: 100%; }
    .nav-links ul li { margin: 0; text-align: center; }
    .nav-links ul li a {
        display: block; padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }
    .nav-links ul li:last-child a { border-bottom: none; }
    .nav-links ul li a::after { display: none; }
    .mobile-menu-toggle { display: block; }
    .nav-cta { display: none; } /* Hide desktop CTA, rely on Hero CTA or menu items */

    .pricing-plan-container { flex-direction: column; align-items: center; }
    .pricing-plan { max-width: 90%; margin-bottom: 30px;}
    .pricing-plan.main-plan { transform: scale(1); } /* Remove scale on mobile for main plan */
}