/* Basic Reset & Body Styling */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    color: #1a1a1a;
    line-height: 1.2;
}

h4 {
    margin-bottom: 0.5em; /* Added for spacing under new H4s */
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

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

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #1a1a1a;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 5px;
}

header nav ul li a {
    font-weight: bold;
    font-size: 1.0em;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #007bff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}

header nav ul li a.active-nav-link {
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}

/* Main Content Area */
main {
    padding-bottom: 40px; /* Space before footer */
    flex: 1;
}

/* Hero Section (Home Page) */
#hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #eef; /* Existing light blue */
    border-radius: 8px;
    margin-bottom: 30px;
}

#hero h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    margin-top: 0;
}

#hero p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

#hero strong {
    color: #0056b3; /* Darker blue for emphasis */
}

#hero > .cta-button.secondary:last-of-type {
    margin-bottom: 0;
}

/* Value Proposition Section */
#value-prop {
    text-align: center;
    padding: 30px 20px;
    background-color: #f0f8ff; /* Light Alice Blue */
    border-radius: 8px;
    margin-bottom: 30px;
}

#value-prop h3 {
    color: #0056b3; /* Darker blue for emphasis */
    font-size: 1.8em;
    margin-bottom: 25px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    text-align: left;
}

.benefit-item {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.benefit-item h4 {
    color: #007bff;
    margin-top: 0;
    font-size: 1.25em;
}

.benefit-item p {
    font-size: 0.95em;
}

/* Features Section (Home Page) */
#features {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

#features h2 {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 0;
    font-size: 2em;
}

#features ul {
    list-style: none; /* Changed from disc for a cleaner look */
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 0;
}

#features li {
     margin-bottom: 12px;
     padding-left: 25px; /* Space for custom bullet */
     position: relative;
}

#features li::before { /* Custom bullet */
    content: '✓';
    color: #28a745; /* Green checkmark */
    position: absolute;
    left: 0;
    font-weight: bold;
}

#features li strong {
    color: #333;
}

/* Who Is It For Section */
#who-is-it-for {
    background-color: #e9ecef; /* Light grey */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#who-is-it-for h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
}

.user-role {
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.user-role:last-child {
    margin-bottom: 0;
}

.user-role h4 {
    color: #343a40; /* Dark grey */
    margin-top: 0;
    font-size: 1.4em;
}

/* Advanced Spotlight Section */
#advanced-spotlight {
    background-color: #fff;
    padding: 30px;
    border: 2px solid #007bff; /* More prominent border */
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#advanced-spotlight h2 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 15px;
}
#advanced-spotlight p {
    font-size: 1.1em;
    margin-bottom: 15px;
}
#advanced-spotlight ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: inline-block; /* Center the list */
    text-align: left; /* Align text within list items */
}
#advanced-spotlight ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
#advanced-spotlight ul li::before {
    content: '★'; /* Star icon */
    color: #ffc107; /* Amber/gold color */
    position: absolute;
    left: 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.05em; /* Slightly larger button text */
}

.cta-button:hover {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift on hover */
}

.cta-button.secondary {
    background-color: #6c757d;
}

.cta-button.secondary:hover {
    background-color: #5a6268;
}

/* Pricing Page Specific (existing styles - ensure they are correctly placed if this is the primary style.css) */
#pricing-options h2 { /* Target direct child p for the intro text */
    text-align: center;
    font-size: 2em; /* Increased font size */
}

#pricing-options > p { /* Target direct child p for the intro text */
    text-align: center;
    font-size: 1.15em; /* Slightly larger font size */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-option {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button down */
}

.pricing-option h3 {
    margin-top: 0;
    color: #007bff;
}

.pricing-option .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

.pricing-option .price span {
    display: block;
    font-size: 0.5em;
    font-weight: normal;
    color: #666;
}

.pricing-option ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1; /* Allows list to take up space */
}

.pricing-option ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-option ul li::before {
    content: '✓'; /* Checkmark */
    color: #28a745; /* Green color */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-option .purchase-button {
    margin-top: auto; /* Pushes button to the bottom */
}

.pricing-option > .cta-button.purchase-button:last-child {
    margin-bottom: 0; /* Corrected margin from 2 to 0 */
}

.pricing-note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    text-align: center; /* Added for consistency */
}

/* Download Page Specific (existing styles) */
#latest-version, #version-archive {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

#latest-version {
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#latest-version h2 {
    font-size: 2.0em;
    margin-top: 0;
    margin-bottom: 20px;
}

#version-archive {
    padding: 20px 30px; /* Adjusted padding */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

#version-archive h2 {
    font-size: 1.5em;
    color: #555;
    margin-top: 0;
    margin-bottom: 15px;
}

#version-archive p {
    font-size: 0.9em;
    color: #666;
}

.download-item h3 {
    margin-top: 0;
}

.download-item p {
    margin: 5px 0 15px 0;
    color: #555;
}

#latest-version .download-item > .cta-button {
    margin-bottom: 0;
}

#version-archive > .download-list {
    margin-bottom: 0;
}

.download-list {
    list-style: none;
    padding: 0;
}

.download-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#version-archive .download-list li {
    padding: 8px 0;
}

#version-archive .download-list li span {
    font-size: 0.9em;
    color: #555;
}

#version-archive .download-list li a {
    font-size: 0.9em;
    padding: 4px 8px;
}

.download-list li:last-child {
    border-bottom: none;
}

.download-list li span {
    color: #333;
}

.download-list li a {
    font-weight: bold;
    padding: 5px 10px;
}

/* Legal Pages Specific (existing styles) */
.legal-page h2 {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.legal-page h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}
.legal-page p, .legal-page ul {
    margin-bottom: 15px;
}
.legal-page strong { /* This might need adjustment based on usage context */
    /* display: inline; was present, might not be universally desired */
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #ccc;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

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

footer p {
    margin: 0;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

footer nav ul li {
    margin-left: 15px;
}

footer nav ul li a {
    color: #ccc;
}

footer nav ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Feature Comparison Table (existing styles) */
#feature-comparison {
    margin-top: 40px;
}

#feature-comparison h2 {
    text-align: center;
    margin-bottom: 20px;
}

#feature-comparison table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

#feature-comparison th,
#feature-comparison td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

#feature-comparison th {
    background-color: #f4f4f4;
    font-weight: bold;
}

#feature-comparison td:nth-child(2), /* Center align check/cross columns */
#feature-comparison td:nth-child(3) {
    text-align: center;
}

#feature-comparison tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

#feature-comparison tbody tr:hover {
    background-color: #f1f1f1;
}

#feature-comparison .check {
    color: #28a745; /* Green */
    font-weight: bold;
}

#feature-comparison .cross {
    color: #dc3545; /* Red */
    font-weight: bold;
}

/* Basic Responsive */
@media (max-width: 768px) {
    header .container, footer .container {
        flex-direction: column;
        text-align: center;
    }
    header nav ul {
        margin-top: 10px;
        flex-wrap: wrap; /* Allow nav items to wrap */
        justify-content: center; /* Center wrapped items */
    }
     footer nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header nav ul li {
        margin: 5px; /* Adjust margin for wrapped items */
    }
     footer nav ul li {
        margin: 5px 8px; /* Adjust margin for wrapped items */
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Stack benefit items */
    }
    .pricing-grid {
        grid-template-columns: 1fr; /* Stack pricing options */
    }
    .download-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .download-list li a {
        margin-top: 5px;
    }

    #hero h2 {
        font-size: 1.8em;
    }
    #value-prop h3, #features h2, #who-is-it-for h2, #advanced-spotlight h2 {
        font-size: 1.6em;
    }
}

/* Download Page Subtitle */
#page-subtitle {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px; /* Keep the bottom margin */
}

/* Header Trial Button Style */
header nav ul li a.cta-trial-header {
    background-color: #28a745; /* Green color for visibility */
    color: #ffffff !important; /* Ensure text is white and overrides other link colors */
    padding: 8px 15px; /* Consistent vertical padding with other nav links, more horizontal for button feel */
    border-radius: 5px; /* Consistent with other nav links */
    font-weight: bold; /* Consistent with other nav links */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
    text-decoration: none; /* Ensure no underline */
}

header nav ul li a.cta-trial-header:hover {
    background-color: #218838; /* Darker green on hover */
    color: #ffffff !important;
    text-decoration: none;
}

/* Optional: Add specific margin to the list item containing the trial button */
/* If the trial button is the last item, this can give it some space. */
/* header nav ul li.trial-button-item {
    margin-left: 10px; /* Adjust as needed */
/* } */

/* Ensure the trial button also adapts in mobile view */
@media (max-width: 768px) {
    header nav ul li a.cta-trial-header {
        display: inline-block; /* Make it behave like other buttons if nav items stack */
        margin-top: 5px; /* Add some space if it wraps to a new line */
        width: auto; /* Adjust width if necessary for stacked items */
        padding: 10px 15px; /* Slightly larger padding for easier tapping on mobile */
    }
}

/* Add these rules to wireplanpro-website/style/style.css */

/* Increase vertical space around the main content area */
main.container {
    padding-top: 20px;    /* Add more space above the main content */
    padding-bottom: 60px; /* Add more space below the main content */
}

/* Enhance spacing and appearance of the trial request form section */
#trial-request-form {
    background-color: #fff;         /* Optional: Set a white background if not already set */
    padding: 40px;                /* Increase padding inside the section */
    border-radius: 8px;           /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optional: Add a subtle shadow */
    margin-top: 20px;             /* Add space above the form section */
    margin-bottom: 40px;          /* Add space below the form section */
}

/* Increase spacing between form groups (label/input pairs) */
#trial-request-form .form-group {
    margin-bottom: 25px; /* More space between each form field */
}

/* Improve label spacing and appearance */
#trial-request-form label {
    display: block;      /* Ensure labels are on their own line */
    margin-bottom: 8px;  /* Add space between label and input */
    font-weight: bold;   /* Make labels stand out more */
}

/* Style text/email inputs for better visual spacing */
#trial-request-form input[type="text"],
#trial-request-form input[type="email"] {
    width: 100%;         /* Make inputs use the full width available */
    padding: 12px;       /* Increase padding inside the input fields */
    border: 1px solid #ccc; /* Standard border */
    border-radius: 4px;  /* Slightly rounded corners */
    box-sizing: border-box; /* Ensure padding doesn't expand the element size */
}

/* Adjust spacing for the checkbox and its label */
#trial-request-form .form-group input[type="checkbox"] {
    margin-right: 8px;      /* Space between checkbox and its label */
    vertical-align: middle; /* Align checkbox nicely with the text */
}

#trial-request-form .form-group label.inline-label {
    display: inline-block; /* Keep the checkbox label on the same line */
    margin-bottom: 0;      /* Remove default block label margin */
    font-weight: normal;   /* Use normal font weight for this label */
}

/* Add space above the submit button and adjust its style */
#trial-request-form button.cta-button {
    margin-top: 20px;    /* Add more space above the button */
    width: 100%;         /* Make the button full-width */
    padding: 15px;       /* Make the button larger */
    font-size: 1.1em;    /* Increase font size */
}

/* Add space above the form note */
#trial-request-form p.form-note {
    margin-top: 25px; /* Add space above the note */
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

/* Add space around the confirmation/error message area */
#form-message {
    margin-top: 30px;    /* Increase space above the message area */
    padding: 15px;       /* Add padding inside the message area */
    min-height: 2em;     /* Ensure it takes up some space even when empty */
}