/* Reset and Base Styles */
@font-face {
    font-family: 'Alliance';
    src: url('./fonts/Alliance No1 Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alliance';
    src: url('./fonts/Alliance No1 Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alliance';
    src: url('./fonts/Alliance No1 Regular Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Alliance', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

a:hover {
 filter: blur(3px);
 
}

a{
transition: cubic-bezier(0.47, 0, 0.745, 0.715);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsla(0, 0%, 67%, .1);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 16px 0;
    border-radius: 14px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #666666;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

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

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

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #000000;
}

.hero-subtitle {
    font-size: 20px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.data-visualization {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-point {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #85e083;
    border-radius: 50%;
    animation: pulse 2s infinite;
    filter: blur(15);
}

.data-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #000000 0%, transparent 100%);
    animation: drawLine 3s infinite;
}

.reduce-left{
    margin-left: -12px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes drawLine {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000000;
}

.section-header p {
    font-size: 20px;
    color: #333333;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.product-icon {
    margin-bottom: 24px;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.product-card p {
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.6;
}

.product-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #666666;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: #ffffff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.solution-item {
    text-align: center;
    padding: 40px 20px;
}

.solution-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
}

.solution-item p {
    color: #333333;
    line-height: 1.6;
}

/* Fixed bottom marquees (stacked, appear progressively) */
.ghost-marquee {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    transition: opacity 4s ease-in;
    overflow: visible;
}

.ghost-marquee-1 {
    bottom: 0;
    z-index: 2001;
}

.ghost-marquee-2 {
    bottom: 50px;
    z-index: 2002;
}

.ghost-marquee-3 {
    bottom: 100px;
    z-index: 2003;
}

.ghost-marquee.visible {
    opacity: 1;
}

.ghost-marquee-inner {
    width: 100%;
    pointer-events: auto;
    padding: 10px 32px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 22px;
    color: #000000;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,1);
    box-shadow: 0 10px 30px #12f00d;
    border-radius: 0;
}

.ghost-marquee-inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

@keyframes ghost-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ghost-marquee-inner span {
    display: inline-block;
    padding-right: 64px;
    animation: ghost-marquee-scroll 20s linear infinite;
}

/* Mobile model container - hidden on desktop */
.mobile-model-container {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    backdrop-filter: blur(0px);
    transition: backdrop-filter 4s ease-in;
}

.mobile-model-container.visible {
    backdrop-filter: blur(10px);
}

.mobile-model-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-message {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 22px;
    color: #000000;
    text-align: center;
    margin-top: 20px;
}

/* 3D models row - fixed overlay */
/* 3D models row - fixed overlay */
.models-row {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.models-row.visible {
    display: flex;
}

.credits-link {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 3001;
    cursor: pointer;
    border: black 1px solid;
}

.credits-box {
    position: absolute;
    top: 140px;
    right: 40px;
    z-index: 3002;
    max-width: 400px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background: #d0cfcf;
    border: black 1px solid;
    border-radius: 3px;
    padding: 0;
}

.credits-box.visible {
    max-height: 500px;
    opacity: 1;
    padding: 15px;
}

.credits-content {
    font-family: arial, sans-serif;
    font-size: 14px;
    color: black;
    line-height: 1.6;
    white-space: pre-wrap;
}

.models-row-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.models-row-inner model-viewer {
    width: 30vmin;
    height: 30vmin;
    border-radius: 50%;
    border: 1px solid transparent;
}

.button-link {
    font-size: 14px;
    font-family: arial;
    text-decoration: none;
    color: black;
    background: #d0cfcf;
    border-radius: 3px;
    border: none;
    padding: 2px 8px;
    cursor: pointer;
    border: black 1px solid;
}



.button-link:hover{
    box-shadow: #12f00d 0px 0px 10px 0px;
    filter: none;
}

/* Footer */
.footer {
    background: #f8f8f8;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.footer-section ul li a:hover {
    color: #000000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    color: #666666;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-header h2 {
        font-size: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
}

@media (max-width: 768px) {

    .nav-actions{
        display: none;
    }

    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        padding: 30px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .product-card {
        padding: 24px;
    }
    
    .solution-item {
        padding: 30px 16px;
    }
}

/* Responsive styles for 3D models and marquees */
@media (max-width: 1024px) {
    .models-row {
        padding: 20px;
    }
    
    .models-row-inner {
        gap: 30px;
    }
    
    .models-row-inner model-viewer {
        width: 25vmin;
        height: 25vmin;
    }
    
    .ghost-marquee-inner {
        width: 100%;
        font-size: 20px;
        padding: 8px 24px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    /* Hide all regular marquees on mobile */
    .ghost-marquee {
        display: none !important;
    }
    
    /* Hide most models and buttons on mobile */
    .models-row-inner .model-item:not(:nth-child(2)) {
        display: none !important;
    }
    
    .models-row-inner .model-item:nth-child(2) .button-link {
        display: none !important;
    }
    
    .models-row {
        padding: 15px;
    }
    
    .models-row-inner {
        gap: 20px;
        flex-direction: column;
    }
    
    .models-row-inner model-viewer {
        width: 40vmin;
        height: 40vmin;
    }
    
    .model-item {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile model container - shown on scroll */
    .mobile-model-container {
        flex-direction: column;
        opacity: 0;
        backdrop-filter: blur(0px);
        transition: opacity 4s ease-in, backdrop-filter 4s ease-in;
    }
    
    .mobile-model-container.visible {
        display: flex;
        opacity: 1;
        backdrop-filter: blur(10px);
    }
    
    .mobile-model-item {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .mobile-model-item model-viewer {
        width: 50vmin;
        height: 50vmin;
        border-radius: 50%;
    }
    
    /* Mobile message styling */
    .mobile-message {
        font-family: "Arial Narrow", Arial, sans-serif;
        font-size: 22px;
        color: #000000;
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .models-row {
        padding: 10px;
    }
    
    .models-row-inner {
        gap: 15px;
    }
    
    .models-row-inner model-viewer {
        width: 50vmin;
        height: 50vmin;
    }
    
    .ghost-marquee-inner {
        width: 100%;
        font-size: 16px;
        padding: 5px 12px;
        border-radius: 0;
    }
    
    .ghost-marquee-2 {
        bottom: 50px;
    }
    
    .ghost-marquee-3 {
        bottom: 100px;
    }
}
