/* Main styles for the cyberpunk website */
:root {
    --primary-color: #ff2a6d;
    --secondary-color: #05d9e8;
    --tertiary-color: #d300c5;
    --accent-color: #fee440;
    --dark-color: #0a0a0a;
    --darker-color: #050505;
    --light-color: #e0e0e0;
    --success-color: #39ff14;
    --warning-color: #ff9f1c;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Cyberpunk visual elements */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAIi0lEQVR4nO1ae1BU1xn/7r27y5slsOAiPkCJiIAPhCiYGLXFpH/UxKiNY9I2mTZNSdvJtNO/+kfbmbbTx7SdttNHMmk6SRsnaRI1xrSm5lENojFqlAh5IRFEQZHlJey9Z+45u/deuMvdZQEJSP1mdnbvued85/t9j9/3ne8sUEQRRRRRRBFFXCXQNS9RKiEajUKSJLBKfrhF2zqmzTzTiGhUBBsWyQjgXP1YY5WVlhHZVA/S9TyO4wBCQCnF2Njf7hAEgcfaB4oiAOjHWQCZB1U8RGdAo8KkRMHzDnAcP8/NL1bZqY+3FxOAIAiYmJi80dbWNigIwgWbOGWxHlZxcBwnbVq6gNvb282+e/e1+EKh0Hc9Hu90a2vr3lCIBjl0NqDZEtCcDJWVFg+rBEvMBaCUglKKfD6vGGNnQgiQZbmN47hPYrFYHYCDHMcN2Gw2lJaWYXBwOEiI+C2DASQZcDFQXf1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/atWq04Fg/PWTJ092ejye8wMDAw/XrFmzYcWKFU+tWbPmmampKQfPc+dKS0u92QrRnwUQdX2iODMDu82Mq1evoqrKjaqqCnR394HnBWzYcAui0SgMBgNsNhvC4TBqamoyqysAYuFwmE/LzCgIQnTfvn0nCwoTuYK2TE9PT3iLbQYCE+jp6UMikUR//0DW/cHBQYTDYQiC0DY1NfVqOlvkVKWEw2GupaXlVH19fWx0dLTNbDZfaW5ufu+WW265pz8QOFFRUXGuZiUPmRw8DovYuq6S6PzQmx3RRSAZ4VcDaRHkEu71w28xExYbqW5UKbmIIooooogi/i/xP0NwjbXqq0DnAAAAAElFTkSuQmCC');
    opacity: 0.035;
    pointer-events: none;
    z-index: 1000;
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 100% 3px;
    pointer-events: none;
    z-index: 1001;
}

/* Loading screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-content {
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.progress-container {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transition: width 0.2s ease-out;
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--light-color);
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 30px;
    background: rgba(5, 5, 5, 0.95);
}

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

.logo-glitch {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 10px;
    position: relative;
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--light-color);
}

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

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-family: var(--font-primary);
    font-size: 14px;
    text-decoration: none;
    color: var(--light-color);
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero section */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1) 0%, rgba(20, 20, 30, 0.8) 100%);
    display: block;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    width: 45%;
    padding-left: 5%;
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.hero-visual {
    width: 50%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

#hero-3d-container {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    min-height: 500px;
}

.digital-rain {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, var(--light-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 600px;
}

.cta-container {
    display: flex;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 14px;
    text-decoration: none;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
    color: var(--light-color);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--tertiary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button.outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.cta-button.outline:hover {
    background: rgba(5, 217, 232, 0.1);
}

/* Tech section */
.tech-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, rgba(20, 20, 30, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    overflow: visible;
    display: block;
    writing-mode: horizontal-tb !important;
    display: block;
    writing-mode: horizontal-tb !important;
}

h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: visible;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    letter-spacing: normal;
}

.header-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.tech-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 250px;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
}

.tech-card:hover::before {
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(40, 40, 50, 0.8);
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

.tech-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.tech-card p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.tech-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-hover-info {
    transform: translateY(0);
}

.specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.spec-item {
    text-align: center;
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--light-color);
    opacity: 0.7;
    margin-bottom: 3px;
}

.spec-value {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* Products section */
.products-section {
    padding: 100px 5%;
    background-color: var(--dark-color);
    position: relative;
}

.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.product-viewer {
    flex: 1;
    min-width: 300px;
    height: 500px;
    position: relative;
    background: rgba(20, 20, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

#product-3d-container {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(10, 10, 10, 0.7);
    padding: 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--light-color);
}

.control-btn svg {
    width: 20px;
    height: 20px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-family: var(--font-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(45deg, rgba(255, 42, 109, 0.2), rgba(5, 217, 232, 0.2));
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.tab-btn:hover:not(.active) {
    background: rgba(40, 40, 50, 0.8);
}

.product-info {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.product-info.active {
    display: block;
}

.product-info h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.highlight {
    color: var(--secondary-color);
}

.product-description {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.product-specs {
    margin-bottom: 40px;
}

.spec {
    margin-bottom: 15px;
}

.spec-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--light-color);
    opacity: 0.7;
    margin-bottom: 5px;
}

.spec-bar {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.spec-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.spec-value {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-align: right;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(20, 20, 30, 0.4);
    border-radius: 4px;
}

.price-tag {
    font-family: var(--font-primary);
}

.currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    color: var(--light-color);
}

.buy-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
    border: none;
    color: var(--light-color);
    font-family: var(--font-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--tertiary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.buy-btn:hover::before {
    opacity: 1;
}

/* Cyberspace section */
.cyberspace-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1) 0%, rgba(30, 30, 40, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.cyberspace-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#cyberspace-3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cyberspace-interface {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.interface-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    min-width: 300px;
}

.grid-item {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.grid-item:hover::before {
    transform: scaleX(1);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(20, 20, 30, 0.8);
}

.grid-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.grid-item h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.grid-item p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.interface-terminal {
    flex: 1;
    min-width: 300px;
    background: rgba(10, 10, 10, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    color: var(--light-color);
}

.terminal-header {
    background: rgba(30, 30, 40, 0.8);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--light-color);
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.control:nth-child(1) {
    background: rgba(255, 59, 48, 0.7);
}

.control:nth-child(2) {
    background: rgba(255, 204, 0, 0.7);
}

.control:nth-child(3) {
    background: rgba(52, 199, 89, 0.7);
}

.terminal-content {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--light-color);
    scrollbar-width: thin;
    background-color: var(--dark-color);
    scrollbar-color: var(--secondary-color) var(--dark-color);
}

.terminal-content::-webkit-scrollbar {
    width: 5px;
}

.terminal-content::-webkit-scrollbar-track {
    background: var(--dark-color);
}

.terminal-content::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 6px;
}

.terminal-line {
    margin-bottom: 10px;
    line-height: 1.4;
}

.terminal-input {
    display: flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.terminal-footer {
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(5, 217, 232, 0.3);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-color);
    background-color: var(--dark-color);
}

.status-indicator {
    display: inline-block;
    position: relative;
    padding-left: 15px;
    color: var(--success-color);
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-color: var(--secondary-color);
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

/* About section */
.about-section {
    padding: 100px 5%;
    background-color: var(--dark-color);
    position: relative;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.lead-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--light-color);
    position: relative;
    padding-left: 20px;
}

.lead-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.about-text p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--light-color);
    opacity: 0.7;
}

.about-visual {
    flex: 1;
    min-width: 300px;
}

.corp-timeline {
    position: relative;
    padding-left: 30px;
}

.corp-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dark-color);
    border: 2px solid var(--secondary-color);
    z-index: 1;
}

.timeline-item::after {
    content: attr(data-year);
    position: absolute;
    left: -90px;
    top: 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.timeline-content {
    padding: 20px;
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.timeline-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.timeline-content p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    background-color: var(--darker-color);
    padding: 80px 5% 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.logo-column {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-column p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--secondary-color);
}

.links-column h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.links-column {
    min-width: 150px;
}

.links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 12px;
}

.links-column a {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 15px;
}

.links-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
}

.links-column a:hover {
    color: var(--secondary-color);
    padding-left: 20px;
}

.contact-column h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.contact-column {
    min-width: 200px;
}

.contact-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.newsletter h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.newsletter-form {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--light-color);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    width: 50px;
    background: var(--primary-color);
    border: none;
    color: var(--light-color);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-form button svg {
    width: 20px;
    height: 20px;
}

.newsletter-form button:hover {
    background: var(--tertiary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.7rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero-visual {
        width: 40%;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 99;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 50px 20px;
        text-align: center;
    }
    
    .hero-visual {
        width: 100%;
        position: relative;
        height: 300px;
        margin-top: 20px;
    }
    
    .cta-container {
        justify-content: center;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .tech-grid, .interface-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .product-showcase {
        flex-direction: column;
    }
    
    .product-viewer, .product-details {
        width: 100%;
    }
    
    .product-tabs {
        justify-content: center;
    }
    
    .product-price {
        flex-direction: column;
        gap: 20px;
    }
    
    .price-tag {
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .corp-timeline {
        padding-left: 60px;
    }
    
    .timeline-item::after {
        left: -50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .tech-card {
        height: auto;
    }
    
    .corp-timeline {
        padding-left: 30px;
    }
    
    .timeline-item::after {
        display: none;
    }
}

/* =============================================
   COMBINED FIXES FOR HORIZONTAL TEXT & LAYOUT
   ============================================= */

/* Override for vertical section titles - FORCE HORIZONTAL */
section#tech .section-header h2,
section#products .section-header h2,
.section-title, 
.section-header h2,
.glitch-text,
h1, h2, h3 {
  display: block !important;
  position: static !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  white-space: normal !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  text-align: center !important;
  direction: ltr !important;
  transform-origin: center center !important;
  rotate: 0deg !important;
}

/* Fix for product titles in the tabs and product info */
.product-tabs .tab-btn,
.product-info h3,
.spec-name,
.spec-value,
.price-tag,
.buy-btn {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  rotate: 0deg !important;
}

/* Make product names display horizontally */
#neurolink-info h3,
#holovisor-info h3,
#synthlimb-info h3,
#nanodrone-info h3 {
  display: block !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
}

/* Remove any rotation animation */
.section-header h2.glitch-text {
  animation: glitch-skew 1s infinite linear alternate-reverse !important;
}

/* Remove the vertical text animation completely */
.section-header h2 .char {
  display: inline-block !important;
  transform: none !important;
  transform-origin: center !important;
}

/* Speed up loading screen */
.loading-screen {
  animation-duration: 0.5s !important;
  transition-duration: 0.5s !important;
}

.loader {
  animation-duration: 0.5s !important;
}

.progress-bar {
  animation-duration: 1s !important;
}

/* Reset any potential vertical text orientation */
[data-text] {
  writing-mode: horizontal-tb !important;
}
