/* =========================================
   VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Color Palette */
    --bg-dark: #05050f;
    --bg-surface: #0a0a1a;
    --bg-card: rgba(15, 15, 30, 0.6);
    --bg-glass: rgba(20, 20, 40, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    
    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.5);
    --accent-purple: #8a2be2;
    --accent-purple-glow: rgba(138, 43, 226, 0.5);
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing & Layout */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px var(--accent-cyan-glow);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.bg-darker {
    background-color: rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.btn-block {
    display: block;
    width: 100%;
}

.mt-4 { margin-top: 2rem; }

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.badge-accent {
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
    background: rgba(138, 43, 226, 0.1);
    box-shadow: inset 0 0 10px rgba(138, 43, 226, 0.2);
}

/* Background Glow Effects */
.bg-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
    top: 40%; right: -20%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
}

.glow-3 {
    bottom: -10%; left: 10%;
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(0,0,0,0) 70%);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.logo-icon {
    color: var(--accent-cyan);
    font-size: 1.4rem;
}

.logo-accent {
    font-weight: 300;
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for nav */
    padding-bottom: 120px; /* Space for the absolute ticker at the bottom */
    position: relative;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-ecosystem {
    margin-top: 50px;
    padding-top: 30px;
}

.side-ecosystem {
    position: static;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    padding-top: 0;
    margin-top: 0;
    flex-shrink: 0;
}

.ecosystem-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px var(--accent-cyan-glow);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ecosystem-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ecosystem-logos.vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.eco-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Slightly tighter gap to fit 6 logos */
    padding: 10px 15px; /* Reduced horizontal padding */
    background: rgba(5, 5, 15, 0.6); /* Darker backdrop against the visual */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition-short);
    cursor: default;
    width: auto; /* Allow natural width fitting */
}

.eco-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}

.eco-logo i {
    color: var(--accent-purple);
    font-size: 1.1rem;
}

.eco-logo:hover i {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px var(--accent-cyan-glow));
}

/* Abstract Visuals for Hero */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    width: 100%;
}

/* Centered Hero Layout Utilities */
.hero-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.bottom-ecosystem {
    margin-top: 50px;
}

.bottom-ecosystem .ecosystem-logos.horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px; /* Reduced from 30px to comfortably fit 6 logos */
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

/* Futuristic Animated Tech Background Effect */
.hero-futuristic-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Base glowing subtle hue */
.hero-futuristic-bg::before {
    content: '';
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(138, 43, 226, 0.04) 40%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
}

/* Perspective Grid */
.tech-grid {
    position: absolute;
    bottom: -20%;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(0);
    animation: gridMove 15s linear infinite;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

/* Floating Light Particles */
.tech-particles {
    position: absolute;
    width: 100%; height: 100%;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    animation: floatUp 10s ease-in-out infinite;
    opacity: 0;
}

.p-1 { width: 3px; height: 3px; top: 80%; left: 10%; animation-delay: 0s; animation-duration: 8s; }
.p-2 { width: 4px; height: 4px; top: 90%; left: 30%; animation-delay: 2s; animation-duration: 12s; background: #8a2be2; box-shadow: 0 0 10px #8a2be2; }
.p-3 { width: 2px; height: 2px; top: 70%; left: 50%; animation-delay: 1s; animation-duration: 9s; }
.p-4 { width: 5px; height: 5px; top: 85%; left: 70%; animation-delay: 4s; animation-duration: 15s; }
.p-5 { width: 3px; height: 3px; top: 75%; left: 85%; animation-delay: 0.5s; animation-duration: 10s; background: #8a2be2; box-shadow: 0 0 10px #8a2be2; }
.p-6 { width: 4px; height: 4px; top: 95%; left: 20%; animation-delay: 3s; animation-duration: 11s; }

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* =========================================
   INFINITE SCROLL TICKER (ENHANCED)
   ========================================= */
.ticker-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 10;
}

.scrolling-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.primary-ticker {
    background: linear-gradient(90deg, rgba(5,5,15,1) 0%, rgba(20,20,40,0.8) 50%, rgba(5,5,15,1) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.4);
    border-bottom: 1px solid rgba(138, 43, 226, 0.4);
    padding: 24px 0;
    z-index: 2;
}

.secondary-ticker {
    position: absolute;
    top: -20px; /* Offset it slightly up */
    left: 0;
    opacity: 0.3;
    padding: 10px 0;
    z-index: 1;
    filter: blur(2px);
}

.scrolling-ticker {
    display: inline-flex;
    width: fit-content;
}

.primary-ticker .scrolling-ticker {
    animation: scroll-ticker 30s linear infinite;
}

.secondary-ticker .scrolling-ticker {
    animation: scroll-ticker-reverse 45s linear infinite;
}

.scrolling-ticker-wrapper:hover .scrolling-ticker {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.main-text {
    color: var(--text-primary);
    text-shadow: 0 0 15px var(--accent-cyan-glow);
}

.secondary-ticker .ticker-content {
    color: var(--accent-purple);
    font-size: 2rem; /* Make background text larger */
    font-weight: 800;
}

.gradient-dot {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.ticker-dot {
    color: var(--accent-purple);
    font-size: 1.5rem;
}

@keyframes scroll-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-ticker-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* =========================================
   EXPERTISE SECTION
   ========================================= */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glass);
    background: rgba(30, 30, 50, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.expertise-card:hover::before { opacity: 1; }

.card-icon-large {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--accent-cyan-glow));
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   SERVICES / MODULES SECTION
   ========================================= */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch; /* Ensure all cards in a row are the same height */
}

.module-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass); /* Original border */
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    z-index: 1; /* Establish stacking context */
    height: 100%; /* Stretch to fill grid height */
}

/* Hover effect removed per user request */

.module-icon {
    min-width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-purple);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: var(--transition-smooth);
}

/* Hover effect removed per user request */

.module-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    transition: var(--transition-short);
}

.module-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.module-hover-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

/* Hover effect removed per user request */
.module-item > * { position: relative; z-index: 1; } /* keep content above glow */

/* =========================================
   MULTI-PRODUCT SHOWCASE SECTION
   ========================================= */
.multi-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.multi-product-card {
    padding: 40px 30px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20,20,40,0.6) 0%, rgba(10,10,20,0.8) 100%);
}

.multi-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.multi-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.1);
}

.multi-product-card:hover::before {
    opacity: 1;
}

.product-icon-header {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.product-icon-header.accent-purple {
    background: rgba(138, 43, 226, 0.1);
    color: var(--accent-purple);
    border-color: rgba(138, 43, 226, 0.2);
    box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.1);
}

.product-icon-header.accent-yellow {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.2);
    box-shadow: inset 0 0 15px rgba(255, 193, 7, 0.1);
}



.product-title-small {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-desc-small {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* =========================================
   LATEST INSIGHTS (BLOG) SECTION
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.placeholder-img-1 { background: linear-gradient(135deg, rgba(8, 14, 44, 1) 0%, rgba(18, 56, 104, 1) 100%); }
.placeholder-img-2 { background: linear-gradient(135deg, rgba(29, 13, 56, 1) 0%, rgba(76, 28, 115, 1) 100%); }
.placeholder-img-3 { background: linear-gradient(135deg, rgba(13, 31, 45, 1) 0%, rgba(26, 83, 92, 1) 100%); }

.blog-card:hover .blog-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(5, 5, 15, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.blog-meta i {
    color: var(--accent-purple);
    margin-right: 5px;
}

.blog-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-short);
}

.blog-card-title a:hover {
    color: var(--accent-cyan);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-short);
    width: fit-content;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.blog-card:hover .btn-read-more i {
    transform: translateX(5px);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.container-small {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item[open] {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.faq-question {
    padding: 24px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
    cursor: pointer;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-short);
    background: transparent;
}

.faq-question::-webkit-details-marker {
    display: none; /* Hide Safari default triangle */
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question i {
    color: var(--accent-purple);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-container {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(138, 43, 226, 0.1));
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    max-width: 800px;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.contact-form input, .contact-form select {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 12px auto;
}

.contact-form input:focus, .contact-form select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: #fff;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i { color: var(--accent-cyan); }

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover { color: #fff; }

/* =========================================
   ANIMATIONS & REVEALS
   ========================================= */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

.fade-up { transform: translateY(50px); }
.fade-up.active { transform: translateY(0); }

.fade-left { transform: translateX(50px); }
.fade-left.active { transform: translateX(0); }

.scale-up { transform: scale(0.9); }
.scale-up.active { transform: scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   SPLIT LAYOUT & ERPNEXT UI
   ========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-dashboard {
    background: rgba(10, 10, 25, 0.6);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.capability-item:last-child {
    margin-bottom: 0;
}

.capability-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cap-icon {
    font-size: 1.8rem;
    background: rgba(0,0,0,0.2);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.cap-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* =========================================
   TIMELINE CSS
   ========================================= */
.timeline {
    position: relative;
    padding-left: 60px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -50px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-surface);
}

/* =========================================
   BENTO GRID CSS
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
    margin-top: 50px;
}
.bento-card {
    position: relative;
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}
.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.08), transparent 50%);
    z-index: 0;
}
.bento-card.variant-purple::before {
    background: radial-gradient(circle at 100% 0%, rgba(138, 43, 226, 0.12), transparent 50%);
}
.bento-card.variant-gold::before {
    background: radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.08), transparent 50%);
}
.bento-card > * {
    position: relative;
    z-index: 1;
}
.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.bento-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.bento-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
}
.bento-span-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-span-1x2 { grid-column: span 1; grid-row: span 2; }
.bento-span-2x1 { grid-column: span 2; grid-row: span 1; }
.bento-span-1x1 { grid-column: span 1; grid-row: span 1; }

.bento-bg-number {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    user-select: none;
}

/* Responsive Bento */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-2x2, .bento-span-1x2, .bento-span-2x1, .bento-span-1x1 {
        grid-column: span 1;
        grid-row: auto;
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .grid-2-col, .multi-product-grid {
        grid-template-columns: 1fr;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .split-layout .visual-side {
        order: -1 !important;
        margin-bottom: 20px;
    }
    
    .split-layout .content-side {
        text-align: center;
    }
    
    .feature-list {
        display: inline-block;
        text-align: left;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
        min-height: auto;
    }
    
    .hero-actions { justify-content: center; }
    
    .abstract-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .expertise-grid { grid-template-columns: 1fr; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 15, 30, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
        text-align: center;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.8rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .form-row { flex-direction: column; gap: 16px; }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-dot {
        left: -30px;
        width: 15px;
        height: 15px;
        top: 35px;
        border-width: 2px;
    }
    
    .timeline-content {
        padding: 20px !important;
    }
    
    .ecosystem-logos {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 20px;
    }
    
    .ecosystem-logos img {
        height: 25px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-container {
        padding: 40px 20px;
    }
    
    .cta-container h2 {
        font-size: 1.8rem;
    }
}
