:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-primary: #00f3ff;
    /* Neon Cyan */
    --accent-secondary: #bc13fe;
    /* Neon Purple */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

canvas {
    display: block;
    /* Removes bottom spacing */
}

#globe-container canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    position: relative;
    pointer-events: none;
    /* Let clicks pass to canvas if needed, but we have text on top */
}

.hero-content {
    pointer-events: auto;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-visual {
    flex: 1;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* border: 1px solid red; Enable for debugging placement */
}

#globe-container {
    width: 100%;
    height: 100%;
}

/* Responsive adjustment for Hero */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column-reverse;
        /* Globe on top or bottom? Text usually first on mobile */
        text-align: center;
        padding-top: 100px;
    }

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

    .hero-visual {
        width: 100%;
        height: 300px;
    }

    .social-links {
        justify-content: center;
    }
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.hero h1 span {
    display: block;
    font-size: 2rem;
    color: var(--accent-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.typing-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    height: 2rem;
    display: flex;
    align-items: center;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.5rem;
    background-color: var(--accent-primary);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Glass Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 243, 255, 0.1);
    /* Cyan glow hint */
    border-color: rgba(255, 255, 255, 0.2);
}

/* Projects/Tools Section */
.section {
    padding: 8rem 10%;
    position: relative;
    z-index: 5;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.section-title span {
    border-bottom: 2px solid var(--accent-primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.card-desc {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px var(--accent-primary);
}

/* About Section Specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #ddd;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-primary);
    border-color: transparent;
}

/* Specific Hover Colors */
.social-links a:hover .fa-whatsapp {
    color: #fff;
}

.social-links a:hover .fa-linkedin-in {
    color: #fff;
}

.social-links a:hover .fa-github {
    color: #fff;
}

.social-links a:hover .fa-facebook-f {
    color: #fff;
}

.social-links a:hover .fa-youtube {
    color: #fff;
}

.nav-socials {
    display: flex;
    gap: 1rem;
}

.nav-socials a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-socials a:hover {
    color: var(--accent-primary);
}

.footer-socials {
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 0;
}

/* Base Footer update */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, #000, transparent);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    /* Fix Search/Solution Overflow */
    .search-reveal-container {
        height: auto;
        min-height: 100px;
        /* Give space for wrapping */
        justify-content: center;
        width: 100%;
    }

    .search-box {
        width: 90%;
        /* prevent full edge-to-edge look */
        max-width: 300px;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .solution-text {
        font-size: 1.3rem;
        white-space: normal;
        /* Allow wrapping */
        text-align: center;
        width: 100%;
        left: 0;
        /* Ensure it's centered if absolute */
        padding: 0 1rem;
    }

    /* Force 'Business Growth' to new line */
    .solution-text .highlight {
        display: block;
        margin-top: 0.2rem;
    }

    /* Hide arrow on mobile as it complicates layout */
    .arrow-svg {
        display: none;
    }

    .social-links {
        justify-content: center;
    }

    .nav-socials {
        display: none;
        /* Hide top nav socials on mobile to save space */
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 5rem 10%;
        /* Increased side padding from 5% */
    }
}

/* Tool Cards with Images */
.tool-card {
    padding: 0 !important;
    /* Override default glass-panel padding */
    overflow: hidden;
    /* visual bug fix for rounded corners */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-image {
    height: 200px;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.tool-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.tool-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tool-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Hover Effect for Image */
.tool-card:hover .tool-image {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

/* --- New Sections Styling --- */

/* Services Grid (Marketing & SaaS) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter */
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.service-title {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 600;
}

.service-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

/* Specific styling for SaaS section to differentiation */
.saas-section .service-icon {
    color: var(--accent-secondary);
}

.saas-section .service-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.15);
}

/* Feature Rows (Redesigned Tools) */
.feature-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    /* Space between tools */
}

/* SaaS Section Grid Layout (1-2-2-2) */
.saas-section .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 2rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    /* For scroll reveal */
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image-container {
    flex: 1;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;

}

.feature-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* Zoom effect on specific class hover */
.feature-image-container:hover .feature-image {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    padding: 2rem;
    background: transparent;
    /* Clean look, text directly on bg */
}

.feature-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.full-width-card {
    grid-column: 1 / -1;
    /* Spans all columns (2 in this case) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
}

.full-width-card .service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.full-width-card .service-desc {
    max-width: 800px;
    margin-top: 0.2rem;
    font-size: 1rem;
    color: #ddd;
}

/* Make standard SaaS cards larger & uniform */
.saas-section .services-grid .service-card:not(.full-width-card) {
    min-height: 280px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Grid for SaaS */
@media (max-width: 768px) {
    .saas-section .services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .feature-row {
        flex-direction: column !important;
        /* Stack vertically on smaller screens */
        gap: 2rem;
    }

    .feature-image-container {
        width: 100%;
        height: 250px;
    }

    .feature-content {
        padding: 0;
        text-align: center;
    }
}

/* Ensure the card itself doesn't scale awkwardly with the image transform */
.tool-card .tool-image {
    transition: transform 0.5s ease;
    width: 100%;
}

/* Form Select Styling */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.form-select option {
    background-color: #1a1a1a;
    color: #fff;
}

/* --- Navigation & Contact Form --- */

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Navigation & Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.4s;
}

/* Mobile Responsive Nav */
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 1rem 2rem;
        position: relative;
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger */
    }

    .nav-links {
        display: none;
        /* Hide default list */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        gap: 1.5rem;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
}

/* Adjust Hero Positioning (Move UP) */
@media (max-width: 900px) {
    .section {
        padding: 4rem 5%;
        /* Existing adjustment */
    }

    .hero {
        padding-top: 120px;
        /* Reduced top padding */
        min-height: auto;
        /* Allow content to dictate height */
    }

    .hero-content {
        padding-top: 0;
        margin-top: -20px;
        /* Pull content up slightly */
    }
}

.logo {
    margin-left: 0;
}


/* Footer Styling */
footer {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    color: #fff;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.3);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

/* Liquid Glass Effect for Cards */
.glass-panel,
.service-card,
.feature-row,
.contact-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Shine/Glow */
.glass-panel:hover,
.service-card:hover,
.feature-row:hover,
.contact-container:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.1);
}

.glass-panel::before,
.service-card::before,
.feature-row::before,
.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.glass-panel:hover::before,
.service-card:hover::before,
.feature-row:hover::before,
.contact-container:hover::before {
    left: 150%;
}

/* Hero Background Update */
/* Assuming .hero-section or body needs this. Let's add specific class if not present or apply to body */
body {
    background-image: url('images/hero_bg_futuristic_v2.png');
    /* Ensure this file is moved to images folder */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}



/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer Styling */
footer {
    padding: 3rem 2rem;
    background: #000;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-socials a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

footer p {
    color: #555;
    font-size: 0.9rem;
}

/* --- Search to Text Animation --- */
.search-reveal-container {
    position: relative;
    width: 100%;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    /* Centering helper */
    align-items: center;
}

.search-box {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    /* Glass variant */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 300px;
}

.search-icon {
    color: #aaa;
    margin-right: 10px;
}

.search-input {
    font-family: 'Courier New', monospace;
    color: #fff;
    font-size: 1rem;
}

.cursor {
    color: var(--accent-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.solution-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    opacity: 0;
    /* Hidden initially */
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    /* Reset */
}

.solution-text .highlight {
    color: var(--accent-primary);
    position: relative;
}

.solution-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary);
}

.arrow-svg {
    position: absolute;
    top: 50px;
    /* Below text */
    left: 200px;
    /* Adjust based on text length */
    width: 100px;
    height: 80px;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 10;
}

.arrow-svg path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s ease-out;
}

/* --- Social Proof & Trust Features --- */

/* Testimonials */
#testimonials .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    height: 100%;
    /* Same height for all */
}

.stars {
    color: #ffd700;
    font-size: 1rem;
    display: flex;
    gap: 5px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-style: italic;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.client-details h4 {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.client-details span {
    font-size: 0.85rem;
    color: #aaa;
}


/* Live Stats Counter (About Section) */
.stat-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    background: linear-gradient(to bottom, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive specific for testimonials/stats */
@media (max-width: 768px) {
    .stat-container {
        flex-direction: column;
        gap: 3rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* --- Features Showcase Grid --- */
.features-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    z-index: 5;
    position: relative;
}

.card-header p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    z-index: 5;
    position: relative;
}

/* Card 1: Data Sources Small Wrapper */
.marquee-wrapper-small {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content-small {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    align-items: center;
}

.brand-item-small {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.brand-item-small i {
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.brand-item-small span {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 500;
}

.brand-item-small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.brand-item-small:hover i {
    transform: scale(1.1);
}

/* Card 2: Blue Animation Card */
.blue-card {
    background: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    border: none;
}

.blue-card .card-header p {
    color: rgba(255, 255, 255, 0.9);
}

.floating-icons-visual {
    position: relative;
    height: 150px;
    width: 100%;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.icon-gmail {
    top: 20%;
    left: 10%;
    color: #EA4335;
    animation-delay: 0s;
}

.icon-sheets {
    top: 50%;
    right: 15%;
    color: #34A853;
    animation-delay: 2s;
}

.icon-calendar {
    top: 10%;
    right: 30%;
    color: #4285F4;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Card 3: Profile Card Visual */
.profile-card-visual {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mock-profile-card {
    width: 80%;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mock-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: url('https://i.pravatar.cc/100?img=5') center/cover;
    border: 2px solid var(--accent-primary);
}

.mock-info {
    flex: 1;
}

/* Card 4: Flow Chart Visual */
.flow-chart-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
}

.flow-node {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.flow-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-primary);
}

.node-start {
    background: #F4B400;
    color: #fff;
    border: none;
}

.node-mid {
    background: #0F9D58;
    color: #fff;
    border: none;
}

.node-end {
    background: #fff;
    color: #4285F4;
    border: none;
}

.flow-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Connectivity Flow Animation */
.flow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: flow-connect 2s infinite linear;
}

.flow-line:nth-child(2)::after {
    animation-delay: 0s;
}

.flow-line:nth-child(4)::after {
    animation-delay: 1s;
}

/* --- Intro Video Section --- */
.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes flow-connect {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.mock-name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.mock-email {
    font-size: 0.75rem;
    color: #888;
}

.mock-card-stack {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    width: 75%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    z-index: 1;
}

/* Card 4: Flow Chart Visual */
.flow-chart-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
}

.flow-node {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
}

.node-start {
    background: #F4B400;
    color: #fff;
    border: none;
}

.node-mid {
    background: #0F9D58;
    color: #fff;
    border: none;
}

.node-end {
    background: #fff;
    color: #4285F4;
    border: none;
}

.flow-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Grid */
@media (max-width: 900px) {
    .features-grid-container {
        grid-template-columns: 1fr;
    }

    .feature-grid-card {
        min-height: auto;
    }
}