@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

::-moz-selection {
    background: #ffeb8acc;
}
::selection {
    background: #ffeb8acc;
}

body {
    font-family: 'DM Serif Display', serif;
    margin: 0;
    background-color: #fdf2ca;
    color: #333;
}

a { color: #3B6702; font-weight: 700; text-decoration: none; }
/* a:hover { text-decoration: underline; } */

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    transition: background-color 0.3s;
}

/* Remove background when scrolling - only show glass effect for buttons */
.fixed-header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Header buttons container */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

/* Frozen glass background for navigation links only */
.nav-links-container {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 14px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links-container a:hover {
    color: #fff;
}

.header-close-to-main .nav-links-container a:hover {
    color: #3B6702;
}

.nav-links-container.light a:hover {
    color: #3B6702 !important;
}

/* Keep frozen glass background unchanged, only change link colors */
.header-close-to-main .nav-links-container {
    background: rgba(255, 255, 255, 0.55);
    /* Glass background stays the same - no changes */
}

.nav-links-container.light {
    background: rgba(255, 255, 255, 0.55);
}

.header-close-to-main .header-link {
    color: #333;
}

.header-close-to-main .header-link {
    color: #333;
}

/* Ensure download button keeps its original styling */
.header-close-to-main .download-button-small {
    color: #FDF3CE !important;
    background-image: linear-gradient(to top, #3B6702, #559F3F) !important;
    border: none !important;
}

.header-link {
    color: #FDF3CE;
    text-decoration: none;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

/* Dark header for non-home pages (e.g., blog) */
.fixed-header.header-dark .header-link {
    color: #333;
}
.fixed-header.header-dark .logo-text,
.fixed-header.header-dark .fluent-label,
.fixed-header.header-dark .logo-separator,
.fixed-header.header-dark .logo-secondary-text {
    color: #333;
}

.fade-in {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

h3 {
    font-size: 42px;
    font-weight: 10;
}

.h3-margin-top {
    margin-top: 65px;
}

.hero {
    text-align: center;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hide scaled overflow */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0%; /* Compensate for scaling */
    left: -10%; /* Center the scaled background */
    width: 120%; /* Scale to 120% (10% larger on all sides) */
    height: 120%; /* Scale to 120% */
    background-image: url('assets/hero-background.webp');
    background-size: cover;
    background-position: center 20%; /* Moved down by 20% */
    z-index: -1; /* Place behind content */
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg,rgba(253, 242, 202, 1) 0%, rgba(253, 242, 202, 0) 13%, rgba(253, 242, 202, 0) 100%);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* width: 100%; */
}

.logo-items a, .logo-items span {
    display: inline-block;
}

.logo-items span {
    padding-top: 5px;
}

.logo-separator {
    color: #FDF3CE;
    margin: 0 7px;
    font-size: 24px;
    font-weight: bold;
}

.logo-secondary-text {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: bold;
    color: #FDF3CE;
    transition: opacity 0.3s, transform 0.3s, color 0.3s ease;
}

/* Fluent title changes color when header is close to main block */
.header-close-to-main .logo-separator,
.header-close-to-main .logo-secondary-text {
    color: #333;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
    transition: opacity 0.3s, transform 0.3s, color 0.3s ease;
}

@keyframes logoMoveUp {
    0% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* ===== BLOG POST PAGE STYLES ===== */

/* Blog Post Main Container */
.blog-post-main {
    background-color: #fdf2ca;
    background-image: radial-gradient(1500px circle at 50% 500px, #ffffff 0%, #fff8dd 40%, transparent 70%);
    padding-top: 120px;
}

.legal-main {
    margin-bottom: 110px;
}

/* Blog Post Article */
.blog-post-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
    padding-top: 35px !important;
}

/* Blog Post Header */
.blog-post-header {
    margin-bottom: 70px;
    text-align: center;
}

.blog-post-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.blog-post-title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 10;
    margin: 20px 0;
    color: #333;
}

.blog-post-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Enhanced Post Meta for Blog Post */
.blog-post-header .post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
}

.reading-time {
    color: #999;
    font-size: 14px;
}

/* Post Author Section */
.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 103, 2, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: bold;
    color: #333;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.author-role {
    font-size: 0.85rem;
    color: #666;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Featured Image */
.blog-post-featured-image {
    width: 100%;
    margin: 0 0 50px 0;
    overflow: visible;
    margin-bottom: 70px;
}

.blog-post-featured-image img {
    width: 100%;
    aspect-ratio: 16/9;
    /* object-fit: cover; */
    display: block;
    /* border-radius: 20px; */
    /* box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.5), 0 20px 60px rgba(0, 0, 0, 0.15); */
}



/* Blog Post Content */
.blog-post-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    margin-bottom: 90px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 8px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    padding-bottom: 70px;
}

.blog-post-content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* General blockquotes in markdown-rendered content */
.blog-post-content-wrapper blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid rgba(59, 103, 2, 0.4);
    background: rgba(253, 242, 202, 0.35);
    border-radius: 12px;
}

.blog-post-content-wrapper blockquote p {
    margin: 0; /* handled by blockquote container */
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

/* Dark header pages keep readable contrast */
.blog-post-content-wrapper blockquote a {
    color: #3B6702;
    text-decoration: underline;
}

/* Blog Post Sections */
.blog-post-section {
    margin-bottom: 50px;
}

.blog-post-section a {
    text-decoration: none !important;
}

.blog-post-section:last-child {
    margin-bottom: 0;
}

.blog-post-section h2 {
    font-size: 32px;
    margin: 0 0 25px 0;
    color: #333;
    font-weight: 10;
    line-height: 1.2;
}

.blog-post-section h3 {
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 10;
    line-height: 1.3;
}

.blog-post-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.blog-post-content ul {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #444;
    line-height: 1.9;
    margin-top: -10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 30px 0 60px 0;
    padding: 0px;
    padding-bottom: 40px;
    background: rgba(253, 242, 202, 0.5);
    border-radius: 16px;
    border: 2px solid rgba(59, 103, 2, 0.1);
}

.cta-section p {
    margin-top: 30px;
    font-size: 21px;
    margin-bottom: 10px;
}

.download-button-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    background: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(59, 103, 2, 0.3);
}

.download-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 103, 2, 0.4);
}

/* Blog Post Footer */
.blog-post-footer {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 80px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.blog-post-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
    border-top: 1px solid #e9e9e9;
    margin-top: 60px;
    padding-top: 70px;
}

.normal-page-top-margin {
    margin-top: 70px;
}

.post-tags {
    flex: 1;
}

.post-tags .tag {
    display: inline-block;
    background: rgba(59, 103, 2, 0.1);
    color: #3B6702;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0 8px 8px 0;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
}

.post-share h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.share-button.x {
    background: #000;
    color: white;
}

.share-button.linkedin {
    background: #0077B5;
    color: white;
}

.share-button.copy-link {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.share-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Related Posts */
.related-posts {
    padding: 0 25px 110px;
}

.related-posts-content {
    max-width: 1200px;
    margin: 0 auto;
}

.related-posts h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
    color: #333;
    font-weight: 10;
}

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

.related-post {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.related-post-image {
    height: 210px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}

.related-post:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-post-content .post-meta {
    margin-bottom: 12px;
}

.related-post-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0 0;
    color: #333;
    line-height: 1.4;
}

.related-post-content .post-date {
    font-size: 0.85rem;
}

/* Responsive Design for Blog Post */
@media (max-width: 1024px) {
    .blog-post-content {
        padding: 40px;
    }
    
    .blog-post-title {
        font-size: 46px;
    }
    
    .blog-post-footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-post-main {
        padding-top: 100px;
    }
    
    .blog-post-article {
        padding: 0 20px;
    }
    
    .blog-post-title {
        font-size: 46px;
    }
    
    .blog-post-subtitle {
        font-size: 18px;
    }
    
    .blog-post-content {
        padding: 30px;
    }
    
    .blog-post-section h2 {
        font-size: 1.8rem;
    }
    
    .blog-post-section h3 {
        font-size: 1.4rem;
    }
    
    .related-posts h2 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 46px;
    }
    
    .blog-post-header .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-post-content {
        padding: 25px;
    }
    
    .blog-post-section p,
    .feature-list li,
    .performance-list li {
        font-size: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
.logo-container.animate-to-top .logo,
.logo-container.animate-to-top .logo-text {
    animation: logoMoveUp 600ms ease-out;
}


.fluent-label {
    color: #FDF3CE;
}

/* Fluent title changes color when header is close to main block */
.header-close-to-main .logo-text {
    color: #333;
}

.logo {
    height: 48px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 10;
    color: #FDF3CE;
    text-shadow: 0 5px 30px #432012;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.15;
}

h2 {
    font-weight: 10;
    line-height: 1.15;
}

.buy-container {
    padding-top: 50px !important;
}

.download-button {
    background-image: linear-gradient(to top, #3B6702, #559F3F);
    box-shadow: 0 8px 13px rgba(0, 0, 0, 0.09);
    color: #FDF3CE;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 999px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to top, #4A7A03, #66B34A);
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.download-button:hover {
    text-decoration: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.download-button:hover::before {
    opacity: 1;
}

.download-button:active {
    transform: translateY(0) scale(1.02);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.dbp {
    background-image: linear-gradient(to top, #3B6702, #559F3F);
    box-shadow: 0 8px 13px rgba(0, 0, 0, 0.09);
    color: #FDF3CE;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 999px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.apple-icon::before {
    content: '\F8FF';
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    color: #FDF3CE;
}

.demo-button {
    background-color: transparent;
    border: 1px solid #FDF3CE;
    color: #FDF3CE;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 999px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.demo-button:hover {
    transform: translateY(-2px) scale(1.05);
    background-color: rgba(253, 243, 206, 0.1);
    border-color: #FFFFFF;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.demo-button:hover .play-icon::before {
    color: #FFFFFF;
}

.demo-button:active {
    transform: translateY(0) scale(1.02);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-icon::before {
    content: '\25B6';
    font-size: 1.2em;
    color: #FDF3CE;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    z-index: 100;
}

.button-subtitle {
    color: #FDF3CE;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    opacity: 0.50;
    margin-top: 20px;
}

.app-icons {
    background-color: #FDF2CA;
    padding: 50px 0;
    text-align: center;
}

.app-icons-content {
    position: relative; /* Create positioning context for tooltip */
}

.app-icons h2 {
    font-size: 46px; /* Match h1 size */
    margin-bottom: 70px;
}

/* Add spacing between the two scrolling rows */
.app-icons .scrolling-wrapper {
    margin-bottom: 35px;
}

.app-icons .scrolling-wrapper:last-child {
    margin-bottom: 0;
}

/* Ensure hero content is always visible */
.hero-content {
    position: relative;
    /* top: -15vh; Consistent offset from center */
    bottom: 125px;
    padding: 0 20px;
    z-index: 2; /* Keep above background */
}

/* Fallback for missing video assets */
.feature-videos video {
    min-height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border-radius: 8px;
}

.scrolling-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.scrolling-content {
    display: flex;
    will-change: transform;
    backface-visibility: hidden;
}

.scrolling-content img {
    height: 190px;
    margin: 0 25px;
    transition: transform 0.3s ease;
}

.scrolling-content img:hover {
    transform: scale(1.05);
}

/* Use case tooltip styles */
.use-case-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    min-width: 280px;
    max-width: 320px;
}

.use-case-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.tooltip-content {
    text-align: left;
}

.tooltip-title {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .tooltip-title::before {
    content: "✨";
    font-size: 16px;
} */

.use-case-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-list li {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInUseCase 0.3s ease-out forwards;
}

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

.use-case-list li::before {
    content: "•";
    color: #646464;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.use-case-tooltip.show .use-case-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.use-case-tooltip.show .use-case-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.use-case-tooltip.show .use-case-list li:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUseCase {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: min(90vw, 1350px, calc((80vh - 24px) * 16 / 9));
    height: auto;
    max-height: calc(90vh - 24px);
    background-color: transparent;
    border-radius: 10px;
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal video {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 24px);
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 5px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal video {
    transform: scale(1);
}

/* Match iframe styling to the modal video */
.modal iframe {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 24px);
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal iframe {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #000;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-modal:hover { opacity: 0.85; }

.feature-videos video {
    display: none;
    width: 100%;
    border-radius: 10px;
}

.feature-videos video.active {
    display: block;
}

.native-fast-powerful {
    text-align: center;
    padding: 55px 20px 55px 20px;
    background-color: #fdf2ca;
}

.native-fast-powerful-content {
    max-width: 1200px;
    margin: 0 auto;
    /* Inherit all styling from parent section */
}

.native-fast-powerful h2 {
    font-size: 46px; /* Match h1 size */
    margin-bottom: 60px;
}

.native-fast-powerful img {
    max-width: 100%;
    border-radius: 10px;
}

.nfp-image {
    position: relative;
    max-width: 1200px;
}

.bundled-actions-content {
    text-align: center;
    padding: 0px 20px;
    background-color: #fdf2ca;
}

.bundled-actions-content h2 {
    font-size: 46px; /* Match h1 size */
    margin-top: -30px;
    margin-bottom: 10px;
}

.features h2 {
    font-size: 46px; /* Match h1 size */
    margin-top: 0px;
    margin-bottom: 80px;
}

.bundled-actions-content h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}

.action-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.action-icons img {
    height: 60px;
}

.provider-icons {
    display: block;
    justify-content: center;
    gap: 40px;
}

.provider-icons img {
    margin: 0 30px;
    height: 90px;
}

.native-fast-powerful-content h4 {
    font-size: 32px;
    font-weight: 10;
    margin-top: 10px;
    color: #333;
}

.reviews {
    background-color: #fdf2ca;
    padding: 0 0 40px;
    overflow: hidden;
}

.reviews-content {
    /* Inherit all styling from parent section */
}

.reviews .scrolling-wrapper {
    overflow: hidden;
}

.reviews .scrolling-content {
}

/* ---- Static Reviews (editorial grid) ---- */
.reviews-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 90px;
    border-top: 1px solid #c7b48e47;
}

.reviews-title {
    font-size: 46px;
    text-align: center;
    margin: 0 0 65px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.review-feature,
.mini-review {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 18px;
    line-height: 1.6;
}

.review-feature blockquote {
    margin: 0 0 20px 0;
    font-size: 28px;
    line-height: 1.4;
    color: #222;
}

.quote-highlight {
    background: linear-gradient(0deg, rgba(255,239,158,0.8), rgba(255,239,158,0.8));
    border-radius: 6px;
    padding: 0 6px;
    font-weight: 500;
}

.review-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Explicit grid placement to match mosaic layout */
.reviews-grid .item-1 { grid-column: 1; grid-row: 1; }
.reviews-grid .item-2 { grid-column: 2 / span 2; grid-row: 1; }
.reviews-grid .item-3 { grid-column: 1 / span 2; grid-row: 2; }
.reviews-grid .item-4 { grid-column: 3; grid-row: 2; }
.reviews-grid .item-5 { grid-column: 1; grid-row: 3; }
.reviews-grid .item-6 { grid-column: 2 / span 2; grid-row: 3; }

.review-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    margin: 0 20px;
    width: 350px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hamburger menu - hidden by default on desktop */
.hamburger-menu {
    display: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.review-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    align-items: center;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    /* border: 2px solid #f0f0f0; */
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.reviewer span {
    font-weight: bold;
}

/* Show link icon after reviewer links when hovering a review card */
.review-feature:hover .reviewer a::after,
.mini-review:hover .reviewer a::after,
.review-card:hover .reviewer a::after {
    content: " 🔗";
}

.header-download-button {
    padding: 12px 30px;
    font-size: 0.9em;
}

/* ---- Footer ---- */
.site-footer {
    background-color: #FFF4CF; /* distinct light tone vs main sections */
    color: #595959;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 80px 20px;
}

.site-footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.site-footer .footer-column h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.site-footer .footer-column p {
    margin: 6px 0 0 0;
    color: rgba(0, 0, 0, 0.7);
}

.site-footer .footer-links {
    color: #777777;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links li {
    margin: 16px 0;
}

.site-footer a {
    color: #777777;
    font-weight: 500;
    text-decoration: none;
}

.site-footer a:hover {
    color: #000;
}

.site-footer .footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 30px 0 16px 0;
}

/* Provider logos row */
.footer-providers {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-providers .providers-label {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    margin-right: 8px;
}

.footer-providers img {
    height: 24px;
    opacity: 0.85;
    filter: saturate(90%);
}

.footer-providers img:hover {
    opacity: 1;
}

.site-footer .footer-bottom {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (max-width: 900px) {
    .site-footer .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-providers {
        justify-content: center;
    }
}

@media screen and (max-height: 1300px) {
    .hero-content {
        bottom: 125px;
    }
}

@media screen and (max-height: 950px) {
    .hero-content {
        bottom: 125px;
    }

    .hero-content h1 {
        font-size: 46px; /* Even smaller font size */;
        margin-bottom: 20px;
    }
    
    /* Responsive h2 styling to match h1 pattern */
    .app-icons h2,
    .native-fast-powerful h2,
    .bundled-actions-content h2,
    .features h2 {
        font-size: 46px; /* Match h1 scaling */
        font-weight: 10;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        bottom: 110px;
    }

    .header-download-button,
    .reddit-icon-btn {
        display: none;
    }

    .header-link {
        color: #333;
    }

    .fluent-label {
        color: #333;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
/* Responsive h2 styling for mobile to match h1 pattern */
    .app-icons h2,
    .native-fast-powerful h2,
    .bundled-actions-content h2,
    .features h2 {
        font-size: 46px; /* Match h1 mobile scaling */
    }

    /* Reviews: stack layout on mobile */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Reset mosaic placement so items flow naturally in one column */
    .reviews-grid .grid-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    /* Normalize card typography and padding for mobile */
    .review-feature,
    .mini-review {
        padding: 24px;
        font-size: 18px;
        line-height: 1.6;
        margin: 0; /* Ensure consistent outer spacing on mobile */
    }

    .review-feature blockquote,
    .mini-review p {
        font-size: 18px;
        line-height: 1.6;
        margin: 0 0 20px 0;
    }

    /* Consistent reviewer row sizing on mobile */
    .reviewer {
        font-size: 16px;
    }

    /* Hamburger menu styles */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .header-close-to-main .hamburger-menu span {
        background-color: #333;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* Mobile navigation styles */
    .header-buttons {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-sizing: border-box;
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 30px;
    }

    .header-buttons.active {
        right: 0;
    }

    .nav-links-container {
        flex-direction: column;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 20px;
        width: 100%;
    }

    .header-link {
        font-size: 1.2em;
        color: #333;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }

    .header-link:last-child {
        border-bottom: none;
    }

    /* Overlay for mobile menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 5;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hide/show header elements based on scroll position - MOBILE ONLY */
    .logo-container,
    .hamburger-menu {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Hide when scrolled down */
    .fixed-header.scrolled .logo-container,
    .fixed-header.scrolled .hamburger-menu {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
    }

    /* Show when at top */
    .fixed-header:not(.scrolled) .logo-container,
    .fixed-header:not(.scrolled) .hamburger-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ---- Features block redesign ---- */
.features {
    text-align: center;
    padding: 0px 20px;
    background-color: #fdf2ca;
}

.features-container {
    position: relative;
    margin: 0 auto;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: stretch;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 14px;
}

.feature-list li {
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #333;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
}

.feature-list li:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.feature-list li.active {
    background-image: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    border: 1px solid rgb(0, 124, 25);
    box-shadow: 0 12px 28px rgba(63, 114, 31, 0.28);
}

.feature-videos {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.feature-videos video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-videos video.active {
    display: block;
}

@media (max-width: 900px) {
    .features-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .feature-list li {
        padding: 10px 12px;
        font-weight: 600;
    }

    .feature-videos {
        border-radius: 12px;
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        max-height: 100vh;
        margin: 0 auto;
    }
}

/* ---- Pricing block ---- */
.pricing {
    /* Fallback solid color */
    background-color: #fde9ab;
    /* Subtle mesh gradient in warm palette similar to current */
    background-image:
        radial-gradient(900px circle at 50% 50%, #FFF4CF 0%, #FDF2CA 40%, transparent 70%);
    padding: 55px 0 120px 0;
    overflow: hidden;
    position: relative;
}

.pricing-index {
    padding-top: 140px;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" viewBox="0 0 800 800"><g stroke="hsl(42, 102%, 74%)" fill="none" stroke-linecap="round"><circle r="907.5" cx="400" cy="400" stroke-width="11" stroke-dasharray="43 43" stroke-dashoffset="25" transform="rotate(218, 400, 400)" opacity="0.53"></circle><circle r="891" cx="400" cy="400" stroke-width="11" stroke-dasharray="45 22" stroke-dashoffset="25" transform="rotate(21, 400, 400)" opacity="0.36"></circle><circle r="874.5" cx="400" cy="400" stroke-width="11" stroke-dasharray="40 37" stroke-dashoffset="25" transform="rotate(248, 400, 400)" opacity="0.28"></circle><circle r="858" cx="400" cy="400" stroke-width="11" stroke-dasharray="15 39" stroke-dashoffset="25" transform="rotate(272, 400, 400)" opacity="0.71"></circle><circle r="841.5" cx="400" cy="400" stroke-width="11" stroke-dasharray="32 26" stroke-dashoffset="25" transform="rotate(33, 400, 400)" opacity="0.62"></circle><circle r="825" cx="400" cy="400" stroke-width="10" stroke-dasharray="32 41" stroke-dashoffset="25" transform="rotate(326, 400, 400)" opacity="0.51"></circle><circle r="808.5" cx="400" cy="400" stroke-width="10" stroke-dasharray="23 11" stroke-dashoffset="25" transform="rotate(311, 400, 400)" opacity="0.29"></circle><circle r="792" cx="400" cy="400" stroke-width="10" stroke-dasharray="38 28" stroke-dashoffset="25" transform="rotate(218, 400, 400)" opacity="0.17"></circle><circle r="775.5" cx="400" cy="400" stroke-width="10" stroke-dasharray="16 22" stroke-dashoffset="25" transform="rotate(138, 400, 400)" opacity="0.61"></circle><circle r="759" cx="400" cy="400" stroke-width="10" stroke-dasharray="16 36" stroke-dashoffset="25" transform="rotate(165, 400, 400)" opacity="0.82"></circle><circle r="742.5" cx="400" cy="400" stroke-width="10" stroke-dasharray="26 48" stroke-dashoffset="25" transform="rotate(146, 400, 400)" opacity="0.16"></circle><circle r="726" cx="400" cy="400" stroke-width="10" stroke-dasharray="50 47" stroke-dashoffset="25" transform="rotate(330, 400, 400)" opacity="0.71"></circle><circle r="709.5" cx="400" cy="400" stroke-width="10" stroke-dasharray="26 17" stroke-dashoffset="25" transform="rotate(332, 400, 400)" opacity="0.41"></circle><circle r="693" cx="400" cy="400" stroke-width="10" stroke-dasharray="42 26" stroke-dashoffset="25" transform="rotate(326, 400, 400)" opacity="0.41"></circle><circle r="676.5" cx="400" cy="400" stroke-width="9" stroke-dasharray="52 29" stroke-dashoffset="25" transform="rotate(314, 400, 400)" opacity="0.24"></circle><circle r="660" cx="400" cy="400" stroke-width="9" stroke-dasharray="42 33" stroke-dashoffset="25" transform="rotate(190, 400, 400)" opacity="0.78"></circle><circle r="643.5" cx="400" cy="400" stroke-width="9" stroke-dasharray="11 52" stroke-dashoffset="25" transform="rotate(323, 400, 400)" opacity="0.09"></circle><circle r="627" cx="400" cy="400" stroke-width="9" stroke-dasharray="40 46" stroke-dashoffset="25" transform="rotate(338, 400, 400)" opacity="0.29"></circle><circle r="610.5" cx="400" cy="400" stroke-width="9" stroke-dasharray="35 12" stroke-dashoffset="25" transform="rotate(297, 400, 400)" opacity="0.82"></circle><circle r="594" cx="400" cy="400" stroke-width="9" stroke-dasharray="55 55" stroke-dashoffset="25" transform="rotate(131, 400, 400)" opacity="0.97"></circle><circle r="577.5" cx="400" cy="400" stroke-width="9" stroke-dasharray="51 51" stroke-dashoffset="25" transform="rotate(95, 400, 400)" opacity="0.28"></circle><circle r="561" cx="400" cy="400" stroke-width="9" stroke-dasharray="37 53" stroke-dashoffset="25" transform="rotate(40, 400, 400)" opacity="0.24"></circle><circle r="544.5" cx="400" cy="400" stroke-width="9" stroke-dasharray="18 14" stroke-dashoffset="25" transform="rotate(318, 400, 400)" opacity="0.13"></circle><circle r="528" cx="400" cy="400" stroke-width="8" stroke-dasharray="24 42" stroke-dashoffset="25" transform="rotate(88, 400, 400)" opacity="0.83"></circle><circle r="511.5" cx="400" cy="400" stroke-width="8" stroke-dasharray="54 15" stroke-dashoffset="25" transform="rotate(64, 400, 400)" opacity="0.76"></circle><circle r="495" cx="400" cy="400" stroke-width="8" stroke-dasharray="47 46" stroke-dashoffset="25" transform="rotate(253, 400, 400)" opacity="0.13"></circle><circle r="478.5" cx="400" cy="400" stroke-width="8" stroke-dasharray="41 16" stroke-dashoffset="25" transform="rotate(13, 400, 400)" opacity="0.81"></circle><circle r="462" cx="400" cy="400" stroke-width="8" stroke-dasharray="13 46" stroke-dashoffset="25" transform="rotate(102, 400, 400)" opacity="0.36"></circle><circle r="445.5" cx="400" cy="400" stroke-width="8" stroke-dasharray="42 40" stroke-dashoffset="25" transform="rotate(165, 400, 400)" opacity="0.91"></circle><circle r="429" cx="400" cy="400" stroke-width="8" stroke-dasharray="33 34" stroke-dashoffset="25" transform="rotate(79, 400, 400)" opacity="0.80"></circle><circle r="412.5" cx="400" cy="400" stroke-width="8" stroke-dasharray="11 25" stroke-dashoffset="25" transform="rotate(165, 400, 400)" opacity="0.50"></circle><circle r="396" cx="400" cy="400" stroke-width="8" stroke-dasharray="16 18" stroke-dashoffset="25" transform="rotate(95, 400, 400)" opacity="0.90"></circle><circle r="379.5" cx="400" cy="400" stroke-width="7" stroke-dasharray="37 22" stroke-dashoffset="25" transform="rotate(195, 400, 400)" opacity="0.46"></circle><circle r="363" cx="400" cy="400" stroke-width="7" stroke-dasharray="46 50" stroke-dashoffset="25" transform="rotate(225, 400, 400)" opacity="0.88"></circle><circle r="346.5" cx="400" cy="400" stroke-width="7" stroke-dasharray="19 31" stroke-dashoffset="25" transform="rotate(49, 400, 400)" opacity="0.19"></circle><circle r="330" cx="400" cy="400" stroke-width="7" stroke-dasharray="53 22" stroke-dashoffset="25" transform="rotate(17, 400, 400)" opacity="0.53"></circle><circle r="313.5" cx="400" cy="400" stroke-width="7" stroke-dasharray="37 18" stroke-dashoffset="25" transform="rotate(129, 400, 400)" opacity="0.90"></circle><circle r="297" cx="400" cy="400" stroke-width="7" stroke-dasharray="45 42" stroke-dashoffset="25" transform="rotate(210, 400, 400)" opacity="0.37"></circle><circle r="280.5" cx="400" cy="400" stroke-width="7" stroke-dasharray="50 18" stroke-dashoffset="25" transform="rotate(179, 400, 400)" opacity="0.38"></circle><circle r="264" cx="400" cy="400" stroke-width="7" stroke-dasharray="11 32" stroke-dashoffset="25" transform="rotate(237, 400, 400)" opacity="0.74"></circle><circle r="247.5" cx="400" cy="400" stroke-width="7" stroke-dasharray="40 34" stroke-dashoffset="25" transform="rotate(75, 400, 400)" opacity="0.41"></circle><circle r="231" cx="400" cy="400" stroke-width="6" stroke-dasharray="55 31" stroke-dashoffset="25" transform="rotate(246, 400, 400)" opacity="0.67"></circle><circle r="214.5" cx="400" cy="400" stroke-width="6" stroke-dasharray="27 52" stroke-dashoffset="25" transform="rotate(247, 400, 400)" opacity="0.50"></circle><circle r="198" cx="400" cy="400" stroke-width="6" stroke-dasharray="53 42" stroke-dashoffset="25" transform="rotate(129, 400, 400)" opacity="0.71"></circle><circle r="181.5" cx="400" cy="400" stroke-width="6" stroke-dasharray="48 54" stroke-dashoffset="25" transform="rotate(280, 400, 400)" opacity="0.66"></circle><circle r="165" cx="400" cy="400" stroke-width="6" stroke-dasharray="15 12" stroke-dashoffset="25" transform="rotate(290, 400, 400)" opacity="0.59"></circle><circle r="148.5" cx="400" cy="400" stroke-width="6" stroke-dasharray="29 16" stroke-dashoffset="25" transform="rotate(121, 400, 400)" opacity="0.88"></circle><circle r="132" cx="400" cy="400" stroke-width="6" stroke-dasharray="35 53" stroke-dashoffset="25" transform="rotate(119, 400, 400)" opacity="0.37"></circle><circle r="115.5" cx="400" cy="400" stroke-width="6" stroke-dasharray="18 31" stroke-dashoffset="25" transform="rotate(105, 400, 400)" opacity="0.39"></circle><circle r="99" cx="400" cy="400" stroke-width="6" stroke-dasharray="48 12" stroke-dashoffset="25" transform="rotate(189, 400, 400)" opacity="0.38"></circle><circle r="82.5" cx="400" cy="400" stroke-width="5" stroke-dasharray="42 35" stroke-dashoffset="25" transform="rotate(96, 400, 400)" opacity="0.83"></circle><circle r="66" cx="400" cy="400" stroke-width="5" stroke-dasharray="14 11" stroke-dashoffset="25" transform="rotate(240, 400, 400)" opacity="0.33"></circle><circle r="49.5" cx="400" cy="400" stroke-width="5" stroke-dasharray="39 34" stroke-dashoffset="25" transform="rotate(86, 400, 400)" opacity="0.37"></circle><circle r="33" cx="400" cy="400" stroke-width="5" stroke-dasharray="11 45" stroke-dashoffset="25" transform="rotate(67, 400, 400)" opacity="0.51"></circle><circle r="16.5" cx="400" cy="400" stroke-width="5" stroke-dasharray="50 29" stroke-dashoffset="25" transform="rotate(354, 400, 400)" opacity="0.14"></circle></g></svg>');
    background-blend-mode:luminosity;
    background-repeat: no-repeat;
    background-position: center 50%;
    background-size: 200%;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}



.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.pricing h2 {
    font-size: 46px;
    margin-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
    align-items: stretch;
}

.pricing-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    position: relative;
}

.np {
    background-color: #fdf2ca;
    border: none;
}

.pricing-card-featured {
    border: none; /* avoid shrinking content width */
    /* outer ring that respects border-radius, plus drop shadow */
    box-shadow: 0 0 0 4px rgb(0, 124, 25), 0 16px 36px rgba(63, 114, 31, 0.511);
}

.plan-header {
    text-align: center;
    width: 100%;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 10;
    margin: 0 0 8px 0;
    color: #333;
}

.price {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #333;
}

.price .currency {
    font-size: 0.7em;
}

.price .per {
    font-size: 0.45em;
    color: #666;
}

.old-price {
    text-decoration: line-through;
    color: #C34D4D;
    font-size: 0.6em;
    opacity: 0.8;
}

.subnote {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 12px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 24px 0;
    text-align: left;
}

.plan-features li {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    padding: 8px 0 4px 26px;
    position: relative;
    /* border-bottom: 1px solid rgba(0,0,0,0.06); */
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: "✓";
    color: #559F3F;
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: 700;
}

.pricing-cta {
    margin-top: auto;
    justify-content: center;
    text-align: center;
}

/* Spinner for checkout buttons during loading */
.pricing-card .pricing-cta[aria-busy="true"]::after {
    content: "";
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    margin-right: 0em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: fluent-spin 0.75s linear infinite;
    order: -1; /* place before text inside flex container */
}

@keyframes fluent-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card .pricing-cta[aria-busy="true"]::after {
        animation: none;
    }
}

/* Pricing action row with selector + button */
.pricing-action-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
}

.team-quantity {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background-color: #fff;
    color: #333;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    min-width: 110px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom arrow */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23333' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px 18px;
    padding-right: 4px; /* space for arrow */
}

.team-quantity:hover {
    border-color: rgba(0,0,0,0.18);
}

.team-quantity:focus {
    outline: none;
    border-color: rgba(85,159,63,0.8);
    box-shadow: 0 0 0 3px rgba(85,159,63,0.2);
}

.dbp-fix {
    margin-top: 0;
    width: 100%;
}

.save-badge {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(63,114,31,0.28);
    border: 1px solid rgb(0, 124, 25);
}

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { margin-bottom: 10px; }
    .pricing-action-row { flex-wrap: wrap; }
}

/* ---- Pricing note ---- */
.pricing-note {
    margin-top: 12px;
    width: 100%;
}

.pricing-note .note-content {
    border-radius: 16px;
    padding: 18px 22px;
    font-size: 14px;
    opacity: 0.75;
    /* border: 1px solid rgba(0,0,0,0.06); */
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
}

.note-icon { font-size: 20px; }
.note-link { color: #3B6702; font-weight: 700; text-decoration: none; }
/* .note-link:hover { text-decoration: underline; } */

/* ---- FAQ ---- */
.faq {
    background-color: #fdf2ca;
    padding: 50px 0 105px 0;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq h2 {
    font-size: 46px;
    margin-bottom: 28px;
}

/* New two-column FAQ layout */
.faq-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.faq-intro {
    padding-top: 6px;
}

.faq-subheading {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.faq-intro h2 {
    text-align: left;
    margin: 0;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 4px;
}

.faq-item {
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 28px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
    padding: 0 28px 0 28px;
    max-height: 0;
    opacity: 0;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow: hidden; /* clip any child margins when collapsed */
    transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.faq-answer p {
    margin-top: 8px;
}

.faq-item.open .faq-answer {
    padding: 0 28px 2px 28px;
    opacity: 1;
}

.faq-item.open .faq-answer p {
    margin-top: 8px;
}

.separator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 30;
    margin: 0;
}

.separator svg {
    z-index: 30;
}

.separator-faq {
    position: absolute;
    width: 100%;
    height: 120px;
    z-index: 10;
    margin-top: -120px;
}

@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-intro { padding-top: 0; }
    .faq-intro h2 { text-align: left; }
    .faq-list { grid-template-columns: 1fr; }
}

.download-button, .demo-button {
    padding: 12px 24px;
    font-size: 0.9em;
}

/* Unify blog CTA buttons with header download button height */
.blog-main .header-download-button {
    padding: 12px 30px; /* Same vertical height; match header width */
    font-size: 0.9em;
}

/* ===== BLOG STYLES ===== */

/* Blog Main Container */
.blog-main {
    background-color: #fdf2ca;
    background-image: radial-gradient(1500px circle at 50% 17%, #ffffff 0%, #fff8dd 40%, transparent 70%);
}

/* Blog Hero Section */
.blog-hero {
    /* background: linear-gradient(135deg, #fdf2ca 0%, #ecdda7 100%); */
    padding: 120px 25px 80px;
    text-align: center;
    position: relative;
}

.blog-hero-content h1 {
    font-size: 46px;
    margin: 0 0 20px 0;
    color: #333;
    font-weight: 10;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Active navigation link */
.header-link.active {
    color: #3B6702 !important;
    font-weight: bold;
}

/* Featured Article Section */
.featured-article {
    padding: 60px 25px 0 25px;
    /* background-color: #fdf2ca; */
}

.featured-article-content {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    position: relative;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 70px 50px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 8px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.social-praise {
    margin-top: 25px;
}

.featured-post-content h2 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 10;
    margin: 20px 0;
    color: #333;
}

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

.featured-post-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.featured-post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

/* Blog Posts Section */
.blog-posts {
    padding: 55px 25px 50px 25px;
    /* background-color: #fdf2ca; */
}

.blog-posts-content {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-posts h2 {
    font-size: 46px;
    text-align: center;
    margin-bottom: 80px;
    color: #333;
    font-weight: 10;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    /* border: 1px solid rgba(0, 0, 0, 0.06); */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* .blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
} */

.post-image {
    height: 210px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}

/* .blog-post:hover .post-image img {
    transform: scale(1.05);
} */

.post-content {
    padding: 30px 30px 0 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
}

.post-date {
    color: #999;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.post-category {
    color: #3B6702;
    font-weight: bold;
    font-size: 14px;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 0 0 0 0;
    color: #333;
    line-height: 1.4;
}

/* Clickable card title */
.post-title-link {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.post-title-link:hover {
    color: #3B6702;
}

.post-excerpt {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: none;
    margin-top: auto;
}

/* Hide Read More in grid cards (keep only in featured) */
.posts-grid .post-footer { display: none; }

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
}

.author-name {
    color: #333;
    font-weight: bold;
}

.read-time {
    color: #666;
}

.read-more {
    color: #3B6702;
    font-weight: bold;
    text-decoration: none;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 103, 2, 0.3);
}

/* Load More Button */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #3B6702;
    color: #3B6702;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #3B6702;
    color: #FDF3CE;
    transform: translateY(-2px);
}

/* Newsletter Signup Section */
.newsletter-signup {
    background-color: #fde9ab;
    background-image: radial-gradient(400px circle at 50% 50%, #FFF4CF 0%, #FDF2CA 40%, transparent 70%);
    padding: 60px 25px 70px 25px;
    text-align: center;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    font-size: 1rem;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-input:focus {
    outline: none;
    border-color: #3B6702;
    box-shadow: 0 0 0 3px rgba(59, 103, 2, 0.1);
}

.newsletter-btn {
    background: linear-gradient(to top, #3B6702, #559F3F);
    color: #FDF3CE;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 103, 2, 0.3);
}

.newsletter-note {
    margin-top: 30px;
    font-size: 0.85rem !important;
    color: #848484 !important;
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }
    
    .featured-post-image {
        position: relative;
        width: 100%;
        height: 250px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .featured-post {
        padding: 30px;
    }
    
    .featured-post-content h2 {
        font-size: 2rem;
    }
    
    .blog-posts h2 {
        font-size: 2.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 20px 60px;
    }
    
    .featured-article,
    .blog-posts,
    .newsletter-signup {
        padding: 60px 20px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .featured-post-content h2 {
        font-size: 1.6rem;
    }
}

 .blog-post-picture {
     width: 100%;
     background: rgba(255, 255, 255, 0.85);
     border-radius: 20px;
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
     border: 8px solid rgba(255, 255, 255, 0.5);
 }

 /* Mobile fix: ensure blog content is visible even if fade-in
    IntersectionObserver doesn’t trigger on small viewport heights */
 @media (max-width: 768px) {
   .blog-main.fade-in,
   .blog-post-main.fade-in {
     opacity: 1;
     transform: none;
   }
 }