:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #00a0e3;
    --text-color: #ffffff;
    --background-color: #001a3a;
    --success-color: #4CAF50;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    line-height: 1.6;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-color) 0%, #004080 100%);
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    letter-spacing: 0;
    overflow-x: hidden;
    max-width: 100vw;
    isolation: isolate;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 26, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.logo-image {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* Main Content */
main {
    padding-top: 60px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 1.25rem;
    margin-bottom: 0.25rem;
    max-width: 100%;
    overflow-x: hidden;
}

.content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: rgba(0, 26, 58, 0.64);
    padding: clamp(1.25rem, 2vw, 2.25rem);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

/* Typography */
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    line-height: 1.25;
    letter-spacing: 0;
}

p {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.about-content {
    max-width: 920px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    align-items: stretch;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1440px) {
    .product-grid {
        margin: 2rem 1rem;
    }
}

.product-grid .product.full-width {
    grid-column: 1 / -1;
    min-height: 150px;
    margin-top: 0;
}

.product-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 160, 227, 0.3);
    position: relative;
    overflow: hidden;
}

.product-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 160, 227, 0.5);
}

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

.product-button span {
    position: relative;
    z-index: 1;
}

.product-button:visited {
    color: var(--text-color);
}

/* Autodrive page styles */
.product-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: left !important;
}

.product-description p {
    text-align: left !important;
}

.product-description ul {
    list-style-position: inside;
    margin: 1rem 0;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.autodrive-hero {
    text-align: center;
}

.autodrive-eyebrow {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.autodrive-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.autodrive-feature-grid,
.document-grid {
    display: grid;
    gap: 1rem;
}

.autodrive-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.autodrive-feature-grid,
.autodrive-function-list,
.document-grid {
    min-width: 0;
}

.autodrive-functions {
    margin-bottom: 1.25rem;
}

.autodrive-function-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.autodrive-function {
    min-height: 180px;
    padding: 1.25rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-width: 0;
    overflow-wrap: anywhere;
}

.autodrive-function h2 {
    font-size: 1.2rem;
}

.autodrive-function p {
    margin-bottom: 0;
}

.document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.autodrive-feature,
.document-tile,
.autodrive-price {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 1.25rem;
}

.autodrive-feature {
    line-height: 1.6;
    min-width: 0;
    overflow-wrap: anywhere;
}

.autodrive-price {
    margin-top: 1.5rem;
    text-align: center;
}

.autodrive-price a {
    color: var(--accent-color);
    font-weight: 700;
}

.autodrive-installation {
    max-width: 1100px;
    overflow-wrap: anywhere;
}

.autodrive-installation h2 {
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.autodrive-installation h3 {
    color: var(--accent-color);
    margin: 1.25rem 0 0.75rem;
}

.autodrive-installation ul,
.autodrive-installation ol {
    margin: 0 0 1rem 1.25rem;
}

.autodrive-installation li {
    margin-bottom: 0.65rem;
}

.autodrive-installation code {
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #9be2ff;
    font-family: Consolas, "Courier New", monospace;
}

.autodrive-installation pre {
    margin: 0.75rem 0 1rem;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.autodrive-installation pre code {
    padding: 0;
    background: transparent;
    color: var(--text-color);
}

.autodrive-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.autodrive-installation table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.06);
}

.autodrive-installation caption {
    margin-bottom: 0.5rem;
    text-align: left;
}

.autodrive-installation th,
.autodrive-installation td {
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    vertical-align: top;
}

.autodrive-installation th {
    background: rgba(0, 160, 227, 0.22);
    color: var(--text-color);
}

.autodrive-note {
    opacity: 0.86;
}

.document-tile {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

.document-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
}

.document-link:visited {
    color: var(--text-color);
}

.document-link.disabled {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
    .product.full-width {
        grid-template-columns: 1fr;
    }

    .product-main {
        align-items: center;
        text-align: center;
    }

    .product.full-width .product-main > p {
        text-align: left;
    }

    .autodrive-feature-grid,
    .autodrive-function-list,
    .document-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 0.75rem;
    }

    .content {
        padding: 1rem;
        border-radius: 8px;
    }

    .autodrive-hero h1,
    .autodrive-functions h1,
    .autodrive-installation h1 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .autodrive-function h2 {
        font-size: 1.05rem;
    }

    .autodrive-function,
    .autodrive-feature,
    .document-tile,
    .autodrive-price {
        padding: 1rem;
    }

    .autodrive-installation table {
        min-width: 0;
        table-layout: fixed;
    }

    .autodrive-installation th,
    .autodrive-installation td {
        padding: 0.65rem;
        font-size: 0.82rem;
    }

    .autodrive-installation code,
    .autodrive-installation pre {
        font-size: 0.82rem;
    }
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--text-color);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 160, 227, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 227, 0.5);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.cta-button:visited {
    color: var(--text-color);
}

.product {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
    text-align: left;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.product:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.product h2 {
    color: var(--accent-color);
    font-weight: 600;
    font-size: clamp(1.55rem, 3vw, 2rem);
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.product p {
    color: var(--text-color);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
}

.product.full-width {
    min-height: 200px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    grid-template-areas:
        "main demo";
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.product.full-width h2 {
    margin-bottom: 1.5rem;
}

.product-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product.full-width .product-description {
    max-width: 780px;
    margin: 0;
    text-align: left;
}

.product.full-width .product-description p:last-child {
    margin-bottom: 0;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--text-color);
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 160, 227, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    width: fit-content;
    margin-top: 1rem;
}

.product.full-width .demo-section {
    grid-area: demo;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 227, 0.5);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.product-button:visited {
    color: var(--text-color);
}

.product-button span {
    position: relative;
    z-index: 1;
}

/* Download Section */
.download-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--text-color);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 160, 227, 0.3);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    justify-self: center;
    width: fit-content;
    margin: 0 auto;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 227, 0.5);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.download-button:visited {
    color: var(--text-color);
}

.cart-icon {
    font-size: 1rem;
    line-height: 1;
}

.download-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.download-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.download-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.download-item p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

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

button {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.info-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 160, 227, 0.14);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-info > .info-item:last-child {
    grid-column: 1 / -1;
}

.info-item p {
    margin: 0;
}

.address-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 1.25rem;
    align-items: start;
}

.address-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-text p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.address-text p .info-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.map-container {
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
    .map-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .address-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 200px;
    }
    
    .map-container iframe {
        height: 100% !important;
    }
    
    .address-text {
        gap: 15px;
    }
    
    .address-text p {
        line-height: 1.5;
    }
}

/* Animations */
.tractor-scene {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background: transparent;
}

.tractor-scene--site-background {
    opacity: 0.92;
}

.tractor-point-cloud {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.94;
}

/* Messages */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100vw - 40px);
}

@media (max-width: 768px) {
    .message-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100vw - 20px);
    }
    
    .message {
        min-width: auto;
        max-width: 100%;
    }
}

.message {
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    min-width: 250px;
    max-width: 90vw;
    display: flex;
    align-items: center;
    gap: 12px;
}

.message.error {
    background: #f44336;
}

.message.show {
    opacity: 1;
    transform: translateX(0);
}

.message-icon {
    font-size: 1.2em;
    line-height: 1;
}

/* Button animations */
#contactForm button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 150px;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
}

#contactForm button[type="submit"]:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

#contactForm button[type="submit"].loading {
    background: var(--secondary-color);
    cursor: not-allowed;
}

#contactForm button[type="submit"].success {
    background: var(--success-color);
    animation: successPulse 1.5s ease-in-out;
}

#contactForm button[type="submit"].error {
    background: #f44336;
    animation: shake 0.5s ease-in-out;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-item {
        padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0.75rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .download-button,
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

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

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

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 26, 58, 0.95);
        padding: 1rem;
        gap: 0.75rem;
        text-align: center;
        transform: scaleY(0);
        transform-origin: top;
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    .content {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

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

    .product-grid .product.full-width {
        height: auto;
        padding: 2rem 1rem;
    }

    .download-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 0.5rem;
    }

    .content {
        padding: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .logo-image {
        height: 35px;
    }
}

/* Key Input Styles */
.key-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
}

.key-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.key-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.key-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    font-weight: 500;
}

.key-button.primary {
    background: var(--success-color);
    color: white;
}

.key-button.primary:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.key-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.key-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

#keyInputForm {
    background: rgba(0, 26, 58, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-top: 1rem;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 58, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 26, 58, 0.95) 0%, rgba(0, 64, 128, 0.95) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal h3 {
    margin: 0 0 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 500;
}

.modal input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
}

.modal input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    font-weight: 500;
}

.modal-button.primary {
    background: var(--success-color);
    color: white;
}

.modal-button.primary:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.modal-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.modal-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Contact Highlight Styles */
.contact-highlight {
    background: linear-gradient(135deg, rgba(0, 160, 227, 0.3) 0%, rgba(0, 86, 179, 0.3) 100%) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 12px !important;
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 160, 227, 0.4) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: contactPulse 2s infinite !important;
}

@keyframes contactPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(0, 160, 227, 0.4);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(0, 160, 227, 0.6);
    }
}

/* Purchase Tooltip Styles */
.purchase-tooltip {
    position: fixed;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    max-width: 300px;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.purchase-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.purchase-tooltip .tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #4CAF50;
}

.purchase-tooltip .tooltip-content {
    text-align: center;
}

.purchase-tooltip .tooltip-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.purchase-tooltip .tooltip-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

/* Demo Gallery Styles */
.demo-section {
    text-align: left;
    margin: 0;
    padding: 1rem;
    background: rgba(0, 26, 58, 0.36);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
    max-width: 100%;
    width: 100%;
}

.demo-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: left;
}

.demo-gallery.demo-slideshow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: none;
    margin: 0;
}

.demo-slideshow-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-slide {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    display: none;
}

.demo-slide.is-active {
    display: block;
}

.demo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: var(--transition);
}

.demo-slide:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0, 160, 227, 0.24);
}

.demo-slide:hover {
    background: transparent;
    transform: none;
}

.demo-collage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.demo-collage-item {
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.72;
    transition: var(--transition);
}

.demo-collage-item.is-active,
.demo-collage-item:hover {
    opacity: 1;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.demo-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile responsiveness for demo gallery */
@media (max-width: 768px) {
    .product.full-width {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "demo";
    }

    .product.full-width .product-button {
        align-self: center;
    }

    .demo-gallery.demo-slideshow {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .demo-section {
        margin-top: 1.5rem;
        padding: 1rem;
        text-align: center;
    }
    
    .demo-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .demo-slide:hover img,
    .demo-collage-item:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .demo-section h3 {
        font-size: 1.1rem;
    }
    
    .demo-section {
        padding: 0.8rem;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

.image-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    animation: modalImageZoom 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalImageZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
