:root {
    /* Color Palette */
    --primary-color: #6C63FF;
    --secondary-color: #00D4FF;
    --accent-color: #FF6584;
    
    /* Dark Theme Colors (Default) */
    --bg-dark: #0a0b10;
    --bg-card: #151828;
    --bg-card-hover: #1e2235;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b8;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(108, 99, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-text: linear-gradient(to right, var(--text-primary), var(--secondary-color));
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Effects */
    --shadow-glow: 0 0 20px rgba(108, 99, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(108, 99, 255, 0.5);
    --gradient-text: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Hide default cursor for custom cursor */
    cursor: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor Hover States */
.cursor-hover .cursor-dot {
    width: 0;
    height: 0;
    opacity: 0;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(108, 99, 255, 0.1);
    border-color: var(--primary-color);
}

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

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

a, button {
    cursor: none; /* Let custom cursor handle this */
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--primary-color);
    animation: spin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-bottom-color: var(--secondary-color);
    animation: spin-reverse 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Background Particles */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

[data-theme="light"] #particles-canvas {
    opacity: 0.3;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--container-padding);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem var(--container-padding);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
}

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

.logo-highlight {
    color: var(--secondary-color);
}

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

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    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(--gradient-primary);
    transition: var(--transition-normal);
}

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

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--secondary-color);
    transform: rotate(15deg) scale(1.1);
}

.nav-cta {
    background: var(--gradient-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    color: #fff !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(108, 99, 255, 0.5);
}

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

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff !important;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.6);
}

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

.btn-secondary:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .hero-stats {
    background: rgba(255, 255, 255, 0.7);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number-wrapper {
    display: flex;
    align-items: baseline;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

/* Sections Common */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
    transform-style: preserve-3d; /* For Vanilla Tilt */
}

.service-card:hover {
    border-color: var(--border-hover);
}

.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transform: translateZ(30px); /* 3D effect for tilt */
    background: rgba(10, 11, 16, 0.5);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transform: translateZ(10px);
}

.service-features {
    margin-bottom: 2rem;
    transform: translateZ(10px);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transform: translateZ(20px);
}

.service-link i {
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

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

.about-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.about-feature:hover .about-feature-icon {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.about-feature h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.about-feature p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.about-visual {
    position: relative;
    height: 500px;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-central-graphic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px dashed rgba(108, 99, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spin 20s linear infinite;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--secondary-color);
}

.node-center {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
}

.node-1 { width: 15px; height: 15px; top: 10%; left: 50%; }
.node-2 { width: 20px; height: 20px; top: 30%; right: 10%; }
.node-3 { width: 12px; height: 12px; bottom: 20%; right: 20%; }
.node-4 { width: 18px; height: 18px; bottom: 10%; left: 40%; }
.node-5 { width: 22px; height: 22px; top: 60%; left: 10%; }
.node-6 { width: 16px; height: 16px; top: 20%; left: 20%; }

.about-floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    animation: float 4s ease-in-out infinite alternate;
}

.about-floating-card i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card-1 { top: 10%; left: 0; }
.card-2 { bottom: 20%; right: -20px; animation-delay: -2s; }
.card-3 { top: 50%; left: -30px; animation-delay: -1s; }

/* Results Section */
.results-section {
    position: relative;
    background: var(--bg-card);
    overflow: hidden;
}

[data-theme="light"] .results-section {
    background: #f8fafc;
}

.results-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.results-section .container {
    position: relative;
    z-index: 1;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
    transform-style: preserve-3d;
}

.result-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: var(--shadow-card);
}

.result-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.result-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    transform: translateZ(30px);
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
}

.result-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    transform: translateZ(10px);
}

.result-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0; /* Animated via JS */
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.trusted-section {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.trusted-label {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.6;
}

.trusted-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.trusted-logo:hover {
    filter: grayscale(0%);
    color: var(--text-primary);
}

/* Process Section */
.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(108, 99, 255, 0.05);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.process-step:hover .process-icon {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.process-content {
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.process-connector {
    flex: 0.5;
    height: 2px;
    background: var(--border-color);
    margin-top: 40px; /* Align with center of icon */
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0; /* Will animate */
    background: var(--gradient-primary);
    transition: width 1s ease;
}

.process-step:hover + .process-connector::after {
    width: 100%;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-detail-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-detail a, .contact-detail span:last-child {
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-detail a:hover {
    color: var(--secondary-color);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

/* Chatbot Widget */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 90px; /* next to back to top btn */
    z-index: 999;
}

.chatbot-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-normal);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

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

.bot-message {
    background: rgba(108, 99, 255, 0.1);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-message {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    outline: none;
}

.chatbot-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer */
.footer {
    background: var(--bg-dark); /* Changed to use variable to adapt to light theme */
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links-group ul li {
    margin-bottom: 0.75rem;
}

.footer-links-group ul li a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links-group ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links-group ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}

[data-theme="light"] .footer-bottom {
    background: rgba(0,0,0,0.02);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-layout, .contact-layout {
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-stat-divider {
        width: 100px;
        height: 1px;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-connector {
        display: none;
    }
    
    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .process-number {
        display: none;
    }
    
    .process-icon {
        margin: 0;
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Disable custom cursor on mobile */
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
    a, button {
        cursor: pointer !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .chatbot-window {
        width: 260px;
    }
}

/* Testimonials Swiper */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}
[data-theme="light"] .testimonials-section {
    background: #f8fafc;
}
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 350px;
}
.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}
.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
}
.testimonial-content {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}
.testimonial-content::before {
    content: '\"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -2rem;
    left: -1rem;
    opacity: 0.2;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}
.testimonial-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.swiper-pagination-bullet {
    background: var(--text-secondary);
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    z-index: 10;
}
.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-card);
}
.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.newsletter-content p {
    color: var(--text-secondary);
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}
.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

@media (max-width: 768px) {
    .newsletter-card {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 212, 255, 0.5);
}
.team-info {
    padding: 1.5rem;
    text-align: center;
}
.team-info h3 {
    margin-bottom: 0.5rem;
}
.team-info span {
    color: var(--primary-color);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 1rem;
}
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.team-social a {
    color: var(--text-secondary);
    transition: var(--transition-normal);
}
.team-social a:hover {
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}
.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #111;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}
.portfolio-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.portfolio-content {
    padding: 2rem;
}
.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.portfolio-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}
.portfolio-link:hover {
    gap: 0.8rem;
    color: var(--secondary-color);
}


