@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --tw-color-primary: #07213c;
    --tw-color-secondary: #173d62;
}

* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

body *:not(i.fa, i.fas, i.fab, i.far) {
    font-family: 'Inter', system-ui, sans-serif;
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

.hero-bg {
    background: linear-gradient(92deg, #07213c 0%, #173d62 100%);
    position: relative;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
    z-index: 1;
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #173d62;
    transition: width 0.3s ease;
}

.nav-link.light:after {
    background-color: white;
}

.nav-link:hover:after {
    width: 100%;
}

.section-header {
    font-size: 2.75rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.section-header-sm {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.swatch {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swatch:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgb(7 33 60);
}

.component-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(7, 33, 60, 0.1), 0 10px 10px -5px rgba(7, 33, 60, 0.04);
}

.btn-primary {
    background: linear-gradient(90deg, #07213c, #173d62);
    box-shadow: 0 10px 15px -3px rgba(7, 33, 60, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(7, 33, 60, 0.4);
}

.btn-secondary {
    border: 2px solid #173d62;
    color: #173d62;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #07213c;
    border-color: #07213c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(7, 33, 60, 0.2);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
    background: rgba(7, 33, 60, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #173d62;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #07213c;
}

/* Stats Animation */
.stat-number {
    display: inline-block;
}
