/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Space Grotesk', sans-serif; /* Primary content font */
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-bg-primary);
    overflow-x: hidden; /* Prevent horizontal scroll from dynamic elements */
    -webkit-font-smoothing: antialiased;
    -moz-osx-smoothing: grayscale;
    font-size: 16px; /* Base font size */
}
:root {
    /* Dark Mode Theme Variables */
    --color-bg-primary: #0A0A10; /* Deep dark blue-black */
    --color-bg-secondary: #121218;
    --color-text-light: #E0E0E0; /* Off-white for readability */
    --color-text-muted: #A0A0A0; /* Lighter grey for secondary text */
    
    /* Neon / Sci-Fi Accents */
    --color-accent-blue: #00FFFF; /* Cyan */
    --color-accent-purple: #8A2BE2; /* Blue Violet */
    --color-accent-gradient: linear-gradient(90deg, var(--color-accent-blue) 0%, var(--color-accent-purple) 100%);
    --color-accent-gradient-hover: linear-gradient(90deg, #33FFFF 0%, #9933FF 100%);
    
    /* Shadows & Glows */
    --shadow-light: 0 0 15px rgba(0, 255, 255, 0.3), 0 0 30px rgba(138, 43, 226, 0.2);
    --shadow-strong: 0 0 25px rgba(0, 255, 255, 0.5), 0 0 50px rgba(138, 43, 226, 0.4);
    
    /* Spacing */
    --section-padding: 80px 5vw; 
    --container-width: 1200px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif; /* Heading font */
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: 0.5em;
}
h1 { font-size: 3.5rem; font-weight: 700; } 
h2 { font-size: 2.8rem; font-weight: 600; } 
h3 { font-size: 1.8rem; font-weight: 500; } 
p {
    font-size: 1.1rem; 
    color: var(--color-text-muted);
    margin-bottom: 1em;
}
a {
    color: var(--color-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-accent-purple);
}

/* --- Utility Classes --- */
.section-title {
    text-align: center;
    margin-bottom: 60px; 
    font-size: 2.5rem; 
    letter-spacing: 0.05em;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--shadow-light);
}

/* --- Buttons --- */
.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px; 
    border-radius: 8px; 
    font-weight: 600;
    font-size: 1.1rem; 
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.cta-primary {
    background: var(--color-accent-gradient);
    color: #fff;
    box-shadow: var(--shadow-light);
}
.cta-primary:hover {
    background: var(--color-accent-gradient-hover);
    box-shadow: var(--shadow-strong);
    transform: translateY(-3px) scale(1.02); 
}
.cta-secondary {
    background: transparent;
    color: var(--color-accent-blue);
    border: 1px solid var(--color-accent-blue);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
}
.cta-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--color-accent-purple);
    color: var(--color-accent-purple);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.02);
}
.arrow-icon {
    margin-left: 10px; 
    font-size: 1em; 
    transition: transform 0.3s ease;
}
.cta-primary:hover .arrow-icon, .cta-secondary:hover .arrow-icon {
    transform: translateX(5px); 
}
.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent-blue);
    font-weight: 500;
    margin-top: 15px; 
    font-size: 1rem; 
}
.learn-more:hover {
    color: var(--color-accent-purple);
}

/* --- Background Effects Container --- */
#background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.05) 0%, rgba(0, 0, 0, 0.0) 70%); 
}
/* --- Keyframes (omitted for brevity) --- */


/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5vw;
    z-index: 100;
    background: rgba(10, 10, 16, 0.9); 
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem; 
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
}
.logo-icon {
    width: 28px; 
    height: 28px;
    margin-right: 8px;
}
.nav-links a:not(.cta-button) {
    margin-left: 30px; 
    font-size: 1rem;
    color: var(--color-text-muted);
}
.nav-links a:not(.cta-button):hover {
    color: var(--color-accent-blue);
}
.nav-links .cta-button {
    margin-left: 30px;
    padding: 10px 20px; 
    font-size: 1rem;
    text-transform: none;
}
.mobile-menu-toggle { display: none; }

/* --- Main Content Layout --- */
main {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
section {
    padding: var(--section-padding);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 85vh; 
    padding-top: 120px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    /* FIX: Prevents elements within the hero from forcing horizontal scroll */
    max-width: 100%; 
    overflow: hidden; 
}
.hero-content {
    max-width: 50%;
}
.hero-content h1 {
    margin-bottom: 20px; 
    line-height: 1.1;
}
.hero-content p {
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}
.cta-group {
    display: flex;
    gap: 20px; 
}
.hero-visual {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Ensure children are contained relative to this box */
    /* Add a small right margin on larger screens to prevent bleed */
    margin-right: -20px; 
}
.hero-svg {
    width: 100%;
    height: auto;
    max-width: 450px; 
    animation: pulseGlow 1.5s infinite alternate;
}
@keyframes pulseGlow {
    from { filter: drop-shadow(0 0 5px var(--color-accent-blue)); }
    to { filter: drop-shadow(0 0 20px var(--color-accent-blue)); }
}

/* --- Feature Section --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}
.feature-card {
    background: var(--color-bg-secondary);
    padding: 30px; 
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 255, 255, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
    border-color: var(--color-accent-blue);
}
.feature-card:hover::before {
    opacity: 1;
}
.icon-placeholder {
    width: 50px; 
    height: 50px;
    margin-bottom: 15px;
    background: var(--color-bg-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.feature-icon {
    width: 30px; 
    height: 30px;
}
.feature-card h3 {
    color: var(--color-accent-blue);
}
.feature-card p {
    font-size: 1rem; 
}

/* --- Solution Section --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Reduced gap */
    text-align: center;
}
.solution-item {
    padding: 15px; /* Reduced padding */
    border-radius: 8px; /* Reduced radius */
    background: rgba(138, 43, 226, 0.08); 
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.solution-item:hover {
    transform: translateY(-3px); /* Reduced lift */
    border-color: var(--color-accent-purple);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}
.solution-icon {
    /* STYLED FOR SVG ICON */
    margin-bottom: 8px; /* Reduced margin */
    display: flex;
    justify-content: center;
    align-items: center;
}
.solution-svg-icon {
    /* NEW STYLE FOR IMAGE */
    width: 40px; 
    height: 40px; 
    /* If the SVGs are single color, you can use CSS filters to match the theme: */
    filter: drop-shadow(0 0 5px rgba(138, 43, 226, 0.5));
}
.solution-item h3 {
    color: var(--color-accent-purple);
    font-size: 1.3rem; /* Reduced size */
}
.solution-item p {
    font-size: 0.9rem; /* Reduced size */
}


/* --- Testimonial Section --- */
.testimonial-carousel {
    display: flex;
    justify-content: center;
    gap: 30px; 
    flex-wrap: wrap;
}
.testimonial-card {
    background: var(--color-bg-secondary);
    padding: 30px; 
    border-radius: 10px;
    max-width: 350px; 
    border-left: 4px solid var(--color-accent-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}
.quote {
    font-style: italic;
    font-size: 1.1rem; 
    color: var(--color-text-light);
}
.author {
    margin-top: 15px;
    font-weight: 600;
    color: var(--color-accent-blue);
    font-size: 0.9rem;
}

/* --- Pricing Section --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px; 
    flex-wrap: wrap;
}
.pricing-card {
    background: var(--color-bg-secondary);
    padding: 35px; 
    border-radius: 10px;
    max-width: 320px; 
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.pricing-card:hover {
    border-color: var(--color-accent-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    transform: translateY(-5px);
}
.pricing-card h3 {
    font-size: 1.8rem; 
    margin-bottom: 10px; 
    color: var(--color-accent-blue);
}
.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem; 
    font-weight: 700;
    color: var(--color-accent-purple);
    margin: 10px 0 25px 0; 
}
.price span {
    font-size: 1rem; 
    font-weight: 400;
    color: var(--color-text-muted);
}
.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px; 
}
.pricing-card ul li {
    padding: 10px 0; 
    font-size: 1rem; 
    color: var(--color-text-muted);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.featured-card {
    transform: scale(1.05);
    background: linear-gradient(145deg, var(--color-bg-secondary), rgba(138, 43, 226, 0.1));
    border-color: var(--color-accent-purple);
    box-shadow: var(--shadow-strong);
}
.featured-card:hover {
    transform: scale(1.08) translateY(-5px);
}
.badge {
    display: inline-block;
    background: var(--color-accent-gradient);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    top: -15px; 
    margin-bottom: -15px; 
}

/* --- CONTACT FORM SECTION STYLES (NEW) --- */
.contact-section {
    text-align: center;
}
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-secondary);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: var(--shadow-light);
}
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-group {
    flex: 1 1 calc(50% - 10px); /* Two columns layout */
    display: flex;
    flex-direction: column;
    text-align: left;
}
.form-group.full-width {
    flex: 1 1 100%;
}
.contact-form label {
    font-size: 0.9rem;
    color: var(--color-accent-blue);
    margin-bottom: 5px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    padding: 10px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-text-muted);
    border-radius: 4px;
    color: var(--color-text-light);
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent-blue);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
.contact-form textarea {
    resize: vertical;
}
.contact-form button.cta-primary {
    width: 100%;
    margin-top: 10px;
}

/* --- Final CTA Section --- */
.cta-final-section {
    text-align: center;
    padding-bottom: 80px; 
}
.cta-final-section p {
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}
.huge-cta {
    padding: 20px 50px; 
    font-size: 1.4rem; 
}

/* --- Footer --- */
footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 50px 5vw 30px 5vw; 
}
.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem; 
    margin-bottom: 15px;
}
.footer-links ul li {
    margin-bottom: 8px; 
}
.footer-links a, .footer-contact a {
    font-size: 1rem;
}
.footer-bottom {
    padding-top: 20px; 
}

/* --- Footer Social Icons (REDUCED SIZE) --- */
.social-icons a {
    margin-right: 15px;
    display: inline-block;
}
.social-icons svg {
    width: 20px; /* Reduced from 24px */
    height: 20px; /* Reduced from 24px */
    fill: var(--color-text-muted);
    transition: fill 0.3s ease;
}
.social-icons a:hover svg {
    fill: var(--color-accent-blue);
}


/* --- Scroll Reveal (Simple opacity/translate) --- */
.reveal {
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; } 
    h2 { font-size: 2rem; }
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    
    .hero-section {
        padding-top: 100px;
        min-height: 70vh;
    }
    .cta-primary, .cta-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .pricing-card {
        max-width: 45%; 
        transform: none !important;
    }
    .featured-card {
        transform: scale(1.0);
    }
    .featured-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
    .solution-grid {
    grid-template-columns: 1fr; /* Change to a single column */
    gap: 20px;
}
    .solution-item {
    max-width: 90%; 
    margin: 0 auto;
}
    .contact-container {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .hero-content p {
        font-size: 1rem;
    }
    .huge-cta {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
    .logo { font-size: 1.1rem; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; flex-direction: column; cursor: pointer; }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .form-group {
        flex: 1 1 100%;
    }
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        max-width: 90%;
    }

}
