:root {
    --color-bg: #0a0a0a;
    --color-text: #f0f0f0;
    --color-primary: #FFD700;
    /* Tape Gold/Yellow */
    --color-primary-dim: #b39700;
    --color-accent: #333333;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cursor Effect */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    color: var(--color-text);
}

.tm {
    font-size: 0.5em;
    vertical-align: super;
}

.cta-button-small {
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

.cta-button-small:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 400px;
    z-index: 2;
}

.headline {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(255, 215, 0, 0.1);
    z-index: -1;
    transform: skewX(-10deg);
}

.subheadline {
    font-size: 1.25rem;
    color: #888;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Form Styles */
.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    position: relative;
    margin-top: 2rem;
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
}

input[type="email"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-speed);
}

input[type="email"]:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

input[type="email"].error {
    border-color: #ff4444;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.tape-strip {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    width: 40px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.submit-btn {
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    padding: 0 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Fallback */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 90% 100%, 0 100%);
    /* Tape cut look */
    transition: transform 0.2s, background 0.2s, filter 0.2s;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
}

.submit-btn:active {
    transform: translateY(0);
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Mockup Visual */
.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50vw;
    /* max-width removed to ensure it scales with screen */
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img,
.hero-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 6rem 5%;
    background: #0f0f0f;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #161616;
    padding: 2.5rem;
    border: 1px solid #222;
    border-radius: 8px;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    overflow: hidden;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tape Folding Animation */
.tape-demo {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tape-strip-anim {
    width: 30px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    transform-origin: bottom center;
    animation: tape-fold-cycle 3s infinite ease-in-out;
}

.tape-strip-anim::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    transform-origin: bottom center;
    animation: fold-tip 3s infinite ease-in-out;
}

@keyframes tape-fold-cycle {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    20% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-10px);
        opacity: 0;
    }
}

@keyframes fold-tip {

    0%,
    30% {
        transform: rotateX(0deg);
    }

    40%,
    80% {
        transform: rotateX(-180deg);
        background: var(--color-primary);
    }

    /* Folded */
    100% {
        transform: rotateX(-180deg);
        opacity: 0;
    }
}

.hidden {
    display: none;
}

#form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* Social Proof */
.social-proof {
    text-align: center;
    padding: 4rem 5%;
    border-top: 1px solid #222;
    background: #0a0a0a;
}

.social-proof p {
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: #333;
    font-weight: 800;
    font-size: 1.2rem;
}

.logos span {
    transition: color 0.3s;
    cursor: default;
}

.logos span:hover {
    color: #555;
}

/* Footer */
footer {
    background: #050505;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #161616;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 2rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text);
}

.footer-links,
.socials {
    display: flex;
    gap: 2rem;
}

footer a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #161616;
    padding-top: 2rem;
    color: #333;
    font-size: 0.8rem;
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}