:root {
    --bg-dark: #0A0A0B;
    --bg-light: #1A1A1D;
    --primary: #6C63FF;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --text: #FFFFFF;
    --text-secondary: #9CA3AF;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Effects */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(108, 99, 255, 0.2),
        transparent 40%),
        radial-gradient(circle at bottom left,
        rgba(255, 107, 107, 0.2),
        transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    position: relative;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

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

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
}

.btn-ghost {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--glass-border);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 6rem 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-visual {
    flex: 1;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.step {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* Showcase Section */
.showcase {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light));
}

.section-description {
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    justify-content: center;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

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

.model-container {
    position: relative;
    height: 320px;
    background: linear-gradient(45deg, rgba(0,0,0,0.02), rgba(255,255,255,0.02));
    flex-grow: 1;
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary);
    --progress-bar-height: 2px;
    --camera-orbit: "auto auto 200%";
    --min-camera-orbit: "auto auto 100%";
    --max-camera-orbit: "auto auto 300%";
    --camera-target: "0 0 0";
    --min-field-of-view: "20deg";
    --max-field-of-view: "80deg";
    --field-of-view: "45deg";
}

.model-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    transform: translateY(-2px);
}

.control-btn.active {
    background: var(--primary);
    color: white;
}

.control-btn.clicked::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.showcase-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.8rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.showcase-info h3 {
    font-size: 1.2rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-item:hover .showcase-content {
    transform: translateY(0);
}

.model-viewer-card {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.model-viewer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary);
    --progress-bar-height: 2px;
}

.model-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    transform: translateY(-2px);
}

.control-btn.active {
    background: var(--primary);
    color: white;
}

.control-btn.clicked::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.float-card.stats {
    top: 20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.float-card.qr {
    bottom: 20px;
    left: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

/* Footer Styles */
.footer {
    background: var(--bg-light);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        var(--secondary),
        transparent
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    color: var(--text);
    text-decoration: none;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass);
    color: var(--text);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 350px);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    justify-content: center;
}

.pricing-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-header::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.pricing-features li i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pricing-features li i.fa-check {
    background: var(--primary);
    color: white;
}

.pricing-features li i.fa-times {
    background: var(--secondary);
    color: white;
}

.pricing-features li.disabled {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.popular-tag {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta {
    padding: 8rem 2rem;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    top: -250px;
    left: -250px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.1;
    bottom: -250px;
    right: -250px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Also let's add a general section spacing class */
.section-spacing {
    margin-top: 2rem;
}

/* Adjust the container width for larger screens */
@media (min-width: 1400px) {
    .showcase-grid {
        grid-template-columns: repeat(3, 280px);
        justify-content: center;
    }
}

/* Adjust for medium screens */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 280px);
        padding: 0 2rem;
    }
    
    .model-container {
        height: 260px;
    }
    
    .showcase-item {
        min-height: 360px;
    }
}

/* Adjust for mobile screens */
@media (max-width: 768px) {
    .model-container {
        height: 240px;
    }
    
    .showcase-item {
        min-height: 290px;
    }
}

/* Add/Update Media Queries */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.95);
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .model-viewer-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .model-viewer-card {
        height: 350px;
    }

    .nav-buttons {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .model-viewer-card {
        height: 300px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .float-card {
        display: none;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve touch interactions on mobile */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }

    .feature-card:hover {
        transform: none;
    }
}

/* Fix model viewer responsiveness */
model-viewer {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 500px;
    --poster-color: transparent;
}

/* Navigation */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 992px) {
    .nav-container {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.95);
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .nav-links {
        margin: 0;
    }

    .menu-toggle {
        right: 1rem;
    }
}

/* Update model-viewer::part(ar-button) to be above the title */
.showcase-item model-viewer::part(ar-button) {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: white;
    border-radius: 4px;
    border: none;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2; /* Make sure AR button appears above the title */
}

/* Add styling for the AR button in the hero section */
.model-viewer-card model-viewer::part(ar-button) {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: white;
    border-radius: 4px;
    border: none;
    min-width: 36px;
    min-height: 36px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Ensure the floating cards don't overlap with the AR button */
.floating-cards {
    z-index: 1;
}

/* AR Message Popup Styles */
.ar-message {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.95);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    min-width: 300px;
    animation: slideUp 0.3s ease-out;
}

.ar-message-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 20px;
}

.message-icon {
    font-size: 1.4em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text);
}

.close-message {
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.close-message:hover {
    color: var(--text);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Add media query for mobile devices */
@media (max-width: 576px) {
    .ar-message {
        min-width: auto;
        width: 90%;
        bottom: 20px;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.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-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--glass);
    color: var(--text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 0 20px;
    }
    
    .close-modal {
        top: -50px;
        right: 0;
    }
}

/* Demo Section Styles */
.demo-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light));
    position: relative;
    overflow: hidden;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.demo-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.demo-model {
    position: relative;
    height: 300px;
    background: linear-gradient(45deg, rgba(0,0,0,0.02), rgba(255,255,255,0.02));
}

.demo-model model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary);
    --progress-bar-height: 2px;
}

.demo-info {
    padding: 1.5rem;
    text-align: center;
}

.demo-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .demo-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 1rem 0;
        gap: 1.5rem;
    }

    .demo-model {
        height: 250px;
    }

    .demo-info {
        padding: 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Even smaller screens */
@media (max-width: 576px) {
    .demo-section {
        padding: 2rem 1rem;
    }

    .demo-grid {
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .demo-model {
        height: 220px;
    }
}

/* Custom AR Button Styles */
model-viewer::part(ar-button) {
    /* Hide default AR button */
    display: none;
}

/* Optional: If you want to keep the default button but make it smaller */

model-viewer::part(ar-button) {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    min-width: unset;
    min-height: unset;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* Custom AR button using Font Awesome icon */
.model-controls .control-btn[data-action="ar"],
.model-controls #ar {
    position: relative;
    z-index: 2;
}

/* Make sure custom controls are always visible */
.model-controls {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Adjust button positioning if needed */
.model-controls {
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 100;
}

/* Remove any existing AR button styles */
.model-viewer-card model-viewer::part(ar-button),
.showcase-item model-viewer::part(ar-button) {
    display: none;
}

/* Update the model-controls styles in the demo section */
.demo-model .model-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.demo-model .control-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.demo-model .control-btn:hover {
    transform: translateY(-2px);
    background: var(--primary);
    color: white;
}

.demo-model .control-btn.active {
    background: var(--primary);
    color: white;
}

/* Replace the existing company-tag styles with these new styles */
.company-badge {
    margin: 1.5rem 0;
    display: inline-flex;
    position: relative;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.badge-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.1),
        rgba(255, 107, 107, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-content:hover::before {
    opacity: 1;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.vinkand-logo {
    width: 100%;
    height: 100%;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.badge-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-company {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.badge-company::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge-content:hover .badge-company::after {
    opacity: 0.5;
}

/* Add a subtle animation */
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.company-badge:hover .badge-content {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .company-badge {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .badge-content {
        padding: 0.6rem 1rem;
    }
    
    .badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .badge-company {
        font-size: 1rem;
    }
}
