@import url('./styles/colors.css');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    color: var(--color-nav);
}

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

.nav-logo-img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-nav);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-dropdown-menu a:hover {
    background: #f5f5f5;
    color: var(--color-nav);
}

.nav-dropdown-menu a i,
.nav-dropdown-menu a .integration-logo-svg {
    font-size: 1.125rem;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.nav-dropdown-menu a .integration-logo-svg {
    height: 20px;
    display: block;
}

.nav-dropdown-menu a .integration-logo-svg--azure {
    color: #0078d4;
}

.nav-dropdown-menu a .integration-logo-svg--bitbucket {
    color: #0052cc;
}

/* Login — plain text link in nav blue */
.login-button {
    color: var(--color-nav) !important;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.login-button:hover {
    color: var(--color-nav-hover) !important;
}

/* Get Started — nav blue ghost (outline only) */
.get-started-button {
    background: transparent;
    color: var(--color-nav) !important;
    border: 1.5px solid var(--color-nav);
    padding: 7px 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 600;
    white-space: nowrap;
}

.get-started-button:hover {
    background: var(--color-nav-10);
    color: var(--color-nav) !important;
}

/* Add to Chrome — green filled, the one loud CTA */
.cta-button {
    background: var(--color-action);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--color-action-20);
}

.cta-button:hover {
    background: var(--color-action-hover);
    box-shadow: 0 4px 14px var(--color-action-30);
}

/* What's New notification badge */
.whats-new-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    margin-left: 4px;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Open Source Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 70px;
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.announcement-icon {
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

.announcement-icon--release {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: rgba(255, 255, 255, 0.95);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.announcement-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.announcement-text strong {
    font-weight: 600;
}

.announcement-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
    margin-left: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.announcement-link:hover {
    border-bottom-color: white;
    gap: 6px;
}

.announcement-link i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .announcement-banner {
        top: 60px;
        padding: 10px 15px;
    }
    
    .announcement-text {
        font-size: 0.85rem;
    }
    
    .announcement-content {
        flex-direction: column;
        gap: 4px;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.primary-button {
    background: #10b981;
    color: white;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.primary-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

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

/* Screenshot Showcase */
.screenshot-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-screenshot {
    position: relative;
    z-index: 2;
}

.hero-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-screenshot:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.floating-screenshots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-screenshot {
    position: absolute;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 3s;
}

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

/* Demo Section */
.demo {
    padding: 80px 0;
    background: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.demo-video {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.demo-gif {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(107, 79, 187, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .play-overlay {
    opacity: 1;
}

.demo-description h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.demo-description p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #374151;
}

.demo-feature i {
    color: var(--color-brand);
    font-size: 1.1rem;
}

/* Updated How It Works Section */
.demo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.demo-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #0f1117;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.features .section-header h2 {
    color: #f1f5f9;
}

.features .section-header p {
    color: #94a3b8;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-light);
    background: var(--color-brand-10);
    border: 1px solid var(--color-brand-25);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.features .container {
    max-width: 1400px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: #161b27;
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent, var(--color-brand-light));
    border-radius: 14px 0 0 14px;
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

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

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrap i {
    font-size: 1.1rem;
    color: var(--accent, var(--color-brand-light));
}

.feature-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.4;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
    flex-grow: 1;
}

.feature-link {
    color: var(--color-brand-light);
    text-decoration: none;
    border-bottom: 1px solid var(--color-brand-30);
    transition: border-color 0.2s ease;
}

.feature-link:hover {
    border-color: var(--color-brand-light);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-brand);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--color-brand);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
    align-items: stretch;
    justify-content: center;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--color-brand);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    /* Falls back to brand purple when --plan-accent is not set by JS */
    color: var(--plan-accent, var(--color-brand));
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.pricing-header p {
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.pricing-features i {
    /* Inherits inline color set by JS; falls back to action green */
    color: var(--plan-accent, var(--color-action));
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    /* Base fallback — JS overrides with per-plan gradient via inline style */
    background: var(--color-brand);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-top: auto;
}

.pricing-button:hover {
    background: var(--color-brand-hover);
}

/* featured class overrides are no longer needed — JS handles per-plan theming */
.pricing-card.featured .pricing-badge {
    background: var(--plan-accent, var(--color-brand));
}

/* Privacy & Security Section */
.privacy-security {
    padding: 80px 0;
    background: white;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-item {
    text-align: center;
    padding: 2rem;
}

.security-item i {
    font-size: 2.5rem;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.security-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.security-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f8fafc;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
    line-height: 1.4;
}

.blog-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-tag {
    background: #e5e7eb;
    color: #374151;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-link {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: var(--color-brand-hover);
}

.blog-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.blog-loading i {
    font-size: 24px;
    margin-bottom: 16px;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

.blog-cta .secondary-button {
    background: var(--color-brand) !important;
    color: white !important;
    border: 2px solid var(--color-brand);
    display: inline-flex;
}

.blog-cta .secondary-button:hover {
    background: var(--color-brand-hover) !important;
    color: white !important;
    border-color: var(--color-brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-brand-30);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.primary-button.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* CTA section button styling */
.cta .primary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 6px;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #10b981;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #10b981;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    margin: 0;
    border-top: 1px solid #374151;
}

.compliance-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.partner-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-badges-row .partner-badge-img {
    display: block;
    height: auto;
    max-height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
}

.footer-badges a {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-badges a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* CSS Badges - Pill Style */
.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #e5e7eb;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.compliance-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.compliance-badge i {
    font-size: 12px;
    opacity: 0.8;
}

.compliance-badge:hover i {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom .company-info {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6b7280;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
        gap: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
        max-width: 800px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 1.25rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .login-button {
        padding: 6px 14px;
        font-size: 0.9rem;
    }

    .get-started-button {
        padding: 6px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active li {
        width: 100%;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    /* Mobile dropdown styles */
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #f0f0f0;
        border-radius: 0;
        margin-top: 0;
        background: #f9f9f9;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 0.75rem 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .demo-steps {
        grid-template-columns: 1fr;
    }
    
    .floating-screenshots {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .step,
    .pricing-card {
        padding: 1.5rem;
    }
}

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

.feature-card,
.step,
.pricing-card,
.security-item {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-header-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.blog-header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.blog-header-meta i {
    margin-right: 0.5rem;
}

.blog-content {
    padding: 80px 0;
}

.blog-filters {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-brand);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-height: 10rem;
    overflow: hidden;
}

.tag-filter {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tag-filter:hover,
.tag-filter.active {
    background: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-card-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
}

.blog-card-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-brand);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: var(--color-brand-hover);
}

.blog-loading,
.no-posts,
.error-message {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.blog-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-brand);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Blog Post Page Styles */
.blog-post-header {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: white;
    padding: 120px 0 80px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-post-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-content h1 {
    font-size: 2.5rem;
}

.blog-post-content h2 {
    font-size: 2rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
}

.blog-post-content p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--color-brand);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.blog-post-content code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.blog-post-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.blog-post-tags .blog-tag {
    background: var(--color-brand);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-featured-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-brand-hover);
}

.nav-link.prev {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header-content h1 {
        font-size: 2rem;
    }
    
    .blog-header-content p {
        font-size: 1rem;
    }
    
    .blog-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .tag-filters {
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .blog-post-content h1 {
        font-size: 2rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   Latest Update Section
   ======================================== */

.latest-update {
    padding: 60px 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.latest-update-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #fbbf24;
    position: relative;
    overflow: hidden;
}

.latest-update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, var(--color-brand));
}

.update-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.update-content {
    flex-grow: 1;
}

.update-content h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-content h3 i {
    color: #fbbf24;
}

.update-version {
    font-size: 1.125rem;
    color: var(--color-brand);
    font-weight: 600;
    margin-bottom: 1rem;
}

.update-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.update-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-badge {
    background: linear-gradient(135deg, #f3eeff 0%, #e5d9ff 100%);
    color: var(--color-brand);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #c4b5fd;
}

.highlight-badge i {
    color: var(--color-brand-light);
}

.update-link {
    color: var(--color-brand);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.update-link:hover {
    gap: 0.75rem;
    color: var(--color-brand-hover);
}

.update-link i {
    transition: transform 0.3s ease;
}

.update-link:hover i {
    transform: translateX(4px);
}

/* Responsive Design for Latest Update */
@media (max-width: 768px) {
    .latest-update-card {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    
    .update-icon {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .update-content h3 {
        justify-content: center;
        font-size: 1.25rem;
    }
    
    .update-highlights {
        justify-content: center;
    }
    
    .update-link {
        justify-content: center;
    }
}

/* ========================================
   Release Notes Styles
   ======================================== */

/* Release Notes Hero Section */
.release-notes-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    color: white;
}

.release-notes-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.release-notes-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.release-notes-header h1 i {
    color: #fbbf24;
}

.release-notes-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.current-version {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.version-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-badge strong {
    color: #fbbf24;
    font-weight: 700;
}

.update-button {
    background: white;
    color: var(--color-brand);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.update-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.x-follow-banner {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.x-follow-button-popup {
    background: #000000;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.x-follow-button-popup svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.x-follow-button-popup:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.x-follow-button-popup:active {
    transform: translateY(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rss-button {
    background: #f97316;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.rss-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.rss-button i {
    font-size: 1rem;
}

/* Release Notes Section */
.release-notes-section {
    padding: 60px 0;
    background: #f9fafb;
}

.release-notes-loading,
.release-notes-error {
    text-align: center;
    padding: 4rem 2rem;
}

.release-notes-loading i,
.release-notes-error i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.release-notes-loading i {
    color: var(--color-brand);
}

.release-notes-error i {
    color: #ef4444;
}

.release-notes-loading p,
.release-notes-error p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Release Notes Timeline */
.release-notes-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.release-note-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.release-note-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Marker */
.release-note-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--color-brand);
    border-radius: 50%;
    border: 4px solid #f9fafb;
    box-shadow: 0 2px 8px var(--color-brand-30);
    position: relative;
    z-index: 2;
}

.marker-dot.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px var(--color-brand-30);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 15px var(--color-brand-50);
    }
}

.marker-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--color-brand), #e5e7eb);
    margin-top: -4px;
}

.release-note-item:last-child .marker-line {
    display: none;
}

/* Release Note Card */
.release-note-card {
    flex-grow: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}

.release-note-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.release-note-item.latest .release-note-card {
    border: 2px solid #fbbf24;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

/* Release Note Header */
.release-note-header {
    padding: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.version-info h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.version-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-brand);
}

.latest-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.release-date {
    color: #6b7280;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expand-button {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-button:hover {
    background: #f3f4f6;
    color: var(--color-brand);
}

/* Release Highlights */
.release-highlights {
    padding: 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.release-highlights h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.release-highlights h3 i {
    color: #fbbf24;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.highlights-list i {
    color: #10b981;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Release Note Content */
.release-note-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.release-note-content.expanded {
    max-height: none;
    padding: 1.5rem;
    overflow: visible;
}

/* Release Note Footer */
.release-note-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.view-details-button {
    background: none;
    border: 2px solid var(--color-brand);
    color: var(--color-brand);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-details-button:hover {
    background: var(--color-brand);
    color: white;
}

.view-details-button .hide-text {
    display: none;
}

.release-note-content.expanded ~ .release-note-footer .view-details-button .show-text {
    display: none;
}

.release-note-content.expanded ~ .release-note-footer .view-details-button .hide-text {
    display: inline-flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .release-notes-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .release-notes-subtitle {
        font-size: 1rem;
    }
    
    .current-version {
        flex-direction: column;
        gap: 1rem;
    }
    
    .version-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .release-note-item {
        gap: 1rem;
    }
    
    .marker-dot {
        width: 16px;
        height: 16px;
    }
    
    .release-note-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .expand-button {
        align-self: flex-end;
    }
    
    .version-info h2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-number {
        font-size: 1.5rem;
    }
    
    .highlights-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .release-notes-hero {
        padding: 100px 0 40px;
    }
    
    .release-notes-header h1 {
        font-size: 1.75rem;
    }
    
    .release-note-marker {
        display: none;
    }
    
    .release-note-item {
        margin-left: 0;
    }
}
