.unified-intro {position:relative;overflow:hidden;}
.slide-in {display:inline-block;opacity:0;transform:translateX(100%);animation:slideIn 0.6s forwards;}
.slide-in.email {animation-delay:0s;}
.slide-in.task {animation-delay:0.2s;}
.slide-in.meeting {animation-delay:0.4s;}
@keyframes slideIn {
to {opacity:1;transform:translateX(0);}
}

.gradient-title {
  font-weight: 800;
  /* font-size: 3.0rem; */
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, #2563eb, #a855f7, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* fallback for newer browsers */
  text-fill-color: transparent;
}

.logo-text {
  color: var(--siimple-color-text);
}

.input {
  background-color: var(--siimple-color-background)
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  padding-left: 2rem;
  padding-right: 2rem;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.quattrocento-sans-bold {
  font-family: "Quattrocento Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Social media links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--siimple-color-text);
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background-color: var(--siimple-color-primary);
    color: var(--siimple-color-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    flex-shrink: 0;
}

/* Email links */
.email-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* Email links - similar to social links but with different styling */
.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    text-decoration: none !important;
    color: var(--siimple-color-text) !important;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.email-link:hover {
    background-color: var(--siimple-color-primary);
    color: var(--siimple-color-white) !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Desktop layout for feature rows - apply order only on desktop */
@media screen and (min-width: 641px) {
    /* Default: screenshot left, description right */
    .feature-row .description-column {
        order: 2;
    }
    
    .feature-row .screenshot-column {
        order: 1;
    }
    
    /* Alternate rows: description left, screenshot right */
    .feature-row-2 .description-column {
        order: 1;
    }
    
    .feature-row-2 .screenshot-column {
        order: 2;
    }
}

/* Mobile layout for feature rows - description always comes first */
@media screen and (max-width: 640px) {
    .feature-row .description-column {
        order: 1;
    }
    
    .feature-row .screenshot-column {
        order: 2;
    }
    
    .description-bubble {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 1rem;
    }
    
    /* Add vertical spacing between hero buttons on mobile */
    .button {
        margin-bottom: 1rem;
        margin-right: 0 !important;
        display: block;
        width: 100%;
    }
    
    .button:last-child {
        margin-bottom: 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-link {
        justify-content: center;
    }
}

/* News page timeline styles */
@media screen and (min-width: 641px) {
    .timeline-line {
        display: block !important;
    }
}

/* News page mobile styles */
@media screen and (max-width: 640px) {
    .news-date {
        padding-right: 0 !important;
        margin-bottom: 0;
        align-items: flex-start !important;
    }
    
    .news-content {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
    
    .news-headline {
        margin: 0 0 4px 0 !important;
    }
    
    .news-item {
        padding-left: 1.5rem;
        position: relative;
    }
    
    .news-item .columns {
        margin-bottom: 4 !important;
    }
    
    .news-item .column {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .timeline-line {
        display: block !important;
        left: 0.5rem !important;
        right: auto !important;
        top: 0 !important;
        bottom: -3rem !important;
    }
}

/* Update log page mobile styles */
@media screen and (max-width: 640px) {
    .updatelog-version {
        padding-right: 0 !important;
        margin-bottom: 0;
        align-items: flex-start !important;
    }
    
    .updatelog-content {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
    
    .updatelog-headline {
        margin: 0 0 4px 0 !important;
    }
    
    .updatelog-item {
        padding-left: 1.5rem;
        position: relative;
    }
    
    .updatelog-item .columns {
        margin-bottom: 4 !important;
    }
    
    .updatelog-item .column {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .updatelog-item .timeline-line {
        display: block !important;
        left: 0.5rem !important;
        right: auto !important;
        top: 0 !important;
        bottom: 0 !important;
    }
}

/* Mobile menu override for dropdown behavior */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    display: none;
    background: none;
    border: none;
    height: auto;
    width: auto;
    opacity: 1;
    padding: 0;
}

/* Override mobile menu background and add border */
#mobile-menu .has-bg-muted {
    background-color: white !important;
    border: 1px solid var(--siimple-color-muted);
    color: var(--siimple-color-text);
}

/* Dark mode override for mobile menu */
@media (prefers-color-scheme: dark) {
    #mobile-menu .has-bg-muted {
        background-color: var(--siimple-color-dark) !important;
        color: var(--siimple-color-text);
    }
    
    /* Fix hamburger menu visibility in dark mode */
    #mobile-menu-toggle {
        background-color: var(--siimple-color-dark) !important;
        color: var(--siimple-color-text);
    }
}

/* Remove blue background from mobile menu download button */
#mobile-menu .button {
    background-color: transparent !important;
}

/* Add hover effect to mobile menu download button */
#mobile-menu .button:hover {
    background-color: var(--siimple-color-light) !important;
}

#mobile-menu.is-active {
    display: block;
}

#mobile-menu:before,
#mobile-menu:after {
    display: none;
}

/* Hero text responsive sizing */
@media screen and (max-width: 1024px) and (min-width: 641px) {
    .hero-main-title {
        font-size: 2rem !important; /* Hero title - tablet */
    }
    
    .hero-subtitle {
        font-size: 2rem !important; /* Hero subtitle - tablet */
    }
}

@media screen and (max-width: 640px) {
    .hero-main-title {
        font-size: 1.75rem !important; /* Hero title - mobile */
    }
    
    .hero-subtitle {
        font-size: 1.5rem !important; /* Hero subtitle - mobile */
    }
}

/* Header button height consistency */
nav .button {
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 0.25rem; /* Reduced corner radius to match AppStore badge */
}

/* AppStore badge light/dark mode switching */
.appstore-badge-link {
    display: inline-block;
    text-decoration: none;
    padding: 0 !important;
    background-color: transparent;
}

.appstore-badge {
    border-radius: 0.25rem; /* Match reduced button border-radius */
    height: 40px;
}

/* Light mode - show black badge, hide white badge */
.appstore-badge.light-mode {
    display: inline-block;
}

.appstore-badge.dark-mode {
    display: none;
}

/* Dark mode - show white badge, hide black badge */
@media (prefers-color-scheme: dark) {
    .appstore-badge.light-mode {
        display: none;
    }
    
    .appstore-badge.dark-mode {
        display: inline-block;
    }
}

/* Also handle manual dark mode class if used by the framework */
.is-dark .appstore-badge.light-mode,
[data-theme="dark"] .appstore-badge.light-mode {
    display: none;
}

.is-dark .appstore-badge.dark-mode,
[data-theme="dark"] .appstore-badge.dark-mode {
    display: inline-block;
}

/* Outlined button modifier */
.button.outlined {
    border: 1px solid var(--siimple-color-text);
    border-radius: 0.45em;
}

/* Header button hover effects */
nav .button:hover {
    background-color: var(--siimple-color-highlight);
}

/* Footer link hover effects */
footer a:hover {
  color:var(--siimple-color-primary);
}

/* Card background modifier */
.card.has-bg-subtle {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mailing list contrasting section */
.mailing-list-section {
    background-color: rgba(0, 0, 0, 0.05);
    margin-top: 6rem;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

@media (prefers-color-scheme: dark) {
    .mailing-list-section {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

/* Scroll-triggered fade-in-up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
