/*
VOX Studios V2 Stylesheet
Date: May 01 2025
Applying new creative brief: Deep Navy, Vibrant Purple, Soft Teal, Inter font
*/

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

/* === Color Variables === */
:root {
    --deep-navy-blue: #0A192F; /* Primary Background / Dark Text */
    --vibrant-purple: #6A11CB; /* Primary Accent */
    --soft-teal: #4DB6AC;      /* Secondary Accent / Links */
    --light-slate: #CCD6F6;    /* Light text on dark bg */
    --slate: #8892B0;          /* Medium text on dark bg */
    --white: #ffffff;
    --light-gray-bg: #f8f9fa;  /* Light background for sections */
    --medium-gray: #adb5bd;    /* Footer text */
    --dark-gray: #333333;      /* Body text on light bg */
    --border-color: #e0e0e0;   /* Light borders */
}

/* === Resets & Globals === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75em;
    color: var(--deep-navy-blue); /* Use navy for headings on light bg */
    line-height: 1.3;
    font-weight: 600; /* Slightly bolder headings */
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 1.2em;
}

a {
    color: var(--soft-teal); /* Use teal for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vibrant-purple); /* Purple on hover */
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents bottom space */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* === Header === */
header {
    background-color: var(--white);
    padding: 1em 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Needed for absolute positioning of mobile menu */
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width */
}

header .nav-links-container { /* Container for logo and main links */
    display: flex;
    align-items: center;
}

header .logo img.header-logo {
    height: 45px;
    vertical-align: middle;
    margin-right: 2em; /* Add space between logo and links */
}

header nav ul {
    display: flex;
    align-items: center; /* Align items vertically */
}

header nav ul li {
    margin-left: 2em;
}

header nav ul li a {
    color: var(--slate); /* Use slate for nav links */
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active { /* Style for active page */
    color: var(--vibrant-purple);
}

header .cta-button { /* Style for the Try Demo button */
    margin-left: 2em; /* Space it from the nav links */
    padding: 0.6em 1.2em; /* Slightly smaller padding */
    font-size: 0.95em;
    background-color: var(--soft-teal);
    color: var(--deep-navy-blue);
    border-color: var(--soft-teal);
}

header .cta-button:hover {
    background: rgba(77, 182, 172, 0.9);
    border-color: rgba(77, 182, 172, 0.9);
    color: var(--deep-navy-blue);
}

.hamburger {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--deep-navy-blue);
    font-size: 1.8em;
    cursor: pointer;
}   display: inline-block;
    background: var(--vibrant-purple);
    color: var(--white);
    padding: 0.8em 1.8em;
    border: 1px solid var(--vibrant-purple);
    border-radius: 6px; /* Slightly less rounded */
    cursor: pointer;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button:hover, button[type="submit"]:hover {
    background: rgba(106, 17, 203, 0.9); /* Slightly transparent purple */
    border-color: rgba(106, 17, 203, 0.9);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.button.primary-button {
    /* Already default */
}

.button.secondary-button {
    background: transparent;
    color: var(--soft-teal);
    border: 1px solid var(--soft-teal);
    box-shadow: none;
}

.button.secondary-button:hover {
    background: rgba(77, 182, 172, 0.1); /* Light teal background */
    color: var(--soft-teal);
    border-color: var(--soft-teal);
    box-shadow: none;
    transform: none;
}

.button.large-button {
    padding: 1em 2.2em;
    font-size: 1.1em;
}

/* === Hero Section === */
.hero {
    background-color: var(--deep-navy-blue);
    color: var(--light-slate);
    text-align: center;
    padding: 6em 1em 5em 1em;
    position: relative;
    overflow: hidden;
}

.hero h1, .hero h2 {
    color: var(--white);
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 0.3em;
    font-weight: 700;
}

.hero h2 {
    font-weight: 300;
    margin-bottom: 1em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
    color: var(--slate);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .button {
    margin: 0.5em;
}

.hero .button.primary-button {
    background: var(--soft-teal);
    border-color: var(--soft-teal);
    color: var(--deep-navy-blue);
}

.hero .button.primary-button:hover {
    background: rgba(77, 182, 172, 0.9);
    border-color: rgba(77, 182, 172, 0.9);
}

.hero .button.secondary-button {
    background: transparent;
    border-color: var(--soft-teal);
    color: var(--soft-teal);
}

.hero .button.secondary-button:hover {
    background: rgba(77, 182, 172, 0.1);
    border-color: var(--soft-teal);
    color: var(--soft-teal);
}

/* Placeholder graphic styling */
.hero-graphic-placeholder {
    background-color: rgba(204, 214, 246, 0.1); /* Light slate transparent */
    height: 250px;
    width: 85%;
    max-width: 600px;
    margin: 2em auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(136, 146, 176, 0.3); /* Slate transparent */
}

.hero-graphic-placeholder img {
    max-width: 80%;
    max-height: 80%;
    opacity: 0.7;
}

/* === Content Sections === */
section.content-section {
    padding: 4em 1em;
}

section.content-section:nth-of-type(even) {
    background-color: var(--light-gray-bg);
}

.major-heading { font-size: 2.5em; }
.medium-heading { font-size: 1.8em; }
.sub-heading { font-size: 1.2em; font-weight: 400; color: var(--slate); }

.text-center { text-align: center; }

/* Problem/Solution Section */
.problem-solution .container {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    align-items: center;
}

.problem-solution div {
    flex: 1;
    min-width: 300px;
}

.problem-solution img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Pillars/Advantages/Feature Cards */
.feature-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background-color: var(--white);
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(10, 25, 47, 0.1); /* Navy shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.15);
}

.feature-card .feature-icon {
    font-size: 2.5em; /* Adjust if using FontAwesome */
    margin-bottom: 1em;
    color: var(--soft-teal);
    height: 50px; /* Ensure consistent icon size if using img */
    width: 50px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card .feature-icon-large {
    font-size: 3em;
    margin-bottom: 0.8em;
    color: var(--soft-teal);
}

.feature-card .feature-icon-small {
    height: 30px;
    width: 30px;
    margin-bottom: 0.8em;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    margin-bottom: 0.5em;
    font-size: 1.3em;
    color: var(--deep-navy-blue);
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95em;
}

/* How It Works Overview */
.how-it-works-overview {
    text-align: center;
}

.how-it-works-overview img.responsive-image {
    margin: 1em auto;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.1);
}

/* Use Cases Section */
.use-cases .learn-more-link {
    font-size: 0.9em;
    font-weight: 500;
    color: var(--soft-teal);
    margin-top: 1em;
    display: inline-block;
}
.use-cases .learn-more-link:hover {
    color: var(--vibrant-purple);
}

/* Credibility/Trust Section */
.credibility {
    text-align: center;
}

.credibility p {
    color: var(--slate);
}

.credibility .compliance-icons span {
    display: inline-flex; /* Use flex for alignment */
    align-items: center;
    margin: 0 1em;
    color: var(--slate);
    font-size: 0.95em;
}

.credibility .compliance-icons i {
    margin-right: 0.5em;
    color: var(--soft-teal);
    font-size: 1.2em;
}

/* Lead Capture Footer */
.lead-capture-footer {
    background: var(--deep-navy-blue);
    color: var(--light-slate);
    padding: 4em 1em;
    text-align: center;
}

.lead-capture-footer h2 {
    color: var(--white);
}

.lead-capture-footer p {
    color: var(--slate);
}

.lead-capture-footer .button.primary-button {
    background: var(--soft-teal);
    border-color: var(--soft-teal);
    color: var(--deep-navy-blue);
}

.lead-capture-footer .button.primary-button:hover {
    background: rgba(77, 182, 172, 0.9);
    border-color: rgba(77, 182, 172, 0.9);
}

/* === Footer === */
footer {
    background-color: var(--deep-navy-blue);
    color: var(--medium-gray);
    padding: 3em 0 1.5em 0;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2em;
    margin-bottom: 2.5em;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col .footer-logo {
    height: 40px;
    margin-bottom: 1em;
}

.footer-col h4 {
    margin-bottom: 1em;
    color: var(--light-slate);
    font-size: 1.1em;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.6em;
}

.footer-col a {
    color: var(--medium-gray);
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(136, 146, 176, 0.3); /* Slate transparent border */
    padding-top: 1.5em;
    font-size: 0.9em;
    color: var(--slate);
}

.footer-bottom a {
    color: var(--medium-gray);
}

/* === Forms === */
.form-group {
    margin-bottom: 1.5em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: var(--dark-gray);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.9em 1em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    color: var(--dark-gray);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--soft-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Flash Messages */
#message {
    margin-top: 1em;
    padding: 1em 1.5em;
    border-radius: 6px;
    font-weight: 500;
}

.success {
    background-color: rgba(77, 182, 172, 0.1); /* Light teal */
    color: #2A6F68; /* Darker teal text */
    border: 1px solid rgba(77, 182, 172, 0.3);
}

.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* === Demo Pages === */
.demo-container {
    display: flex;
    gap: 2em;
    margin-top: 2em;
}

#interaction-area,
#context-area {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 1.5em;
    min-height: 350px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#interaction-area {
    overflow-y: auto;
    max-height: 450px;
}

.controls {
    margin-top: 1.5em;
    text-align: center;
}

.controls button {
    margin: 0 0.5em;
}

/* Placeholder styles for specific demo elements */
#property-details, #stock-chart, #order-status, #ticket-creation {
    margin-top: 1.5em;
    display: none; /* Initially hidden */
    padding: 1.5em;
    background-color: var(--light-gray-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* === Pricing Page === */
.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0; /* Remove padding, apply to inner elements */
    box-shadow: 0 5px 20px rgba(10, 25, 47, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For popular badge */
    overflow: hidden; /* Ensure badge stays within */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 25, 47, 0.12);
}

.pricing-header {
    padding: 2em;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.pricing-header h3 {
    color: var(--deep-navy-blue);
    margin-bottom: 0.3em;
}

.price {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--vibrant-purple);
    margin-bottom: 0.1em;
}

.price-unit {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--slate);
}

.price-desc {
    font-size: 0.9em;
    color: var(--slate);
    margin-bottom: 0;
}

.feature-list {
    padding: 2em;
    text-align: left;
}

.feature-list li {
    margin-bottom: 0.8em;
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: var(--dark-gray);
}

.feature-list i {
    color: var(--soft-teal);
    margin-right: 0.8em;
    font-size: 1.1em;
}

.pricing-footer {
    padding: 2em;
    background-color: var(--light-gray-bg);
    border-top: 1px solid var(--border-color);
}

.full-width-button {
    display: block;
    width: 100%;
    text-align: center;
}

.popular-plan {
    border: 2px solid var(--vibrant-purple);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--vibrant-purple);
    color: white;
    padding: 5px 30px;
    font-size: 0.8em;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: top right;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 1.5em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5em;
}

.faq-item h4 {
    margin-bottom: 0.5em;
    color: var(--deep-navy-blue);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--dark-gray);
}

/* === Responsive Design === */
@media (max-width: 992px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    .hero h1 { font-size: 3em; }
    .hero { padding: 5em 1em 4em 1em; }
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger on mobile */
        background: none;
        border: none;
        color: var(--deep-navy-blue); /* Match heading color */
        font-size: 1.8em;
        cursor: pointer;
    }

    header nav {
        flex-direction: row; /* Keep logo and hamburger on same line */
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none; /* Hide original nav links container */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1em 0;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    header nav ul {
        flex-direction: column;
        width: 90%; /* Use container width */
        margin: 0 auto; /* Center list */
        padding: 0;
    }

    header nav ul li {
        margin: 0.5em 0; /* Vertical spacing */
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        display: block;
        padding: 0.8em;
        border-radius: 5px;
        color: var(--dark-gray);
    }

    header nav ul li a:hover {
        background-color: var(--light-gray-bg);
        color: var(--vibrant-purple);
    }

    .nav-links .cta-button { /* Style CTA button within mobile menu */
        margin-top: 1em;
        width: auto; /* Allow button to size naturally */
        padding: 0.8em 1.8em;
    }

    .hero h1 { font-size: 2.5em; }
    .hero p { font-size: 1.1em; }
    .hero { padding: 4em 1em 3em 1em; }

    .footer-columns {
        flex-direction: column;
        gap: 1.5em;
    }

    .demo-container {
        flex-direction: column;
    }

    section.content-section {
        padding: 3em 1em;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    .hero h1 { font-size: 2.2em; }
    .hero p { font-size: 1em; }
    .button, button[type="submit"] {
        padding: 0.7em 1.5em;
        font-size: 0.95em;
    }
    section.content-section { padding: 2.5em 1em; }

    body {
        /* Removed extra body padding from previous version */
    }
    .container {
        width: 90%; /* Maintain consistent container width */
    }
}

/* === Utility Classes === */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Prevent Horizontal Scrolling === */
html, body {
    overflow-x: hidden;
    width: 100%;
}




/* === Header Logo Inversion === */
header .logo img.header-logo {
    filter: invert(1); /* Invert colors to make white logo dark */
}




/* === Fix for Hero Button Overlap on Mobile (Attempt 3) === */
@media (max-width: 500px) { /* Widen the breakpoint slightly */
    .hero .button,
    .hero .button.large-button { /* Apply to both general and large buttons in hero */
        display: block; /* Stack buttons vertically */
        width: 90%; /* Increase width slightly */
        max-width: 350px; /* Increase max width slightly */
        margin: 1em auto; /* Increase vertical spacing */
        padding: 0.8em 0.5em; /* More vertical, less horizontal padding */
        font-size: 0.9em; /* Further reduce font size */
        line-height: 1.5; /* Ensure sufficient line height */
        white-space: normal; /* Allow text wrapping */
        text-align: center; /* Ensure text is centered */
        height: auto; /* Allow button height to adjust to content */
        min-height: 48px; /* Ensure minimum touch target height */
    }
}




/* === Touch Target Size Optimization === */

/* Ensure minimum size for all buttons */
.button, button[type="submit"] {
    min-height: 44px; /* Minimum height */
    display: inline-flex; /* Use flex to center content vertically */
    align-items: center;
    justify-content: center;
    padding-top: 0.5em; /* Adjust padding slightly if needed */
    padding-bottom: 0.5em;
}

/* Increase padding for header links (desktop) */
header nav ul li a {
    padding: 0.5em 0.3em; /* Add some vertical and horizontal padding */
    display: inline-block; /* Ensure padding applies correctly */
}

/* Increase target size for footer links */
.footer-col ul li {
    /* Add padding to the list item containing the link */
    padding: 0.2em 0;
}
.footer-col ul li a {
    display: inline-block; /* Make link fill the padded area */
    min-height: 30px; /* Ensure a minimum clickable height */
}

/* Increase target size for learn more links */
.learn-more-link {
    padding: 0.3em 0.5em; /* Add padding */
    min-height: 30px; /* Ensure minimum height */
    display: inline-flex; /* Align text */
    align-items: center;
}

/* Ensure mobile nav links have enough padding (already good, but verify) */
@media (max-width: 768px) {
    header nav ul li a {
        padding: 0.8em; /* Keep existing mobile padding */
        min-height: 44px; /* Explicitly set min height */
        display: flex; /* Use flex for centering */
        align-items: center;
        justify-content: center;
    }
}

/* Ensure hamburger icon has enough space */
.hamburger {
    padding: 0.5em; /* Add padding around the icon */
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}




/* === Responsive Layout Improvements === */
@media (max-width: 768px) {
    /* Add bottom margin to feature cards when they stack */
    .feature-card {
        margin-bottom: 1.5em; /* Add space below each card */
    }
    .feature-card-container {
        gap: 1.5em; /* Slightly reduce gap between cards */
    }

    /* Adjust padding for better spacing */
    section.content-section {
        padding: 3em 1.5em; /* Slightly increase side padding */
    }

    /* Ensure problem/solution images don't get too large */
    .problem-solution img {
        max-width: 90%; /* Limit image width */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    section.content-section {
        padding: 2.5em 1em; /* Keep existing padding */
    }
    .container {
        width: 95%; /* Slightly increase container width for very small screens */
    }
}

