/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --background-color: #0a192f; /* Changed from #0a0a0a */
    --surface-color: #172a46;    /* Changed from #1a1a1a */
    --text-color: #f0f2f5;
    --text-muted: #adb5bd;
    --border-color: #303c55;    /* Changed from #343a40 */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Source Code Pro', monospace;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); color: #fff; }
.btn-secondary { background-color: transparent; color: var(--text-color); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--surface-color); border-color: var(--text-muted); }

/* --- Header --- */
.main-header { padding: 1.5rem 0; border-bottom: 1px solid var(--border-color); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-color); text-decoration: none; }
.main-nav a { margin: 0 1rem; color: var(--text-muted); font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--text-color); }

/* --- Hero Section --- */
.hero { padding: 6rem 0; }
.hero h1 { max-width: 800px; margin: 0 auto 1.5rem; }
.hero .subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }

/* --- Suite Section --- */
.suite-section { padding: 5rem 0; }
.suite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.tool-card { background-color: var(--surface-color); padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); transition: transform 0.2s ease; }
.tool-card:hover { transform: translateY(-5px); }
.tool-card h3 { margin-top: 0; }
.tool-card .tool-tagline { font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; }
.tool-card .learn-more { font-weight: 600; margin-top: 1.5rem; display: inline-block; text-decoration: none; color: var(--primary-color); }

/* --- Installation Section --- */
.installation-section { padding: 5rem 0; background-color: var(--surface-color); }
.code-block-container { max-width: 800px; margin: 2rem auto 0; background-color: #0D1117; border-radius: 8px; padding: 1.5rem; border: 1px solid var(--border-color); } /* Changed from #000 */
pre { margin: 0; }
code.language-bash { font-family: var(--font-mono); font-size: 0.9rem; color: #dcdfe4; white-space: pre-wrap; }

/* --- Footer --- */
.main-footer { padding: 2rem 0; text-align: center; color: var(--text-muted); border-top: 1px solid var(--border-color); margin-top: 4rem; }

/* --- NEW STYLES FOR PRODUCT PAGES --- */
.demo-section {
    padding: 2rem 0 5rem;
}

.terminal-demo {
    background-color: #0D1117;
    border: 1px solid #30363d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.terminal-demo code {
    color: #c9d1d9;
}

.features-table-section {
    padding: 5rem 0;
}

.features-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.features-table th, .features-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.features-table thead {
    background-color: var(--background-color); /* Changed from #000 */
}

.features-table th {
    font-size: 1.1rem;
    font-weight: 600;
}

.features-table td {
    color: var(--text-muted);
}

.features-table td:first-child {
    color: var(--text-color);
    font-weight: 600;
}

.features-table td.check, .features-table td.cross {
    text-align: center;
    font-size: 1.5rem;
}

.features-table td.check {
    color: #28a745;
}

.features-table td.cross {
    color: #dc3545;
}

.features-table tbody tr:last-child td {
    border-bottom: none;
}

/* Add these styles to your main style.css file */

/* Style for the separator row in the features table */
.features-table td.tool-separator {
    background-color: var(--background-color); /* Changed from #000 */
    font-weight: 600;
    color: var(--text-color);
    padding-left: 1rem;
    font-size: 1.1rem;
}

/* Centered CTA block below the pricing table */
.pricing-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--surface-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.pricing-cta h3 {
    margin-top: 0;
    font-size: 2rem;
}

.pricing-cta .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 2rem;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0 0 1.5rem 0;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

/* --- Dropdown Nav --- */
.dropdown {
    position: relative;
    display: inline-block;
    /* This padding creates an invisible "bridge" for the cursor */
    /* so the menu stays open as you move towards it. */
    padding-bottom: 0.5rem;
}

.dropdown-toggle {
    /* Styles to match other nav links */
    margin: 0 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer; /* To show it's interactive */
    padding: 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.dropdown-toggle:hover {
    color: var(--text-color);
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position it right below the toggle */
    right: 0; /* Align to the right */
    background-color: var(--surface-color);
    min-width: 160px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    /* REMOVED: margin-top: 0.5rem; */
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown-menu a {
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block; /* Make the whole area clickable */
    text-align: left;
    margin: 0; /* Override the default nav link margin */
    font-weight: 600;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05); /* A slight hover effect */
    color: var(--text-color);
}

/* This is a pure CSS hover-based dropdown */
.dropdown:hover .dropdown-menu {
    display: block; /* Show on hover */
}
/* --- NEW HOMEPAGE SECTIONS --- */

/* --- Workflow Section --- */
.workflow-section {
    padding: 5rem 0;
}

.workflow-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Alternating layout for every even-numbered step */
.workflow-step:nth-child(even) {
    flex-direction: row-reverse;
}

.workflow-content {
    flex-basis: 50%;
}

.workflow-content h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.workflow-demo {
    flex-basis: 50%;
    background-color: #0D1117; /* Same as terminal demo */
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.workflow-demo pre {
    margin: 0;
}

/* --- Featured Solution Section --- */
.featured-solution-section {
    padding: 5rem 0;
    background-color: var(--surface-color);
    margin-top: 5rem; /* Adds space above this colored section */
}

.solution-card {
    background-color: var(--background-color); /* Changed from #0a0a0a */
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.2);
}

.solution-card h3 {
    margin-top: 0;
    font-size: 2rem;
}

.solution-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2rem;
}


/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 900px) {
    .workflow-step, .workflow-step:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Removes the underline from the "Get Pro License" button in the header */
.main-header .btn-primary {
    text-decoration: none;
}