:root {
    --primary: #005798;
    --primary-light: #afbfe2;
    --primary-dark: #003a66;
    --gold: #eeb75f;
    --gold-light: #f5d08a;
    --gold-dark: #d4a040;
    --brand-cream: #ebd6b4;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #666;
    --gray-dark: #333;
    --dark: #0a0c10;
    --dark-accent: #151921;
    --dark-lighter: #1a1f2e;

    /* Transitions */
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px rgba(238, 183, 95, 0.2);

    /* Spacing */
    --container-padding: 60px;
    --section-padding: 120px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide cursor only if device has mouse */
@media (pointer: fine) {
    * {
        cursor: none;
    }
}

html {
    scroll-behavior: initial;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Text Selection */
::selection {
    background: var(--gold);
    color: var(--dark);
}

h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Ensure all sections are visible by default (fallback if JS fails) */
section,
.section-title,
.section-badge,
.hero-title,
.hero-subtitle,
.h-card,
.bento-item,
.product-card,
.horizontal-item,
[data-gsap="fade-up"] {
    visibility: visible !important;
    opacity: 1;
}

/* Custom Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(238, 183, 95, 0.5);
    /* Gold glow */
    transform: translate(-50%, -50%);
    /* Ensure perfect centering */
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    width: 26px;
    height: 26px;
    border: 0.1px solid rgb(238 183 95 / 75%);
    background: rgba(238, 183, 95, 0.05);
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(2px);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1), height 0.4s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.4s, border-color 0.4s;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    text-align: center;
}

.loader-logo {
    color: var(--gold);
    font-size: clamp(30px, 5vw, 50px);
    margin-bottom: 20px;
}

.loader-bar-wrapper {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 10px;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--gold);
}

.loader-text {
    color: var(--white);
    font-size: 10px;
    letter-spacing: 4px;
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 12, 16, 0.7);
    /* More transparent for glass effect */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* 
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
} 
*/

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.bento-content {
    background: rgb(0 56 117 / 4%);
    /* Semi-transparent primary */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    height: 120vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    background: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.1);
}

.hero-svg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-svg-pulse {
    width: 150%;
    height: 150%;
    transform: rotate(-15deg);
}

.pulse-circle {
    transform-origin: center;
    vector-effect: non-scaling-stroke;
}

.animate-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 12, 16, 1), transparent);
}


.hero-subtitle {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 5px;
    display: block;
}

.hero-title {
    font-size: clamp(50px, 6vw, 74px);
    line-height: 0.95;
    margin-bottom: 35px;
    font-weight: 700;
}

.hero-title .highlight {
    -webkit-text-stroke: 2px var(--gold);
    color: transparent;
}

.hero-description {
    font-size: 18px;
    max-width: 750px;
    margin-bottom: 50px;
    opacity: 0.8;
    line-height: 1.4;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-footer-info {
    position: absolute;
    bottom: 50px;
    right: var(--container-padding);
    display: flex;
    gap: 60px;
}

.info-item .info-label {
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.info-item .info-value {
    font-weight: 600;
    font-size: 14px;
}

/* Improved Scroll Indicator */
.hero-scroll-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 5;
    color: var(--gold);
    cursor: pointer;
}

.scroll-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    opacity: 0.8;
}

.scroll-line-container {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounceArrow 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Global Section Styles */
section {
    position: relative;
}

.section-badge {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
    margin-bottom: 10px;
}

/* Standard Section Header */
.section-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 800px;
}

.section-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 0;
}

.section-badge::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: currentColor;
    margin-top: 8px;
}

.section-badge.gold {
    color: var(--gold);
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--dark);
}

/* Tech Grid */
.tech-grid {
    padding: var(--section-padding) 0;
    background: #fafafa;
}

.bento-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: 20px;
}

.bento-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay for items with background images */
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
    z-index: -1;
    opacity: 0.8;
    transition: background 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.bento-item:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4));
}

/* Ensure all bento text is white (since we have overlays or primary bg) */
.bento-item h4,
.bento-item p {
    color: var(--white);
    position: relative;
    /* Ensure text is above overlay */
}

.bento-item.large {
    grid-column: span 2;
    background: var(--primary);
    color: var(--white);
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-tag {
    font-size: 10px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 15px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.bento-item.large .bento-tag {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats */
.stats {
    padding: 100px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: clamp(40px, 6vw, 72px);
    color: var(--primary);
    font-weight: 700;
    font-family: 'Orbitron';
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Product Showcase Section (Static Grid) */
.horizontal-scroll {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-accent) 50%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

/* Decorative background elements */
.horizontal-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(238, 183, 95, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(238, 183, 95, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(0, 87, 152, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Animated grid lines */
.horizontal-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.horizontal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--container-padding);
    gap: 80px;
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
}

/* Cards Container - 3 Column Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    align-items: stretch;
    width: 100%;
}

.horizontal-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-item.card-v {
    height: auto;
}

/* Enhanced Intro Section */
.horizontal-item.intro {
    width: 100%;
    max-width: 100%;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-bottom: 40px;
}

.horizontal-item.intro::before {
    display: none;
}

.horizontal-item.intro .section-badge {
    /* Inherit standard badge styles */
    margin-bottom: 20px;
    /* Remove center alignment forces */
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.horizontal-item.intro .section-badge::after {
    /* Standard underline is already handled by base class, 
       but if we need to force reset from previous specific styles: */
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: none;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.horizontal-item.intro .section-title {
    /* Inherit standard size mostly */
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--white);
}

/* Intro Description */
.intro-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    border-left: 2px solid var(--gold);
    padding-left: 20px;
    margin-bottom: 40px;
}

/* Intro Stats */
.intro-stats {
    display: flex;
    gap: 40px;
}

.intro-stat {
    display: flex;
    flex-direction: column;
}

.intro-stat .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.intro-stat .stat-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Product Tag */
.h-tag {
    position: absolute;
    top: 25px;
    left: 35px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 3;
    transition: all 0.4s ease;
}

.h-card:hover .h-tag {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Product Cards - Enhanced Design */
.h-card {
    width: 100%;
    min-height: 420px;
    background: linear-gradient(145deg, rgba(30, 35, 45, 0.6) 0%, rgba(15, 18, 25, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 45px 25px 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    /* Optimize transition performance */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Gradient border on hover */
.h-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.3) 50%, rgba(212, 175, 55, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Glowing orb effect */
.h-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.h-card:hover {
    transform: translateY(-8px);
    border-color: rgba(238, 183, 95, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(238, 183, 95, 0.05);
}

.h-card:hover::before {
    opacity: 1;
}

.h-card:hover::after {
    opacity: 0.8;
}

/* Big Number Watermark - Enhanced */
.h-num {
    position: absolute;
    top: -30px;
    right: 15px;
    font-size: 160px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 0;
}

.h-card:hover .h-num {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.1) translateX(-10px);
}

/* Image Container - Enhanced */
.h-img {
    height: 260px;
    min-height: 260px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-shrink: 0;
}

/* Floating platform effect */
.h-img::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(8px);
    transition: all 0.6s ease;
}

.h-card:hover .h-img::before {
    width: 50%;
    bottom: 0;
    opacity: 0.6;
}

/* Floating Image Animation */
.h-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.h-card:hover .h-img img {
    transform: scale(1.1) translateY(-15px);
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
    animation: none;
}

/* Card Info Section - Enhanced */
.h-info {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.h-info h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

.h-card:hover .h-info h3 {
    color: var(--gold);
    transform: translateX(5px);
}

.h-info p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.h-card:hover .h-info p {
    color: rgba(255, 255, 255, 0.7);
}

/* Action Button */
.h-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 20px;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s ease;
}

.h-btn::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.h-btn:hover::after {
    width: 100%;
}

.h-btn .arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.h-btn:hover {
    color: var(--white);
    gap: 15px;
}

.h-btn:hover .arrow {
    transform: translateX(5px);
}

/* Catalog */
.products {
    padding: 140px 0;
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
}

/* About */
.about {
    padding: 140px 0;
    background: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-content {
    flex: 1.2;
}

.about-visual {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: -40px 40px 0 var(--gray-light);
}

.about-text {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Contact */
.contact {
    padding: 151px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 80px;
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold);
}

.contact-form-wrapper .section-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    gap: 24px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

input,
select,
textarea {
    width: 100%;
    padding: 18px 24px;
    background: var(--gray-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.05);
}

.contact-info-wrapper {
    background: var(--primary);
    color: var(--white);
    padding: 80px;
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-wrapper .logo-text {
    color: var(--gold);
    margin-bottom: 40px;
    font-size: 32px;
}

.info-list {
    display: grid;
    gap: 40px;
}

.info-contact-item {
    display: flex;
    gap: 24px;
}

.info-contact-item span {
    font-size: 24px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-contact-item p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.4;
}

.info-contact-item strong {
    display: block;
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Buttons */
.btn {
    padding: 18px 45px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover Reveal Base */
.btn.hover-reveal {
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s cubic-bezier(0.19, 1, 0.22, 1), color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.btn.hover-reveal:hover {
    background-position: 0 0;
}

/* Gold Button + Reveal */
.btn-gold {
    background-color: var(--gold);
    /* Fallback */
    color: var(--white);
    border: none;
}

.btn-gold.hover-reveal {
    background-image: linear-gradient(to right, var(--dark) 50%, var(--gold) 50%);
}

.btn-gold.hover-reveal:hover {
    color: var(--gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

/* Outline Button + Reveal */
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background-color: transparent;
}

.btn-outline.hover-reveal {
    background-image: linear-gradient(to right, var(--white) 50%, transparent 50%);
    border-color: rgba(255, 255, 255, 0.3);
    /* Ensure border stays */
}

.btn-outline.hover-reveal:hover {
    color: var(--dark);
    border-color: var(--white);
}

/* WhatsApp Button (keep existing) */
.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 30px;
    position: relative;
    font-family: 'Orbitron';
    letter-spacing: 2px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    max-width: 300px;
    margin-top: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.insta-box {
    aspect-ratio: 1;
    background: var(--dark-accent);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.insta-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
}

.insta-box:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Responsive */
@media (max-width: 1280px) {
    :root {
        --container-padding: 40px;
    }

    .bento-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-flex {
        flex-direction: column;
        gap: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero 3D Context */
.hero {
    perspective: 1200px;
    /* Enable 3D tilt */
}

.hero-img {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Scanline Effect */
.bento-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 87, 152, 0.05) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
}

.bento-item:hover::after {
    opacity: 1;
}

/* Mobile Menu - Updated for Clip Path */
@media (max-width: 1024px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 2000;
        padding: 80px 40px;
        /* Initial State: Hidden via Clip Path */
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        pointer-events: none;
        /* Disable clicks when closed */
    }

    .navbar.menu-active .nav-links {
        /* Open State managed by JS or class */
        clip-path: circle(150% at 100% 0);
        pointer-events: all;
    }

    /* Ensure opacity is 1 if it was 0 before */
    .nav-links {
        opacity: 1 !important;
        transform: none !important;
    }
}

.nav-links li {
    width: 100%;
    text-align: center;
}

.nav-links a {
    font-size: 16px;
    color: var(--white);
}

.nav-cta {
    display: none;
}

.menu-toggle {
    display: flex;
    position: relative;
    z-index: 2001;
}

.navbar.menu-active .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.menu-active .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.menu-active .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.horizontal-scroll {
    padding: 80px 0;
}

.horizontal-wrapper {
    flex-direction: column;
    height: auto;
    padding: 0 20px;
    gap: 50px;
    width: 100% !important;
    transform: none !important;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    padding: 0;
}

.horizontal-item {
    width: 100%;
    min-width: 0 !important;
}

.horizontal-item.intro {
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    text-align: left;
    align-items: center;
}

.horizontal-item.intro .section-title {
    font-size: 32px;
}

.horizontal-item.intro::before {
    display: none;
}

.h-card {
    width: 100%;
    min-width: 0;
    min-height: 380px;
    padding: 40px 20px 20px;
}

.h-num {
    font-size: 100px;
    top: -20px;
}

.h-img {
    height: 180px;
    min-height: 180px;
}

.hero-footer-info {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --container-padding: 30px;
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 44px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .bento-wrapper {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: auto;
        min-height: 280px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 40px 30px;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    /* Product Showcase - Single column on mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .h-card {
        min-height: 360px;
    }

    .h-num {
        font-size: 80px;
    }

    .h-info h3 {
        font-size: 20px;
    }

    .h-info p {
        font-size: 14px;
    }

    .intro-stats {
        flex-direction: row;
        gap: 30px;
    }

    .intro-stat .stat-value {
        font-size: 28px;
    }
}