/* ==========================================================================
   MK TechGrow - Futuristic Premium AI Business Website CSS
   ========================================================================== */

   :root {
    /* Color Palette */
    --bg-dark: #050505;
    --bg-card: rgba(20, 22, 30, 0.4);
    --primary-blue: #00f0ff;
    --primary-blue-glow: rgba(0, 240, 255, 0.4);
    --accent-green: #00ff66;
    --accent-green-glow: rgba(0, 255, 102, 0.4);
    --text-main: #f0f0f5;
    --text-muted: #8e95a5;
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-blur: blur(16px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.text-gradient-blue {
    background: linear-gradient(to right, #fff, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(to right, #fff, var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

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

.text-center .section-desc {
    margin: 0 auto;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #0a0f1c 0%, var(--bg-dark) 70%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.glow-orb.blue {
    width: 600px;
    height: 600px;
    background: var(--primary-blue);
    top: -10%;
    left: -10%;
}

.glow-orb.green {
    width: 500px;
    height: 500px;
    background: var(--accent-green);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    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: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.5;
}

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

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

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

.btn-primary:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px var(--primary-blue-glow);
    color: var(--bg-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    color: var(--primary-blue);
    width: 28px;
    height: 28px;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.badge-text {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

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

.hero-buttons.center {
    justify-content: center;
    margin-top: 3rem;
}

/* Dashboard Mockup - HTML/CSS */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.floating-dashboard {
    background: rgba(10, 15, 25, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%;
    height: 400px;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0, 240, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: hoverBoard 6s ease-in-out infinite alternate;
}

@keyframes hoverBoard {
    0% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    100% { transform: rotateY(-12deg) rotateX(8deg) translateY(-20px); }
}

.dash-header {
    height: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.dots {
    display: flex;
    gap: 6px;
}
.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.dash-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dash-body {
    display: flex;
    flex: 1;
}

.dash-sidebar {
    width: 60px;
    border-right: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}

.dash-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1rem;
}

.card-icon {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.card-val {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dash-chart {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, rgba(0,255,102,0.2) 0%, transparent 100%);
    border-top: 2px solid var(--accent-green);
    clip-path: polygon(0 100%, 0 50%, 20% 40%, 40% 60%, 60% 20%, 80% 30%, 100% 10%, 100% 100%);
}

.float-element {
    position: absolute;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.float-element i {
    width: 18px;
    height: 18px;
}

.card-1 {
    top: 50px;
    right: -30px;
    color: var(--primary-blue);
    animation: floatObj 4s ease-in-out infinite alternate;
}

.card-2 {
    bottom: 80px;
    left: -40px;
    color: var(--accent-green);
    animation: floatObj 5s ease-in-out infinite alternate-reverse;
}

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

/* Trust Stats */
.trust-stats {
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
}

.trust-indicators {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.trust-item i {
    color: rgba(255,255,255,0.3);
}

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

.stat-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

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

/* About Section */
.about {
    padding: 8rem 0;
}

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

.lead-text {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.glowing-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.timeline-step.active {
    color: var(--text-main);
    font-weight: 600;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.timeline-step.active .step-icon {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.timeline-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    margin-left: 24px;
}

.timeline-step.active + .timeline-line {
    background: linear-gradient(to bottom, var(--primary-blue), rgba(255,255,255,0.1));
}

/* Services */
.services {
    padding: 8rem 0;
    position: relative;
}

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

.service-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 102, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(0, 255, 102, 0.1);
    color: var(--accent-green);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list li {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: inline-block;
}

/* Make 7th card span correctly if needed, or adjust grid */
.service-card:nth-child(7) {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2rem;
}
.service-card:nth-child(7) .service-list {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2rem;
}

/* Products / Labs */
.products {
    padding: 8rem 0;
}

.products-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.product-visual {
    height: 300px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lumico-bg {
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1), #050505);
}

.xrecover-bg {
    background: radial-gradient(circle at center, rgba(0, 255, 102, 0.1), #050505);
}

.dashboard-mockup {
    width: 80%;
    height: 70%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-mockup.dark-mode {
    background: #1a1c23;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.dark-mode .mockup-header {
    border-color: rgba(255,255,255,0.05);
    color: #fff;
}

.mockup-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.dark-mode .mockup-content {
    background: #14161c;
}

.chat-bubble {
    background: var(--primary-blue);
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.recovery-stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
}

.product-info {
    padding: 2.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Industries */
.industries {
    padding: 8rem 0;
}

.industry-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.ind-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Innovation Lab */
.innovation-lab {
    padding: 8rem 0;
}

.lab-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.lab-content {
    padding: 4rem;
}

.lab-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.lab-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lab-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.lab-list i {
    color: var(--accent-green);
}

.lab-visual {
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.05);
}

/* Final CTA */
.final-cta {
    padding: 10rem 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

/* Case Studies */
.case-studies {
    padding: 8rem 0;
}

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

.case-card {
    padding: 3rem;
    transition: var(--transition-smooth);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.2);
}

.case-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.metric {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.metric span {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.case-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.testi-card {
    padding: 3rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255,255,255,0.05);
}

.quote-icon i {
    width: 60px;
    height: 60px;
}

.testi-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
}

.testi-author h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testi-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-bg-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 60%);
    z-index: -1;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #020202;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.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;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container, .about-content, .products-showcase, .lab-container, .case-grid, .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:nth-child(7) {
        grid-column: span 2;
    }
    
    .stats-grid, .industry-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .lab-visual {
        min-height: 300px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .mobile-menu-btn {
        display: block;
    }

    .nav-actions {
        display: none; /* Hide primary buttons in mobile navbar */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Padding adjustments for mobile */
    .trust-stats, .about, .services, .products, .industries, .case-studies, .innovation-lab, .testimonials {
        padding: 4rem 0;
    }
    .final-cta {
        padding: 5rem 0;
    }
    
    /* Grid adjustments */
    .services-grid, .stats-grid, .industry-slider, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(7) {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Hero Visual scaling for mobile */
    .hero-visual {
        height: 300px;
    }

    .floating-dashboard {
        height: 100%;
    }

    .dash-main {
        padding: 1rem;
        gap: 1rem;
    }

    .dash-cards {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .card-val {
        font-size: 1.25rem;
    }

    .float-element {
        display: none; /* Hide floating elements on mobile to save space */
    }

    /* Trust indicators */
    .trust-indicators {
        justify-content: center;
        gap: 1.5rem;
    }

    .timeline-step {
        font-size: 1rem;
    }

    .lab-content {
        padding: 2rem;
    }

    /* Products */
    .dashboard-mockup {
        width: 90%;
    }

    .product-info {
        padding: 1.5rem;
    }

    /* Case Studies & Testimonials */
    .case-card, .testi-card {
        padding: 2rem;
    }

    .case-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}
