/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

:root {
    --primary-bg: #ffffff;
    --text-main: #000000;
    --accent-color: #000000;
    --hero-gradient: linear-gradient(rgb(252, 221, 66) 27.027%, rgb(255, 0, 119) 50%, rgb(158, 0, 161) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.font-instrument {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    /* Ensure normal weight */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Glassmorphism Effect for Header */
.header-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-scrolled {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Nav Link Hover States */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Button Animations */
.btn-primary {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.95);
}

/* Hero Section Styles */
.hero-gradient-bg {
    background: var(--hero-gradient);
    filter: blur(100px);
    transform: rotate(-7deg);
    position: absolute;
    width: 60%;
    height: 60%;
    z-index: -1;
    bottom: -10%;
    right: -5%;
    opacity: 1;
}

.hero-overlay {
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mockup-container {
    perspective: 2000px;
    width: 100%;
    margin-top: 4rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}



/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}