:root {
    --bg-color: #050507;
    --card-bg: #111116;
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --accent-gold: #f0b90b;
    --nav-bg: rgba(5, 5, 7, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    color: var(--heading-color);
    font-weight: 800;
}

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

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px 0 30px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-image: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 7, 0.4) 0%, rgba(5, 5, 7, 0.95) 100%);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff 20%, var(--primary-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 80px;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-stack span {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.inquiry-box {
    background: var(--card-bg);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.inquiry-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inquiry-box p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.inquiry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.inquiry-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1rem;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-quote {
    background: var(--card-bg);
    padding: 40px;
    border-left: 5px solid var(--primary-color);
}

.about-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-quote blockquote {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.about-quote cite {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Philosophy */
.dark-bg {
    background-color: #08080a;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    border: 1px solid transparent;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card h3 {
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-link i {
    font-size: 0.75rem;
    margin-bottom: 0;
    display: inline;
    background: none;
    -webkit-text-fill-color: initial;
    margin-left: 5px;
}

.product-link:hover {
    text-decoration: underline;
}

/* Ecosystem */
.inverse-bg {
    background: linear-gradient(135deg, #0f0f15 0%, #050507 100%);
}

.eco-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.eco-list {
    list-style: none;
    margin-top: 30px;
}

.eco-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.eco-list i {
    color: var(--primary-color);
}

.eco-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.network-links {
    margin-top: 20px;
}

.cta-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-box h3 {
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .about-grid, .eco-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch:hover::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(62px, 9999px, 42px, 0); }
    /* ... additional frames for smoother glitch ... */
}
