/* 
   ===============================================
   NEXUS AI - Premium UI/UX Style
   =============================================== 
*/

:root {
    /* Color Palette */
    --bg-dark: #070914;
    --bg-card: rgba(18, 22, 45, 0.4);
    --bg-card-hover: rgba(26, 32, 60, 0.6);
    
    --primary: #3b82f6; /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6; /* Purple */
    --accent: #06b6d4; /* Cyan */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-text: linear-gradient(135deg, #fff, #94a3b8);
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-std: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Subtle background grain or glow */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(20, 30, 60, 0.5) 0%, rgba(7, 9, 20, 1) 70%);
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* ================== UTILITIES & COMPONENTS ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--trans-std);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

/* Glassmorphism Classes */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
}

/* ================== 1. TOP HEADER ================== */
.top-bar {
    background: rgba(5, 7, 15, 0.9);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    z-index: 100;
    position: relative;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-left a:hover {
    color: var(--primary);
}

.top-bar-left i {
    margin-right: 0.3rem;
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar-right a:hover {
    color: var(--primary);
}

/* ================== 2. NAVBAR ================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(7, 9, 20, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    z-index: 99;
    transition: var(--trans-std);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-light);
    background: rgba(7, 9, 20, 0.9);
}

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

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

.logo-icon {
    width: 40px; height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo span {
    font-weight: 300;
}

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

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--trans-std);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ================== 3. HERO SECTION ================== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

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

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

.orb-2 {
    width: 500px; height: 500px;
    background: var(--secondary);
    bottom: -200px; right: -100px;
}

.grid-overlay {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* AI Visual UI Mockup */
.glass-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, rgba(30, 40, 70, 0.4), rgba(10, 15, 30, 0.6));
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.mockup-header {
    height: 40px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    position: relative;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.ai-icon-center {
    font-size: 4rem;
    color: var(--accent);
    z-index: 2;
}

.ring {
    position: absolute;
    width: 100%; height: 100%;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: wave 3s infinite linear;
}

.ring-2 { animation-delay: 1s; }
.ring-3 { animation-delay: 2s; }

@keyframes wave {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.stat-card {
    position: absolute;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
}

.stat-card h4 { font-size: 1.2rem; }
.stat-card span { font-size: 0.8rem; color: var(--text-muted); }

.c1 { top: 10%; right: -20px; animation-delay: 0s; }
.c2 { bottom: 15%; left: -30px; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ================== 4. TRUSTED BY ================== */
.trusted-by {
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}

.trusted-by p {
    text-align: center;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-track {
    display: flex;
    width: fit-content;
    animation: scrollLogos 25s linear infinite;
}

.logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}

.logos span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--trans-std);
}

.logos span:hover {
    opacity: 1;
    color: #fff;
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================== 5. ABOUT SECTION ================== */
.about {
    padding: 8rem 0;
}

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

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    border-radius: 20px;
    filter: brightness(0.8) contrast(1.1);
    transition: var(--trans-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.experience-badge .num {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.experience-badge .txt {
    font-weight: 600;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.counter-item h3 {
    font-size: 2.5rem;
    display: inline-block;
    color: #fff;
}

.counter-item span {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.counter-item p {
    font-size: 0.9rem;
    margin: 0;
}

.about-actions {
    display: flex;
    gap: 1rem;
}

/* ================== 6. SERVICES SECTION ================== */
.services {
    padding: 8rem 0;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--trans-std);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background: linear-gradient(180deg, var(--border-glow), transparent);
    transition: var(--trans-std);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    height: 100%;
    opacity: 1;
}

.icon-box {
    width: 60px; height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--trans-std);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* ================== 7. HOW IT WORKS ================== */
.process {
    padding: 8rem 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 4rem;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px; height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--trans-std);
}

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

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex-grow: 0;
    width: 100px;
    height: 2px;
    margin-top: 40px;
    background: var(--border-light);
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: var(--trans-slow);
}

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

/* ================== 8. ADVANCED AI ================== */
.advanced-ai {
    padding: 8rem 0;
}

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

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dash-top {
    display: flex; justify-content: space-between;
    margin-bottom: 1rem;
}
.dash-search {
    width: 60%; height: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}
.dash-user {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--primary);
}
.dash-main {
    display: flex; gap: 1rem;
}
.dash-chart {
    flex: 2;
    height: 200px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    gap: 10px;
}
.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}
.h-40 { height: 40%; } .h-50 { height: 50%; } .h-60 { height: 60%; }
.h-70 { height: 70%; } .h-90 { height: 90%; } .h-100 { height: 100%; }

.dash-side {
    flex: 1;
    display: flex; flex-direction: column; gap: 1rem;
}
.dash-card {
    height: 92px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--text-muted);
}
.pulse-indicator {
    width: 10px; height: 10px; border-radius: 50%;
    background: #27c93f;
    margin-right: 10px;
    box-shadow: 0 0 10px #27c93f;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* ================== 9. FEATURES SECTION ================== */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05), transparent);
}

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

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    transition: var(--trans-std);
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ================== 10. TESTIMONIALS ================== */
.testimonials {
    padding: 8rem 0;
}

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

.testimo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--trans-std);
}

.testimo-card:hover {
    background: var(--bg-card-hover);
}

.rating {
    color: #facc15;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
}

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

.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: var(--font-heading);
}

.author .info strong { display: block; font-size: 1.1rem; }
.author .info span { font-size: 0.85rem; color: var(--text-muted); }

/* ================== 11. FAQ SECTION ================== */
.faq {
    padding: 8rem 0;
    background: rgba(0,0,0,0.2);
}

.faq-inner {
    max-width: 800px;
}

.accordion {
    margin-top: 3rem;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px; /* arbitrary large value */
}

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

/* ================== 12. CONTACT ================== */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-blocks {
    margin-top: 3rem;
    display: flex; flex-direction: column; gap: 1.5rem;
}

.info-item {
    display: flex; align-items: flex-start; gap: 1rem;
}

.info-item i {
    font-size: 1.5rem; color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.8rem; border-radius: 10px;
}

.info-item h5 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.info-item span { color: var(--text-muted); }

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 3rem;
    border-radius: 20px;
}

.form-row {
    display: flex; gap: 1.5rem; margin-bottom: 1.5rem;
}

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

.input-group label {
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
}

.input-group input, .input-group textarea {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-wrap {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.newsletter-wrap h5 { margin-bottom: 1rem; }

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-light);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ================== 13. FOOTER ================== */
.footer {
    background: #04060d;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 80%;
}

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

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

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

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================== ANIMATIONS & REVEAL ================== */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: all 0.8s ease; }

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

/* ================== CUSTOM SCROLLBAR ================== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #070914; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent), var(--primary));
}

/* ================== RESPONSIVE — 1280px ================== */
@media (max-width: 1280px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 3.5rem; }
}

/* ================== RESPONSIVE — 1024px ================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-inner, .about-inner, .advanced-inner, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero p { max-width: 100%; }
    .process-steps { flex-direction: column; align-items: center; }
    .step-connector { width: 2px; height: 50px; margin: 10px 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .about-inner { gap: 3rem; }
    .experience-badge { bottom: 0; right: 0; }
    .contact-info { text-align: center; }
    .info-item { justify-content: center; }
    .advanced-inner { gap: 2rem; }
}

/* ================== RESPONSIVE — 768px ================== */
@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-menu {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(7, 9, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 2rem; gap: 1.2rem;
        transform: translateY(-150%);
        transition: transform 0.35s ease;
        z-index: -1;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-menu.show { transform: translateY(0); }
    .mobile-menu-btn { display: block; }
    .hero { padding: 5rem 0 3rem; text-align: center; }
    .hero h1 { font-size: 2.4rem; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero p { font-size: 1rem; max-width: 100%; }
    .hero-visual { display: none; }
    .section-title { font-size: 2rem; }
    .about { padding: 5rem 0; }
    .about-inner { grid-template-columns: 1fr; gap: 2rem; }
    .experience-badge { position: relative; bottom: auto; right: auto; margin-top: 1rem; }
    .counters { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .counter-item h3 { font-size: 1.8rem; }
    .about-actions { flex-direction: column; align-items: flex-start; }
    .services { padding: 5rem 0; }
    .services-grid { grid-template-columns: 1fr; margin-top: 2rem; }
    .process { padding: 5rem 0; }
    .advanced-ai { padding: 5rem 0; }
    .advanced-inner { grid-template-columns: 1fr; }
    .advanced-visual { display: none; }
    .features { padding: 5rem 0; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .testimonials { padding: 5rem 0; }
    .testimonial-slider { grid-template-columns: 1fr; }
    .faq { padding: 5rem 0; }
    .contact { padding: 5rem 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-info { text-align: center; }
    .info-item { justify-content: center; flex-direction: column; text-align: center; }
    .form-row { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ================== RESPONSIVE — 480px ================== */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 0.95rem; }
    .btn-lg { padding: 0.8rem 1.5rem; font-size: 1rem; }
    .hero-buttons { gap: 0.75rem; }
    .section-title { font-size: 1.7rem; }
    .counters { grid-template-columns: 1fr 1fr; }
    .counter-item h3 { font-size: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-box { padding: 1.5rem; }
    .service-card { padding: 1.5rem; }
    .testimo-card { padding: 1.5rem; }
    .accordion-header h4 { font-size: 0.95rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom p { font-size: 0.8rem; }
}

/* =========================================================================
   12. Custom Cursor
   ========================================================================= */

@media (pointer: fine) {
    body, a, button, input, textarea, select, .accordion-header, .feature-box, .service-card, .testimo-card {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary-glow);
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover effects */
body.hovering .custom-cursor {
    width: 15px;
    height: 15px;
    background-color: var(--accent);
}

body.hovering .custom-cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background-color: rgba(6, 182, 212, 0.1);
}

@media (pointer: coarse) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* ================== FORM ALERTS ================== */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.form-alert-success i {
    color: #22c55e;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.form-alert-error i {
    color: #ef4444;
}

.form-alert-error a {
    color: #f87171;
    text-decoration: underline;
}
