:root {
    --bg-color: #0b0b0b;
    --bg-color-light: #161616;
    --text-main: #f6f6f7;
    --text-muted: #a09fae;

    --grad-1-start: #f79d40;
    --grad-1-end: #c32b5c;
    --grad-2-start: #fbb947;
    --grad-2-end: #d33844;

    --accent-orange: #f39844;
    --accent-crimson: #be3156;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--grad-1-start), var(--grad-1-end), var(--grad-2-start));
    background-size: 200% 100%;
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(247, 157, 64, 0.6);
    pointer-events: none;
    animation: gradientMove 3s linear infinite;
    will-change: width;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.glow-bg {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 43, 92, 0.12) 0%, rgba(11, 11, 11, 0) 65%);
    z-index: -1;
    animation: orb-float 20s infinite alternate ease-in-out;
}

.glow-bg::after {
    content: '';
    position: absolute;
    bottom: -60%;
    right: -40%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 157, 64, 0.08) 0%, rgba(11, 11, 11, 0) 65%);
    animation: orb-float 25s infinite alternate-reverse ease-in-out;
}

@keyframes orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(12vw, 8vh) scale(1.1);
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-orange);
}

.btn-primary {
    background: linear-gradient(135deg, var(--grad-1-start), var(--grad-1-end));
    color: white !important;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(195, 43, 92, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 157, 64, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-orange);
    color: var(--text-main);
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 1rem;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(247, 157, 64, 0.1);
    box-shadow: 0 4px 15px rgba(247, 157, 64, 0.4);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.logo-stage {
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 20px 40px rgba(195, 43, 92, 0.3));
    transform-style: preserve-3d;
    animation: stage-entrance 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards,
               float 8s ease-in-out infinite 2.5s;
}

@keyframes stage-entrance {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }
    30% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 20px 40px rgba(195, 43, 92, 0.3));
    }
    60% {
        transform: scale(1.05); /* Peak of the lock impact */
        filter: drop-shadow(0 30px 60px rgba(247, 157, 64, 0.6));
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 20px 40px rgba(195, 43, 92, 0.3));
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-30px) rotateX(6deg) rotateY(4deg);
    }

    100% {
        transform: translateY(0px) rotateX(2deg) rotateY(-2deg);
    }
}

.logo-white-parts path:nth-child(1) { --tx: -150px; --ty: -100px; animation-delay: 0.1s; }
.logo-white-parts path:nth-child(2) { --tx: 150px;  --ty: -100px; animation-delay: 0.2s; }
.logo-white-parts path:nth-child(3) { --tx: -100px; --ty: 150px;  animation-delay: 0.3s; }
.logo-white-parts path:nth-child(4) { --tx: 150px;  --ty: 100px;  animation-delay: 0.15s; }
.logo-white-parts path:nth-child(5) { --tx: -50px;  --ty: -200px; animation-delay: 0.25s; }
.logo-white-parts path:nth-child(6) { --tx: 50px;   --ty: 200px;  animation-delay: 0.35s; }
.logo-white-parts path:nth-child(7) { --tx: -200px; --ty: 0px;    animation-delay: 0.05s; }
.logo-white-parts rect                { --tx: 200px;  --ty: 0px;    animation-delay: 0.4s; }

.logo-white-parts path,
.logo-white-parts rect {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    /* Magnetic anticipation cubic bezier: pulls back slightly then snaps in */
    animation: bindTogether 1.0s cubic-bezier(0.5, -0.3, 0.3, 1.3) forwards;
}

@keyframes bindTogether {
    0% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

.logo-color-parts path:nth-child(1) { --tx: -100px; --ty: -100px; }
.logo-color-parts path:nth-child(2) { --tx: 100px;  --ty: -100px; }
.logo-color-parts path:nth-child(3) { --tx: -100px; --ty: 100px;  }
.logo-color-parts path:nth-child(4) { --tx: 100px;  --ty: 100px;  }

.logo-color-parts path {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    animation: lockCore 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.9s; /* Timed to snap exactly at 1.5s overall */
}

@keyframes lockCore {
    0% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.5) rotate(45deg);
        filter: brightness(2) drop-shadow(0 0 30px var(--accent-crimson));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: brightness(1) drop-shadow(0 0 0px transparent);
    }
}

/* Header logo entrance */
.logo-container img {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-section {
    padding: 120px 5%;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-section.bg-alt {
    background: var(--bg-color-light);
}

.product-header {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.product-logo {
    max-height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.product-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.product-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.shot-trace-logo {
    height: 180px;
    margin: -50px -30px -50px -30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.shot-trace-title {
    font-size: 4rem;
    margin: 0;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
    font-family: capitana, sans-serif;
    font-weight: 700;
}

.music-trace-title {
    font-size: 3.5rem;
    letter-spacing: -2px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 900;
}

.feature-list strong {
    color: var(--text-main);
}

.features {
    padding: 40px 0;
    margin-top: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: transform 0.5s, background 0.5s, border-color 0.5s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(247, 157, 64, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(247, 157, 64, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

/* SVG Icons */
.icon-svg {
    width: 42px;
    height: 42px;
    stroke: var(--accent-orange);
    margin-bottom: 1.8rem;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.service-card:hover .icon-svg {
    stroke: var(--accent-crimson);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.service-card ul {
    margin-top: 1.5rem;
    list-style: none;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-left: 1.2rem;
    position: relative;
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-crimson);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.service-card ul strong {
    color: var(--text-main);
}

.metadata-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 4rem;
}

.table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    margin-top: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

th,
td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

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

td:first-child {
    font-weight: 600;
    color: var(--text-main);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.upcoming-section {
    padding: 100px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(195, 43, 92, 0.05) 100%);
}

.contact-section {
    padding: 120px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.contact-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-color-light);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-color-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--accent-crimson);
}

.beta-form .form-group {
    margin-bottom: 1.5rem;
}

.beta-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.beta-form input,
.beta-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.beta-form input:focus,
.beta-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .header nav {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 5rem;
        margin-bottom: 3rem;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        width: fit-content;
        margin: 1rem auto 0;
    }

    .section-title,
    .contact-section h2 {
        font-size: 2.4rem;
    }

    .shot-trace-logo {
        height: 150px;
        margin: -40px -25px -40px -25px;
    }

    .shot-trace-title {
        font-size: 3.2rem;
    }

    .music-trace-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .product-title-wrap {
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    .shot-trace-logo {
        height: 140px;
        margin: 0 0 -20px 0;
    }

    .shot-trace-title {
        font-size: 3rem;
    }
}