/* ============================================
   Microsite — Product feature display page
   Same theme: Inter, primary-blue, gradient, F6F4FF
   ============================================ */

/* ----- Hero ----- */
.ms-hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #fff3e0 100%);
}

.ms-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    background: var(--gradient-blue-orange);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    border: 1.5px solid transparent;
}

.ms-hero-badge::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    background: var(--gradient-blue-orange);
    border-radius: inherit;
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1.5px;
}

.ms-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #000;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.ms-hero-tagline {
    font-size: 20px;
    color: #666;
    line-height: 1.55;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* Product showcase frame (browser mockup) */
.ms-hero-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

/* Outer wrapper: gradient outline + scroll animation (entire frame) */
.ms-showcase-frame-wrap {
    padding: 2px;
    background: var(--gradient-blue-orange);
    border-radius: 16px;
    display: block;
    opacity: 0;
    transform: scale(0.94) translateY(48px);
    filter: blur(6px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ms-showcase-frame-wrap.ms-showcase-inview {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    .ms-showcase-frame-wrap {
        transform: none;
        filter: none;
        transition: opacity 0.5s ease;
    }
    .ms-showcase-frame-wrap.ms-showcase-inview {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
    }
}

.ms-showcase-frame {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.ms-showcase-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.ms-showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.ms-showcase-dot:nth-child(1) { background: #ff5f57; }
.ms-showcase-dot:nth-child(2) { background: #febc2e; }
.ms-showcase-dot:nth-child(3) { background: #28c840; }

.ms-showcase-url {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: #888;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ms-showcase-screen {
    padding: 0;
    overflow: hidden;
}

.ms-showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Benefits section ----- */
.ms-benefits-section {
    padding: 80px 24px;
    background: #ffffff;
}

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

.ms-benefits-title {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px;
    line-height: 1.25;
}

.ms-benefits-title .highlight {
    color: var(--primary-blue);
}

.ms-benefits-subtitle {
    font-size: 18px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

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

.ms-benefit-card {
    padding: 28px 24px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    border: 1.5px solid transparent;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ms-benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: var(--gradient-blue-orange);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

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

.ms-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    background: var(--primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ms-benefit-icon .material-symbols-outlined {
    font-size: 30px;
}

.ms-benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ms-benefit-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* ----- Statement section: editorial + device mockup ----- */
.ms-statement-section {
    padding: 100px 24px 120px;
    background: linear-gradient(135deg, #e8f0fe 0%, #fef7ed 50%, #f3efff 100%);
}

.ms-statement-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ms-statement-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.ms-statement-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.ms-statement-title {
    font-size: 40px;
    font-weight: 700;
    color: #0a0e1a;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.ms-statement-body {
    font-size: 17px;
    color: #444;
    line-height: 1.65;
    margin: 0 0 28px;
}

.ms-statement-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ms-statement-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.ms-statement-pills .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-blue);
}

.ms-statement-device {
    flex: 0 0 48%;
    max-width: 540px;
    display: flex;
    justify-content: flex-end;
}

.ms-statement-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transform: perspective(900px) rotateY(-6deg) rotateX(4deg);
}

/* ----- Feature rows (alternating) ----- */
.ms-features {
    padding: 80px 24px;
    background: linear-gradient(135deg, #e3f2fd 0%, #fff3e0 100%);
}

.ms-feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.ms-feature-row:last-child {
    margin-bottom: 0;
}

.ms-feature-row-reverse {
    flex-direction: row-reverse;
}

.ms-feature-content {
    flex: 1;
    min-width: 0;
}

.ms-feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ms-feature-icon-wrap .material-symbols-outlined {
    font-size: 26px;
}

.ms-feature-heading {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ms-feature-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.ms-feature-visual {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-feature-visual-box {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1.5px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ms-feature-visual-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: var(--gradient-blue-orange);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.ms-feature-row:hover .ms-feature-visual-box {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.ms-feature-visual-box .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary-blue);
}

.ms-feature-visual-box span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* ----- Pillars ----- */
.ms-pillars {
    padding: 80px 24px;
    background: #fff;
}

.ms-pillars-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0 0 48px;
    line-height: 1.25;
}

.ms-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ms-pillar {
    text-align: center;
    padding: 28px 20px;
    background: #f0f7ff;
    border-radius: 20px;
    border: 1.5px solid transparent;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ms-pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: var(--gradient-blue-orange);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.ms-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ms-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.ms-pillar-icon .material-symbols-outlined {
    font-size: 24px;
}

.ms-pillar-label {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ms-pillar-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* ----- CTA ----- */
.ms-cta {
    padding: 80px 24px 100px;
    background: white;
}

.ms-cta-card {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 48px 46px;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.75) 0%, rgba(255, 243, 224, 0.75) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.ms-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: var(--gradient-blue-orange);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Simple CTA card: centered, no image */
.ms-cta-card-simple {
    justify-content: center;
    text-align: center;
    padding: 48px 40px;
}

.ms-cta-card-simple .ms-cta-content {
    max-width: 520px;
}

.ms-cta-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.ms-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 14px;
    line-height: 1.25;
}

.ms-cta-title .highlight {
    color: var(--primary-blue);
}

.ms-cta-text {
    font-size: 17px;
    color: #333;
    line-height: 1.55;
    margin: 0 0 24px;
}

.ms-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ms-cta-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ms-cta-btn .material-symbols-outlined {
    font-size: 20px;
}

.ms-cta-image {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 280px;
    max-width: 36%;
}

.ms-cta-image img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .ms-hero-title {
        font-size: 48px;
    }

    .ms-benefits-title {
        font-size: 32px;
    }

    .ms-statement-container {
        flex-direction: column;
        gap: 56px;
        text-align: center;
        padding: 0 20px;
    }

    .ms-statement-content {
        max-width: 100%;
    }

    .ms-statement-pills {
        justify-content: center;
    }

    .ms-statement-device {
        flex: none;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .ms-statement-img {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
    }

    .ms-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ms-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }

    .ms-cta-content {
        max-width: 100%;
    }

    .ms-cta-image {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .ms-hero {
        padding: 120px 20px 60px;
    }

    .ms-hero-title {
        font-size: 33px;
    }

    .ms-hero-tagline {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .ms-showcase-screen {
        padding: 0;
    }


    .ms-features {
        padding: 56px 20px;
    }

    .ms-benefits-section {
        padding: 56px 20px;
    }

    .ms-benefits-header {
        margin-bottom: 32px;
    }

    .ms-benefits-title {
        font-size: 28px;
    }

    .ms-benefits-subtitle {
        font-size: 16px;
    }

    .ms-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ms-benefit-card {
        padding: 22px 20px;
    }

    .ms-statement-section {
        padding: 64px 20px 80px;
    }

    .ms-statement-title {
        font-size: 28px;
    }

    .ms-statement-body {
        font-size: 15px;
    }

    .ms-feature-row,
    .ms-feature-row-reverse {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 48px;
        text-align: center;
    }

    .ms-feature-content {
        order: 1;
    }

    .ms-feature-visual {
        order: 0;
        flex: none;
    }

    .ms-feature-icon-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .ms-feature-heading {
        font-size: 20px;
    }

    .ms-feature-desc {
        font-size: 15px;
    }

    .ms-pillars {
        padding: 56px 20px;
    }

    .ms-pillars-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .ms-pillar {
        padding: 22px 16px;
    }

    .ms-pillar-label {
        font-size: 16px;
    }

    .ms-cta {
        padding: 56px 20px 80px;
    }

    .ms-cta-title {
        font-size: 28px;
    }

    .ms-cta-text {
        font-size: 15px;
    }

    .ms-cta-image {
        width: 220px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .ms-hero {
        padding: 110px 16px 48px;
    }

    .ms-benefits-section {
        padding: 48px 16px;
    }

    .ms-benefits-title {
        font-size: 28px;
    }

    .ms-hero-title {
        font-size: 33px;
    }

    .ms-statement-title {
        font-size: 28px;
    }

    .ms-hero-tagline {
        font-size: 15px;
    }

    .ms-showcase-bar {
        padding: 10px 14px;
    }

    .ms-showcase-url {
        font-size: 11px;
    }

    .ms-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ms-statement-section {
        padding: 48px 16px 64px;
    }

    .ms-statement-container {
        padding: 0 16px;
    }

    .ms-statement-pills {
        flex-direction: column;
    }

    .ms-statement-pills li {
        justify-content: center;
    }

    .ms-statement-img {
        max-width: 100%;
    }

    .ms-cta-card {
        padding: 32px 22px;
    }

    .ms-cta-title {
        font-size: 24px;
    }
}
