/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Header ===== */
.header { padding: 24px 0; }

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

.logo { flex-shrink: 0; }

.logo img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover { color: #7D93F6; }
.nav-link.active { font-weight: 500; }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: #1a1a1a;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.nav-cta:hover { color: #7D93F6; }

.nav-cta img,
.nav-cta svg { width: 10px; height: 10px; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle img { width: 24px; height: auto; }

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu { transform: translateX(0); }

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover { color: #7D93F6; }
.mobile-nav-link.active { font-weight: 500; }

.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 1px;
    background: #1a1a1a;
}

.mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    margin-top: auto;
    padding-bottom: 40px;
    transition: color 0.2s ease;
}

.mobile-nav-cta:hover { color: #7D93F6; }
.mobile-nav-cta img,
.mobile-nav-cta svg { width: 12px; height: 12px; }

/* ===== Hero ===== */
.x9-hero-wrapper,
.x9-hero-wrapper * { box-sizing: border-box; margin: 0; padding: 0; }

.x9-hero-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #fff;
    color: #111;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
    padding: 2rem;
    gap: 4rem;
    justify-content: space-between;
}

.x9-content-side {
    flex: 1;
    max-width: 600px;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
}

.x9-rating-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.x9-users-avatars { height: 48px; width: auto; object-fit: contain; }

.x9-stars-wrapper { display: flex; flex-direction: column; gap: 4px; }
.x9-stars-row { display: flex; gap: 2px; }

.x9-rating-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.x9-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #000;
}

.x9-italic-accent {
    font-style: italic;
    font-weight: 500;
    font-family: 'Inter', serif;
}

.x9-subheadline {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.x9-subheadline strong {
    color: #111;
    font-weight: 600;
    font-style: italic;
}

.x9-cta-btn {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.2s ease, opacity 0.2s;
    margin-bottom: 4rem;
}

.x9-cta-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.x9-icon-up { margin-left: 10px; display: flex; align-items: center; }

.x9-version-meta {
    margin-top: -2.5rem;
    margin-bottom: 4rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.01em;
    flex-wrap: wrap;
}

.x9-version-pill {
    background: #f0f3ff;
    color: #5A6BB3;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.x9-version-dot {
    color: #ccc;
    font-weight: 400;
}

.x9-visual-side {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    margin-right: -2rem;
}

.x9-blue-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: -10%;
    left: auto;
    background: linear-gradient(180deg, #7D93F6 0%, #5A6BB3 100%);
    border-radius: 40px;
    z-index: 0;
    width: 100%;
}

.x9-laptop-container {
    position: relative;
    z-index: 1;
    width: 100%;
    transform: translateX(0%);
    margin-right: 0;
    margin-left: auto;
}

.x9-hero-img {
    width: 120%;
    margin-top: 10px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ===== Problem Section ===== */
.problem { padding: 100px 0; background: #fff; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #7D93F6;
    border-radius: 50%;
}

.section-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title em { font-weight: 700; font-style: italic; }

.section-subtitle {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    position: relative;
}

.problem-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.problem-card-tall {
    grid-column: 3;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding-right: 0;
    padding-bottom: 0;
}

.problem-card-top {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.problem-card-top .problem-icon { margin-bottom: 0; }
.problem-card-top .problem-text { margin-top: 0; }

.problem-card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 280px;
    overflow: hidden;
}

.problem-card-content { display: flex; flex-direction: column; }

.problem-icon {
    width: 48px;
    height: 48px;
    margin-bottom: auto;
}

.problem-text {
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    margin-top: auto;
}

.problem-text em { font-weight: 600; font-style: italic; }

.problem-mockup {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.problem-mockup img {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-bottom: -24px;
}

.problem-verify {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 1;
    overflow: hidden;
}

.problem-verify img { width: 200px; height: auto; }

.problem-quote {
    text-align: center;
    font-size: 18px;
    color: #1a1a1a;
    margin-top: 48px;
}

.problem-quote em { font-style: italic; }

/* ===== Solution Section ===== */
.solution { padding: 100px 0; background: #fff; }

.solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.solution-mockup { display: flex; align-items: center; }
.solution-mockup img { width: 100%; height: auto; }

.solution-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-content .section-badge {
    display: inline-flex;
    margin-bottom: 16px;
}

.solution-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.solution-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.solution-text:first-of-type { font-weight: 500; }

.mac-download-btn {
    display: inline-block;
    margin-top: 16px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mac-download-btn:hover { opacity: 0.9; transform: translateY(-2px); }

.mac-download-btn img { height: 56px; width: auto; }

/* ===== Features Section ===== */
.features { padding: 100px 0; background: #fff; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card-top {
    height: 140px;
    background: linear-gradient(180deg, #DBE1F8 0%, #FFFFFF 100%);
    border-radius: 12px 12px 0 0;
    margin: 8px 8px 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-emoji {
    font-size: 44px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(125, 147, 246, 0.18), 0 2px 4px rgba(0, 0, 0, 0.04);
    filter: grayscale(1) brightness(0.85) contrast(1.05);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.feature-card:hover .feature-emoji {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.feature-card-content { padding: 20px 24px 24px; }

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.feature-gradient-box {
    background: linear-gradient(135deg, #7D93F6 0%, #9BA8F7 100%);
    border-radius: 16px;
    min-height: 300px;
}

/* ===== Comparison / Pricing ===== */
.comparison { padding: 100px 0; background: #fff; }

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.pricing-card-free {
    background: #fff;
    border: 1.5px solid #D6D6D6;
}

.pricing-card-pro {
    background: linear-gradient(180deg, #7D93F6 0%, #5A6BB3 100%);
    color: #fff;
}

.pricing-header { margin-bottom: 16px; }

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.price { font-size: 56px; font-weight: 600; line-height: 1; }
.price-period { font-size: 16px; font-weight: 400; }

.pricing-title { font-size: 32px; font-weight: 400; }

.pricing-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.pricing-card-free .pricing-description { color: #555; }
.pricing-card-pro .pricing-description { color: rgba(255, 255, 255, 0.9); }

.pricing-divider {
    margin-bottom: 24px;
    background-image: repeating-linear-gradient(90deg,
        rgba(0, 0, 0, 0.3) 0,
        rgba(0, 0, 0, 0.3) 3px,
        transparent 3px,
        transparent 6px);
    height: 1px;
    border: none;
}

.pricing-card-pro .pricing-divider {
    background-image: repeating-linear-gradient(90deg,
        rgba(255, 255, 255, 0.4) 0,
        rgba(255, 255, 255, 0.4) 3px,
        transparent 3px,
        transparent 6px);
}

.pricing-includes {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.tick-icon { width: 24px; height: 24px; flex-shrink: 0; }

.pricing-btn {
    display: block;
    text-align: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pricing-btn-outline {
    background: transparent;
    border: 1.5px solid #1a1a1a;
    color: #1a1a1a;
}

.pricing-btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

.pricing-btn-white {
    background: #fff;
    border: none;
    color: #1a1a1a;
}

.pricing-btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.pricing-trial {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
    font-weight: 600;
}

/* ===== Compatibility ===== */
.compatibility { padding: 100px 0; background: #fff; }

.compatibility-features {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.compatibility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.compatibility-icon { width: 32px; height: 32px; }

.compatibility-text {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.5;
}

.compatibility-mockup { display: flex; justify-content: center; }

.compatibility-mockup img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

/* ===== How It Works ===== */
.x9-hiw-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background-color: #fff;
}

.x9-hiw-header { margin-bottom: 5rem; }

.x9-hiw-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1rem;
}

.x9-hiw-dot {
    width: 6px;
    height: 6px;
    background-color: #708bf0;
    border-radius: 50%;
    margin-right: 8px;
}

.x9-hiw-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 400;
    color: #111;
}

.x9-timeline-container {
    position: relative;
    margin-bottom: 6rem;
}

.x9-timeline-line-bg {
    position: absolute;
    top: 30px;
    bottom: 50px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    z-index: 0;
    border-left: 2px solid #e5e5e5;
}

.x9-timeline-row {
    position: relative;
    min-height: 180px;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    grid-gap: 2rem;
    align-items: start;
}

.x9-step-content {
    width: 100%;
    padding: 0 2rem;
}

.x9-step-marker {
    grid-column: 2;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ccc;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.x9-row-right .x9-step-content {
    grid-column: 3;
    text-align: left;
}

.x9-row-left .x9-step-content {
    grid-column: 1;
    text-align: right;
}

.x9-step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 10px;
    color: #111;
}

.x9-step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.x9-hiw-footer {
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: #111;
    margin-top: 2rem;
}

/* ===== FAQs ===== */
.faqs { padding: 100px 0; background: #fff; }

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

.faq-item { border-bottom: 1px solid #E4E4E4; }

.faq-question {
    width: 100%;
    padding: 24px 0;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover { color: #7D93F6; }

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

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    padding-bottom: 24px;
    max-width: 700px;
}

.faq-item.active .faq-answer { max-height: 200px; }

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
    background: #000;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60% 80% at center, rgba(125, 147, 246, 0.6) 0%, rgba(90, 107, 179, 0.4) 25%, rgba(50, 60, 100, 0.2) 50%, transparent 75%);
    pointer-events: none;
}

.cta .container { position: relative; z-index: 1; }

.cta-title {
    font-size: 64px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-title em { font-weight: 700; font-style: italic; }

.cta-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #1a1a1a;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px;
}

/* ===== Footer ===== */
.footer {
    background: #0a0a0a;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-card-tall { grid-column: auto; grid-row: auto; }
    .problem-card-wide { grid-column: span 2; grid-template-columns: 1fr 1fr; }
    .problem-verify { display: none; }

    .solution .container { grid-template-columns: 1fr; }
    .solution-mockup { order: 2; }
    .solution-content { order: 1; text-align: center; align-items: center; }
    .solution-content .section-title { text-align: center; }

    .features { padding: 60px 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .comparison { padding: 60px 0; }
    .comparison-grid { max-width: 700px; }

    .compatibility { padding: 60px 0; }
    .compatibility-features { gap: 40px; }
    .compatibility-mockup img { max-width: 700px; }

    .faqs { padding: 60px 0; }
}

@media (max-width: 900px) {
    .x9-hero-wrapper {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 3rem;
        text-align: center;
        overflow-x: hidden;
    }
    .x9-content-side { padding-left: 0; align-items: center; max-width: 100%; }
    .x9-headline { font-size: 2.2rem; }
    .x9-subheadline { font-size: 1rem; margin-bottom: 2rem; }

    .x9-visual-side {
        margin-left: -1rem;
        margin-right: -1rem;
        justify-content: flex-end;
        overflow: hidden;
        min-height: 400px;
        padding-top: 2rem;
        padding-right: 0;
    }

    .x9-blue-backdrop {
        width: 100%;
        left: 0;
        right: 0;
        top: 2rem;
        bottom: -200px;
        border-radius: 40px 40px 0 0;
    }

    .x9-laptop-container {
        width: 100%;
        transform: translateX(1%);
        margin-top: 0;
    }

    .x9-hiw-section { text-align: left; padding: 4rem 1.5rem; }
    .x9-hiw-title { font-size: 2.2rem; }
    .x9-hiw-header { text-align: center; margin-bottom: 3rem; }

    .x9-timeline-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        min-height: auto;
        margin-bottom: 3rem;
        gap: 1.5rem;
    }

    .x9-timeline-line-bg { left: 30px; top: 20px; bottom: 0; }
    .x9-step-marker { margin: 0; }

    .x9-step-content,
    .x9-row-left .x9-step-content,
    .x9-row-right .x9-step-content {
        width: 100%;
        text-align: left !important;
        padding: 0;
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .header .container { flex-direction: row; justify-content: space-between; }
    .nav { display: none; }
    .menu-toggle { display: block; }

    .problem { padding: 60px 0; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-card { min-height: 180px; }
    .problem-card-tall { grid-column: auto; grid-row: auto; order: 4; padding-right: 24px; }
    .problem-card-top { gap: 60px; }
    .problem-card-wide { grid-column: span 1; display: flex; flex-direction: column; order: 3; }
    .problem-mockup { display: none; }
    .problem-quote { font-size: 16px; }

    .solution { padding: 60px 0 0; }
    .solution-content { text-align: left; align-items: flex-start; }
    .solution-content .section-badge { margin-left: 0; }
    .solution-content .section-title { text-align: left; }
    .solution-mockup { margin-top: 40px; justify-content: flex-start; }
    .solution-text { font-size: 15px; }

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

    .comparison { padding: 60px 0; }
    .comparison-grid { grid-template-columns: 1fr; gap: 16px; }

    .compatibility { padding: 60px 0; }
    .compatibility-features { flex-direction: column; gap: 32px; margin-bottom: 40px; }
    .compatibility-text { font-size: 14px; }
    .compatibility-text br { display: none; }

    .faqs { padding: 60px 0; }

    .footer .container { flex-direction: column; gap: 24px; text-align: center; }
    .footer-social { order: -1; }
    .footer-links { gap: 24px; }

    .cta-title { font-size: 40px; }
    .cta-description { font-size: 16px; }
}

/* ===== Version History Section ===== */
.versions {
    padding: 100px 0;
    background: #fff;
}

.version-latest-card {
    max-width: 800px;
    margin: 0 auto 64px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1fc 100%);
    border: 1px solid #dfe4f7;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.version-latest-left { flex: 1 1 300px; }

.version-tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.version-tag {
    display: inline-block;
    background: #7D93F6;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-number {
    font-size: 36px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.02em;
}

.version-released {
    font-size: 15px;
    color: #555;
    margin-bottom: 4px;
}

.version-checked {
    font-size: 13px;
    color: #888;
}

.version-latest-right {
    text-align: right;
    flex-shrink: 0;
}

.version-size {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.version-download-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s;
}

.version-download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.version-history {
    max-width: 800px;
    margin: 0 auto;
}

.version-history-title {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.version-history-note {
    font-size: 14px;
    color: #777;
    margin-bottom: 24px;
}

.version-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.version-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid #ececec;
    border-radius: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.version-item:hover {
    border-color: #7D93F6;
    background: #fafbff;
}

.version-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.version-item-tag {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.version-item-date {
    font-size: 12px;
    color: #888;
}

.version-item-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #7D93F6;
}

.version-item-link:hover { color: #5A6BB3; }

.version-all-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #7D93F6;
    margin-top: 8px;
}

.version-all-link:hover { color: #5A6BB3; }

@media (max-width: 768px) {
    .versions { padding: 60px 0; }
    .version-latest-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
    .version-latest-right { text-align: left; width: 100%; }
    .version-number { font-size: 28px; }
    .version-list { grid-template-columns: 1fr; }
    .version-download-btn { width: 100%; text-align: center; }
}
