/* ==========================================================================
   OCTONET Telecommunication - CSS Design System
   Theme: Cybernetic Dark Mode (Deep Obsidian, Glassmorphism, Neon Cyan & Hyper Blue)
   ========================================================================== */

/* 1. Design Tokens & Variables */
:root {
    --bg-main: #060a13;
    --bg-darker: #03050a;
    --bg-card: rgba(13, 21, 39, 0.5);
    --bg-card-hover: rgba(20, 32, 59, 0.75);
    --border-glass: rgba(0, 242, 254, 0.15);
    --border-glass-hover: rgba(0, 242, 254, 0.4);
    
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-bright: #cbd5e1;
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-glow-cyan: 0 0 20px rgba(0, 242, 254, 0.3);
    --shadow-glow-blue: 0 0 20px rgba(79, 172, 254, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* 2. Global Resets & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-bright);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

li {
    list-style: none;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(79, 172, 254, 0.3);
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-cyan) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShine 4s linear infinite;
}

@keyframes gradientShine {
    to {
        background-position: 200% center;
    }
}

/* Network background canvas */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.6;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 242, 254, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 45px 0 rgba(0, 242, 254, 0.2);
    transform: translateY(-8px) scale(1.02);
}

/* Section Common Structure */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 10, 19, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(3, 5, 10, 0.9);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glowing Octopus Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.octonet-logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.logo-octonet {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.2));
    transition: var(--transition-normal);
}

.logo-octonet:hover {
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
}

.logo-core {
    animation: pulseCore 3s infinite ease-in-out;
}

.tentacle {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    transform-origin: center;
}

.t1 { animation: tentacleWave 4s infinite alternate ease-in-out; }
.t2 { animation: tentacleWave 4.5s infinite alternate ease-in-out 0.5s; }
.t3 { animation: tentacleWave 5s infinite alternate ease-in-out 1s; }
.t4 { animation: tentacleWave 3.5s infinite alternate ease-in-out 1.5s; }

.node-pulse {
    animation: nodePulse 2s infinite ease-in-out;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Desktop Nav links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-bright);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.btn-nav {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan) !important;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--bg-main) !important;
    border-color: transparent;
    box-shadow: var(--shadow-glow-cyan);
    transform: translateY(-2px);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: var(--bg-main);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.2);
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-normal);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-bright);
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
}

.btn-nav-mobile {
    padding: 12px 36px;
    border-radius: 30px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-lang-switcher {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
}

.lang-btn-mobile {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
}

.lang-btn-mobile.active {
    color: var(--bg-main);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
}

/* 4. Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.glow-bg-orb {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.hero-container {
    z-index: 2;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 750px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--accent-cyan);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--bg-main);
    box-shadow: var(--shadow-glow-cyan);
    background-size: 200% auto;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.6);
    background-position: right center;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* Statistics Bar */
.stats-bar {
    width: 100%;
    background: rgba(3, 5, 10, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 5. About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.about-text-card {
    padding: 48px;
}

.about-text-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.about-text-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-white);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* Network Orbital Vector Art */
.about-visual-card {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}

.network-diagram {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.diagram-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.network-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-glass);
}

.network-node.central {
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, var(--bg-main) 0%, rgba(20, 32, 59, 0.9) 100%);
    border: 2px solid var(--accent-cyan);
    top: 35%;
    left: 35%;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    animation: pulseCore 3s infinite ease-in-out;
}

.network-node.orbital {
    width: 22%;
    height: 22%;
    background: rgba(13, 21, 39, 0.9);
    border: 1px solid var(--border-glass);
    font-size: 0.75rem;
    color: var(--text-white);
}

.network-node.orbital::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.network-node.n1 { top: 6.67%; left: 6.67%; animation: floatOrbNode 6s infinite alternate ease-in-out; }
.network-node.n2 { top: 6.67%; right: 6.67%; animation: floatOrbNode 5.5s infinite alternate ease-in-out 0.5s; }
.network-node.n3 { bottom: 6.67%; left: 6.67%; animation: floatOrbNode 7s infinite alternate ease-in-out 1s; }
.network-node.n4 { bottom: 6.67%; right: 6.67%; animation: floatOrbNode 6.5s infinite alternate ease-in-out 1.5s; }

/* 6. Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
    transition: var(--transition-slow);
    opacity: 0;
}

.solution-card:hover .card-glow {
    opacity: 1;
    transform: translate(25%, 25%);
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.solution-card:hover .solution-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--bg-main);
    box-shadow: var(--shadow-glow-cyan);
    transform: rotate(5deg) scale(1.05);
}

.sol-icon {
    width: 32px;
    height: 32px;
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.solution-features {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-features li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* 7. Industries Section */
.tabs-container {
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: var(--bg-main);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    box-shadow: var(--shadow-glow-cyan);
}

.tab-content-wrapper {
    position: relative;
    min-height: 350px;
}

.tab-pane {
    display: none;
    animation: fadeTab var(--transition-normal);
}

.tab-pane.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.tab-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.tab-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-list li {
    font-size: 0.95rem;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-list li::before {
    content: '→';
    color: var(--accent-cyan);
    font-weight: 700;
}

.tab-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-glow-box {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    border: 1px dashed rgba(0, 242, 254, 0.3);
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0,0,0,0) 70%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 30px;
    animation: floatOrbNode 5s infinite alternate ease-in-out;
}

.tech-glow-box.secure {
    border-color: rgba(79, 172, 254, 0.3);
    background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, rgba(0,0,0,0) 70%);
}

.tech-glow-box.enterprise {
    border-color: rgba(16, 185, 129, 0.3);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0,0,0,0) 70%);
}

.tech-spec {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    padding: 6px 14px;
    background: rgba(6, 10, 19, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tech-glow-box.secure .tech-spec {
    color: var(--accent-blue);
    border-color: rgba(79, 172, 254, 0.2);
}

.tech-glow-box.enterprise .tech-spec {
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.2);
}

/* 8. Technology Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.partner-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partner-logo-text-sub {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.partner-card:hover .partner-logo-text-sub {
    color: var(--text-white);
}

.partner-logo-img {
    max-height: 44px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.8) contrast(1.2) opacity(0.7);
    transition: var(--transition-normal);
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0) brightness(1) contrast(1) opacity(1);
}

.partner-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.partner-badge.primary { background: rgba(0, 242, 254, 0.1); color: var(--accent-cyan); }
.partner-badge.secondary { background: rgba(79, 172, 254, 0.1); color: var(--accent-blue); }
.partner-badge.security-badge { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.partner-badge.allied-badge { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

.partner-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Allied partner muted style */
.partner-card.allied {
    opacity: 0.85;
}

.partner-card.allied:hover {
    opacity: 1;
}

/* 9. Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 40px;
}

.why-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 242, 254, 0.15);
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.why-card:hover .why-num {
    color: var(--accent-cyan);
    transform: scale(1.05);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 10. Contact Us Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-container {
    padding: 40px;
}

.contact-info-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-info-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.contact-method-item:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.2);
    transform: translateX(4px);
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.method-icon.tg { background: rgba(50, 150, 215, 0.15); color: #2EA6DA; }
.method-icon.email { background: rgba(0, 242, 254, 0.15); color: var(--accent-cyan); }
.method-icon.phone { background: rgba(79, 172, 254, 0.15); color: var(--accent-blue); }

.method-meta {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.method-value {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 600;
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-form-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-bright);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(6, 10, 19, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(6, 10, 19, 0.85);
}

.form-group select option {
    background: var(--bg-main);
    color: var(--text-white);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    gap: 12px;
}

.submit-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.btn-submit:hover .submit-arrow {
    transform: translateX(4px);
}

/* 11. Footer Styling */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-white);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-links-group a, 
.footer-links-group span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 12. Toast System */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.toast {
    padding: 16px 24px;
    border-radius: 8px;
    background: rgba(13, 21, 39, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-green);
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideToast var(--transition-normal);
}

.toast.error {
    border-color: var(--accent-red);
}

.toast-icon {
    width: 20px;
    height: 20px;
}

/* 13. Scroll Reveal & Intersection animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

/* 14. Keyframe Animations */
@keyframes pulseCore {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.7)); }
}

@keyframes tentacleWave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(3deg); }
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 6px var(--accent-cyan)); }
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes floatOrbNode {
    0% { transform: translate(0, 0); }
    100% { transform: translate(4px, -6px); }
}

@keyframes fadeTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideToast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* 15. Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .about-grid, 
    .tab-grid, 
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual-card {
        min-height: auto;
    }
    
    .solutions-grid, 
    .partners-grid, 
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .desktop-nav, 
    .lang-switcher {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .solutions-grid, 
    .partners-grid, 
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .about-visual-card {
        padding: 20px 10px;
        min-height: auto;
    }
    
    .network-diagram {
        /* Scales responsively using aspect-ratio and percentage widths */
        margin: 0 auto;
    }
    
    .network-node.orbital {
        font-size: 0.65rem;
    }
    
    .network-node.central {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   16. Subpages Specific Styles
   ========================================================================== */

.footer-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-address {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-bottom-info {
        align-items: center;
        gap: 8px;
    }
}

.subpage-section {
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
}

.back-btn-container {
    margin-bottom: 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-back:hover {
    background: var(--accent-cyan);
    color: var(--bg-main);
    box-shadow: var(--shadow-glow-cyan);
    transform: translateX(-4px);
}

.subpage-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.subpage-hero {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 32px;
}

.subpage-badge {
    display: inline-block;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.subpage-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
}

.subpage-grid-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1024px) {
    .subpage-grid-row {
        grid-template-columns: 1fr;
    }
}

.subpage-main-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.subpage-section-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.subpage-section-block h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
}

.subpage-section-block p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.bullet-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.bullet-points li {
    font-size: 0.95rem;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 12px;
}

.bullet-points li::before {
    content: '→';
    color: var(--accent-cyan);
    font-weight: 700;
}

.subpage-side-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.subpage-side-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.subpage-side-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive Logo Flash Animation */
@keyframes logoFlash {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4)) brightness(1);
    }
    15% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 25px #00f2fe) brightness(2);
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4)) brightness(1);
    }
}

.flash-active {
    animation: logoFlash 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* ==========================================================================
   20. High-Tech Preloader Screen & Morphing Logo Animation
   ========================================================================== */
body.loading-locked {
    overflow: hidden !important;
    height: 100vh;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.preloader-logo-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

#preloader-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.5));
    transform-origin: center;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.preloader-brand-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-white);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-brand-sub {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-top: 4px;
}

.preloader-status {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-console {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 4px rgba(0, 242, 254, 0.4);
    letter-spacing: 1px;
    height: 18px;
    overflow: hidden;
    white-space: nowrap;
}

.preloader-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    box-shadow: 0 0 8px var(--accent-cyan);
    transition: width 0.1s linear;
}

.progress-percentage {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Initially hide header logo to avoid double logos during the transition */
.site-header .octonet-logo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

