/* ============================================
   Cueboard - Global Styles
   ============================================ */

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
    --primary-yellow: #E7D200;
    --dark-yellow: #BF9C00;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-yellow: 0 4px 20px rgba(231, 210, 0, 0.4);

    /* Glassmorphism */
    --glass-bg: rgba(26, 26, 26, 0.4);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

kbd {
    background: rgba(231, 210, 0, 0.1);
    border: 1px solid rgba(231, 210, 0, 0.3);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.875rem;
    color: var(--primary-yellow);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.20em;
}

section,
.container,
.nav,
footer {
    position: relative;
    z-index: 1;
}

/* Stacking Context Adjustments */
.grecaptcha-badge {
    z-index: 99999 !important;
}

/* Scroll Reveal Base */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* === Animated Gradient Background === */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 30%, rgba(231, 210, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(191, 156, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(231, 210, 0, 0.03) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

/* === Global Utilities === */
/* Skip Link Target */
#main {
    scroll-margin-top: 100px;
}

#main:focus {
    outline: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--primary-yellow);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 700;
    position: fixed;
    top: 20px;
    left: 20px;
}

.gradient-text-header {
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* === Container === */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
}

/* === Hero Section === */
.hero-section {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.app-logo {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        var(--shadow-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-logo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 6px 32px rgba(231, 210, 0, 0.25);
}

.app-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.user-welcome {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.welcome-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.welcome-text strong {
    color: var(--primary-yellow);
    font-weight: 600;
}

/* === Install Button === */
.install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: #000;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-yellow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.install-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.install-btn:hover::before {
    left: 100%;
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(231, 210, 0, 0.3);
}

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

.download-icon {
    width: 20px;
    height: 20px;
}

/* === Error State === */
.error-state {
    padding: 48px 24px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.error-icon {
    margin-bottom: 24px;
    opacity: 0.9;
}

.error-state h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.error-state p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* === Info Section === */
.info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.info-card:nth-child(1) {
    animation-delay: 0.5s;
}

.info-card:nth-child(2) {
    animation-delay: 0.6s;
}

.info-card:nth-child(3) {
    animation-delay: 0.7s;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 210, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Footer === */
.footer {
    position: relative;
    width: 100%;
    padding: 0px 24px 24px;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px 20px;
    }

    .app-logo {
        width: 120px;
        height: 120px;
        border-radius: 28px;
    }

    .app-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.125rem;
    }

    .install-btn {
        font-size: 1rem;
        padding: 16px 40px;
    }

    .info-card {
        padding: 24px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .info-card h3 {
        font-size: 1.125rem;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .beta-notice {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 32px 16px 16px;
    }

    .app-logo {
        width: 100px;
        height: 100px;
        border-radius: 24px;
    }

    .app-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .install-btn {
        font-size: 0.9375rem;
        padding: 14px 32px;
        width: 100%;
        max-width: 280px;
    }

    .info-card {
        padding: 20px;
    }

    .card-icon {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.875rem;
    }

    .beta-notice {
        padding: 20px;
    }

    .beta-notice p {
        font-size: 0.875rem;
    }

    .footer p {
        font-size: 0.8125rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === Focus Styles === */
.install-btn:focus-visible {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 4px;
    border-radius: 12px;
}

/* === Print Styles === */
@media print {

    .gradient-bg,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   Website-Specific Styles
   ============================================ */

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 16px 0;
}

.nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: #000;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

/* Nav Download Button - Smaller version for menu */
.nav-download {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s;
    box-shadow: 0 1px 6px rgba(231, 210, 0, 0.2);
}

.nav-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(231, 210, 0, 0.3);
}

.nav-download i {
    font-size: 0.625rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Hero Section (Website) === */
.website-hero {
    padding: 80px 24px 0px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.website-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: zoomInReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes zoomInReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.website-hero h1 .period {
    -webkit-text-fill-color: white;
    color: white;
}

.website-hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(97, 85, 245, 0.09);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.rating-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(231, 210, 0, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.rating-badge .stars {
    display: flex;
    gap: 4px;
    font-size: 1rem;
    color: var(--primary-yellow);
}

.rating-badge .stars i {
    text-shadow: 0 0 8px rgba(231, 210, 0, 0.3);
}

.rating-badge .rating-value-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-badge .rating-value,
.rating-badge .rating-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rating-badge .rating-value {
    color: var(--text-primary);
    font-weight: 600;
}

.rating-badge .rating-separator {
    color: var(--text-muted);
    font-weight: 300;
}

.website-hero .description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: #000;
    padding: 16px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(231, 210, 0, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 16px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

/* === Screenshots === */
.screenshot-section {
    padding: 60px 24px 0px 40px;
    max-width: 1020px;
    margin: 0 auto;
}

.screenshot-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    border: 1px solid var(--dark-yellow);
    border-radius: 26px;
    padding: 8px;
    margin: 0 -8px;
    background: rgba(26, 26, 26, 0.25);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-gallery::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    flex: 0 0 auto;
    scroll-snap-align: end;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshot-card:focus-visible {
    outline: 2px solid rgba(231, 210, 0, 0.8);
    outline-offset: 4px;
    border-radius: 16px;
}

.screenshot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.screenshot-image {
    display: block;
    height: 400px;
    width: auto;
    max-width: 100%;
    border-radius: 24px;
    object-fit: contain;
}

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.screenshot-lightbox.is-open {
    display: flex;
}

.screenshot-lightbox-image {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.screenshot-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(26, 26, 26, 0.75);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.screenshot-lightbox-nav:hover {
    border-color: rgba(231, 210, 0, 0.6);
}

.screenshot-lightbox-prev {
    left: 18px;
}

.screenshot-lightbox-next {
    right: 18px;
}

.screenshot-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(26, 26, 26, 0.75);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.screenshot-lightbox-close:hover {
    border-color: rgba(231, 210, 0, 0.6);
}

.hero-screenshot {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.screenshot-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: var(--text-muted);
}

.screenshot-placeholder svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

/* === Hero Description === */

.hero-description {
    padding: 40px 24px 0px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-description .info {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === Features Grid === */
.features-section {
    padding: 15px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 210, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
    color: var(--primary-yellow);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.125rem;
}

/* === Colors of Collaboration (Index Only) === */
.collab-colors-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 48px;
}

.collab-colors-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-colors-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.collab-colors-container {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.collab-colors-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
}

.collab-colors-image {
    flex-shrink: 0;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 100%;
}

.collab-colors-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 16px;
}

.collab-colors-caption {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Color Label List */
.color-labels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.color-label-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    opacity: 0.6;
}

.color-info-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.color-info-desc {
    color: var(--text-secondary);
}

/* Collaboration Color Variants */
.swatch-none {
    background: #ffffff1b;
}

.swatch-yellow {
    background: #E7D200;
}

.swatch-cyan {
    background: #32ADE6;
}

.swatch-indigo {
    background: #5E5CE6;
}

.swatch-purple {
    background: #AF52DE;
}

.swatch-gray {
    background: #8E8E93;
}

.title-none {
    color: #ffffffce;
}

.title-yellow {
    color: #E7D200;
}

.title-cyan {
    color: #32ADE6;
}

.title-indigo {
    color: #5E5CE6;
}

.title-purple {
    color: #AF52DE;
}

.title-gray {
    color: #8E8E93;
}

/* === Content Section === */
.content-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul {
    list-style: none;
    margin: 24px 0;
}

.content-section li {
    color: var(--text-secondary);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
}

.content-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* === About Page Video Layout === */
.about-video-layout {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.about-video-content {
    flex: 1;
}

.about-video-wrapper {
    max-width: 600px;
    flex-shrink: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.about-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-logo {
        gap: 8px;
        font-size: 1.125rem;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        font-size: 0.9375rem;
    }

    .about-video-layout {
        flex-direction: column;
        gap: 32px;
    }
}

/* === Video Showcase Section === */
.video-showcase-section {
    margin: 64px 0;
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* === iPad Workflow Shared Styling === */
.ipad-workflow-highlight,
.ipad-workflow-section {
    display: flex;
    align-items: center;
    gap: 64px;
    margin: 64px 0;
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
}

.ipad-workflow-highlight {
    margin-bottom: 80px;
}

.ipad-workflow-image {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipad-workflow-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.ipad-workflow-content {
    flex: 1;
}

.ipad-workflow-content h2,
.ipad-workflow-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.ipad-workflow-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Cue Director specific styling */
.director-workflow-highlight {
    display: flex;
    align-items: center;
    gap: 64px;
    margin: 64px 0;
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    margin-bottom: 80px;
}

.director-workflow-content {
    flex: 1;
    padding: 0 80px;
}

.director-workflow-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.director-workflow-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.director-workflow-image {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-workflow-image img {
    width: auto;
    max-width: 100%;
    max-height: 480px;
    height: auto;
    border-radius: 16px;
}

/* === How-To Page Styles === */

/* === CTA Section === */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(231, 210, 0, 0.05) 0%, transparent 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-social {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 3vw, 32px);
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
}

.cta-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(32px, 10vw, 48px);
    aspect-ratio: 1/1;
    flex-shrink: 1;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--dark-yellow) 100%);
    color: #000;
    text-decoration: none;
    font-size: clamp(1rem, 4vw, 1.5rem);
    transition: all 0.3s;
}

@media (max-width: 480px) {
    .cta-social {
        gap: 2vw;
    }

    .cta-social a {
        width: 15vw;
        max-width: none;
        font-size: 7vw;
        border-radius: 3vw;
    }
}

.cta-social a:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(97, 85, 245, 0.6);
}

/* === Responsive Navigation === */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: auto;
        min-width: 200px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin: 8px 24px 0 0;
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        align-items: flex-end;
        overflow: hidden;
        opacity: 0;
        transform: translateX(20px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-menu::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.9);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        z-index: -1;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-download {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 8px;
        padding: 10px 16px;
        border-top: 1px solid var(--border-color);
    }

    .website-hero h1 {
        font-size: 2.5rem;
    }

    .website-hero .subtitle {
        font-size: 1.25rem;
    }

    .website-hero .description {
        font-size: 1rem;
    }

    .hero-description .info {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .screenshot-section {
        padding: 50px 24px 0px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .ipad-workflow-highlight,
    .ipad-workflow-section,
    .director-workflow-highlight,
    .video-showcase-section {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        margin: 40px 0;
    }

    .director-workflow-content {
        padding: 0;
    }

    .ipad-workflow-image,
    .director-workflow-image {
        max-width: 100%;
    }

    .ipad-workflow-content h2,
    .ipad-workflow-content h3,
    .director-workflow-content h3 {
        font-size: 1.5rem;
    }

    .ipad-workflow-content p,
    .director-workflow-content p {
        font-size: 1rem;
    }
}

/* === Store Badges Container === */
.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 40px 24px 20px;
}

/* === App Store Badge === */
.app-store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
    animation: indigoPulse 3s ease-in-out infinite;
}

.app-store-badge:hover {
    transform: scale(1.05);
    animation: indigoPulseHover 1.5s ease-in-out infinite;
}

.app-store-badge img {
    display: block;
    filter: drop-shadow(0 4px 20px rgba(97, 85, 245, 0.4));
}

/* === Product Hunt Badge === */
.product-hunt-badge {
    display: inline-block;
    transition: transform 0.3s ease;
    animation: indigoPulse 3s ease-in-out infinite;
}

.product-hunt-badge:hover {
    transform: scale(1.05);
    animation: indigoPulseHover 1.5s ease-in-out infinite;
}

.product-hunt-badge img {
    display: block;
    filter: drop-shadow(0 4px 20px rgba(97, 85, 245, 0.4));
    transform: scale(1.1);
}

@keyframes indigoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(97, 85, 245, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(97, 85, 245, 0.7));
    }
}

@keyframes indigoPulseHover {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(97, 85, 245, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(97, 85, 245, 0.9));
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .app-store-badge {
        animation: none;
    }

    .app-store-badge:hover {
        animation: none;
    }
}

/* === Download Buttons - Indigo Glow on Hover (Desktop Only) === */
@media (hover: hover) and (pointer: fine) {

    .btn-primary:hover,
    .install-btn:hover {
        animation: indigoPulseHover 1.5s ease-in-out infinite;
    }

    /* Disable glow on hover for users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {

        .btn-primary:hover,
        .install-btn:hover {
            animation: none !important;
        }
    }
}