:root {
    --primary-bg: #0a0e14;
    --secondary-bg: #131920;
    --accent-bg: #1a2332;
    --border-color: #2a3441;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --accent-blue: #4a9eff;
    --accent-cyan: #00d4ff;
    --warning-amber: #ff9500;
    --grid-line: rgba(74, 158, 255, 0.08);
}

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

body {
    font-family: 'Segoe UI', 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 20, 0.50);
    backdrop-filter: blur(2px);
        z-index: 1000;
    padding: 1.2rem 0;
}



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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 88px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: 
        linear-gradient(135deg, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

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

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 968px) {
    .hero-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 700px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Main Content Sections */
.section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--secondary-bg);
}

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

.section-label {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

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

/* Cards */
.card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Product Cards */
.product-card {
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
}

.product-designation {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* Tech Specs */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spec-item {
    padding: 1.5rem;
    background: var(--accent-bg);
    border-left: 3px solid var(--accent-blue);
}

.spec-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Use Case Sections */
.usecase-item {
    margin-bottom: 4rem;
}

.usecase-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

/* Why CHAXU Features */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 6px;
    position: relative;
}

.advantage-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(74, 158, 255, 0.1);
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4,
    .tech-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
}

/* Product Images */
.product-image-container {
    text-align: center;
    margin: 2rem 0;
}

.product-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 10px 40px rgba(0, 212, 255, 0.2));
}

/* Use Case Images */
.usecase-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.image-grid img:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
}

.logo {
    position: relative;
    z-index: 2000;
}

.logo img {
    display: block;
}

.nav-links a {
    color: #ffffff;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00d4ff;  /* CHAXU accent */
}

nav {
    overflow: visible;
}

.logo {
    position: relative;
    z-index: 2000;
}

.logo img {
    position: relative;
    top: 8px;   /* overlap into hero */
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}
