/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e6eefc;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 25%, #16213E 50%, #0E1B2E 75%, #0A0A0A 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Increased height for better logo spacing */
    min-height: 80px; /* Ensure consistent height */
}

/* Logo Auto-Scaling */
.nav-logo {
    display: flex;
    align-items: center;
    height: 100%; /* Ensure full height of navbar */
    padding: 10px 0; /* Add vertical padding for breathing room */
}

.nav-logo a {
    text-decoration: none !important;
    display: flex;
    align-items: center;
    border: none;
    height: 100%; /* Match navbar height */
    padding: 5px; /* Add padding around logo */
}

.nav-logo a:hover {
    text-decoration: none;
}

.logo-img {
    /* Auto-scale from 500x500 source - optimized for 80px navbar */
    height: 42px;
    width: 42px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 6px; /* Slight rounding for modern look */
    /* Ensure perfect vertical alignment */
    vertical-align: middle;
}

.logo-img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.logo-text {
    color: #ffffff;
    font-family: 'ITC Bauhaus', 'Orbitron', 'Futura', 'Century Gothic', 'Avant Garde', 'Arial Black', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-left: 12px;
    letter-spacing: 0px;
    transition: all 0.3s ease;
    /* Ensure vertical alignment with logo */
    display: inline-flex;
    align-items: center;
}

.nav-logo a:hover .logo-text {
    color: #00F5FF;
}

/* Responsive Logo Scaling */
@media (max-width: 1024px) {
    .logo-img {
        height: 38px;
        width: 38px;
    }
    .logo-text {
        font-size: 22px;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 34px;
        width: 34px;
    }
    .logo-text {
        font-size: 20px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
        width: 30px;
    }
    .logo-text {
        font-size: 18px;
        margin-left: 6px;
    }
}

/* High-DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        /* Your 500x500 source will look crisp on retina displays */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #e6eefc;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #00F5FF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00F5FF, #FF00FF);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #e6eefc;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, rgba(0,245,255,0.06), rgba(255,0,128,0.06));
    color: #00F5FF;
}

.cta-button {
    background: linear-gradient(135deg, #00F5FF, #FF0080);
    color: #020617 !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button::after {
    display: none;
}

.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e6eefc;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

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

/* Animated Mesh Background */
.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0A0A0A; /* Fallback */
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 30%, #16213E 70%, #0E1B2E 100%);
    animation: meshMove 20s ease-in-out infinite;
}

/* Particle System */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.6) 0%, rgba(0, 245, 255, 0.1) 70%, transparent 100%);
    animation: particleFloat 15s linear infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    left: 60%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    left: 40%;
    animation-delay: -8s;
    animation-duration: 19s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    left: 70%;
    animation-delay: -12s;
    animation-duration: 24s;
}

/* Geometric Patterns */
.geometric-patterns {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pattern {
    position: absolute;
    border: 1px solid rgba(0, 245, 255, 0.2);
    animation: patternRotate 30s linear infinite;
}

.pattern-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 10%;
    transform: rotate(45deg);
    border-radius: 20px;
    animation-delay: 0s;
}

.pattern-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 8%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), transparent);
    animation-delay: -10s;
}

.pattern-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 5%;
    border-radius: 50%;
    border: 2px solid rgba(138, 43, 226, 0.3);
    animation-delay: -20s;
}

/* Light Rays */
.light-rays {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ray {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    animation: rayMove 12s ease-in-out infinite;
}

.ray-1 {
    width: 300px;
    height: 2px;
    top: 25%;
    left: -150px;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.ray-2 {
    width: 400px;
    height: 1px;
    top: 60%;
    right: -200px;
    transform: rotate(-10deg);
    animation-delay: -4s;
}

.ray-3 {
    width: 250px;
    height: 1.5px;
    bottom: 30%;
    left: -125px;
    transform: rotate(25deg);
    animation-delay: -8s;
}

/* Dynamic Grid */
.dynamic-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

/* Modern Background Animations */
@keyframes meshMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% { 
        transform: translate(-10px, -5px) scale(1.02);
    }
    50% { 
        transform: translate(5px, 10px) scale(0.98);
    }
    75% { 
        transform: translate(10px, -8px) scale(1.01);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes patternRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes rayMove {
    0% {
        transform: translateX(-100px) rotate(15deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) rotate(15deg);
        opacity: 0;
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 100px 0 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #00F5FF, #FF0080);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF0080, #00F5FF);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 245, 255, 0.6);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #00F5FF;
    border: 2px solid #00F5FF;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 128, 0.1));
    color: #00F5FF;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

/* Inline Link Styling */
.inline-link {
    color: #00F5FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.inline-link:hover {
    color: #FF0080;
    border-bottom-color: rgba(255, 0, 128, 0.5);
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 400px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    text-align: center;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.dot-red { background: #ff5f56 !important; }
.dot-yellow { background: #ffbd2e !important; }
.dot-green { background: #27ca3f !important; }

.code-line {
    font-family: 'Monaco', 'Menlo', monospace;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.indent {
    margin-left: 2rem;
}

.code-keyword { color: #ff79c6; }
.code-function { color: #50fa7b; }
.code-string { color: #f1fa8c; }
.code-variable { color: #8be9fd; }
.code-comment { color: #6272a4; font-style: italic; }

/* Enhanced Hero Visual Elements */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 128, 0.1));
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #00F5FF;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
    animation: float 2s ease-in-out infinite;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00F5FF, #FF0080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 0.7rem;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.main-card {
    position: relative;
    z-index: 3;
}

.line-number {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 1rem;
    font-size: 0.8rem;
    display: inline-block;
    width: 15px;
}

/* Metric Panels Design */
.metric-panels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 2rem;
    align-self: center;
}

.metric-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out;
}

.metric-panel:hover {
    transform: translateX(-5px);
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.panel-1 { animation-delay: 0.2s; }
.panel-2 { animation-delay: 0.4s; }
.panel-3 { animation-delay: 0.6s; }

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00F5FF;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Enhanced Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Section Styles */
section {
    padding: 80px 0;
    background: #0A0A0A;
    color: #e0e7ff;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: transparent;
}

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

.about-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00F5FF 0%, #FF0080 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 1.5rem;
    box-shadow: 0 6px 18px rgba(0,245,255,0.12);
}

.about-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 0.5rem;
}

.about-info p {
    color: #9aa0b3;
    line-height: 1.6;
}

.tech-stack {
    background: linear-gradient(180deg, rgba(12,12,20,0.7), rgba(18,24,40,0.7));
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.06);
    border: 1px solid rgba(0,245,255,0.06);
}

.tech-stack h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.tech-item:hover {
    background: rgba(0,245,255,0.02);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 2rem;
    color: #00F5FF;
    margin-bottom: 0.5rem;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e6eefc;
}

/* Solutions Section */
.solutions {
    background: transparent;
}

.solution-category {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.1rem;
    color: #9aa0b3;
}

.solutions-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: linear-gradient(180deg, rgba(26,26,46,0.9), rgba(22,33,62,0.9));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #00F5FF, #FF0080);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 245, 255, 0.18);
    border-color: rgba(0,245,255,0.22);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00F5FF 0%, #FF0080 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,245,255,0.12);
}

.solution-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #9a9fb1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00F5FF;
    font-weight: 700;
}

.card-cta {
    color: #00F5FF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-cta:hover {
    color: #1d4ed8;
    gap: 1rem;
}

.card-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-cta:hover::after {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    background: transparent;
}

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

.benefit-card {
    background: transparent;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00F5FF 0%, #FF0080 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px rgba(0,245,255,0.08);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #9aa0b3;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: transparent;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00F5FF 0%, #FF0080 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,245,255,0.08);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e6eefc;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #9aa0b3;
    margin-bottom: 0.25rem;
}

.contact-form {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 15px;
        border: 1px solid rgba(255,255,255,0.04);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #e6eefc;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255,255,255,0.02);
    color: #e6eefc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0,245,255,0.28);
    box-shadow: 0 0 0 6px rgba(0,245,255,0.06);
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
        background: linear-gradient(135deg, #00F5FF, #FF0080);
        color: #020617;
        border: none;
    }

/* Footer */
.footer {
    background: linear-gradient(180deg, #07070a, #0f1220);
    color: #cbd5e1;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0,245,255,0.03);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFB86B;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9aa0b3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    }

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
        color: #9aa0b3;
    }

.footer-section ul li a:hover {
    color: #fbbf24;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #00F5FF, #FF0080);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9aa0b3;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
}

/* Tablet responsive design */
@media (min-width: 769px) and (max-width: 1024px) {
    .metric-panels {
        gap: 0.8rem;
        margin-left: 1rem;
    }
    
    .metric-panel {
        min-width: 100px;
        padding: 1.2rem;
    }
    
    .visual-container {
        gap: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 50%, #16213E 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 245, 255, 0.2);
        padding: 2rem 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    /* Adjust metric panels for mobile */
    .metric-panels {
        flex-direction: row;
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        gap: 0.5rem;
    }

    .metric-panel {
        min-width: 80px;
        padding: 1rem;
    }

    .metric-value {
        font-size: 1.4rem;
    }

    .visual-container {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    /* Adjust hero visual cards container for mobile */
    .hero-visual {
        margin-top: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .solutions-cards {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-card,
.benefit-card,
.about-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #07070a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00F5FF, #FF0080);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}

/* AI-Themed Loading Spinner */
.loader-content {
    text-align: center;
}

.ai-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.spinner-ring:nth-child(1) {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    border-top: 2px solid #00F5FF;
    border-right: 2px solid #00F5FF;
    animation: spin-slow 3s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    border-top: 2px solid #FF0080;
    border-left: 2px solid #FF0080;
    animation: spin-medium 2s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-bottom: 2px solid #00F5FF;
    border-right: 2px solid #00F5FF;
    animation: spin-fast 1s linear infinite;
}

.spinner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    background: radial-gradient(circle, #00F5FF 0%, #FF0080 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e6eefc;
    opacity: 0.8;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

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

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

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

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.7;
    }
}

@keyframes dots {
    0%, 20% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75%, 100% { content: '...'; }
}
