/* Base & Variables */
:root {
    --bg-deep: #060b18;
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --blue-dark: #0d1f44;
    --blue-mid: #1a3a6b;
    --text-muted: #8892a4;
    --text-main: #e8eaf0;
    --white: #ffffff;
    --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-inter);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Utilities */
.max-w-7xl {
    max-width: 80rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.hidden {
    display: none;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

/* Grid Layouts */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

    .grid-contact {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 6rem;
    }
}

.grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Backgrounds */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: #060b18;
    background-image:
        radial-gradient(at 0% 0%, hsla(217, 100%, 15%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(222, 47%, 11%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(45, 67%, 15%, 1) 0, transparent 50%),
        radial-gradient(at 50% 100%, hsla(217, 100%, 10%, 1) 0, transparent 50%);
    filter: blur(60px);
    opacity: 0.8;
}

.bg-grid {
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.015) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-5px);
}

/* Navbar */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease;
}

.fixed-nav.scrolled {
    background: rgba(6, 11, 24, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0 !important;
    background: rgba(10, 24, 46, 0.8) !important;
}

.logo {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    tracking-tighter: -0.05em;
}

.text-gold {
    color: var(--gold);
}

.nav-links {
    display: none;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

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

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn-primary {
    background: var(--white);
    color: var(--bg-deep);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.5s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--bg-deep);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s ease;
}

.btn-primary-lg:hover {
    background: var(--gold);
    color: var(--white);
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.5s ease;
}

.btn-primary-lg:hover .arrow-icon {
    transform: translateX(6px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 5rem;
    z-index: 10;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 24, 46, 0.9) 30%, rgba(10, 24, 46, 0.3) 100%);
    z-index: -1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    max-width: 42rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

/* Gradients */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a227 0%, #f3d47a 50%, #c9a227 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine-text 5s linear infinite;
}

@keyframes shine-text {
    to {
        background-position: 200% center;
    }
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: color 0.5s ease;
}

.stat-item:hover .stat-number {
    color: var(--gold);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections */
.section {
    padding: 6rem 0 8rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.text-muted {
    color: var(--text-muted);
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Cards & Components */
.card-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.card-title-lg {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.card-title-md {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.tag-accent {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
}

.stat-number-sm {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-label-xs {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pilar-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pilar-label {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Tabs */
.tab-container {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
}

.tab-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.25rem 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--white);
}

.tab-btn.active {
    color: var(--gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

/* Image Containers */
.hero-image-container {
    display: none;
}

@media (min-width: 1024px) {
    .hero-image-container {
        display: block;
        margin-top: 0;
        max-width: 500px;
    }
}

.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.about-img-wrapper {
    position: relative;
    margin-bottom: 2rem;
    max-height: 250px;
    overflow: hidden;
    border-radius: 1.5rem;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-img-container {
    height: 140px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--bg-deep);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: transform 0.8s ease;
}

.glass-card:hover .portfolio-img {
    transform: scale(1.1);
    opacity: 0.5;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.title-reveal {
    opacity: 0;
    transform: translateY(40px) skewY(2deg);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-reveal.visible {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Contact Section */
.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .label {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

/* Form */
.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--gold);
}

input::placeholder,
textarea::placeholder {
    color: #555e6e;
}

.btn-submit {
    width: 100%;
    background: var(--white);
    color: var(--bg-deep);
    border: none;
    padding: 1.25rem;
    border-radius: 0.75rem;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.5s ease;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--white);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        align-items: flex-start;
    }
}

.logo-footer {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 20rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-label {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: #555e6e;
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-meta {
    display: flex;
    gap: 2rem;
}

.footer-meta a {
    text-decoration: none;
    color: #555e6e;
    font-size: 0.75rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--white);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    display: flex;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--gold);
}

.btn-mobile {
    border-bottom: 2px solid var(--gold);
    padding: 0.5rem 0;
}