:root {
    --bg-dark: #020c1b;
    --bg-card: rgba(10, 25, 47, 0.7);
    --primary-blue: #00d2ff;
    --secondary-blue: #3a7bd5;
    --metallic-blue: #4facfe;
    --text-main: #ccd6f6;
    --text-bright: #e6f1ff;
    --text-dim: #8892b0;
    --glass-border: rgba(79, 172, 254, 0.3);
    --sidebar-width: 280px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-bright);
}

/* --- Layout Structure --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar (StitchLayout Standard) --- */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(2, 12, 27, 0.95);
    border-right: 1px solid var(--glass-border);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-bright);
    line-height: 1;
}

.sub-logo {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

.logo span {
    color: var(--primary-blue);
    background: linear-gradient(to right, var(--primary-blue), var(--metallic-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    margin-top: 3rem;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
    background: rgba(79, 172, 254, 0.1);
    transform: translateX(5px);
}

.sidebar-footer {
    font-size: 0.8rem;
    color: var(--text-dim);
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

/* --- Main Content Area --- */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem 5%;
    width: calc(100% - var(--sidebar-width));
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px -15px rgba(0, 210, 255, 0.2);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(2, 12, 27, 0.8), rgba(2, 12, 27, 0.8)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.product-card {
    position: relative;
    overflow: hidden;
}

.preview-card {
    border-style: dashed;
    opacity: 0.8;
}

.preview-card:hover {
    opacity: 1;
}

.hero-section::before {
    display: none;
}

.badge {
    background: rgba(79, 172, 254, 0.1);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary-blue);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--bg-dark);
}

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

.btn-secondary {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(79, 172, 254, 0.1);
}

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

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--primary-blue);
}

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

.product-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* --- Tech Core Card --- */
.tech-core {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(145deg, rgba(10, 25, 47, 0.8), rgba(0, 210, 255, 0.05));
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.tech-core:hover {
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    transform: translateY(-5px);
}

/* --- Cloud Architecture Section --- */
.cloud-arch-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cloud-text {
    flex: 1;
    z-index: 2;
}

.cloud-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.tech-list li {
    margin-bottom: 1rem;
    background: rgba(2, 12, 27, 0.5);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.cloud-visual {
    flex: 1;
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-node {
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 1rem;
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.network-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.5);
    background: rgba(0, 210, 255, 0.1);
}

.central {
    width: 120px;
    height: 120px;
    font-size: 1rem;
    z-index: 5;
    border-width: 2px;
    animation: pulse 3s infinite;
}

.satellite {
    width: 90px;
    height: 90px;
}

.s1 { top: 10%; left: 15%; }
.s2 { top: 10%; right: 15%; }
.s3 { bottom: 10%; left: 15%; }
.s4 { bottom: 10%; right: 15%; }

/* Animated lines via pseudo-elements */
.cloud-visual::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 1px dashed var(--glass-border);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .cloud-arch-container {
        flex-direction: column;
    }
    .cloud-visual {
        width: 100%;
        min-height: 300px;
    }
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(2, 12, 27, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-bright);
    outline: none;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.full-width {
    width: 100%;
}

/* --- Mobile Styles --- */
.mobile-header {
    display: none;
    padding: 1rem 5%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--glass-border);
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2000;
}

#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .sidebar {
        left: -100%;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
}
