/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at top, #1a0f2e 0%, #0a0515 100%);
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Particle Background */
#globalParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero section particles - higher opacity */
.hero #globalParticles {
    opacity: 0.4;
}

/* Body particles - lower opacity */
body > #globalParticles {
    opacity: 0.15;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 3rem;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(23, 14, 42, 0) 0%, rgba(23, 14, 42, 0) 100%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: -1;
}

.navbar.scrolled {
    padding: 1rem 3rem;
    background: rgba(23, 14, 42, 0.95);
    backdrop-filter: blur(20px);
}

.navbar.scrolled::after {
    background: linear-gradient(180deg, rgba(23, 14, 42, 0.95) 0%, rgba(23, 14, 42, 0) 100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 120px;
    width: auto;
    overflow: visible;
    transition: all 0.15s ease;
}

.navbar.scrolled .brand-logo {
    height: 60px;
}

/* Keep logo small on publisher page */
body:has(.publisher-page) .brand-logo {
    height: 60px;
}

.nav-brand {
    overflow: visible;
}

.logo-memento {
    opacity: 0;
    transform: translateX(-30px);
    animation: slide-in-memento 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.logo-yearbook {
    opacity: 0;
    transform: scale(0.9);
    animation: pop-in-yearbook 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

@keyframes slide-in-memento {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pop-in-yearbook {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link-circle:hover {
    border-color: #ED1C76;
    background: rgba(255, 107, 157, 0.1);
    color: #ED1C76;
    transform: scale(1.1);
}

.nav-link-pill {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link-pill:hover {
    border-color: #ED1C76;
    background: rgba(237, 28, 118, 0.15);
    color: #ED1C76;
    transform: translateY(-2px);
}

.nav-link-pill.nav-cta {
    font-weight: 600;
}

/* CTA 1 - Stroked style (now 3rd item) */
.nav-links a:nth-child(3).nav-cta {
    background: transparent;
    border: 2px solid #ED1C76;
    color: #ED1C76;
}

.nav-links a:nth-child(3).nav-cta:hover {
    background: rgba(237, 28, 118, 0.1);
    border-color: #FF1C76;
    color: #FF1C76;
    transform: translateY(-2px);
}

/* CTA 2 - Filled style (now 4th item) */
.nav-links a:nth-child(4).nav-cta {
    background: linear-gradient(135deg, #ED1C76 0%, #FF6B9D 100%);
    border-color: #ED1C76;
    color: white;
}

.nav-links a:nth-child(4).nav-cta:hover {
    background: linear-gradient(135deg, #FF1C76 0%, #FF8BB5 100%);
    border-color: #FF1C76;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 28, 118, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(23, 14, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link-pill {
        width: 100%;
        justify-content: center;
    }
    
    .brand-logo {
        height: 80px !important;
    }
    
    .navbar.scrolled .brand-logo {
        height: 60px !important;
    }
}

/* Steps Timeline Section */
.steps-timeline {
    background: transparent;
    padding: 8rem 3rem;
    position: relative;
    overflow: hidden;
}


.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    font-size: 2.75rem;
    font-weight: 700;
    color: #ED1C76;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-svg {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 10px;
    transform: translateX(-50%);
    z-index: 0;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item:nth-of-type(even) {
    flex-direction: row-reverse;
}

.step-sketchy-border {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    pointer-events: none;
    z-index: 1;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.step-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border: none;
    border-radius: 4px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 520px;
    margin-left: 3rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.step-item:nth-child(even) .step-card {
    margin-left: 0;
    margin-right: 3rem;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 107, 157, 0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(255, 107, 157, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    position: relative;
    z-index: 2;
    filter: brightness(0) saturate(100%) invert(100%);
    object-fit: contain;
    display: block;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-card-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

.features-section {
    position: relative;
    z-index: 10;
    padding: 8rem 3rem;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.features-section .section-title {
    color: #ED1C76;
}

.features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border: none;
    border-radius: 4px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    isolation: isolate;
}

.feature-card.primary {
    grid-column: 1 / -1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(138, 43, 226, 0.08) 100%), linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 25, 41, 0.99) 100%);
    border: none;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 0 0 80px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(0, 212, 255, 0.2);
}

.feature-card.primary h3 {
    font-size: 1.875rem;
    color: #00d4ff;
}

.feature-card.primary .feature-graphic {
    /* No background */
    border: none;
}

.feature-card.primary .feature-graphic svg {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-card.primary .feature-graphic svg path,
.feature-card.primary .feature-graphic svg rect,
.feature-card.primary .feature-graphic svg circle {
    stroke: #00d4ff;
}

.sketchy-border {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-card:not(.primary):hover {
    box-shadow: 0 20px 60px rgba(237, 28, 118, 0.3);
}

.feature-card.primary:hover {
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.4), 0 0 100px rgba(0, 212, 255, 0.2);
}

.feature-graphic {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.lottie-icon {
    width: 140px;
    height: 140px;
}

/* White icons with colored accent */
.lottie-icon svg path,
.lottie-icon svg rect,
.lottie-icon svg circle,
.lottie-icon svg ellipse,
.lottie-icon svg polygon,
.lottie-icon svg polyline,
.lottie-icon svg line {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

/* First element pink accent for regular icons */
.lottie-icon svg path:first-of-type,
.lottie-icon svg circle:first-of-type,
.lottie-icon svg rect:first-of-type {
    stroke: #ED1C76 !important;
    fill: #ED1C76 !important;
}

/* Primary icon - white with blue accent */
.primary-icon svg path,
.primary-icon svg rect,
.primary-icon svg circle,
.primary-icon svg ellipse,
.primary-icon svg polygon,
.primary-icon svg polyline,
.primary-icon svg line {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

/* First element blue accent for primary icon */
.primary-icon svg path:first-of-type,
.primary-icon svg circle:first-of-type,
.primary-icon svg rect:first-of-type {
    stroke: #00d4ff !important;
    fill: #00d4ff !important;
}

.feature-graphic svg {
    transition: transform 0.3s ease;
}

/* Pink shadow for regular icons */
.lottie-icon svg {
    filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.3));
}

/* Blue shadow for primary icon */
.primary-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.feature-card:hover .feature-graphic svg {
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: left;
}

.feature-card h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
    margin: 0 0 1.5rem 0;
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.feature-highlight-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Advanced Scroll Animations */
.feature-card:not(.animate-in) {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.feature-card {
    transition: all 0.3s ease;
    transition-delay: 0s;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

.features-section .section-header {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.features-section .section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-graphic {
    transform: scale(0.8) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.feature-card.animate-in .feature-graphic {
    transform: scale(1) rotate(0deg);
}

.feature-content {
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0.4s;
}

.feature-card.animate-in .feature-content {
    transform: translateX(0);
    opacity: 1;
}

.feature-highlight {
    transform: translateX(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card.animate-in .feature-highlight:nth-child(1) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.6s;
}

.feature-card.animate-in .feature-highlight:nth-child(2) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.7s;
}

/* Hero Section Animations */
.nav-links {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.nav-links.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.nav-link-circle {
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links.animate-in .nav-link-circle:nth-child(1) {
    transform: scale(1);
    transition-delay: 0.2s;
}

.nav-links.animate-in .nav-link-circle:nth-child(2) {
    transform: scale(1);
    transition-delay: 0.3s;
}

.nav-links.animate-in .nav-link-circle:nth-child(3) {
    transform: scale(1);
    transition-delay: 0.4s;
}

.nav-links.animate-in .nav-link-circle:nth-child(4) {
    transform: scale(1);
    transition-delay: 0.5s;
}

.brand-logo {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brand-logo.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#backgroundCanvas {
    opacity: 0;
    transition: opacity 1.5s ease;
    transition-delay: 0.5s;
}

#backgroundCanvas.animate-in {
    opacity: 1;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
}

.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.5s;
}

.hero-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.7s;
}

.hero-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.9s;
}

.hero-buttons.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .timeline-svg {
        display: none;
    }
    
    .steps-timeline {
        padding: 4rem 2rem;
        margin-top: 0;
    }
    
    .section-header {
        padding-top: 0;
    }
    
    .features-section {
        padding: 4rem 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .step-item {
        flex-direction: column !important;
        position: relative;
        align-items: stretch;
    }
    
    .step-number {
        position: absolute;
        top: 10px;
        left: 0;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        z-index: 10;
    }
    
    .step-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 20px;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        max-width: none;
        position: relative;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 14rem 3rem 8rem;
    min-height: 800px;
    overflow: hidden;
}

/* Hero overlay gradient removed */

/* Background Canvas positioned in hero */
#backgroundCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 15;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: 'Comfortaa', sans-serif !important;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #ED1C76;
    background: none;
    -webkit-text-fill-color: initial;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    padding: 1.125rem 2.75rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: 0.025em;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00e0ff, #00aadd);
}

.btn-secondary {
    padding: 1.125rem 2.75rem;
    background: transparent;
    border: 2px solid #00d4ff;
    border-radius: 50px;
    color: #00d4ff;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00e0ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

/* Hero Right Side - Sketched Monitor */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.monitor-sketch {
    width: 100%;
    max-width: 1000px;
    position: relative;
    cursor: pointer;
    overflow: visible;
    padding: 40px 20px 20px 40px;
    opacity: 1 !important;
}

.monitor-sketch svg {
    opacity: 0.8 !important;
}

/* Monitor path styling is now handled inline */

.monitor-frame {
    width: 100%;
    height: auto;
    animation: sketch-float 4s ease-in-out infinite;
}

@keyframes sketch-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.video-placeholder {
    position: absolute;
    top: 13%;
    left: 10%;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-placeholder {
    position: absolute;
    top: 13%;
    left: 10%;
    width: 83%;
    height: 61%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: video-float 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes video-float {
    0%, 100% {
        transform: translateY(0) rotate(-0.5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0.5deg);
    }
}

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

.video-graphic {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.video-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-button {
    filter: drop-shadow(0 5px 15px rgba(255, 107, 157, 0.5));
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(255, 107, 157, 0.7));
}

.video-controls {
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.youtube-bar {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.youtube-bar svg {
    flex: 1;
}

.youtube-logo {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    background: #ff0000;
    padding: 2px 8px;
    border-radius: 3px;
}


.btn-outline {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Hero Text */
.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ff4d7d;
    margin-bottom: 0.5rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 77, 125, 0.5);
}

.hero-text .hero-subtitle {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ff4d7d;
    text-shadow: 0 0 20px rgba(255, 77, 125, 0.5);
}

/* Main Content Section */
.main-content {
    padding: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Features Left */
.features-left {
    padding-right: 2rem;
}

.feature-card {
    margin-bottom: 2rem;
}

.feature-card h3 {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.arrow {
    color: #ff1493;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
}


.handwritten-text {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.handwritten-text span {
    font-family: 'Kalam', 'Brush Script MT', cursive;
    font-size: 3rem;
    color: #ff1493;
    font-weight: 300;
    transform: rotate(-5deg);
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    opacity: 0.9;
}

/* Video Container */
.video-container {
    position: relative;
}

.video-player {
    background: white;
    border-radius: 12px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-player::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #ff1493;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.8;
    transform: skewX(-5deg);
}

.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ED1C76 0%, #ff8e8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
}

.youtube-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #ff0000;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.youtube-logo {
    height: 20px;
    filter: brightness(0) invert(1);
}

.memento-yearbook-label {
    position: absolute;
    bottom: -2.5rem;
    left: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.memento-yearbook-label::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 120px;
    height: 2px;
    background: #ff1493;
    transform: rotate(-2deg);
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(1px);
}

.label-memento {
    font-size: 1.2rem;
    font-weight: 200;
    background: linear-gradient(90deg, #00d4ff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.label-yearbook {
    font-size: 0.7rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
}

/* Publisher Section */
.publisher-section {
    padding: 8rem 3rem;
}

/* Publisher Page - no hero */
.publisher-page {
    padding-top: 8rem;
    padding-bottom: 6rem;
    min-height: auto;
}

/* Ensure navbar is visible on publisher page */
body:has(.publisher-page) .navbar {
    background: transparent;
}

/* Force navbar elements to be visible and animate on publisher page */
body:has(.publisher-page) .navbar .logo-memento,
body:has(.publisher-page) .navbar .logo-yearbook,
body:has(.publisher-page) .nav-links,
body:has(.publisher-page) .brand-logo {
    opacity: 1 !important;
    animation: fadeIn 0.6s ease forwards !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fallback: ensure elements are visible on publisher page if JS doesn't load */
.publisher-page .section-header {
    animation: fadeInUp 0.6s ease forwards;
}

.publisher-page .features-grid .feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.publisher-page .feature-content {
    animation: fadeInUp 0.6s ease forwards;
}

.publisher-page .feature-graphic {
    animation: fadeInUp 0.6s ease forwards;
}

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

.publisher-page .features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.publisher-page .features-grid .feature-card:nth-child(2) { animation-delay: 0.25s; }
.publisher-page .features-grid .feature-card:nth-child(3) { animation-delay: 0.4s; }
.publisher-page .features-grid .feature-card:nth-child(4) { animation-delay: 0.55s; }
.publisher-page .features-grid .feature-card:nth-child(5) { animation-delay: 0.7s; }
.publisher-page .features-grid .feature-card:nth-child(6) { animation-delay: 0.85s; }

.publisher-cta {
    text-align: center;
    max-width: 800px;
    margin: 5rem auto 0;
    padding: 3rem;
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border-radius: 4px;
    overflow: hidden;
}

.publisher-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern.svg');
    opacity: 0.05;
    z-index: 0;
}

.publisher-cta h3 {
    font-family: 'Comfortaa', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: #ED1C76;
}

.publisher-cta p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.publisher-cta .btn-primary {
    position: relative;
    z-index: 1;
}

/* Demo Video Section */
.demo-video-section {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
    z-index: 10;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
    opacity: 1 !important;
    background: #000;
    position: relative;
    z-index: 10;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    opacity: 1 !important;
}

.video-placeholder-fullframe {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
}

.play-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-icon:hover {
    transform: scale(1.1);
}

.video-placeholder-text {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-weight: 300;
}

/* CTA Section After Video */
.cta-section {
    padding: 8rem 3rem;
    background: transparent;
    position: relative;
    z-index: 10;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: rgba(23, 14, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 0 60px rgba(69, 166, 209, 0.3),
                0 0 100px rgba(69, 166, 209, 0.15),
                inset 0 0 80px rgba(69, 166, 209, 0.05);
}

.cta-container .sketchy-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 20px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid #45a6d1;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-btn.cta-primary {
    background: transparent;
    color: #45a6d1;
}

.cta-btn.cta-primary:hover {
    background: rgba(69, 166, 209, 0.1);
    border-color: #5bc0eb;
    color: #5bc0eb;
    transform: translateY(-2px);
}

.cta-btn.cta-secondary {
    background: linear-gradient(135deg, #45a6d1 0%, #5bc0eb 100%);
    color: white;
    border-color: #45a6d1;
}

.cta-btn.cta-secondary:hover {
    background: linear-gradient(135deg, #5bc0eb 0%, #7dd3f7 100%);
    border-color: #5bc0eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 166, 209, 0.4);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: rgba(15, 10, 30, 0.5);
    backdrop-filter: blur(10px);
    padding: 4rem 3rem 2rem;
    position: relative;
    z-index: 10;
    margin-top: 6rem;
}

.footer-border-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: calc(100% - 6rem);
    height: 2px;
    pointer-events: none;
    z-index: 1;
}

.footer-border-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;
    margin-bottom: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: block;
    height: auto;
    width: 225px !important;
    max-width: 225px !important;
    min-width: 225px !important;
    transition: all 0.3s ease;
    overflow: visible;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-column h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-column p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.footer-powered-by {
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 225px;
}

.footer-powered-by a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-powered-by a.studio-source-link {
    font-size: 0.85rem;
}

.footer-powered-by a:hover {
    opacity: 0.9;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #45a6d1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a::after {
    content: '▶';
    font-size: 0.7rem;
    color: #ED1C76;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #5bc0eb;
}

.footer-nav a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    transition: all 0.3s ease;
}

.social-link img {
    width: 28px;
    height: 28px;
    filter: brightness(0) saturate(100%) invert(60%) sepia(98%) saturate(2476%) hue-rotate(169deg) brightness(101%) contrast(101%);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(98%) saturate(2476%) hue-rotate(169deg) brightness(101%) contrast(101%) opacity(0.7);
}

.company-info {
    margin: 0;
    margin-bottom: 0.75rem;
}

.company-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #45a6d1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-link::after {
    content: '▶';
    font-size: 0.7rem;
    color: #ED1C76;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.company-link:hover {
    color: #5bc0eb;
}

.company-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.company-phone {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #45a6d1;
    display: block;
    margin-top: 0.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    position: relative;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-separator {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #ED1C76;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-nav a:hover {
        padding-left: 0;
    }
    
    .footer-nav a::after {
        display: none;
    }
    
    .company-link {
        display: block;
        text-align: center;
        justify-content: center;
    }
    
    .company-link::after {
        display: none;
    }
    
    .company-phone {
        display: block;
        text-align: center;
    }
    
    /* Footer bottom - separate copyright and policies on mobile */
    .footer-bottom p {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
        max-width: 95%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .footer-copyright {
        display: block;
        width: 100%;
    }
    
    .footer-policies {
        display: block;
        width: 100%;
    }
    
    /* Center footer logo on mobile */
    .footer-logo {
        margin: 0 auto;
        display: block;
    }
}

/* Dashboard Section */
.dashboard-section {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.dashboard-header {
    margin-bottom: 3rem;
    text-align: center;
}

.dashboard-header h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ED1C76;
    margin-bottom: 1rem;
}

.dashboard-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.dashboard-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-grid:last-child {
    margin-bottom: 0;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 157, 0.2);
}

.dashboard-card h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* Progress Circle */
.progress-circle-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 20;
}

.progress-segment {
    fill: none;
    stroke-width: 20;
    stroke-linecap: butt;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    font-family: 'Inter', sans-serif;
}

.progress-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
}

.progress-circle-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.progress-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    padding-left: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-text {
    color: white;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Page Grid */
.page-grid-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    aspect-ratio: 8/3;
}

.page-thumbnail {
    background: rgba(255, 107, 157, 0.15);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    position: relative;
}

.page-thumbnail.active {
    background: rgba(255, 107, 157, 0.15);
    border-color: rgba(255, 107, 157, 0.2);
}

.page-thumbnail:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.page-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.page-thumbnail.active .page-number {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Tasks */
.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.task-list li:last-child {
    border-bottom: none;
}

.task-bullet {
    width: 8px;
    height: 8px;
    background: #ED1C76;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(255, 107, 157, 0.4);
}

/* Calendar */
.calendar-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-item:last-child {
    border-bottom: none;
}

.date {
    color: #00d4ff;
    font-weight: 500;
    min-width: 70px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Tooltips */
.tooltip {
    position: absolute;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 25, 41, 0.98) 100%);
    border: 1px solid rgba(255, 107, 157, 0.4);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    max-width: 250px;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tooltip-content h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-family: 'Inter', sans-serif;
}

.tooltip-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

/* No arrows needed - using connecting lines instead */

/* Tooltip connecting lines */
.tooltip-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.6) 0%, rgba(255, 107, 157, 0.2) 100%);
    z-index: 99;
    height: 2px;
}

.line-left {
    width: 250px;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
}

.line-right {
    width: 250px;
    top: 50%;
    left: -250px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.2) 0%, rgba(255, 107, 157, 0.6) 100%);
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-left {
        max-width: 700px;
    }
    
    .hero-title {
        font-family: 'Comfortaa', sans-serif !important;
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-right {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* Consistent section padding on mobile */
    .hero,
    .features-section,
    .cta-section,
    section {
        padding: 4rem 2rem !important;
    }
    
    .hero-title {
        font-family: 'Comfortaa', sans-serif !important;
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .monitor-sketch {
        max-width: 800px;
        z-index: 2;
    }
    
    .video-content {
        top: 21%;
        left: 20%;
        width: 60%;
        height: 40%;
    }
}

/* Additional Features */
.additional-features {
    padding: 3rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    position: relative;
}

/* Removed "yes, yes we can" text */

.feature-bottom h3 {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-bottom p {
    color: #a0a0a0;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Responsive Design - Tablet/Mobile */
@media (max-width: 968px) {
    /* Hide monitor graphic when layout goes single column */
    .monitor-sketch svg {
        display: none;
    }
    
    /* Add glow background to video */
    .video-placeholder {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        border-radius: 12px;
        box-shadow: 0 0 40px rgba(237, 28, 118, 0.4),
                    0 0 80px rgba(237, 28, 118, 0.2),
                    0 0 120px rgba(237, 28, 118, 0.1);
        overflow: visible !important;
        margin: 0 auto;
    }
    
    .video-placeholder iframe {
        border-radius: 12px;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Ensure play overlay shows on mobile */
    .video-play-overlay {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 100 !important;
        pointer-events: auto !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    .video-play-overlay.hidden {
        opacity: 0 !important;
        pointer-events: none !important;
        display: none !important;
    }
    
    .video-play-overlay svg {
        display: block !important;
        width: 80px !important;
        height: 80px !important;
    }
    
    /* Center the monitor/video container */
    .hero-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Reorder hero content - video above text */
    .hero-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Remove all load-in animations on mobile */
    .logo-memento,
    .logo-yearbook,
    .hero-content,
    .nav-links li,
    .brand-logo,
    .section-title,
    .section-subtitle,
    .section-header,
    .features-section .section-header {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-content.animate-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Make logo smaller on mobile to prevent hamburger cutoff */
    .brand-logo {
        height: 50px !important;
    }
    
    .navbar.scrolled .brand-logo {
        height: 45px !important;
    }
    
    /* Remove sticky nav on mobile */
    .navbar {
        position: absolute !important;
    }
    
    /* Add padding to hero to prevent nav overlap */
    .hero {
        padding-top: 120px;
    }
    
    .pricing-card-main {
        width: 100%;
        max-width: 400px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-features {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Contact Form Overlay Styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.overlay-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 25, 41, 0.98) 100%);
    border-radius: 4px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(237, 28, 118, 0.3), 0 0 80px rgba(237, 28, 118, 0.15), inset 0 1px 0 rgba(237, 28, 118, 0.2);
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    isolation: isolate;
    transform: translateY(0);
    animation: overlayAppear 0.3s ease-out forwards;
}

@keyframes overlayAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.overlay-content:hover {
    box-shadow: 0 25px 70px rgba(237, 28, 118, 0.4), 0 0 90px rgba(237, 28, 118, 0.2);
}

.overlay-border {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    z-index: 1;
    filter: url(#sketchyBorder);
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.overlay-header h2 {
    color: #fff;
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    color: #ED1C76;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(237, 28, 118, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(237, 28, 118, 0.6);
    background-color: rgba(255, 255, 255, 0.07);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ED1C76;
    box-shadow: 0 0 0 2px rgba(237, 28, 118, 0.2);
}

.submit-btn {
    margin-top: 1rem;
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(237, 28, 118, 0.8) 0%, rgba(237, 28, 118, 0.9) 100%);
    border: 1px solid rgba(237, 28, 118, 0.3);
    box-shadow: 0 4px 12px rgba(237, 28, 118, 0.3);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(237, 28, 118, 0.4);
    background: linear-gradient(135deg, rgba(237, 28, 118, 0.9) 0%, rgba(237, 28, 118, 1) 100%);
}

/* Chat Widget */
#chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.chat-icon {
    position: absolute;
    filter: drop-shadow(0 4px 12px rgba(237, 28, 118, 0.5));
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: scale(0.9);
}

.chat-icon.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

#chat-icon-1, #chat-icon-2 {
    transform: scale(0.85);
    transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#chat-icon-1.active, #chat-icon-2.active {
    transform: scale(1);
}

#chat-icon-transition {
    transform: scale(1);
}

.chat-icon.spinning {
    animation: spinIcon 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes spinIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(180deg);
    }
}

.chat-button::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(237, 28, 118, 0.3) 0%, rgba(237, 28, 118, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-button:hover::before {
    background: radial-gradient(circle, rgba(237, 28, 118, 0.5) 0%, rgba(237, 28, 118, 0) 70%);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 420px;
    height: 550px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 25, 41, 0.98) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(237, 28, 118, 0.2);
}

.chat-window.open {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: #ED1C76;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-family: 'Comfortaa', cursive;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header-icon {
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.chat-close-btn {
background: none;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
padding: 0;
line-height: 1;
transition: opacity 0.3s ease;
}

.close-btn img {
filter: brightness(0) invert(1);
width: 32px;
height: 32px;
}

.close-btn:hover {
opacity: 0.7;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.chat-close img {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
}

.chat-close:hover {
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    animation: fadeIn 0.3s ease;
}

.chat-message p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message {
    align-self: flex-start;
    background: rgba(69, 166, 209, 0.15);
    border: 1px solid rgba(69, 166, 209, 0.3);
    color: white;
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, #ED1C76 0%, #FF6B9D 100%);
    color: white;
}

.chat-disclaimer {
    font-size: 0.75rem;
    opacity: 0.5;
    text-align: center;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.5);
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: #ED1C76;
}

.chat-send {
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #ED1C76 0%, #FF6B9D 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 28, 118, 0.4);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .chat-window {
        position: fixed;
        width: calc(100vw - 2rem);
        height: calc(100vh - 120px);
        max-height: 600px;
        bottom: 90px;
        right: 1rem;
        left: 1rem;
    }
    
    #chat-widget {
        right: 1rem;
        bottom: 1rem;
    }
    
    .chat-button {
        width: 56px;
        height: 56px;
    }
    
    /* Simplify chat icon animations on mobile - no fancy effects */
    .chat-icon {
        transition: opacity 0.2s ease !important;
        transform: scale(1) !important;
    }
    
    .chat-icon.spinning {
        animation: none !important;
    }
    
    #chat-icon-1, #chat-icon-2 {
        transition: opacity 0.2s ease !important;
        transform: scale(1) !important;
    }
    
    /* Make contact form responsive on mobile */
    .overlay {
        overflow-y: auto;
        align-items: flex-start;
        padding: 1rem 0;
    }
    
    .overlay-content {
        width: 95%;
        max-width: 95%;
        padding: 1.5rem;
        margin: 1rem auto;
        max-height: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .contact-form {
        gap: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}
