/* Hero Banner with 3D Container */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-deep);
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

/* 3D Container - Centered below Nav */
#canvas-container {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    pointer-events: none;
    display: block !important;
    z-index: 50;
}

#canvas-container canvas {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-content {
    max-width: 4xl;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    margin-bottom: 2.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10b981;
}

.hero-badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #10b981;
}

.hero-h1 {
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 2rem;
}

.platinum-glow {
    color: transparent;
    background: linear-gradient(to bottom, #fff 10%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 3.5rem;
    font-weight: 300;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Product Section */
.product-section {
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 768px) {
    .product-content {
        flex-direction: row;
        gap: 6rem;
    }
}

.product-text {
    flex: 1;
}

.product-subtitle {
    color: #10b981;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.product-title span {
    color: #94a3b8;
}

.product-description {
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-item-number span {
    color: #10b981;
    font-size: 0.875rem;
}

.stat-item-label {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.product-image {
    flex: 1;
    position: relative;
}

.product-image-bg {
    position: absolute;
    inset: 0;
    background: rgba(16, 185, 129, 0.1);
    filter: blur(100px);
    border-radius: 50%;
}

.product-image-container {
    position: relative;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 8px;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 38px;
    opacity: 0.8;
    transition: opacity 0.7s;
}

.product-image-container:hover img {
    opacity: 1;
}

.product-status {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
}

.status-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.status-value {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.blueprint-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--line-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.axis-v {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line-color) 50%, transparent);
    z-index: 1;
}

.split-wrap {
    display: flex;
    flex-direction: column;
    min-height: 70vh;
    width: 100%;
    position: relative;
}

@media (min-width: 1024px) {
    .split-wrap {
        flex-direction: row;
        min-height: 70vh;
    }
}

.side-panel {
    width: 100%;
    height: auto;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: visible;
    z-index: 10;
}

@media (min-width: 1024px) {
    .side-panel {
        width: 50%;
        height: 100%;
        padding: 4vw;
    }
}

/* Image Gallery */
.visual-aperture {
    position: relative;
    width: 100%;
    height: 55vh;
    max-width: 500px;
    padding: 20px;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 2s ease;
    transform: scale(1.1);
    z-index: 1;
}

.gallery-item.active {
    opacity: 1 !important;
    transform: scale(1);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bracket {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent-light);
    border-style: solid;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    z-index: 10;
}

.b-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.b-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.b-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.b-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.visual-aperture:hover .bracket {
    width: 50px;
    height: 50px;
    opacity: 1;
    border-color: var(--accent-main);
}

.img-plate {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.7) contrast(1.1);
    transition: all 1s ease;
}

.visual-aperture:hover .img-plate {
    filter: grayscale(0.2) brightness(0.9) contrast(1);
}

/* Content Side */
.narrative-block {
    width: 100%;
    max-width: 520px;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.measure-line {
    height: 1px;
    width: 100px;
    background: var(--accent-main);
    margin-bottom: 2rem;
}

.coord-label {
    position: absolute;
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 9px;
    color: var(--accent-main);
    opacity: 0.2;
    letter-spacing: 0.3em;
    z-index: 0;
}

.gallery-nav {
    position: absolute;
    bottom: -2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.nav-dot {
    width: 30px;
    height: 1px;
    background: rgba(16, 185, 129, 0.2);
    transition: background 0.6s ease;
}

.nav-dot.active {
    background: var(--accent-main);
}

.gallery-meta {
    position: absolute;
    bottom: -2rem;
    left: 2rem;
    font-family: monospace;
    font-size: 8px;
    color: #52525b;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-icon i {
    font-size: 10px;
    color: var(--accent-main);
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.btn-schematic {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--accent-main);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5em;
    font-weight: 700;
    transition: gap 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.btn-schematic:hover {
    gap: 2.5rem;
    color: #fff;
}

.btn-schematic .line {
    height: 1px;
    width: 40px;
    background: var(--accent-main);
    transition: width 0.3s ease, background 0.3s ease;
}

.btn-schematic:hover .line {
    width: 80px;
    background: #fff;
}

/* Capabilities Section */
.capabilities-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.emerald-luxury-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #020304 0%, #0a0c10 100%);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.emerald-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    transition: all 1s ease-in-out;
}

.emerald-blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 75%);
    top: -20%;
    right: -10%;
    animation: float-1 30s infinite alternate ease-in-out;
}

.emerald-blob-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(5, 7, 10, 0.8) 0%, transparent 75%);
    bottom: -10%;
    left: -5%;
    animation: float-2 25s infinite alternate-reverse ease-in-out;
}

.emerald-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 12, 16, 0.9) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    opacity: 0.2;
    animation: float-1 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-150px, 200px) scale(1.2); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(120px, -150px) scale(0.9); }
}

.emerald-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
    animation: pulse-grid 10s infinite ease-in-out;
}

@keyframes pulse-grid {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

.emerald-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(52, 211, 153, 0.1) 1px, transparent 1px);
    background-size: 150px 150px;
    opacity: 0.15;
    animation: move-particles 60s linear infinite;
}

@keyframes move-particles {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

.emerald-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emerald-nav {
    position: relative;
    border-left: 1px solid rgba(16, 185, 129, 0.2);
}

.emerald-nav-link {
    position: relative;
    padding: 1.1rem 0 1.1rem 3rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.emerald-nav-link::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 2px;
    height: 0;
    background: var(--accent-main);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px var(--accent-main);
}

.emerald-nav-link.active::before {
    height: 100%;
    top: 0;
}

.emerald-nav-index {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(16, 185, 129, 0.4);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.emerald-nav-title {
    font-size: 1.5rem;
    font-weight: 200;
    color: rgba(226, 232, 240, 0.3);
    transition: all 0.4s ease;
}

.emerald-nav-link.active .emerald-nav-title {
    color: var(--accent-main);
    font-weight: 700;
    transform: translateX(12px);
}

.emerald-stage-container {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.emerald-stage-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.emerald-viewport {
    position: relative;
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    /*aspect-ratio: 16 / 10;*/
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    height: 280px;
}

.emerald-bracket {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.emerald-br-tl { top: 25px; left: 25px; border-right: 0; border-bottom: 0; }
.emerald-br-tr { top: 25px; right: 25px; border-left: 0; border-bottom: 0; }
.emerald-br-bl { bottom: 25px; left: 25px; border-right: 0; border-top: 0; }
.emerald-br-br { bottom: 25px; right: 25px; border-left: 0; border-top: 0; }

.emerald-rotating-core {
    position: absolute;
    width: 130%;
    height: 130%;
    background: repeating-conic-gradient(from 0deg, rgba(16, 185, 129, 0.03) 0deg 10deg, transparent 10deg 20deg);
    animation: spin 50s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.emerald-ghost-label {
    font-size: 15vw;
    font-weight: 900;
    color: rgba(16, 185, 129, 0.02);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    pointer-events: none;
    white-space: nowrap;
}

.emerald-stat-divider {
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding-top: 2rem;
    margin-top: 4rem;
}

.emerald-point {
    width: 5px;
    height: 5px;
    background: var(--accent-main);
    box-shadow: 0 0 12px var(--accent-main);
    border-radius: 50%;
}

/* Stats Section */
.stats-section {
    padding: 80px 0 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-dashboard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    overflow: hidden;
    padding: 10px;
}

.stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
    transition: all 0.5s ease;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    max-width: 100px;
}

.stat-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.3), transparent);
    margin: 25px 0;
}

/* Testimonials Section */
.testimonial-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px;
}

.testimonial-card.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
}

.testimonial-nav {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: center;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
    background: none;
}

.nav-btn:hover {
    border-color: var(--accent-main);
    color: var(--accent-main);
    transform: scale(1.1);
}

/* Responsive styles for homepage */
@media (max-width: 1024px) {
    .split-wrap {
        flex-direction: column;
    }

    .side-panel {
        width: 100%;
        height: auto;
        min-height: 50vh;
        padding: 2rem 1.5rem;
    }

    .axis-v { display: none; }

    .visual-aperture {
        height: 40vh;
    }

    .feature-item {
        gap: 0.75rem;
    }

    .emerald-nav-link {
        padding: 1.5rem 0 1.5rem 2rem;
    }

    .emerald-nav-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .emerald-ghost-label {
        font-size: 20vw;
    }



    .testimonial-card {
        padding: 40px 24px;
        max-width: 320px;
    }

    .stats-dashboard {
        flex-direction: column;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 30px 20px;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .testimonial-container{width: 100%;}
    .testimonial-card {
        padding: 20px 24px;
        max-width:330px;
    }
}