/* Root Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00d4ff;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --text-primary: #1a1a2e;
    --text-secondary: #666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.2);
    --shadow-3d: 0 20px 40px rgba(0, 102, 204, 0.15);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7ff 0%, #f9f5f0 100%);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.logo-text {
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: #f5f5f5;
    color: white;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-logo-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-logo {
    height: 600px;
    width: auto;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff8a50);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2) inset;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.2) inset;
}

/* LiDAR Visualization */
.lidar-visualization {
    position: relative;
    height: 300px;
    display: none;
    align-items: center;
    justify-content: center;
}

.point-cloud {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(0, 212, 255, 0.3));
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.point-cloud::before,
.point-cloud::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.point-cloud::before {
    width: 150px;
    height: 150px;
    animation: rotate 3s linear infinite;
}

.point-cloud::after {
    width: 100px;
    height: 100px;
    animation: rotate 2s linear infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(245, 247, 255, 0.8) 0%, rgba(230, 240, 255, 0.8) 100%);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-3d);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.25);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
}

.feature-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.25);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Technology Section */
.technology {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.8) 0%, rgba(230, 245, 255, 0.8) 100%);
}

.technology h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.tech-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-description p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list strong {
    color: var(--primary-color);
}

.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tech-graphic {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.25);
    transition: var(--transition);
}

.tech-graphic:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.35);
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: var(--transition);
}

.tech-image:hover {
    transform: scale(1.05);
}

.signal-wave {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(2); }
}

/* Applications Section */
.applications {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(249, 245, 240, 0.8) 0%, rgba(240, 248, 255, 0.8) 100%);
    position: relative;
}

.applications h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-3d);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.app-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), transparent);
    opacity: 0.1;
    border-radius: 50%;
}

.app-card:hover {
    transform: translateX(8px) translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 102, 204, 0.2);
}

.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.app-card p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.info-item p a:hover {
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1), 0 8px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f3a 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--secondary-color);
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

.intro-highlight {
    padding: 2.5rem 0;
    background: #f8f9fb; /* soft neutral background */
    border-radius: 12px;
    margin: 2rem auto;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        gap: 0.5rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-logo {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .tech-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 60px 0;
    }

    .features,
    .technology,
    .applications,
    .contact {
        padding: 40px 0;
    }

    h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .hero-logo {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }

}

