/* Custom Stylesheet for YT Publisher Website */

:root {
    --bg-color: hsl(220, 25%, 7%);
    --bg-surface: hsl(220, 20%, 11%);
    --bg-surface-alt: hsl(220, 18%, 16%);
    
    --primary-color: hsl(354, 85%, 53%);     /* Glowing Red */
    --primary-glow: hsla(354, 85%, 53%, 0.35);
    
    --accent-color: hsl(263, 85%, 55%);      /* Glowing Violet */
    --accent-glow: hsla(263, 85%, 55%, 0.3);
    
    --text-primary: hsl(210, 25%, 96%);
    --text-secondary: hsl(210, 15%, 75%);
    --text-muted: hsl(210, 10%, 55%);
    
    --border-color: hsl(220, 15%, 18%);
    --border-hover: hsl(220, 15%, 26%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Elements */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: hsla(263, 85%, 55%, 0.12);
    border: 1px solid hsla(263, 85%, 55%, 0.3);
    color: hsl(263, 80%, 75%);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.glass-card {
    background: rgba(20, 24, 33, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-icon {
    margin-right: 8px;
    font-size: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow), 0 0 10px var(--accent-glow);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--bg-surface-alt);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: 10px;
}

/* Navbar */
.navbar-container {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(11, 15, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--primary-glow));
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.08);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content .lead {
    font-size: 1.18rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.mockup-card {
    padding: 8px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: hsl(220, 25%, 5%);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    margin-bottom: 12px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--bg-surface-alt);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotate(10deg);
}

.feature-icon-wrapper span {
    font-size: 28px;
}

.icon-red { color: hsl(354, 85%, 53%); }
.icon-blue { color: hsl(200, 85%, 53%); }
.icon-purple { color: hsl(263, 85%, 55%); }
.icon-green { color: hsl(140, 75%, 50%); }
.icon-yellow { color: hsl(45, 85%, 50%); }

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* How to Use Section */
.how-to-use-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-badge {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -20px;
}

.timeline-content {
    padding: 30px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Privacy Section */
.privacy-section {
    padding: 80px 0;
    background-color: hsl(220, 25%, 5%);
}

.legal-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.privacy-card {
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.update-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.privacy-content h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
}

.privacy-content ul {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 24px;
}

.privacy-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.privacy-content li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.privacy-content strong {
    color: var(--text-primary);
}

.contact-email {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
    padding: 30px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-primary);
}


/* Dashboard Showcase Section */
.showcase-section {
    padding: 80px 0;
    position: relative;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.showcase-image-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.showcase-card {
    padding: 10px;
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: perspective(1000px) rotateY(6deg) rotateX(2deg);
    transition: var(--transition-smooth);
}

.showcase-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.showcase-content {
    display: flex;
    flex-direction: column;
}

.badge-purple {
    background: hsla(263, 85%, 55%, 0.12);
    border: 1px solid hsla(263, 85%, 55%, 0.3);
    color: hsl(263, 80%, 75%);
}

.showcase-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.detail-item:hover .detail-icon-box {
    border-color: var(--primary-color);
    background-color: hsla(354, 85%, 53%, 0.05);
}

.detail-icon-box span {
    font-size: 22px;
    color: var(--primary-color);
}

.detail-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.detail-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}


/* Interactive Tour Section */
.tour-section {
    padding: 80px 0;
    background-color: hsl(220, 25%, 5%);
}

.tour-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tour-tabs {
    display: inline-flex;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 6px;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
    max-width: 100%;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 40px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-surface-alt);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.tab-icon {
    font-size: 18px;
}

.tour-panes {
    position: relative;
    min-height: 500px;
}

.tour-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tour-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
}

.pane-image-wrapper {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.pane-card {
    padding: 8px;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: var(--transition-smooth);
}

.pane-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.pane-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.pane-content {
    display: flex;
    flex-direction: column;
}

.pane-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-surface-alt);
    transform: translateX(4px);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px var(--primary-glow);
}

.step-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive Grid/Media Queries */
@media (max-width: 992px) {
    .pane-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pane-image-wrapper {
        max-width: 320px;
        order: 2;
    }
    .pane-card {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    .showcase-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .showcase-image-wrapper {
        max-width: 380px;
        order: 2;
    }
    
    .showcase-card {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .mockup-card {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    
    .navbar {
        padding: 8px 18px;
    }
    .nav-links {
        display: none; /* Can add dropdown logic or hide for simple site */
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-badge,
    .timeline-item:nth-child(even) .timeline-badge {
        left: 0px;
    }
    
    .privacy-card {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
