/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --accent: #e1ff00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding: 60px 20px;
    position: relative;
}

/* Close Button */
.close-button {
    position: fixed;
    top: 20px;
    right: 20px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    transform: scale(1.1) rotate(90deg);
    opacity: 0.8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Logo */
.logo-section {
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.logo {
    max-width: 312px;
    height: auto;
}

/* Headline */
.headline {
    font-size: clamp(34px, 5.6vw, 67px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.2s forwards;
}

/* Copy */
.copy {
    max-width: 600px;
    margin: 0 auto 60px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.4s forwards;
}

.copy p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Carousel */
.carousel-section {
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

.phone-frame {
    max-width: 280px;
    width: 280px;
    height: auto;
    margin: 0 auto 20px;
    position: relative;
}

.phone-screen {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-img {
    position: relative;
    width: 100%;
    height: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screen-img.active {
    display: block;
    opacity: 1;
}

/* Dots */
.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.4);
}

.dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 4px;
}

/* Captions */
.carousel-caption {
    margin-top: 30px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.caption-title,
.caption-text {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.caption-title.active,
.caption-text.active {
    display: block;
    opacity: 1;
}

.caption-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.caption-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lime-text {
    color: #e1ff00 !important;
}

/* CTA Section */
.cta-section {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.form-headline {
    color: #e1ff00;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 2rem;
    font-size: 16px;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent);
    background: transparent;
}

.cta-button {
    padding: 0.75rem 2rem;
    font-size: 16px;
    font-weight: 400;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
}

/* Offer Text */
.offer-text {
    margin-top: 30px;
    text-align: center;
}

.offer-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.offer-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--accent);
    max-width: 450px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 640px) {
    body {
        padding: 40px 16px;
    }

    .logo {
        max-width: 262.5px;
    }

    .headline {
        margin-bottom: 30px;
    }

    .copy {
        margin-bottom: 60px;
    }

    .copy p {
        font-size: 15px;
    }

    .phone-frame {
        max-width: 280px;
    }

    .email-form {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}
