/* --- 1. RESET & BASE --- */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e4e4e7; /* zinc-200 */
}

html, body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f5; /* zinc-100 */
    color: #27272a; /* zinc-800 */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: url('x_nobg2.jpg'), auto;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; }

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Colors */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-zinc-300 { color: #d4d4d8; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-zinc-800 { color: #27272a; }

/* --- 3. LAYOUT UTILITIES --- */
.container { width: 100%; margin-right: auto; margin-left: auto; padding-right: 1rem; padding-left: 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-2 { top: 0.5rem; }
.right-2 { right: 0.5rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Dimensions & Spacing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-36 { height: 9rem; }
.w-16 { width: 4rem; }

.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-32 { margin-bottom: 8rem; }
.mr-2 { margin-right: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-12 { padding-top: 3rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom); }

/* Decoration */
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-zinc-50 { background-color: #fafafa; }
.bg-zinc-100 { background-color: #f4f4f5; }
.bg-zinc-200 { background-color: #e4e4e7; }
.bg-zinc-400 { background-color: #a1a1aa; }
.bg-zinc-900 { background-color: #18181b; }
.bg-red-600 { background-color: #dc2626; }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }

.border { border-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-t { border-top-width: 1px; }
.border-zinc-100 { border-color: #f4f4f5; }
.border-zinc-200 { border-color: #e4e4e7; }
.border-zinc-800 { border-color: #27272a; }
.border-red-600 { border-color: #dc2626; }
.border-red-700 { border-color: #b91c1c; }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }

/* Interactive */
.cursor-pointer { cursor: pointer; }
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }

.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-zinc-50:hover { background-color: #fafafa; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-red-500:hover { color: #ef4444; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* --- 4. RESPONSIVE UTILITIES --- */
@media (min-width: 640px) {
    .sm\:text-left { text-align: left; }
    .sm\:text-right { text-align: right; }
    .sm\:w-auto { width: auto; }
    .sm\:items-center { align-items: center; }
    .sm\:items-end { align-items: flex-end; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:border-t-0 { border-top-width: 0; }
    .sm\:border-l { border-left-width: 1px; }
    .sm\:pt-0 { padding-top: 0; }
    .sm\:pl-8 { padding-left: 2rem; }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:h-32 { height: 8rem; }
    .md\:h-20 { height: 5rem; }
    .md\:pb-8 { padding-bottom: 2rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:w-\[65\%\] { width: 65%; }
    .md\:w-\[40\%\] { width: 40%; }
    .md\:absolute { position: absolute; }
    .md\:right-0 { right: 0; }
    .md\:top-\[-40px\] { top: -40px; }
    /* Facility features height on desktop */
    .md\:h-\[480px\] { height: 480px; } 
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- 5. CUSTOM COMPONENTS (Copied from previous) --- */
.lcp-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding-top: 6rem;
    padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .lcp-hero-section {
        height: 80vh;
        min-height: 600px;
        padding-top: 0;
        padding-bottom: 0;
    }
}
.lcp-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.lcp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-red);
}

.btn-shiny {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-shiny::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}
.btn-shiny:hover::after { left: 100%; }

.nav-link {
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: #27272a;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--brand-red); font-weight: 700; }
.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--brand-red);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.footer-angled {
    margin-top: -130px;
    padding-top: 180px;
    clip-path: polygon(0 30px, 100% 130px, 100% 100%, 0% 100%);
}
@media (max-width: 768px) {
    .footer-angled {
        margin-top: 0;
        padding-top: 3rem;
        clip-path: none;
        border-top: 4px solid var(--brand-red);
    }
}

.bottom-nav-link.active i, .bottom-nav-link.active span { color: var(--brand-red); }

.shape-cut-corners { clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%); }

#notification-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #D32F2F;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%; bottom: 30px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}
#notification-toast.show { visibility: visible; opacity: 1; bottom: 50px; }

#gate-status-fab {
    position: fixed;
    right: 20px; bottom: 30px;
    z-index: 90;
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    transform: translateY(100px);
    opacity: 0;
}
#gate-status-fab.visible { transform: translateY(0); opacity: 1; }
@media (max-width: 768px) {
    #gate-status-fab { bottom: 90px; right: 16px; padding: 12px 16px; }
}

.status-light {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
}
.status-light::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.faq-item { transition: all 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.spinning-tire { position: absolute; z-index: 0; pointer-events: none; opacity: 0.05; transition: transform 0.1s linear; }

@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}
.icon-bounce { animation: bounceHorizontal 1s ease-in-out; }

.tilt-badge {
    transform: perspective(400px) rotateX(15deg);
    transform-style: preserve-3d;
    box-shadow: 0 20px 20px -5px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255,255,255,0.5);
    backface-visibility: hidden;
}

.carved-container {
    width: 100%; aspect-ratio: 16/9;
    clip-path: polygon(0% 20%, 20% 10%, 33% 25%, 50% 5%, 66% 12%, 82% 2%, 100% 20%, 95% 80%, 75% 95%, 50% 85%, 25% 95%, 5% 80%);
    object-fit: cover;
}
.carved-bull-style {
    width: 100%; aspect-ratio: 16/9; min-height: 300px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 50% 90%, 20% 100%, 0% 80%, 0% 20%);
    background-image: url('tmd/bull.jpg');
    background-size: cover;
    background-position: center;
}

.feature-card { transition: all 0.5s ease-out; border-color: #e4e4e7; }
.feature-card.in-view { box-shadow: inset 0 0 50px rgba(220, 38, 38, 0.6); border-color: #dc2626 !important; }