@font-face {
    font-family: Scruf;
    src: url('Scruf-Regular.ttf');
}

@font-face {
    font-family: Lacquer;
    src: url('Lacquer-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Scruf, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1410;
    color: #e0e0e0;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ec4899;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

#hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    text-align: center;
    flex-direction: column;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('background.jpg') no-repeat center center/cover;
    z-index: 0;
}

#hero > * {
    position: relative;
    z-index: 1;
    left: -15rem;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    background: linear-gradient(45deg, #fbbf24, #fcd34d, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.studio-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.studio-logo {
    width: 40px;
    height: 40px;
    background: url('pitaya-juice-logo.png') no-repeat center center/contain;
}

.studio-name {
    font-family: Lacquer, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #f472b6;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
    letter-spacing: 0.2rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.cta-button.secondary:hover {
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.6);
}

.button-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-badge {
    display: inline-block;
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

#trailer {
    background: #1a1410;
    flex-direction: column;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #fbbf24;
}

.video-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#features {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%);
    flex-direction: column;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.6);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fcd34d;
}

.feature-card p {
    line-height: 1.7;
    color: #b0b0b0;
}

#subscribe {
    background: #1a1410;
    flex-direction: column;
}

.subscribe-container {
    text-align: center;
    max-width: 600px;
}

.subscribe-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.email-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.email-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #fbbf24;
}

.email-input::placeholder {
    color: #666;
}

.buttondown-credit {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.buttondown-credit a {
    color: #888;
    text-decoration: none;
}

.buttondown-credit a:hover {
    color: #ec4899;
}

#screenshots {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    flex-direction: column;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 3rem;
}

.screenshot-item {
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(236, 72, 153, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: rgba(236, 72, 153, 0.7);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-header {
    font-size: 1.1rem;
    color: #888;
    margin-top: 3rem;
    margin-bottom: -1rem;
    letter-spacing: 0.1rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(236, 72, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(236, 72, 153, 0.2);
    border-color: #ec4899;
}

.social-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.5);
}

.modal-content iframe {
    width: 90vw;
    height: 50.625vw;
    max-height: 90vh;
    max-width: 160vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    color: #ec4899;
}

.screenshot-item {
    cursor: pointer;
}

.video-container {
    cursor: pointer;
    position: relative;
}

.demo-section-content {
    text-align: center;
    max-width: 800px;
}

.demo-section-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 2rem 0 3rem;
}

.demo-section-content .cta-button {
    font-size: 1.3rem;
    padding: 1.5rem 4rem;
}

.demo-platform-info {
    margin-top: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.screenshot-placeholder-large {
    width: 80vw;
    height: 45vw;
    max-width: 1400px;
    max-height: 787px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
        letter-spacing: 0.3rem;
    }

    h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .email-form {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}