:root {
    /* Color Palette */
    --navy-dark: #050b14;
    --navy-main: #0a192f;
    --navy-light: #112240;
    --slate-grey: #64748b;
    --slate-light: #8892b0;
    --cyan: #00f2ff;
    --cyan-glow: rgba(0, 242, 255, 0.3);
    
    /* Text Colors */
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    
    /* Backgrounds */
    --bg-dark: #02060d;
    --bg-card: rgba(17, 34, 64, 0.7);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* UI Constants */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --border-radius: 12px;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    background-color: var(--navy-dark);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--navy-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 242, 255, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.04), transparent 25%);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

a:hover {
    color: #fff;
}

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

/* Typography Utilities */
.highlight {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan-glow);
}

.text-green {
    color: #10b981;
}

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

.navbar.scrolled {
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    padding: 0.5rem 0;
}

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

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

.nav-logo-icon {
    height: 55px;
    width: auto;
    background: #ffffff;
    padding: 5px;
    border-radius: 4px;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.logo-type {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--cyan);
    transition: var(--transition);
}

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

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    color: var(--cyan);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

.bg-darker {
    background-color: var(--bg-dark);
}

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

.tag {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--slate-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.center-desc {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

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

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

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

.sub-headline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite alternate;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list.bulleted li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--slate-light);
    align-items: flex-start;
}

.feature-list.bulleted li::before {
    content: "▹";
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

.center-list {
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Card & Mockup */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

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

.mockup-card {
    padding: 0;
    overflow: hidden;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 2rem;
}

.dashboard-sim {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.chart-sim {
    grid-column: span 2;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.1) 0%, transparent 100%);
    border-bottom: 2px solid var(--cyan);
    border-radius: 4px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}
.chart-sim::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 50%;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 10px var(--cyan);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.security-card {
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.security-card:hover {
    background: rgba(17, 34, 64, 0.8);
    border-color: rgba(0, 242, 255, 0.1);
    transform: translateX(10px);
}

.security-card .icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.security-card p {
    font-size: 0.9rem;
    color: var(--slate-light);
}

.featured-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--cyan);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
    border-radius: inherit;
}

/* Engineering Cards */
.engineering-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-about h3, .footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-about p {
    color: var(--slate-light);
    margin-bottom: 1rem;
}

.footer-logo {
    margin-top: 3rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    padding: 4rem;
    display: inline-block;
}

.footer-logo-img {
    height: 220px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.15));
    transition: var(--transition);
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-list .icon {
    font-size: 1.2rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-detail strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-detail span, .contact-detail a {
    color: var(--slate-light);
    font-size: 0.95rem;
}

.contact-detail a:hover {
    color: var(--cyan);
}

.contact-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    align-self: flex-start;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--slate-light);
    font-size: 0.85rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 968px) {
    .section-grid, .hero-content, .engineering-cards, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section.reverse .section-text {
        order: 2;
    }
    
    .section.reverse .section-visual {
        order: 1;
    }
    
    .headline {
        font-size: 3rem;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }

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

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

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        width: 100%;
        padding: 0;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .logo-badge {
        display: none;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-logo-icon {
        height: 40px;
    }

    .headline {
        font-size: 2.2rem;
    }
    
    .sub-headline {
        font-size: 1rem;
        margin: 1.5rem auto;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }

    .footer-logo-img {
        height: 140px;
    }

    .footer-logo {
        display: block;
        margin: 2rem auto 0;
        padding: 2rem;
        width: fit-content;
        text-align: center;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
