/* ==========================================================================
   Hastiyan Tech Solutions - Modern Glassmorphic CSS Design System
   ========================================================================== */

/* 1. CSS VARIABLES & RESET */
:root {
    --bg-base: #040408;
    --bg-surface: rgba(10, 11, 20, 0.7);
    --bg-surface-solid: #090a12;
    --primary: #b33fec;
    --primary-glow: rgba(179, 63, 236, 0.4);
    --accent: #2e33a8;
    --accent-glow: rgba(46, 51, 168, 0.4);
    --text-main: #f5f6f9;
    --text-muted: #8e95a5;
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none; /* Smooth feel for interactive custom cursor and transitions */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-base);
    transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

p {
    color: var(--text-muted);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.d-none { display: none !important; }

/* 2. PRELOADER & CURSOR */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-base);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.logo-bold {
    color: #fff;
}

.loader-bar-container {
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary-glow);
    animation: loading 2.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.loader-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes loading {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 65%; }
    80% { width: 88%; }
    100% { width: 100%; }
}

/* Custom Cursor (Desktops only) */
.custom-cursor-dot,
.custom-cursor-follower {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 1px solid rgba(179, 63, 236, 0.3);
    box-shadow: 0 0 10px rgba(179, 63, 236, 0.1);
    transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.custom-cursor-hovered.custom-cursor-dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent);
}

.custom-cursor-hovered.custom-cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--accent);
    background-color: rgba(46, 51, 168, 0.05);
}

/* 3. 3D CANVAS BACKGROUND */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0c0a18 0%, #040408 100%);
}

/* 4. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4, 4, 8, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.8rem 0;
    background: rgba(4, 4, 8, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-icon-sm {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-white {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-nav {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-nav:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(179, 63, 236, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(179, 63, 236, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 51, 168, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 0.9rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Scroll Progress */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 8px var(--primary);
}

/* 5. HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--primary); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    max-width: 600px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-plus {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-3d-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    80% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

/* Fade-in Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 6. GLASS PANEL STYLE */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-decor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.glass-panel:hover .card-decor {
    transform: scale(1.5);
    opacity: 0.2;
}

/* 7. ABOUT SECTION */
.about-section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(179, 63, 236, 0.05);
    border: 1px solid rgba(179, 63, 236, 0.2);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(179, 63, 236, 0.1);
}

.about-card .card-text {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.tag:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(179, 63, 236, 0.02);
}

/* 8. SERVICES SECTION & TABS */
.services-section {
    padding: 8rem 0;
    position: relative;
}

.services-tabs-container {
    margin-top: 3rem;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background: var(--bg-glass);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(179, 63, 236, 0.1);
}

.tab-content-wrapper {
    position: relative;
    min-height: 450px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.tab-text p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.point i {
    color: var(--primary);
    font-size: 0.85rem;
}

.tab-visual {
    display: flex;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    max-width: 450px;
    height: 320px;
    background: #090a12;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.window-header {
    height: 40px;
    background: #111322;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.window-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-header .dot.red { background: #ff5f56; }
.window-header .dot.yellow { background: #ffbd2e; }
.window-header .dot.green { background: #27c93f; }

.window-header .title {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    margin-left: 1rem;
}

.visual-placeholder pre {
    padding: 1.5rem;
    font-size: 0.82rem;
    overflow-x: auto;
    font-family: monospace;
}

.keyword { color: #ff79c6; }
.string { color: #f1fa8c; }
.comment { color: #6272a4; }
.function { color: #50fa7b; }
.class { color: #8be9fd; }
.number { color: #bd93f9; }

/* Dashboard Mockup styles */
.dashboard-mock {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: center;
}

.mock-row {
    display: flex;
    gap: 1rem;
}

.mock-item {
    flex: 1;
    background: #111322;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mock-item .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mock-item .val {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-success {
    color: #27c93f;
    text-shadow: 0 0 10px rgba(39, 201, 63, 0.2);
}

.mock-chart {
    background: #111322;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1.2rem;
}

.chart-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    height: 100px;
}

.chart-bars .bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: height 1s ease;
}

/* Shield Animation Styles */
.shield-animation {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.security-icon {
    font-size: 4.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 15px rgba(179, 63, 236, 0.3));
    z-index: 1;
}

.radar-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(179, 63, 236, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    width: 50%;
    height: 50%;
    border-top: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    border-top-right-radius: 100%;
    transform-origin: bottom left;
    animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sec-status {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.sec-log {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* 9. PROCESS SECTION (TIMELINE) */
.process-section {
    padding: 8rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 50%, transparent 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    width: 45%;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 10;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
}

.timeline-step {
    position: absolute;
    top: 2rem;
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: -1;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-step {
    color: rgba(179, 63, 236, 0.08);
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 2rem;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 2rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.timeline-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-meta {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
}

/* Timeline dot indicator */
.timeline-item::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--bg-base);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 2.2rem;
    z-index: 12;
}

.timeline-item:nth-child(odd)::before {
    right: -11.5%;
}

.timeline-item:nth-child(even)::before {
    left: -11.5%;
    border-color: var(--accent);
}

/* 10. SHOWCASE SECTION (PRODUCTS) */
.showcase-section {
    padding: 8rem 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
}

.showcase-image-wrapper {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.grad-purple { background: linear-gradient(135deg, var(--accent), transparent); }
.grad-cyan { background: linear-gradient(135deg, var(--primary), transparent); }
.grad-emerald { background: linear-gradient(135deg, #00ffaa, transparent); }
.grad-orange { background: linear-gradient(135deg, #ff7b00, transparent); }
.grad-pink { background: linear-gradient(135deg, #ff0077, transparent); }
.grad-blue { background: linear-gradient(135deg, #0066ff, transparent); }

.showcase-card-icon {
    font-size: 3rem;
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
    z-index: 1;
    transition: var(--transition-bounce);
}

.showcase-card:hover .showcase-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.showcase-card:hover .gradient-overlay {
    opacity: 0.35;
}

.showcase-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.showcase-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.showcase-info p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.showcase-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

/* 11. TESTIMONIALS SECTION */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(9, 10, 18, 0.5), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.test-rating {
    display: flex;
    gap: 0.3rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.test-text {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-main);
    flex-grow: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.test-user-info {
    display: flex;
    flex-direction: column;
}

.test-user-info .name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.test-user-info .role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 12. FAQ SECTION (ACCORDION) */
.faq-section {
    padding: 8rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    padding: 0;
    border-radius: 12px;
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.8rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.faq-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.faq-item:hover .faq-icon-box {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.faq-trigger[aria-expanded="true"] .faq-icon-box {
    transform: rotate(45deg);
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2.2rem;
}

.faq-trigger[aria-expanded="true"] + .faq-answer {
    padding-bottom: 2rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 13. CONTACT SECTION & FORM */
.contact-section {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.contact-title {
    font-size: 2.8rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(179, 63, 236, 0.05);
    border: 1px solid rgba(179, 63, 236, 0.2);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(179, 63, 236, 0.1);
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    transition: var(--transition-smooth);
}

a.info-value:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Contact Form styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(179, 63, 236, 0.15);
}

/* Custom styling for select dropdown */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    width: 100%;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-surface-solid);
    color: #ffffff;
}

.form-feedback {
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
}

.form-feedback.success {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.3);
    color: #27c93f;
}

.form-feedback.error {
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
    color: #ff5f56;
}

/* 14. FOOTER */
.footer {
    background: #040407;
    border-top: 1px solid var(--border-glass);
    padding: 6rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.gst-description {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.legal-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

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

/* 15. RESPONSIVE MEDIA QUERIES */

/* Scroll Reveal Classes (Driven by GSAP/IntersectionObserver) */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .tab-visual {
        order: -1;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::after {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 4rem;
    }
    
    .timeline-item::before {
        left: calc(2rem - 6px) !important;
        right: auto !important;
    }
    
    .timeline-step {
        left: auto !important;
        right: 2rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    .custom-cursor-dot,
    .custom-cursor-follower {
        display: none !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(4, 4, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-glass);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 4rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        display: none; /* Hide interactive camera hints, keep 3D background running underneath */
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
