:root {
    --primary-color: #ff4d4d;
    --text-color: #ffffff;
    --background-color: #000000;
    --accent-color: #4d79ff;
    --max-width: 1920px;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --blur-amount: 10px;
    --glow-strength: 20px;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --gradient-dark: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.95));
    --form-bg: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-radius: 12px;
}

@font-face {
    font-family: 'Montserrat-Alt1';
    src: url('path/to/MontserratAlt1-Light.woff2') format('woff2'),
         url('path/to/MontserratAlt1-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat-Alt1', sans-serif;
    font-weight: 300;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 30px;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1em;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-speed) ease;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
    transition: var(--transition-speed) ease;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition-speed);
}

.menu-toggle:hover span {
    background-color: var(--primary-color);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* CTA Button */
.cta-button {
    margin-left: 20px;
}

.btn-request-demo {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.btn-request-demo::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: all 0.6s ease;
}

.btn-request-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

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

/* Space Scene */
.space-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.mars {
    width: 400px;
    height: 400px;
    background: url('https://www.solarsystemscope.com/textures/download/2k_mars.jpg');
    background-size: cover;
    border-radius: 50%;
    position: relative;
    box-shadow: 
        inset -30px -30px 50px rgba(0,0,0,0.6),
        inset 30px 30px 50px rgba(255,69,0,0.2),
        0 0 50px rgba(255,69,0,0.2),
        0 0 100px rgba(255,69,0,0.1);
    filter: brightness(1.2) contrast(1.1);
    will-change: transform;
    transform-style: preserve-3d;
    cursor: grab;
    transition: transform 0.05s linear;
}

.mars::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255,69,0,0.1) 0%,
        transparent 60%);
    filter: blur(8px);
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: transparent;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite;
    box-shadow: 
        0 0 2px #fff,
        0 0 4px #fff,
        0 0 6px #fff,
        0 0 8px var(--accent-color),
        0 0 10px var(--accent-color);
}

.star.large {
    width: 3px;
    height: 3px;
}

.star.medium {
    width: 2px;
    height: 2px;
}

.star.small {
    width: 1px;
    height: 1px;
}

.space-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        transparent 0%,
        rgba(0,0,0,0.8) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Main Content */
main {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 100px 0;
    margin-top: var(--header-height);
}

/* Reusable Components */
.section-header {
    margin-bottom: 60px;
}

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

.tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.btn-primary::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: all 0.6s ease;
}

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

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

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 11px 29px;
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(255, 77, 77, 0.1);
    transform: translateY(-3px);
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-text:hover i {
    transform: translateX(5px);
}

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

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* About Page */
.about-hero {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.team-section {
    padding: 80px 0;
}

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

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}

.member-role {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Solutions Page */
.solutions-hero {
    padding: 80px 0 40px;
}

.solutions-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

.solutions-grid {
    padding: 40px 0;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.solution-card.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.solution-card.reversed .solution-content {
    direction: ltr;
}

.solution-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-features {
    list-style: none;
    margin: 20px 0;
}

.solution-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.solution-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.cta-section {
    background: var(--gradient-dark);
    border-radius: var(--border-radius);
    padding: 60px;
    text-align: center;
    margin: 80px 0;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Page */
.contact-hero {
    padding: 80px 0 40px;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    margin: 60px 0;
}

.contact-form-container {
    background: var(--form-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-links-alt {
    margin-top: 30px;
}

.social-links-alt h3 {
    margin-bottom: 15px;
}

/* Footer Styles */
footer {
    padding: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    color: var(--text-color);
    font-size: 24px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.social-links .instagram:hover {
    background: #E1306C;
}

.social-links .linkedin:hover {
    background: #0077B5;
}

.social-links .youtube:hover {
    background: #FF0000;
}

footer p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
}

@keyframes rotate {
    from { 
        background-position: 0 0; 
    }
    to { 
        background-position: 100% 0; 
    }
}

/* Media Queries */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1800px;
    }
    
    .mars {
        width: 500px;
        height: 500px;
    }
    
    nav a {
        font-size: 1.2em;
    }
    
    .hero-content h1 {
        font-size: 5rem;
    }
}

@media screen and (max-width: 1200px) {
    .solution-card, 
    .solution-card.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1023px) {
    .container {
        max-width: 900px;
    }
    
    .mars {
        width: 350px;
        height: 350px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 767px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .cta-button {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(var(--blur-amount));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    nav.active {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }

    .mars {
        width: 250px;
        height: 250px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-card {
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        height: 20px;
    }

    nav a {
        font-size: 1em;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    main {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }

    .mars {
        width: 180px;
        height: 180px;
    }

    .social-links a {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 25px;
    }
    
    .solution-card {
        margin-bottom: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .star, .mars {
        animation: twinkle var(--duration) infinite;
    }
    
    nav a, 
    .menu-toggle span,
    .social-links a,
    .btn-primary,
    .btn-secondary,
    .btn-request-demo,
    .solution-image img,
    .about-image img,
    .member-image img {
        transition: none;
    }
}

/* Demo Videos Section */
.demo-videos {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    margin: 4rem 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: rgba(13, 13, 20, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #fff;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-centered {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .video-card {
        max-width: 100%;
    }
}