/* --- YT LANDING PAGE STYLES --- */

/* Hero Section */
.yt-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.yt-video-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.yt-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, var(--dark) 80%);
    z-index: 2;
}

.yt-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(1);
}

.yt-hero-content {
    text-align: center;
    max-width: 1200px;
    position: relative;
    z-index: 3;
}

.yt-hero-title {
    font-family: var(--font-h);
    font-size: clamp(3rem, 10vw, 6rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.yt-hero-desc {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

/* AI Input Component */
.yt-input-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 100px;
    border: 1px solid var(--accent);
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(134, 239, 172, 0.1);
}

.yt-input-group:hover, .yt-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(134, 239, 172, 0.2);
}

.yt-input-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
}

.yt-input-btn {
    background: var(--accent);
    border: none;
    padding: 0 30px;
    border-radius: 100px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.yt-input-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.yt-status {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--accent);
    display: none;
}

/* Sticky Navigation */
.yt-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
    padding: 15px 0;
    transition: 0.3s ease;
}

.yt-nav.scrolled {
    background: rgba(5, 5, 5, 0.98);
    padding: 10px 0;
}

.yt-nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yt-logo {
    font-family: var(--font-h);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 900;
    letter-spacing: 1px;
}

.yt-nav-links {
    display: flex;
    gap: 30px;
}

.yt-nav-link {
    text-decoration: none;
    color: #666;
    font-family: var(--font-h);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.yt-nav-link:hover {
    color: var(--accent);
}

/* Features Section */
.yt-features {
    padding: 100px 20px;
    background: #080808;
}

.yt-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.yt-card {
    padding: 40px;
    background: #0c0c0c;
    border: 1px solid #1a1a1a;
    border-radius: 15px;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.yt-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.yt-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.yt-card-title {
    font-family: var(--font-h);
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.yt-card-text {
    color: #666;
    font-size: 0.95rem;
}

/* Steps Section */
.yt-steps {
    padding: 100px 20px;
    background: var(--dark);
}

.yt-section-title {
    font-family: var(--font-h);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.yt-steps-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.yt-step-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.yt-step-num {
    font-family: var(--font-h);
    font-size: 4rem;
    color: #2a2a2a;
}

.yt-step-title {
    font-family: var(--font-h);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.yt-step-desc {
    color: #888;
}

/* --- UPDATED CTA SECTION --- */

.yt-cta {
    padding: 140px 20px;
    text-align: center;
    background: #050505; /* Solid dark background for a premium feel */
    border-top: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Optional: Subtle background glow effect */
.yt-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.yt-cta-title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--white); /* Switched to white for better legibility */
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.yt-btn-primary {
    display: inline-block;
    text-decoration: none;
    background: var(--accent); /* Button is now the main splash of color */
    color: var(--dark);
    padding: 22px 60px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 40px rgba(134, 239, 172, 0.3); /* Subtle accent glow */
    position: relative;
    z-index: 1;
}

.yt-btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    background: #fff;
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.2);
}

.yt-cta-note {
    margin-top: 30px;
    font-weight: 500;
    color: #555; /* Muted color for the secondary note */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* --- LATEST CREATORS SECTION --- */

.yt-creators {
    padding: 100px 20px;
    background: #050505;
    border-top: 1px solid #1a1a1a;
}

.yt-creators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.yt-video-card {
    background: #0c0c0c;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid #1a1a1a;
}

.yt-video-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.yt-video-link {
    text-decoration: none;
    display: block;
}

.yt-thumb-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}

.yt-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.yt-video-card:hover .yt-video-thumb {
    scale: 1.1;
}

.yt-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0;
    transition: 0.3s;
}

.yt-video-card:hover .yt-play-overlay {
    opacity: 1;
}

.yt-video-info {
    padding: 20px;
}

.yt-video-title {
    font-family: var(--font-h);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.yt-video-handle {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .yt-step-row { flex-direction: column; text-align: center; gap: 10px; }
    .yt-nav-container { flex-direction: column; gap: 15px; }
}

@media (max-width: 1024px) {
    .yt-creators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .yt-creators-grid {
        grid-template-columns: 1fr;
    }
}