/* =========================================
   CSS Reset & Base Variables
========================================= */
/* =========================================
   CSS Reset & Base Variables (Updated for NovaSign)
========================================= */
:root {
    /* Brand Colors extracted from logo */
    --brand-blue: #0455A5;
    --brand-green: #27A15B;
    --brand-orange: #F15A24;
    --brand-cyan: #00A7E1;

    /* Functional UI Colors */
    --primary-color: var(--brand-blue); 
    --primary-hover: #034182; /* Slightly darker blue for hover states */
    
    --secondary-color: #1a1a1a; /* Dark gray for deep text/headings */
    --accent-color: var(--brand-orange); /* Use for high-conversion buttons */
    --accent-hover: #D94D1D;
    
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #f4f7f6; /* Added a tiny hint of cool tone to the light background */
    --bg-dark: #121212;
    --border-color: #e0e0e0;
    
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Utility Classes
========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: #ffffff; }
.pb-half { padding-bottom: 40px; }
.pt-half { padding-top: 40px; }

/* Placeholders for dummy media elements */
.dummy-media {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
    border: 2px dashed #ccc;
    border-radius: 8px;
    min-height: 300px;
    width: 100%;
}
/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* =========================================
   Header Styling
========================================= */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* =========================================
   Hero Section Styling
========================================= */
.hero-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-media {
    flex: 1;
    width: 100%;
}

.hero-dummy {
    height: 500px; /* Taller placeholder for the hero section */
    background-color: #f1f3f5;
    border-color: #dee2e6;
    color: #adb5bd;
}

/* =========================================
   Mobile Responsiveness (Media Queries)
========================================= */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* We will add a mobile hamburger menu later in JS if needed */
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-dummy {
        height: 300px;
    }
}
/* =========================================
   Global Typography & Utilities
========================================= */
.text-center { 
    text-align: center; 
}

.section-header { 
    margin-bottom: 50px; 
}

.section-header h2 { 
    font-size: 2.5rem; 
    color: var(--secondary-color); 
    margin-bottom: 15px; 
    letter-spacing: -0.5px;
}

.section-header p { 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    max-width: 650px; 
    margin: 0 auto; 
}

/* =========================================
   Section 2: Social Proof
========================================= */
.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: 600;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.dummy-logo {
    width: 140px;
    height: 60px;
    background-color: #e9ecef;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px dashed #ced4da;
}

/* =========================================
   Section 3: Core Values
========================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.icon-placeholder {
    width: 75px; /* Slightly larger to give the gradient room to shine */
    height: 75px;
    
    /* The new gradient background matching your logo */
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 70%, var(--brand-orange) 100%);
    
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    
    /* Adjusts the size of the icon we are about to add */
    font-size: 1.8rem; 
    
    /* Adds a soft glowing shadow to make the circle pop off the card */
    box-shadow: 0 10px 20px rgba(39, 161, 91, 0.25); 
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* =========================================
   Mobile Responsiveness (Media Queries)
========================================= */
@media (max-width: 768px) {
    .logo-grid { 
        gap: 20px; 
    }
    .dummy-logo { 
        width: 120px; 
        height: 50px; 
    }
    .section-header h2 { 
        font-size: 2rem; 
    }
    .value-card {
        padding: 30px 20px;
    }
}
/* =========================================
   Section 4: How It Works
========================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Adds a gradient line at the bottom that expands on hover */
.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-green), var(--brand-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 8px 8px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-number {
    width: 60px; /* Slightly larger to make the numbers pop */
    height: 60px;
    
    /* Applying the NovaSign Brand Gradient */
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 70%, var(--brand-orange) 100%);
    
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Adjust margin to account for the slightly larger size */
    margin: -50px auto 20px; 
    
    /* Keeps the cutout look against the background */
    border: 5px solid var(--bg-light); 
    
    /* Adds a soft glowing shadow */
    box-shadow: 0 8px 15px rgba(39, 161, 91, 0.2);
}

.step-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Section 5: Feature Deep-Dive
========================================= */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 35px; /* Added a bit more space for the new icon */
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Custom FontAwesome Checkmark */
.feature-list li::before {
    content: "\f058"; /* This is the code for a solid circle checkmark in FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
    color: var(--brand-green); /* Uses your bright brand green */
}

.feature-media {
    flex: 1;
    width: 100%;
}

.feature-dummy {
    min-height: 400px;
    border-radius: 12px;
}

/* Alternating Row Layout */
.reverse-row {
    flex-direction: row-reverse;
}

/* =========================================
   Mobile Responsiveness (Media Queries)
========================================= */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr; /* Stack steps on tablet/mobile */
        gap: 60px;
        margin-top: 40px;
    }
    
    .feature-row, .reverse-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-bottom: 60px;
    }

    .feature-list li {
        text-align: left;
        display: inline-block;
        width: 100%;
    }
    
    .feature-dummy {
        min-height: 300px;
    }
}
/* =========================================
   Section 6: Dashboard Showcase
========================================= */
.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.dashboard-media {
    width: 100%;
    max-width: 900px;
}

.dashboard-dummy {
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Adds a floating effect to the UI dummy */
    border: none;
    background-color: #e9ecef;
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.dash-feature-item {
    background: #ffffff;
    padding: 25px 25px 25px 30px; /* Shifted padding slightly right */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Creates the vertical gradient line on the left */
.dash-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-green));
}

.dash-feature-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}

.dash-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Section 7: Technical Specifications
========================================= */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Creates the horizontal gradient line on the top */
.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.spec-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.spec-card li strong {
    color: var(--secondary-color);
}

/* =========================================
   Mobile Responsiveness (Media Queries)
========================================= */
@media (max-width: 768px) {
    .dashboard-dummy {
        height: 250px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}
/* =========================================
   Section 8: Industry Applications
========================================= */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--brand-blue); /* Highlights the border on hover */
}

/* Replaces the old dummy images with a beautiful tinted icon block */
.industry-icon {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    
    /* A very soft version of your gradient for the background */
    background: linear-gradient(135deg, rgba(4,85,165,0.05) 0%, rgba(39,161,91,0.05) 100%);
    
    /* Applies the gradient to the FontAwesome icon itself */
    background-image: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-blue); /* Fallback */
    
    border-bottom: 1px solid var(--border-color);
}

.industry-card h4 {
    padding: 20px;
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin: 0;
}

/* =========================================
   Section 9: FAQ Accordion
========================================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-left: 4px solid var(--brand-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none; /* Hides default arrow in some browsers */
    position: relative;
}

/* Custom Accordion Arrow */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--brand-orange); /* Vibrant plus sign */
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--brand-blue); /* Changes to blue when open */
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   Section 10: Call to Action (Form)
========================================= */
.cta-section {
    padding: 80px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: #1a1a1a;
    padding: 60px;
    border-radius: 12px;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 500px;
}

.cta-form-wrapper {
    flex: 1;
    max-width: 450px;
    width: 100%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    display: block;
}

/* =========================================
   Footer
========================================= */
.site-footer {
    border-top: 1px solid #333;
    padding-top: 60px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #888;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    width: 100%;
    color: #666;
    font-size: 0.9rem;
}

/* =========================================
   Mobile Responsiveness (Media Queries)
========================================= */
@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .cta-text p {
        margin: 0 auto;
    }
}
/* =========================================
   Mobile Navigation Styling
========================================= */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Show the hamburger icon */
    .mobile-menu-toggle {
        display: block;
        order: 3; /* Puts it on the right side */
    }

    /* Hide the CTA button on mobile to save space, or adjust as needed */
    .header-cta {
        display: none; 
    }

    /* Style the mobile menu container */
    .main-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    /* When the .open class is added via JavaScript */
    .main-nav.open {
        max-height: 300px; /* Large enough to fit the links */
        padding: 20px 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
/* =========================================
   NovaSign Custom Gradient Effects
========================================= */

/* 1. Gradient Text (Matches the "Nova" to "Sign" color flow) */
.text-gradient {
    background: linear-gradient(to right, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block; /* Ensures the gradient doesn't stretch too far */
}

/* 2. Gradient Button (Pulls the vibrant colors from the logo icon) */
.btn-gradient {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 60%, var(--brand-orange) 100%);
    color: #ffffff;
    border: none;
    background-size: 200% auto;
    transition: all 0.4s ease;
}

.btn-gradient:hover {
    background-position: right center; /* Creates a smooth sweeping motion on hover */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 161, 91, 0.3); /* Soft green shadow */
}

/* 3. Gradient Accent Line (Great for section headers) */
.gradient-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.gradient-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--brand-cyan), var(--brand-blue), var(--brand-green), var(--brand-orange));
    border-radius: 2px;
}
/* =========================================
   Final Polish & Performance Tweaks
========================================= */

/* 1. Fix: Ensure sections don't hide under the sticky header when linked */
html {
    scroll-padding-top: 90px; /* Matches your header height */
}

/* 2. Better Form UX: Style for the Phone input and Focus states */
input[type="tel"], 
input[type="text"], 
input[type="email"] {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 4px rgba(4, 85, 165, 0.1);
}

/* 3. Image Handling: Ensure your hardware/dashboard photos look crisp */
.hero-media img, 
.feature-media img, 
.dashboard-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

/* 4. Accessibility: Hide the mobile menu toggle from screen readers when not needed */
.mobile-menu-toggle:focus {
    outline: 2px solid var(--brand-blue);
}

/* 5. Responsive Fix: Adjust CTA padding for small phones */
@media (max-width: 480px) {
    .cta-form-wrapper {
        padding: 20px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}