/* --- CSS Variables & Design System --- */
:root {
    /* Brand Colors */
    --clr-teal: #0B6851;
    --clr-teal-light: #128a6d;
    --clr-teal-dark: #074737;
    --clr-orange: #FF9C00;
    --clr-orange-hover: #e08b00;

    /* Neutrals */
    --clr-bg: #03110e; /* Very dark teal for a rich dark mode */
    --clr-surface: #071f1a;
    --clr-surface-light: #0d3029;
    --clr-text: #e2e8f0;
    --clr-text-muted: #94a3b8;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 156, 0, 0.3);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.5rem;
}

/* --- Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Typography Utilities --- */
.highlight {
    color: var(--clr-orange);
}

.text-center {
    text-align: center;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--clr-orange);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .layout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--clr-orange);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 156, 0, 0.2);
}

.btn-primary:hover {
    background: transparent;
    color: var(--clr-orange);
    border-color: var(--clr-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary-outline {
    background: transparent;
    color: var(--clr-orange);
    border: 2px solid var(--clr-orange);
}

.btn-primary-outline:hover {
    background: var(--clr-orange);
    color: #000;
}

.btn-secondary {
    background: var(--clr-surface-light);
    color: var(--clr-text);
}

.btn-secondary:hover {
    background: var(--clr-teal);
    color: #fff;
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(3, 17, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100px; /* Increased from 40px */
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scale(1.2);
    transform-origin: left center;
}

.nav-links {
    display: none;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }
    
    .nav-links a:not(.btn-primary):not(.btn-primary-outline) {
        font-weight: 500;
        position: relative;
    }
    
    .nav-links a:not(.btn-primary):not(.btn-primary-outline)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: var(--clr-orange);
        transition: width var(--transition-fast);
    }
    
    .nav-links a:not(.btn-primary):not(.btn-primary-outline):hover::after {
        width: 100%;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--clr-text);
    cursor: pointer;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, var(--clr-teal-dark) 0%, var(--clr-bg) 60%);
    z-index: -1;
    opacity: 0.8;
}

/* Decorative ambient glow */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--clr-orange);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--clr-text);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--clr-orange);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* --- About Section --- */
.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--clr-orange);
}

.glass-card {
    background: rgba(7, 31, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.image-placeholder {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11,104,81,0.2) 0%, rgba(255,156,0,0.05) 100%);
    z-index: -1;
}

.large-icon {
    width: 64px;
    height: 64px;
    color: var(--clr-teal-light);
}

/* --- Products Section --- */
.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 156, 0, 0.2);
}

.card-img {
    height: 200px;
    background: var(--clr-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--clr-surface));
    bottom: 0;
}

.product-icon {
    width: 80px;
    height: 80px;
    color: var(--clr-teal);
    transition: transform var(--transition-normal);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    color: var(--clr-orange);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.learn-more {
    color: var(--clr-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.learn-more:hover {
    gap: 0.5rem;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        padding: 4rem;
    }
}

.glass-panel {
    background: var(--clr-surface);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--clr-orange);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--clr-text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group.expand {
    flex-grow: 1;
}

.input-group.expand textarea {
    height: 100%;
    resize: none;
}

.input-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.input-group input, 
.input-group textarea {
    background: var(--clr-surface-light);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--clr-orange);
    background: rgba(255,255,255,0.05);
}

/* --- Accordion / Collapsible Policies --- */
.policy-section {
    margin: 4rem auto;
    max-width: 900px;
}

.policy-card {
    background: var(--clr-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.policy-card:hover {
    border-color: rgba(255,156,0,0.3);
}

.policy-card details summary {
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-teal-light);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-card details summary::-webkit-details-marker {
    display: none;
}

.policy-card details summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-orange);
    transition: transform var(--transition-fast);
}

.policy-card details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.policy-content {
    padding: 0 2rem 2rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.policy-content h4 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
}

.policy-content ol, .policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
    background: #020a08;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--clr-orange);
    color: #000;
    transform: translateY(-3px);
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4, .footer-legal h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links a, .footer-legal a {
    color: var(--clr-text-muted);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--clr-orange);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* --- Specifications Table --- */
.spec-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-responsive {
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-table thead th {
    background: var(--clr-teal-dark);
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 1.25rem;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid var(--clr-orange);
}

.spec-table tbody td,
.spec-table tbody th {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    font-size: 0.95rem;
}

.spec-table tbody th {
    background: var(--clr-surface-light);
    font-weight: 500;
    color: var(--clr-text);
    width: 28%;
    text-align: left;
}

.spec-table tbody td {
    text-align: center;
    color: var(--clr-text-muted);
}

.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th {
    background: rgba(255, 156, 0, 0.1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    /* Logo sizing fix to stop pushing horizontal bounds */
    .logo img {
        height: 75px;
    }

    .mobile-menu-btn svg {
        width: 32px;
        height: 32px;
    }

    /* Navbar menu */
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 17, 14, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a.btn-primary, .nav-links a.btn-primary-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .logo {
        height: 60px;
    }

    /* Hero section */
    .hero {
        padding-top: 8rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .hero-cta a {
        width: 100%;
        justify-content: center;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 1.6rem;
    }

    /* About section image */
    .about-image {
        margin-top: 2rem;
    }

    /* Contact sections */
    .contact-wrapper {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        gap: 2rem;
    }
    
    /* Layout Overrides */
    .layout-grid {
        gap: 2rem;
    }
    
    /* Policy Sections */
    .policy-card details summary {
        padding: 1.25rem;
        font-size: 1.1rem;
    }
    
    .policy-content {
        padding: 0 1.25rem 1.5rem;
    }

    /* Table Mobile Optimizations */
    .spec-table {
        min-width: 100%;
        table-layout: auto;
    }
    .spec-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
        line-height: 1.1;
    }
    .spec-table tbody td,
    .spec-table tbody th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
    .spec-table tbody th {
        width: 25%;
    }
}
