/* CSS Variables */
:root {
    --color-primary-dark: #0A0A1F; /* Dark background */
    --color-primary-light: #1A1A3A; /* Slightly lighter background for sections */
    --color-accent: #00F0FF; /* Electric blue for highlights */
    --color-accent-dark: #00BFFF; /* Slightly darker accent */
    --color-text-light: #E0E0E0;
    --color-text-dark: #A0A0A0;
    --color-white: #FFFFFF;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1200px;
    --padding-x: 2rem;
    --border-radius-soft: 8px;
    --transition-speed: 0.3s ease-in-out;
}

/* Base Styles & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-primary-dark);
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 80px; /* For fixed header */
}
body.no-scroll {
    overflow: hidden; /* For mobile navigation */
}


.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.8rem; font-weight: 600; }
p { margin-bottom: 1rem; }

.section-title {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.6);
}

.btn-primary-alt {
    background: linear-gradient(45deg, var(--color-accent-dark), var(--color-accent));
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.btn-primary-alt:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

.btn-secondary-outline {
    background-color: transparent;
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

.btn-secondary-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* Header */
.site-header {
    background-color: rgba(10, 10, 31, 0.95); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-speed);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transition: transform var(--transition-speed);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero-section {
    background: var(--color-primary-dark);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(100, 50, 255, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--color-white), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    margin-bottom: 2.5rem;
}

.hero-actions .btn {
    margin-right: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 240, 255, 0.1);
    transform: rotateY(10deg) rotateX(5deg);
    transition: transform 0.6s ease;
    object-fit: cover;
}

.hero-visual:hover .hero-image {
    transform: rotateY(0deg) rotateX(0deg);
}

.glow-effect {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 1;.2;
    z-index: -1;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 1;.2; }
    50% { transform: scale(1.1); opacity: 1;.3; }
    100% { transform: scale(0.9); opacity: 1;.2; }
}


/* Sections Common */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--color-primary-light);
}

/* About Section */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}
.about-content h2::after {
    left: 0;
    transform: translateX(0);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Platform Section (Features) */
.platform-section {
    background: radial-gradient(circle at 50% -20%, rgba(0, 240, 255, 0.05) 0%, transparent 60%), var(--color-primary-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle glass-like background */
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-soft);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--color-accent);
    border-color: var(--color-accent);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-accent), var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.feature-card p {
    color: var(--color-text-dark);
    font-size: 1rem;
}

/* Solutions Section */
.solutions-section {
    background: var(--color-primary-dark);
    position: relative;
}
.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 90%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 20% 10%, rgba(100, 50, 255, 0.05) 0%, transparent 60%);
    z-index: 1;
}
.solutions-section .container {
    position: relative;
    z-index: 2;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.solution-card {
    background-color: var(--color-primary-light);
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.solution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.solution-card:hover img {
    transform: scale(1.05);
}

.solution-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.6rem;
    color: var(--color-accent);
}

.solution-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-dark);
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-primary-light);
    position: relative;
    padding-bottom: 8rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: hidden; /* Hide extra cards */
    scroll-snap-type: x mandatory;
    margin-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
}

.testimonial-card {
    flex: 0 0 100%; /* Each card takes full width of slider */
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-soft);
    padding: 3rem;
    margin: 0 1rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    scroll-snap-align: center;
    transition: opacity var(--transition-speed), transform var(--transition-speed);
    display: none; /* Hidden by default, JS manages active */
}
.testimonial-card.active {
    display: block; /* Show active card */
}


.testimonial-card p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-accent-dark);
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.client-info cite {
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, rgba(26, 26, 58, 0.8) 100%), url('images/image_10.jpg') center center / cover no-repeat fixed;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    backdrop-filter: blur(2px);
}

.cta-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
    text-align: left;
}

.cta-content {
    flex: 2;
}

.cta-content h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--color-white), var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-content h2::after {
    left: 0;
    transform: translateX(0);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 2.5rem;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}
.cta-image img:hover {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--color-text-dark);
    font-size: 1.5rem;
    margin-right: 1.2rem;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    position: relative;
    padding-bottom: 5px;
}
.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent-dark);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}


/* Scroll Reveal Animations (JS managed classes) */
.scroll-reveal {
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Animations for elements in hero */
.animate-in {
    opacity: 1;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeInUp {
    from { opacity: 1; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 1; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 1; }
    to { opacity: 1; }
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-actions .btn {
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

    .hero-visual {
        order: -1; /* Image above text on smaller screens */
    }
    .hero-image {
        transform: none;
    }
    .hero-visual:hover .hero-image {
        transform: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-content h2 {
        text-align: center;
    }
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .cta-section .container {
        flex-direction: column;
        text-align: center;
    }
    .cta-content h2 {
        text-align: center;
    }
    .cta-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .cta-image {
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }
    .btn { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    .container { padding: 0 1.5rem; }
    
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%; /* Below the header */
        left: 0;
        width: 100%;
        background-color: var(--color-primary-dark);
        flex-direction: column;
        padding: 1.5rem 0;
        height: 0; /* Hidden by default */
        overflow: hidden;
        transition: height var(--transition-speed) ease-in-out;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        height: auto; /* Show when active */
    }

    .nav-links li {
        margin: 0;
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
    }
    .nav-links a:not(.btn)::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-section {
        padding: 6rem 0;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    .features-grid, .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card img {
        height: 180px;
    }

    .testimonial-card {
        padding: 2rem;
        margin: 0; /* Remove side margins for full width */
    }
    .testimonial-card p {
        font-size: 1.1rem;
    }
    .slider-nav {
        margin-top: 1.5rem;
    }

    .cta-section {
        padding: 6rem 0;
    }
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        margin: 0 auto 1rem;
    }
    .social-links {
        justify-content: center;
    }
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
}
/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
