/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Animations */
@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes fade-in-step {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes chat-bubble-in {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ping-sequence {
    0%, 33% { transform: scale(1); opacity: 0.2; }
    17% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* Animation Classes */
.animate-slide { animation: slide 30s linear infinite; }
.animate-fade-in-step { animation: fade-in-step 0.5s ease-out forwards; }
.animate-chat-bubble { animation: chat-bubble-in 0.5s ease-out forwards; }
.animate-ping-sequence { animation: ping-sequence 3s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* Component Styles */
.hero-slider .slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.group[open] .group-open\:rotate-180 {
    transform: rotate(180deg);
}

/* Text Colors */
.text-strong { color: #171717; }
.dark .text-strong { color: #f8f8f5; }
.text-muted { color: #525252; }
.dark .text-muted { color: #a3a3a3; }

/* Link Hover Effects */
a:hover {
    text-decoration: none;
}

/* Card Hover Effects */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Transform Effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Border Colors */
.border-subtle { border-color: #e5e5e5; }
.dark .border-subtle { border-color: #404040; }

/* Demo Frame Styles */
.demo-frame-container {
    position: relative;
    max-width: 375px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.demo-frame {
    width: 100%;
    border: none;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Device Frame Styles */
@media (min-width: 768px) {
    .demo-frame-container {
        padding: 40px 15px;
        background: #1a1a1a;
        border-radius: 40px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .demo-frame {
        border-radius: 15px;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }
    
    /* Phone notch */
    .demo-frame-container::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 6px;
        background: #333;
        border-radius: 20px;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    }
    
    /* Home button */
    .demo-frame-container::after {
        content: "";
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        border: 2px solid #333;
        border-radius: 50%;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    z-index: 1000;
}

.dark .loading-overlay {
    background: rgba(23, 23, 23, 0.9);
}

/* Button Active States */
.active {
    background-color: currentColor !important;
    color: white !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.focus\:ring-2:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px currentColor;
}

/* Mobile Menu Styles */
#mobile-menu {
    background: inherit;
    z-index: 50;
}

#mobile-menu.hidden {
    display: none;
}

#mobile-menu:not(.hidden) {
    display: block;
}

/* Mobile Menu Button */
#mobile-menu-button {
    z-index: 51;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .text-4xl { font-size: 2.25rem; }
    .text-5xl { font-size: 3rem; }
    .text-6xl { font-size: 3.75rem; }
    .text-9xl { font-size: 6rem; }
}
/* Trusted by brands animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

/* Blog post content — preserves TinyMCE-saved HTML styles */
.post-content { font-size: 1.125rem; line-height: 1.8; max-width: none; }
.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6 { font-weight: 700; margin: 1.5em 0 0.5em; line-height: 1.3; }
.post-content h1 { font-size: 2em; }
.post-content h2 { font-size: 1.5em; }
.post-content h3 { font-size: 1.25em; }
.post-content p { margin: 0 0 1em; }
.post-content ul, .post-content ol { margin: 0 0 1em 1.5em; }
.post-content ul { list-style-type: disc; }
.post-content ol { list-style-type: decimal; }
.post-content li { margin-bottom: 0.25em; }
.post-content a { color: var(--primary-color, #2563eb); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--primary-color, #2563eb); margin: 1em 0; padding: 0.5em 1em; opacity: 0.8; }
.post-content img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1em 0; }
.post-content pre, .post-content code { font-family: monospace; background: rgba(0,0,0,0.06); border-radius: 4px; padding: 0.2em 0.4em; }
.post-content pre { padding: 1em; overflow-x: auto; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.post-content th, .post-content td { border: 1px solid rgba(0,0,0,0.15); padding: 0.5em 0.75em; }