/* Buttercup Landing Page Styles */

/* Open Source Popup */
.buttercup-popup {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #ad2b43 0%, #8a2236 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(173, 43, 67, 0.4);
    border: 2px solid white;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 350px;
    min-width: 280px;
}

.popup-header {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 12px 0 0;
}

.popup-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.popup-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 200px;
}

.popup-content.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.buttercup-popup.collapsed {
    background: linear-gradient(135deg, #ad2b43 0%, #8a2236 100%);
}

.buttercup-popup.collapsed .popup-content {
    max-height: 0;
    overflow: hidden;
}

.popup-body {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    color: white;
}

.popup-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.popup-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    align-self: center;
}

.popup-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.popup-header-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 15px;
    letter-spacing: 0.5px;
    display: none;
}

.buttercup-popup.collapsed .popup-header-text {
    display: block;
}

.buttercup-popup.collapsed .toggle-icon {
    transform: rotate(180deg);
}

/* Mobile responsiveness for popup */
@media (max-width: 768px) {
    .buttercup-popup {
        right: 10px;
        top: 80px;
        max-width: 280px;
        min-width: 250px;
    }

    .popup-text {
        font-size: 1rem;
    }

    .popup-link {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .buttercup-popup.collapsed .popup-content {
        max-height: 0;
        overflow: hidden;
    }

    .popup-content.collapsed {
        max-height: 0;
        overflow: hidden;
    }
    .popup-header-text {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

/* Featured Articles Section */
.buttercup-featured-articles-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 20px;
}

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

.featured-articles-title {
    text-align: center;
    color: #10181f;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.featured-articles-description {
    text-align: center;
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto 50px auto;
    max-width: 600px;
}

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

.article-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #ad2b43;
}

.article-source {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ad2b43;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.article-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-title a {
    color: #10181f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #ad2b43;
    text-decoration: none;
}

.article-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-date {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

.article-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-tag.official {
    background: linear-gradient(135deg, #ad2b43 0%, #8a2236 100%);
    color: white;
}

.article-tag.industry {
    background: linear-gradient(135deg, #10181f 0%, #1a252f 100%);
    color: white;
}

.article-tag.media {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

/* Mobile responsiveness for featured articles */
@media (max-width: 768px) {
    .buttercup-featured-articles-section {
        padding: 40px 0;
        margin: 20px 0;
        border-radius: 15px;
    }

    .featured-articles-container {
        padding: 0 15px;
    }

    .featured-articles-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .featured-articles-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .article-card {
        padding: 20px;
        border-radius: 12px;
    }

    .article-title {
        font-size: 1.15rem;
    }

    .article-summary {
        font-size: 0.9rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article-card {
        padding: 15px;
    }

    .featured-articles-title {
        font-size: 1.8rem;
    }

    .article-title {
        font-size: 1.1rem;
    }
}

/* GitHub Open Source Section */
.github-section-full {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 6px solid #10181f;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
}

.github-title {
    margin: 0 0 15px 0;
    color: #10181f;
    font-size: 1.5rem;
    font-weight: 600;
}

.github-description {
    margin: 0 0 20px 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.github-repo-link {
    color: #10181f;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #10181f;
    transition: all 0.3s ease;
}

.github-repo-link:hover {
    color: #1a252f;
    border-bottom-color: #1a252f;
    text-decoration: none;
}

.github-button {
    display: inline-block;
    background: #10181f;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 24, 31, 0.2);
}

.github-button:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 24, 31, 0.3);
    text-decoration: none;
    color: white;
}

/* Mobile responsiveness for GitHub section */
@media (max-width: 768px) {
    .github-section-full {
        padding: 20px;
        margin-bottom: 30px;
    }

    .github-title {
        font-size: 1.3rem;
    }

    .github-description {
        font-size: 1rem;
    }

    .github-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Achievement Banner */
.achievement-banner {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #8b4513;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 6px solid #daa520;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.3);
    text-align: center;
    letter-spacing: 0.3px;
}

/* Open Source Note */
.open-source-note {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.open-source-note:hover {
    background: #c3e6cb;
    color: #155724;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

/* Main container */
.buttercup-landing {
    background-color: #f0f4f7;
    padding: 60px 0;
}

/* Hero section with image and countdown */
.buttercup-hero-section {
    margin-bottom: 60px;
    background: linear-gradient(135deg, #dae2eb 0%, #f0f4f7 100%);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.hero-image {
    flex: 0 0 200px;
}

.hero-logo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-countdown {
    flex: 1;
    text-align: left;
}

.countdown-title {
    color: #10181f;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: left;
}

/* CTA Section */
.buttercup-cta {
    text-align: center;
    background: linear-gradient(135deg, #dae2eb 0%, #f0f4f7 100%);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 2px 15px rgba(16, 24, 31, 0.1);
}

.buttercup-cta .subtitle {
    color: #10181f;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 600;
}

.cta-description {
    font-size: 1.2rem;
    color: #576675;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.buttercup-cta .button {
    background-color: #ad2b43;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
    display: inline-block;
}

.buttercup-cta .button:hover {
    background-color: #9c253b;
    transform: translateY(-2px);
}

.countdown-timer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    justify-items: center;
}

.countdown-item {
    text-align: center;
    background: #fff;
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(16, 24, 31, 0.1);
    width: 100%;
    min-width: 80px;
    border: 2px solid #ad2b43;
}

.countdown-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ad2b43;
    line-height: 1;
    margin-bottom: 3px;
}

.countdown-label {
    font-size: 0.7rem;
    color: #576675;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.countdown-message {
    text-align: center;
    margin-top: 15px;
}

.countdown-message p {
    font-size: 1rem;
    color: #576675;
    margin: 0;
    font-weight: 700;
}

/* Statistics Display */
.statistics-display {
    text-align: center;
    padding: 20px 0;
}

.statistics-title {
    color: #10181f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(16, 24, 31, 0.1);
    width: 100%;
    max-width: 250px;
    border: 2px solid #ad2b43;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ad2b43;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #576675;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1.2;
}

.presentation-link-container {
    text-align: center;
    margin-top: 20px;
}

.presentation-link {
    color: #ad2b43;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.presentation-link:hover {
    color: #9c253b;
    border-bottom-color: #9c253b;
    text-decoration: none;
}

/* Mainstage Presentation Section */
.buttercup-presentation-section {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    border: 1px solid #dae2eb;
}

.presentation-container {
    max-width: 1000px;
    margin: 0 auto;
}

.presentation-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    text-align: center;
    margin-bottom: 40px;
}

.presentation-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.presentation-description {
    text-align: center;
    max-width: 600px;
}

.presentation-description p {
    font-size: 1.1rem;
    color: #576675;
    line-height: 1.6;
    margin: 0;
}

.presentation-pdfs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.presentation-pdf-container {
    background: #f0f4f7;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #dae2eb;
    width: 100%;
    text-align: center;
}

.pdf-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.pdf-icon {
    font-size: 3rem;
    color: #ad2b43;
    flex-shrink: 0;
}

.pdf-info {
    flex: 1;
}

.pdf-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #10181f;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.pdf-subtitle {
    font-size: 1rem;
    color: #576675;
    margin: 0;
    font-style: italic;
}

.presentation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pdf-download-btn,
.pdf-view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pdf-download-btn {
    background: #ad2b43;
    color: white;
    border-color: #ad2b43;
}

.pdf-download-btn:hover {
    background: #9c253b;
    border-color: #9c253b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 43, 67, 0.3);
    text-decoration: none;
    color: white;
}

.pdf-view-btn {
    background: transparent;
    color: #ad2b43;
    border-color: #ad2b43;
}

.pdf-view-btn:hover {
    background: #ad2b43;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 43, 67, 0.3);
    text-decoration: none;
}

.download-icon,
.view-icon {
    font-size: 1.1rem;
}

/* Countdown and Form Section */
.buttercup-countdown-form-section {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Row 1: Header Image */
.header-image {
    text-align: center;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
}

.header-buttercup-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Row 2: Form Ribbon */
.form-ribbon {
    background: #fff;
    border-left: 1px solid #dae2eb;
    border-right: 1px solid #dae2eb;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    padding: 0;
}

.buttercup-form-section .subtitle {
    color: #10181f;
    text-align: left;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-description {
    text-align: left;
    font-size: 1.1rem;
    color: #576675;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* HubSpot Form Styling */
.hs-form-frame {
    text-align: left;
}

.hs-form-frame .hs-form {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 15px !important;
}

.hs-form-frame .hs-form .hs-form-field {
    flex: 1 !important;
    min-width: 200px !important;
    margin-bottom: 0 !important;
}

.hs-form-frame .hs-form .hs-form-field:last-child {
    flex: 0 0 auto !important;
    min-width: auto !important;
}

.hs-form-frame input[type="submit"],
.hs-form-frame .hs-button {
    background-color: #ad2b43 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin: 0 !important;
}

.hs-form-frame input[type="submit"]:hover,
.hs-form-frame .hs-button:hover {
    background-color: #9c253b !important;
}

.hs-form-frame .hs-form-field {
    margin-bottom: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hs-form-frame label {
    color: #10181f !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
    display: block !important;
    padding-left: 0 !important;
}

.hs-form-frame input[type="text"],
.hs-form-frame input[type="email"],
.hs-form-frame select,
.hs-form-frame textarea {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #dae2eb !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    color: #10181f !important;
    background-color: #fff !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

.hs-form-frame input[type="text"]:focus,
.hs-form-frame input[type="email"]:focus,
.hs-form-frame select:focus,
.hs-form-frame textarea:focus {
    border-color: #ad2b43 !important;
    outline: none !important;
}

.hs-form-frame .hs-fieldtype-text,
.hs-form-frame .hs-fieldtype-email,
.hs-form-frame .hs-fieldtype-select {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Hide HubSpot reCAPTCHA and other captcha elements only in the Buttercup form section */
.form-ribbon .hs-form-frame .hs-recaptcha,
.form-ribbon .hs-form-frame .grecaptcha-badge,
.form-ribbon .hs-form-frame div[data-reactroot] div[style*="visibility: hidden"],
.form-ribbon .hs-form-frame iframe[title="reCAPTCHA"],
.form-ribbon .hs-form-frame .hs-form-booleancheckbox,
.form-ribbon .hs-form-frame .hs-form-booleancheckbox-display,
.form-ribbon .hs-form-frame .legal-consent-container,
.form-ribbon .hs-form-frame .hs_recaptcha,
.form-ribbon .grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide any reCAPTCHA floating elements only within the Buttercup form section */
.form-ribbon div[style*="position: fixed"][style*="bottom"][style*="right"] iframe[src*="recaptcha"] {
    display: none !important;
}

/* Buttercup Tool Info Section */
.buttercup-tool-section {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    overflow: hidden;
}

.tool-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tool-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.countdown-form-container {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    align-items: stretch;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
}

.tool-countdown {
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #dae2eb 0%, #f0f4f7 100%);
    border-radius: 0 0 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-countdown .countdown-timer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    justify-items: center;
}

.qr-code-container {
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.qr-code-image {
    width: 180px;
    height: 180px;
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #ad2b43;
    background-color: #fff;
    padding: 4px;
}

/* QR Section Styles for buttercup-qr layout */

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.qr-code-container-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-image-large {
    width: 250px;
    height: 250px;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    border: 3px solid #ad2b43;
    background-color: #fff;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.15);
}

.qr-title {
    color: #10181f;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
}

.qr-description {
    text-align: center;
    font-size: 1.1rem;
    color: #576675;
    margin: 0;
    line-height: 1.6;
    max-width: 300px;
}

.form-section {
    padding: 15px 20px;
    background: #fff;
    border: none;
}

.form-title {
    color: #10181f;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-section .form-description {
    text-align: left;
    font-size: 1.1rem;
    color: #576675;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Ensure form elements are left aligned */
.form-section .hs-form-frame {
    text-align: left;
}

.form-section .hs-form-frame .hs-form {
    text-align: left;
}

.form-section .hs-form-frame .hs-form-field {
    text-align: left;
}

.tool-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tool-img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
}

.tool-text {
    flex: 1;
    padding: 40px;
    min-width: 0; /* Prevents flex item from overflowing */
}

.tool-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 40px;
}

.tool-title-link {
    color: #10181f;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: inherit;
    font-weight: inherit;
}

.tool-title-link:hover {
    color: #ad2b43;
}

.tool-description {
    font-size: 1.2rem;
    color: #576675;
    line-height: 1.6;
    margin-bottom: 0;
}

.features-header {
    padding: 30px 40px 0;
    text-align: center;
}

.features-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #10181f;
    margin: 0 0 20px 0;
}

.tool-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 40px 30px;
    margin-top: 10px;
}

.feature-item {
    padding: 15px;
    background: #f0f4f7;
    border-radius: 6px;
    border-left: 3px solid #ad2b43;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10181f;
    margin: 0;
    line-height: 1.2;
}

/* Blog Section */
.buttercup-blog-section {
    margin-bottom: 60px;
}

.buttercup-blog-section .subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #10181f;
}

.resources-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.blog-links-container,
.resources-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-item,
.resource-item {
    background: #fff;
    border: 1px solid #dae2eb;
    border-radius: 8px;
    padding: 25px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    display: block;
}

.blog-link {
    text-decoration: none;
    color: inherit;
}

.blog-item:hover,
.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 24, 31, 0.15);
}

.blog-date,
.resource-type {
    font-size: 0.9rem;
    color: #8294a3;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-type {
    background: #ad2b43;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}

.blog-title,
.resource-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.blog-item:hover .blog-title {
    color: #ad2b43;
}

.resource-title a {
    color: #10181f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-title a:hover {
    color: #ad2b43;
}

.blog-excerpt,
.resource-description {
    color: #576675;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Timeline Section */
.buttercup-timeline {
    margin-bottom: 60px;
}

.timeline-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    text-align: center;
    margin-bottom: 40px;
}

/* Horizontal Timeline Container */
.timeline-container-horizontal {
    position: relative;
    padding: 40px 20px 60px;
    overflow-x: auto;
}

.timeline-outline {
    position: absolute;
    left: 0;
    right: 0;
    top: 160px;
    height: 4px;
    background: transparent;
    border: 1px solid #ad2b43;
    border-radius: 2px;
    z-index: 0;
}

.timeline-progress-line {
    position: absolute;
    left: 0;
    top: 160px;
    height: 4px;
    background: linear-gradient(to right, #ad2b43, #8294a3);
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s ease;
    z-index: 1;
    box-shadow: 0 0 0 1px #f0f4f7;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    min-width: 800px;
}

.timeline-item-horizontal {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-bullet {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid #ad2b43;
    position: absolute;
    top: 142px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-bullet.active {
    background: #ad2b43;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ad2b43;
}

.timeline-item-horizontal:hover .timeline-bullet {
    background: #ad2b43;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ad2b43;
    transform: translateX(-50%) scale(1.1);
}

.timeline-item-horizontal.active .timeline-bullet {
    background: #ad2b43;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ad2b43;
    transform: translateX(-50%) scale(1.2);
}

.timeline-date-horizontal {
    font-size: 0.8rem;
    color: #8294a3;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    top: 0;
}

.timeline-title-horizontal {
    font-size: 1rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    top: 0;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.timeline-item-horizontal:hover .timeline-title-horizontal {
    color: #ad2b43;
}

.timeline-item-horizontal.active .timeline-title-horizontal {
    color: #9c253b;
}

/* Timeline Details Container */
.timeline-details-container {
    background: #fff;
    border: 1px solid #dae2eb;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(16, 24, 31, 0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 30px;
}

/* Arrow pointing up to timeline */
.timeline-details-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #dae2eb;
    z-index: 1;
}

.timeline-details-container::after {
    content: "";
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 19px solid transparent;
    border-right: 19px solid transparent;
    border-bottom: 19px solid #fff;
    z-index: 2;
}

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

.timeline-detail-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 20px;
    text-align: left;
}

.timeline-detail-body {
    color: #576675;
    line-height: 1.6;
    font-size: 1.1rem;
}

.timeline-detail-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.timeline-detail-body li {
    margin-bottom: 8px;
}

.timeline-detail-body strong {
    color: #10181f;
}

/* Video Section */
.buttercup-video-section {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    border: 1px solid #dae2eb;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 40px;
    text-align: center;
}

.video-description {
    font-size: 1.1rem;
    color: #576675;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}

.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.video-nav-btn {
    background: #ad2b43;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(173, 43, 67, 0.3);
    flex-shrink: 0;
}

.video-nav-btn:hover {
    background: #9c253b;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(173, 43, 67, 0.4);
}

.video-nav-btn:disabled {
    background: #8294a3;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(130, 148, 163, 0.3);
}

.nav-arrow {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 24, 31, 0.15);
    border: 3px solid #dae2eb;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    flex: 1;
}

.video-wrapper:hover {
    border-color: #ad2b43;
    box-shadow: 0 12px 30px rgba(16, 24, 31, 0.2);
}

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

.video-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.video-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #dae2eb;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.video-indicator.active {
    background: #ad2b43;
    border-color: #ad2b43;
}

.video-indicator:hover {
    border-color: #ad2b43;
}

/* X Feed Section */
.buttercup-x-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.x-ribbon {
    background: linear-gradient(135deg, #dae2eb 0%, #f0f4f7 100%);
    border-radius: 15px;
    padding: 40px;
    color: #10181f;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    position: relative;
    overflow: hidden;
}

.x-ribbon::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.x-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.x-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.x-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #10181f;
}

.x-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.x-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.post-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(218, 226, 235, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.post-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    border-color: #ad2b43;
}

.post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-text {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1;
    color: #10181f;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: auto;
}

.post-author {
    font-weight: 600;
    color: #10181f;
}

.post-date {
    color: #576675;
}

.x-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.x-follow-btn {
    display: inline-block;
    background: white;
    color: #ad2b43;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.x-follow-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Resources Section */
.buttercup-resources-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.resources-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    text-align: center;
    margin-bottom: 40px;
}

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

.resource-item {
    display: block;
    background: #fff;
    border: 1px solid #dae2eb;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(16, 24, 31, 0.08);
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 24, 31, 0.15);
    border-color: #ad2b43;
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.resource-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.resource-item:hover .resource-title {
    color: #ad2b43;
}

.resource-description {
    font-size: 1rem;
    color: #576675;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .buttercup-landing {
        padding: 50px 0;
    }

    .w-container {
        padding: 0 20px;
    }

    .timeline-horizontal {
        min-width: 700px;
    }

    .timeline-details-container {
        padding: 35px 25px;
    }

    .buttercup-x-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .x-ribbon {
        padding: 30px 25px;
    }

    .x-title {
        font-size: 1.8rem;
    }

    .x-subtitle {
        font-size: 1rem;
    }

    .x-feed {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }

    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .buttercup-presentation-section {
        padding: 30px 25px;
        margin-bottom: 40px;
    }

    .presentation-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .presentation-content {
        gap: 25px;
    }

    .presentation-pdfs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .presentation-pdf-container {
        padding: 25px;
        max-width: 100%;
    }

    .pdf-preview {
        gap: 15px;
    }

    .pdf-icon {
        font-size: 2.5rem;
    }

    .pdf-title {
        font-size: 1.2rem;
    }

    .presentation-actions {
        flex-direction: column;
        gap: 10px;
    }

    .pdf-download-btn,
    .pdf-view-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Static Timeline for Mobile */
.static-timeline {
    display: none;
}

/* Ensure static timeline is hidden on desktop */
@media (min-width: 769px) {
    .static-timeline {
        display: none !important;
    }
}

.timeline-instruction {
    display: none;
    text-align: center;
    font-size: 0.9rem;
    color: #8294a3;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(173, 43, 67, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(173, 43, 67, 0.1);
    font-style: italic;
}

.static-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #ad2b43;
    box-shadow: 0 2px 10px rgba(16, 24, 31, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.static-timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.12);
    text-decoration: none;
    color: inherit;
}

.static-timeline-item:visited {
    color: inherit;
}

.static-timeline-date {
    flex: 0 0 80px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ad2b43;
    background: rgba(173, 43, 67, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    margin-right: 20px;
    white-space: nowrap;
}

.static-timeline-content {
    flex: 1;
}

.static-timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 8px;
}

/* Prevent "DEF CON 33" from breaking across lines on small screens */
.static-timeline-title.no-wrap {
    white-space: nowrap;
}

/* Keep "DEF CON 33" together but allow wrapping to newline on mobile */
.no-break-unit {
    white-space: nowrap;
    display: inline-block;
}

/* Tablets */
@media (max-width: 768px) {
    .buttercup-landing {
        padding: 40px 0;
    }

    .w-container {
        padding: 0 15px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w-container > * {
        width: 100%;
        max-width: 100%;
    }

    /* Hide interactive timeline and show static one */
    .timeline-container-horizontal,
    .timeline-details-container {
        display: none !important;
    }

    .static-timeline {
        display: block;
        margin-bottom: 40px;
    }

    .timeline-instruction {
        display: block;
        margin-top: -10px;
    }

    .firstsentence {
        font-size: 2rem;
        text-align: center;
    }

    .buttercup-hero-section {
        margin-bottom: 40px;
        padding: 30px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .hero-image {
        flex: none;
        order: 1;
    }

    .hero-countdown {
        order: 2;
    }

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

    .countdown-timer {
        gap: 20px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .tool-main {
        flex-direction: column;
        gap: 20px;
    }

    .tool-image {
        max-width: 100%;
        order: 2;
        flex: none;
    }

    .tool-text {
        order: 1;
        padding: 30px;
    }

    .countdown-form-container {
        flex-direction: column;
        gap: 0;
    }

    .tool-countdown {
        padding: 15px;
        border-radius: 12px 12px 0 0;
    }

    .tool-countdown .countdown-timer {
        gap: 12px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .statistics-grid {
        gap: 10px;
    }

    .statistics-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .stat-item {
        padding: 12px 15px;
        max-width: none;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .qr-code-container {
        padding: 15px 0;
    }

    .qr-code-image {
        width: 140px;
        height: 140px;
        max-width: 140px;
        max-height: 140px;
    }

    .qr-code-image-large {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
    }

    .qr-title {
        font-size: 1.8rem;
    }

    .form-section {
        padding: 20px;
        border-radius: 0 0 12px 12px;
        border-left: 1px solid #dae2eb;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .tool-title {
        font-size: 1.8rem;
    }

    .tool-description {
        font-size: 1.1rem;
    }

    .tool-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 30px 25px;
    }

    .buttercup-cta {
        padding: 30px 20px;
    }

    .buttercup-cta .subtitle {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .buttercup-blog-section .subtitle,
    .timeline-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .resources-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-links-container,
    .resources-links-container {
        grid-template-columns: 1fr;
    }

    .timeline-container-horizontal {
        padding: 18px 10px 35px;
        overflow-x: auto;
    }

    .timeline-outline {
        top: 80px;
    }

    .timeline-progress-line {
        top: 80px;
    }

    .timeline-bullet {
        top: 72px;
    }

    .timeline-horizontal {
        min-width: 1400px;
    }

    .timeline-item-horizontal {
        padding: 0 5px;
    }

    .timeline-title-horizontal {
        font-size: 0.8rem;
        line-height: 1.1;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }

    .timeline-details-container {
        padding: 30px 20px;
        margin-top: 25px;
    }

    .timeline-details-container::before {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid #dae2eb;
        top: -12px;
    }

    .timeline-details-container::after {
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-bottom: 11px solid #fff;
        top: -11px;
    }

    .timeline-detail-title {
        font-size: 1.5rem;
    }

    .timeline-detail-body {
        font-size: 1rem;
    }

    .buttercup-resources-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .resources-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .resource-item {
        padding: 20px;
    }

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

    .resource-title {
        font-size: 1.2rem;
    }

    .x-ribbon {
        padding: 25px 20px;
    }

    .x-icon {
        font-size: 2.5rem;
    }

    .x-title {
        font-size: 1.6rem;
    }

    .x-subtitle {
        font-size: 0.95rem;
    }

    .x-feed {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-item {
        padding: 15px;
    }

    .x-follow-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .buttercup-presentation-section {
        padding: 25px 15px;
        margin-bottom: 30px;
    }

    .presentation-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .presentation-description p {
        font-size: 1rem;
    }

    .presentation-pdf-container {
        padding: 20px;
    }

    .pdf-preview {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

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

    .pdf-title {
        font-size: 1.1rem;
    }

    .pdf-subtitle {
        font-size: 0.9rem;
    }

    .presentation-actions {
        flex-direction: column;
        gap: 8px;
    }

    .pdf-download-btn,
    .pdf-view-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .buttercup-video-section {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-description {
        font-size: 1rem;
    }

    .video-carousel {
        gap: 15px;
    }

    .video-nav-btn {
        width: 45px;
        height: 45px;
    }

    .nav-arrow {
        font-size: 1.3rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .buttercup-landing {
        padding: 30px 0;
    }

    .w-container {
        padding: 0 10px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w-container > * {
        width: 100%;
        max-width: 100%;
    }

    /* Hide interactive timeline and show static one */
    .timeline-container-horizontal,
    .timeline-details-container {
        display: none !important;
    }

    .static-timeline {
        display: block;
        margin-bottom: 30px;
    }

    .timeline-instruction {
        display: block;
        font-size: 0.85rem;
        margin-top: -10px;
        margin-bottom: 15px;
        padding: 6px 12px;
    }

    .static-timeline-item {
        margin-bottom: 20px;
        padding: 15px;
    }

    .static-timeline-date {
        flex: 0 0 70px;
        font-size: 0.8rem;
        padding: 6px 8px;
        margin-right: 15px;
    }

    .static-timeline-title {
        font-size: 1rem;
    }

    .firstsentence {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .buttercup-hero-section {
        margin-bottom: 30px;
        padding: 25px 15px;
    }

    .hero-image {
        flex: 0 0 150px;
    }

    .countdown-title {
        font-size: 1.8rem;
    }

    .countdown-timer {
        gap: 15px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 12px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .tool-text {
        padding: 20px;
    }

    .tool-countdown {
        padding: 12px;
    }

    .tool-countdown .countdown-timer {
        gap: 10px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .statistics-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .stat-item {
        padding: 10px 12px;
        max-width: 200px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .presentation-link {
        font-size: 0.9rem;
    }

    .qr-code-container {
        padding: 12px 0;
    }

    .qr-code-image {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }

    .qr-code-image-large {
        width: 180px;
        height: 180px;
        max-width: 180px;
        max-height: 180px;
    }

    .qr-title {
        font-size: 1.6rem;
    }

    .qr-description {
        font-size: 1rem;
    }

    v .form-section {
        padding: 15px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .tool-title {
        font-size: 1.6rem;
    }

    .tool-description {
        font-size: 1rem;
    }

    .tool-features {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 20px 15px;
    }

    .feature-item {
        padding: 10px;
        min-height: 50px;
    }

    .feature-item h3 {
        font-size: 0.9rem;
    }

    .buttercup-cta {
        padding: 25px 15px;
        margin-bottom: 40px;
    }

    .buttercup-cta .subtitle {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .buttercup-blog-section .subtitle,
    .timeline-title {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .buttercup-blog-section,
    .buttercup-timeline {
        margin-bottom: 40px;
    }

    .blog-item,
    .resource-item {
        padding: 20px;
    }

    .timeline-container-horizontal {
        padding: 12px 5px 30px;
    }

    .timeline-outline {
        top: 75px;
    }

    .timeline-progress-line {
        top: 75px;
    }

    .timeline-horizontal {
        min-width: 1600px;
    }

    .timeline-bullet {
        width: 16px;
        height: 16px;
        border: 2px solid #ad2b43;
        background: #fff;
        top: 67px;
    }

    .timeline-item-horizontal:hover .timeline-bullet,
    .timeline-item-horizontal.active .timeline-bullet {
        background: #ad2b43;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px #ad2b43;
    }

    .timeline-date-horizontal {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }

    .timeline-title-horizontal {
        font-size: 0.7rem;
        line-height: 1.1;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }

    .timeline-item-horizontal {
        padding: 0 8px;
        min-width: 120px;
    }

    .timeline-details-container {
        padding: 20px 15px;
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .timeline-details-container::before {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #dae2eb;
        top: -10px;
    }

    .timeline-details-container::after {
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 9px solid #fff;
        top: -9px;
    }

    .timeline-detail-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .timeline-detail-body {
        font-size: 0.95rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .buttercup-landing {
        padding: 20px 0;
    }

    .w-container {
        padding: 0 8px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w-container > * {
        width: 100%;
        max-width: 100%;
    }

    /* Hide interactive timeline and show static one */
    .timeline-container-horizontal,
    .timeline-details-container {
        display: none !important;
    }

    .static-timeline {
        display: block;
        margin-bottom: 25px;
    }

    .static-timeline-item {
        margin-bottom: 15px;
        padding: 12px;
    }

    .static-timeline-date {
        flex: 0 0 60px;
        font-size: 0.75rem;
        padding: 4px 6px;
        margin-right: 12px;
    }

    .static-timeline-title {
        font-size: 0.9rem;
    }

    .firstsentence {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .buttercup-hero-section {
        padding: 20px 12px;
    }

    .hero-image {
        flex: 0 0 120px;
    }

    .countdown-title {
        font-size: 1.6rem;
    }

    .buttercup-cta {
        padding: 20px 12px;
    }

    .buttercup-cta .subtitle {
        font-size: 1.6rem;
    }

    .countdown-item {
        min-width: 50px;
        padding: 10px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .tool-title {
        font-size: 1.6rem;
    }

    .tool-description {
        font-size: 0.95rem;
    }

    .tool-features {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0 15px 12px;
    }

    .feature-item {
        padding: 8px;
        min-height: 45px;
    }

    .feature-item h3 {
        font-size: 0.85rem;
    }

    .buttercup-blog-section .subtitle,
    .buttercup-timeline .subtitle {
        font-size: 1.4rem;
    }

    .timeline-outline {
        top: 70px;
    }

    .timeline-progress-line {
        top: 70px;
    }

    .timeline-horizontal {
        min-width: 1800px;
    }

    .timeline-bullet {
        width: 14px;
        height: 14px;
        border: 2px solid #ad2b43;
        background: #fff;
        top: 62px;
    }

    .timeline-title-horizontal {
        font-size: 0.65rem;
        line-height: 1.1;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }

    .timeline-item-horizontal {
        padding: 0 6px;
        min-width: 100px;
    }

    .timeline-details-container {
        padding: 15px 10px;
        margin-top: 15px;
    }

    .timeline-details-container::before {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #dae2eb;
        top: -8px;
    }

    .timeline-details-container::after {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #fff;
        top: -7px;
    }

    .timeline-detail-title {
        font-size: 1.2rem;
    }

    .timeline-detail-body {
        font-size: 0.9rem;
    }

    .blog-item,
    .resource-item {
        padding: 15px;
    }

    .blog-title,
    .resource-title {
        font-size: 1.1rem;
    }

    .blog-excerpt,
    .resource-description {
        font-size: 0.9rem;
    }

    .buttercup-resources-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .resources-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .resource-item {
        padding: 15px;
    }

    .resource-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .resource-title {
        font-size: 1.1rem;
    }

    .resource-description {
        font-size: 0.9rem;
    }

    .x-ribbon {
        padding: 20px 15px;
    }

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

    .x-title {
        font-size: 1.4rem;
    }

    .x-subtitle {
        font-size: 0.9rem;
    }

    .post-item {
        padding: 12px;
    }

    .post-text {
        font-size: 0.9rem;
    }

    .x-follow-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .buttercup-video-section {
        margin-bottom: 30px;
        padding: 25px 15px;
    }

    .video-title {
        font-size: 1.6rem;
    }

    .video-description {
        font-size: 0.95rem;
    }

    .video-carousel {
        gap: 10px;
    }

    .video-nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-arrow {
        font-size: 1.2rem;
    }
}

/* Row 3: AIxCC Stats Ribbon */
.aixcc-stats-ribbon {
    background: linear-gradient(135deg, #ad2b43 0%, #8a2236 100%);
    color: white;
    padding: 20px;
    margin: 0;
    border-radius: 0 0 12px 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
}

.aixcc-stats-ribbon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    position: relative;
}

a.stat-item {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

a.stat-item:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
    display: block;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
    color: black;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    color: black;
}

/* Desktop form layout - horizontal */
@media (min-width: 769px) {
    .hs-form-frame .hs-form {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-end !important;
        gap: 15px !important;
    }

    .hs-form-frame .hs-form .hs-form-field {
        flex: 1 !important;
        margin-bottom: 0 !important;
    }

    /* Make email field (usually first field) 50% smaller */
    .hs-form-frame .hs-form .hs-form-field:first-child {
        flex: 0.5 !important;
        max-width: 250px !important;
    }

    .hs-form-frame .hs-form .hs-form-field:last-child {
        flex: 0 0 auto !important;
    }
}

/* Mobile Optimization for Three-Row Layout */
@media (max-width: 768px) {
    .form-section {
        padding: 12px 15px;
    }

    .form-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .form-section .form-description {
        margin-bottom: 8px;
    }

    /* Stack form fields vertically on tablet */
    .hs-form-frame .hs-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .hs-form-frame .hs-form .hs-form-field {
        min-width: auto !important;
    }

    .aixcc-stats-ribbon {
        padding: 15px 10px;
    }

    .stats-container {
        gap: 20px;
    }

    .stat-item {
        min-width: 70px;
    }

    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 3px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 10px 12px;
    }

    .form-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .form-section .form-description {
        margin-bottom: 6px;
        font-size: 1rem;
    }

    .aixcc-stats-ribbon {
        padding: 12px 8px;
    }

    .stats-container {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .stat-item {
        min-width: 60px;
    }

    .stat-icon {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.1;
    }
}

@media (max-width: 320px) {
    .form-section {
        padding: 8px 10px;
    }

    .form-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .form-section .form-description {
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

    .stats-container {
        gap: 12px;
    }

    .stat-item {
        min-width: 50px;
    }

    .stat-icon {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }
}

/* Form section responsive styles */
@media (max-width: 768px) {
    .buttercup-form-section {
        margin-bottom: 40px;
    }

    .buttercup-form-section .subtitle {
        font-size: 1.8rem;
    }

    .form-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .buttercup-form-section {
        margin-bottom: 30px;
    }

    .buttercup-form-section .subtitle {
        font-size: 1.6rem;
    }

    .form-description {
        font-size: 0.95rem;
    }

    .hs-form-frame {
        font-size: 14px;
    }

    .hs-form-frame input[type="submit"],
    .hs-form-frame .hs-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Horizontal scroll indicator for timeline on mobile */
@media (max-width: 768px) {
    .timeline-container-horizontal {
        position: relative;
    }

    /* Left fade indicator */
    .timeline-container-horizontal::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to right, #f0f4f7, transparent);
        pointer-events: none;
        z-index: 2;
    }

    /* Right fade indicator */
    .timeline-container-horizontal::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, transparent, #f0f4f7);
        pointer-events: none;
        z-index: 2;
    }

    .timeline-container-horizontal::-webkit-scrollbar {
        height: 8px;
    }

    .timeline-container-horizontal::-webkit-scrollbar-track {
        background: #dae2eb;
        border-radius: 4px;
    }

    .timeline-container-horizontal::-webkit-scrollbar-thumb {
        background: #ad2b43;
        border-radius: 4px;
        min-width: 30px;
    }

    .timeline-container-horizontal::-webkit-scrollbar-thumb:hover {
        background: #9c253b;
    }

    /* Improve touch interactions */
    .timeline-item-horizontal {
        touch-action: manipulation;
    }

    .timeline-item-horizontal:active .timeline-bullet {
        background: #ad2b43;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px #ad2b43;
        transform: translateX(-50%) scale(1.1);
    }

    .timeline-item-horizontal:active .timeline-title-horizontal {
        color: #ad2b43;
    }
}

/* Animation enhancements */
.blog-item,
.resource-item,
.timeline-item-horizontal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-item:nth-child(1),
.resource-item:nth-child(1) {
    animation-delay: 0.1s;
}
.blog-item:nth-child(2),
.resource-item:nth-child(2) {
    animation-delay: 0.2s;
}
.blog-item:nth-child(3),
.resource-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item-horizontal:nth-child(1) {
    animation-delay: 0.2s;
}
.timeline-item-horizontal:nth-child(2) {
    animation-delay: 0.4s;
}
.timeline-item-horizontal:nth-child(3) {
    animation-delay: 0.6s;
}
.timeline-item-horizontal:nth-child(4) {
    animation-delay: 0.8s;
}
.timeline-item-horizontal:nth-child(5) {
    animation-delay: 1s;
}

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

/* Smooth fade animation for timeline details */
.timeline-details-container {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.timeline-details-container.fade-in {
    opacity: 1;
}

.timeline-details-container.fade-out {
    opacity: 0.5;
}

/* Team Section */
.buttercup-team-section {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(16, 24, 31, 0.1);
    border: 1px solid #dae2eb;
}

.team-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #10181f;
    text-align: center;
    margin-bottom: 40px;
}

.team-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.team-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-group-photo {
    max-width: 600px; /* Reduced from 100% to make it smaller */
    max-height: 400px; /* Increased height to make it a bit longer */
    width: 100%;
    height: auto;
    object-fit: cover; /* Crop if needed to maintain aspect */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 24, 31, 0.15);
    border: 3px solid #dae2eb;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.team-group-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(16, 24, 31, 0.2);
    border-color: #ad2b43;
}

.team-names {
    width: 100%;
}

.team-instruction {
    display: none;
    text-align: center;
    font-size: 0.9rem;
    color: #8294a3;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(173, 43, 67, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(173, 43, 67, 0.1);
    font-style: italic;
}

.team-names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Remove special positioning for consistent sizing */

.team-member-name {
    background: #f0f4f7;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #10181f;
    border: 1px solid #dae2eb;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    cursor: pointer;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.team-member-name:hover {
    background: #fff;
    border-color: #ad2b43;
    color: #ad2b43;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.1);
    z-index: 9999; /* Ensure hovered name is on top */
}

/* Tooltip/popup for team member descriptions */
.team-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #10181f;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    width: 280px;
    max-width: 90vw;
    text-align: left;
    box-shadow: 0 8px 25px rgba(16, 24, 31, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    margin-top: 8px;
    pointer-events: none;
}

/* Arrow pointing up */
.team-tooltip::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #10181f;
    z-index: 1001;
}

/* Show tooltip on hover (CSS fallback) */
.team-member-name:hover .team-tooltip {
    opacity: 1;
    visibility: visible;
    z-index: 10001;
}

.team-member-name:hover {
    background: #fff;
    border-color: #ad2b43;
    color: #ad2b43;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.1);
    z-index: 10000;
}

/* JavaScript-controlled hover for desktop */
.team-member-name.hover-active {
    background: #fff;
    border-color: #ad2b43;
    color: #ad2b43;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.1);
    z-index: 10000;
}

.team-member-name.hover-active .team-tooltip {
    opacity: 1;
    visibility: visible;
    z-index: 10001;
}

/* Show tooltip when active class is added (mobile) */
.team-member-name.active {
    background: #fff;
    border-color: #ad2b43;
    color: #ad2b43;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 24, 31, 0.1);
    z-index: 10000;
}

.team-member-name.active .team-tooltip {
    opacity: 1;
    visibility: visible;
    z-index: 10001;
}

/* Team Section Responsive */
@media (max-width: 1024px) {
    .team-names-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px 15px;
        padding: 0 15px;
    }

    .team-member-name {
        padding: 10px 16px;
        font-size: 0.95rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .buttercup-team-section {
        margin-bottom: 40px;
        padding: 30px 20px;
    }

    .team-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .team-content {
        gap: 30px;
    }

    .team-instruction {
        display: block;
    }

    .team-names-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px 12px;
        padding: 0 10px;
    }

    .team-member-name {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .buttercup-team-section {
        padding: 25px 15px;
    }

    .team-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .team-content {
        gap: 25px;
    }

    .team-instruction {
        display: block;
        font-size: 0.85rem;
        margin-bottom: 15px;
        padding: 6px 12px;
    }

    .team-names-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px 10px;
        padding: 0 5px;
    }

    .team-member-name {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Webinar Section Styling */
.buttercup-webinar-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    border-top: 1px solid rgba(173, 43, 67, 0.1);
}

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

.webinar-section-title {
    text-align: center;
    font-family: "Rubik", sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #10181f;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.webinar-content-buttercup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.webinar-image-buttercup {
    flex: none;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.webinar-img-buttercup {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.webinar-img-buttercup:hover {
    transform: scale(1.02);
}

.webinar-details-buttercup {
    flex: 1;
    padding-left: 0;
    text-align: center;
}

.webinar-title-buttercup {
    font-family: "Rubik", sans-serif;
    color: #000000;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
}

.webinar-date-buttercup {
    font-size: 16px;
    color: #10181f;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.webinar-description-buttercup {
    font-family: "Open Sans", sans-serif;
    color: #10181f;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.webinar-register-btn {
    background: linear-gradient(135deg, #ad2b43, #c7344f);
    color: white;
    padding: 16px 32px;
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(173, 43, 67, 0.3);
}

.webinar-register-btn:hover {
    background: linear-gradient(135deg, #c7344f, #ad2b43);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 43, 67, 0.4);
}

/* Mobile responsiveness for webinar section */
@media (max-width: 768px) {
    .buttercup-webinar-section {
        padding: 40px 0;
    }

    .webinar-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .webinar-content-buttercup {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .webinar-image-buttercup {
        flex: none;
        max-width: 90%;
    }

    .webinar-details-buttercup {
        padding-left: 0;
    }

    .webinar-title-buttercup {
        font-size: 22px;
    }

    .webinar-date-buttercup {
        font-size: 16px;
        padding: 10px 16px;
    }

    .webinar-register-btn {
        padding: 14px 28px;
        font-size: 13px;
    }
}

/* RingZer0 Conference Talk Section */
.buttercup-ringzer0-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
}

.ringzer0-header-image {
    margin-bottom: 40px;
    text-align: center;
}

.ringzer0-banner-img {
    width: 100%;
    height: auto;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ringzer0-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #10181f;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.ringzer0-content-buttercup {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

.ringzer0-event-header {
    margin-bottom: 30px;
}

.ringzer0-title-buttercup {
    font-size: 28px;
    font-weight: 700;
    color: #10181f;
    margin-bottom: 15px;
    line-height: 1.3;
}

.ringzer0-speakers {
    font-size: 18px;
    font-weight: 600;
    color: #ad2b43;
    margin-bottom: 10px;
}

.ringzer0-date-buttercup {
    font-size: 16px;
    color: #10181f;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ringzer0-conference-buttercup {
    font-size: 16px;
    color: #10181f;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ringzer0-description-buttercup p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 15px;
}

.ringzer0-description-buttercup p:last-child {
    margin-bottom: 30px;
}

/* Mobile responsiveness for ringzer0 section */
@media (max-width: 768px) {
    .buttercup-ringzer0-section {
        padding: 40px 0;
    }

    .ringzer0-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .ringzer0-content-buttercup {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .ringzer0-title-buttercup {
        font-size: 22px;
    }

    .ringzer0-speakers {
        font-size: 16px;
    }

    .ringzer0-date-buttercup {
        font-size: 14px;
        padding: 6px 10px;
    }
}
