/* Base Styles */
:root {
    --primary: #00a8e8;
    --primary-dark: #0077b6;
    --secondary: #ff6b6b;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: var(--dark);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--gray);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-cta .btn {
    margin-left: 20px;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1100;
    padding: 30px;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    margin-top: 30px;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: white;
    font-size: 1.1rem;
}

.mobile-menu .btn {
    display: block;
    margin-top: 30px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

#hero-model-viewer {
    width: 100%;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

/* Products Section */
.products-section {
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 25px;
}

.product-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    margin-bottom: 15px;
    color: var(--gray);
}

.product-specs ul {
    margin: 15px 0;
}

.product-specs li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.product-specs i {
    margin-right: 10px;
    color: var(--primary);
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
}

/* Customization Section */
.customize-section {
    background-color: #f5f7fa;
}

.customization-interface {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.model-viewer-container {
    flex: 2;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#custom-model-viewer {
    width: 100%;
    height: 500px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
}

.model-viewer-controls {
    display: flex;
    gap: 10px;
}

.model-viewer-controls button {
    padding: 8px 15px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.model-viewer-controls button:hover {
    background-color: var(--primary);
    color: white;
}

.customization-options {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.customization-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.option-group {
    margin-bottom: 25px;
}

.option-group h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.option-select select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: white;
    font-family: var(--font-body);
}

.option-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-range input[type="range"] {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    background: var(--light-gray);
    border-radius: 5px;
}

.option-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.option-radio, .option-checkbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-radio label, .option-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}

.option-radio input, .option-checkbox input {
    margin-right: 10px;
}

.option-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: var(--primary);
    transform: scale(1.1);
}

.option-multiselect select {
    width: 100%;
    height: 120px;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    background-color: white;
    font-family: var(--font-body);
}

.customization-summary {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.summary-header h4 {
    font-size: 1.2rem;
    color: var(--dark);
}

.summary-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
}

.summary-details ul {
    margin-bottom: 20px;
}

.summary-details li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.summary-details li:before {
    content: '•';
    color: var(--primary);
    margin-right: 10px;
}

.summary-actions {
    display: flex;
    gap: 10px;
}

.summary-actions .btn {
    flex: 1;
    text-align: center;
}

/* Technology Section */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 168, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.tech-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.tech-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* About Section */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    min-width: 350px;
    scroll-snap-align: start;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: rgba(0, 168, 232, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: bold;
    color: var(--dark);
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Contact Section */
.contact-section .container {
    display: flex;
    gap: 50px;
}

.contact-content {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info {
    margin-top: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 168, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-text h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.info-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: white;
    padding: 60px 0;
}

.newsletter-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-body);
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* Footer */
.main-footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-logo {
    margin-bottom: 20px;
    display: block;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-section .container,
    .contact-section .container {
        flex-direction: column;
    }
    
    .about-image,
    .contact-form {
        margin-top: 50px;
    }
    
    .newsletter-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        margin-top: 30px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .customization-interface {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-buttons .btn:first-child {
        margin-bottom: 15px;
    }
    
    .summary-actions {
        flex-direction: column;
    }
    
    .summary-actions .btn {
        width: 100%;
    }
    
    .summary-actions .btn:first-child {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
}