:root {
    --font-headings: "Alexandria", sans-serif;
    --font-body: "Inter", sans-serif;

    --accent-color: #6a59f1;
    --accent-color-dark: #0c0b14;
    --accent-color-light: #f1f0fc;
}

body,
p,
a,
button,
.btn,
.nav-link,
span {
    font-family: var(--font-body);
    letter-spacing: -0.04em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-hero-custom {
    background-color: #f1f0fc;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 5rem;
    padding: calc(0.6rem + 1px) calc(1.75rem + 1px);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-secondary {
    background-color: var(--accent-color-light);
    border-color: var(--accent-color-dark);
    border-radius: 5rem;
}

.btn-outline-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.navbar-brand {
    font-family: var(--font-headings);
    letter-spacing: -0.02em;
    font-weight: 800;
}

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

.hero-heading {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.hero-subheader {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--accent-color);
    letter-spacing: -0.02em;
}

.section-header {
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subheader {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.album-section {
    background-color: #181621;
}

.min-vh-75 {
    min-height: 75vh;
}

.product-mockup {
    transition: transform 0.3s ease;
    max-width: 100%;
    position: relative;
    z-index: 10;
}

/* --- ANIMATION --- */

.reveal-text {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    animation: fadeUnblur 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.reveal-text-delayed {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    animation: fadeUnblur 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.75s; /* Delays the start so headline goes first */
}

@keyframes fadeUnblur {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* --- ACCENT SECTION --- */

.bg-accent-section {
    background-color: var(--accent-color);
}

.bg-accent-section h2,
.bg-accent-section h4 {
    font-family: var(--font-headings);
    letter-spacing: -0.02em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* --- NAVBAR --- */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    will-change: backdrop-filter;
}

/* --- SNIPPET COLLAGE --- */
/* Clean Vertical Stack Container */
.vertical-snippet-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Spacious vertical breathing room between elements */
    width: 100%;
    max-width: 620px; /* Boosted maximum desktop footprint size */
    margin: 0 auto;
    position: relative;
}

/* Enhanced Feature Snippet Card Base */
.feature-snippet {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    padding: 1rem;
    position: relative;
    width: 80%;
}

/* Image Fitting Core Strategy */
.feature-snippet img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 25px 45px rgba(106, 89, 241, 0.15)) !important;
    border-radius: 0.75rem;
}

.snippet-albums {
    width: 60%;
    margin-top: -1rem;
    margin-bottom: -1rem;
}

.snippet-chat {
    width: 60%;
    margin-top: 2rem;
}

.snippet-feed {
    width: 60%;
    margin-bottom: 2rem;
}

/* Clean UI sub-labels positioning overlay */
.snippet-badge-wrapper {
    display: flex;
    justify-content: flex-start;
}

/* Video Container Framework */

.custom-video-container {
    border-radius: 2.5rem; /* Smoothed down from 5rem so it perfectly matches phone proportions */
    overflow: hidden;
    position: relative;
    /* FIX: Let Bootstrap handle fluid width scaling while setting a sleek design max limit */
    width: 100%;
    max-width: 380px;
    margin: 0 auto; /* Keeps it perfectly centered inside its parent column block */
    /* Hardware acceleration layer fixes to prevent Safari clipping glitches */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.custom-video-container video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Fixes a minor Bootstrap edge-case layout behavior to reset desktop margins */
@media (min-width: 992px) {
    .margin-lg-0 {
        margin: 0 !important;
    }
}

/* Album Section */
.album-screenshot {
    display: block;
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
    height: auto;
    object-fit: contain;
    border-radius: 2.5rem;
    filter: drop-shadow(0 25px 45px rgba(106, 89, 241, 0.15)) !important;
}
