/* Microsoft Surface Home Page V2 Styles (Folds 1-3) */
:root {
    --ms-blue: #0067b8;
    --ms-light-blue: #0078d4;
    --ms-gray: #737373;
    --ms-dark: #242424;
}

/* Hero Section */
.hero-v2-outer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-v2-main {
    max-width: 600px;
    color: #fff;
}

.hero-pill {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    color: #000
}

.hero-v2-main h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #000;
}

.hero-v2-main p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-v2-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary-ms {
    background-color: var(--ms-blue);
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-primary-ms:hover {
    background-color: var(--ms-light-blue);
    color: #fff;
}

.btn-secondary-ms {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-ms:hover {
    color: #e0e0e0;
}

/* Enterprise Features (Fold 2) */
.enterprise-features-outer {
    padding: 80px 0;
    background-color: #fff;
}

.section-head-v2 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-head-v2 .subheading {
    color: var(--ms-blue);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.section-head-v2 h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--ms-dark);
    margin-bottom: 16px;
}

.section-head-v2 p {
    font-size: 18px;
    line-height: 1.6;

    &:first-of-type {
        color: var(--ms-dark);
    }

    &:last-of-type {
        color: var(--ms-gray);
        font-size: 16px;
        line-height: 24.8px;
    }
}

.metrics-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card-v2 {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.metric-card-v2 h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--ms-blue);
    margin-bottom: 8px;
}

.metric-card-v2 p {
    font-size: 16px;
    color: var(--ms-dark);
    font-weight: 500;
    margin: 0;
}

/* Deployment & Execution (Fold 3) */
.deployment-execution-outer {
    padding: 80px 0;
    background: url(../images/microsoft-surface-landing/why-us-bg.png);
    /* You can adjust gradient to match specific peach/purple if needed */
}

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

.feature-card-v2 {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card-v2:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.6);
}

.feature-number-v2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ms-gray);
    margin-bottom: 16px;
    display: block;
}

.feature-card-v2 h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ms-dark);
    margin-bottom: 12px;
}

.feature-card-v2 p {
    font-size: 15px;
    color: var(--ms-gray);
    line-height: 1.6;
    margin: 0;
}

/* Devices & Accessories (Folds 4 & 5) */
.devices-stock-outer {
    background-color: #fff;
}

.devices-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.device-card-v2 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.device-card-v2:hover {
    transform: translateY(-5px);
}

.device-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.device-image-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.device-image-wrap.bg-blueish {
    background-color: #e3e8fb;
}

.device-image-wrap.bg-pinkish {
    background-color: #fce8df;
}

.device-image-wrap.bg-light-blue {
    background-color: #e5ecfb;
}

.device-image-wrap.bg-pink-light {
    background-color: #fdeaf6;
}

.device-image-wrap.bg-greenish {
    background-color: #d1efe4;
}

.device-image-wrap.bg-blue-light {
    background-color: #d8edf3;
}

.device-info-wrap {
    padding: 24px 29px;
}

.device-tag {
    font-size: 12px;
    font-weight: 700;
    color: #0067b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.device-info-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.device-info-wrap p {
    font-size: 15px;
    color: #505050;
    margin-bottom: 16px;
    line-height: 1.5;
}

.device-specs {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eaeaea;
}

.device-specs li {
    font-size: 14px;
    color: #505050;
    margin-bottom: 4px;
}

.device-colors {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-dot.black {
    background-color: #2b2b2b;
}

.color-dot.platinum {
    background-color: #dcdcdc;
}

.color-dot.sapphire {
    background-color: #1a3d66;
}

.color-dot.dune {
    background-color: #c0b097;
}

.color-dot.ocean {
    background-color: #5ca1b4;
}

.color-dot.violet {
    background-color: #796c8a;
}

.color-label {
    font-size: 13px;
    color: #737373;
    margin-left: 4px;
}

.bg-light-purple {
    background-color: #f7f3ff;
}

.accessories-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.accessory-card-v2 {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.accessory-card-v2:hover {
    transform: translateY(-5px);
}

.accessory-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 12px;
    margin: 12px;
}

.accessory-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.accessory-info {
    padding: 0 24px 24px 24px;
}

.acc-category {
    font-size: 11px;
    font-weight: 700;
    color: #8c8c8c;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.accessory-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

/* Services Section */
.surface-services-outer {
    background-color: #fff;
}

.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card-v2 {
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: #f4f4f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card-v2 h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.service-card-v2 p {
    font-size: 15px;
    color: #505050;
    line-height: 1.6;
    margin: 0;
}

/* Partner Section */
.surface-partner-outer {
    background: #fff;
}

.partner-card-v2 {
    background: url(../images/microsoft-surface-landing/microsoft-partnership.png);
    background-size: cover;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.partner-left {
    width: 100%;
}

.partner-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.badge-icon {
    width: 48px;
    margin-top: 10px;
    flex-shrink: 0;
}

.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.partner-benefit-item {
    background: rgba(255, 255, 255, 0.55);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.partner-benefit-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    margin-top: 0;
}

.partner-benefit-item p {
    font-size: 13px;
    color: #404040;
    margin: 0;
    line-height: 1.6;
}


/* Contact Section — Full Dark Form */
.se-contact-dark {
    background: #000;
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.se-contact-dark::before {
    content: '';
    position: absolute;
    top: -19%;
    left: -8%;
    width: 600px;
    height: 800px;
    background: url('../images/smart-edge/Ellipse 1 .png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.se-contact-dark::after {
    content: '';
    position: absolute;
    top: -87px;
    right: 1%;
    width: 800px;
    height: 800px;
    background: url('../images/smart-edge/Ellipse 2.png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.se-contact-wrap {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.se-contact-left {
    width: 40%;
}

.se-contact-left h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 20px;
}

.se-contact-left p {
    color: #a1a1aa;
    font-size: 16px;
    line-height: 1.6;
}

.se-contact-right {
    width: 60%;
}

/* CF7 form layout */
.se-contact-right .wpcf7 form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Suppress CF7 line-breaks that break flex layout */
.se-contact-right .wpcf7 form br {
    display: none;
}

.se-contact-right .wpcf7 form > div,
.se-contact-right .wpcf7 form > p {
    width: 100%;
    margin-bottom: 0 !important;
    padding: 0;
}

.se-contact-right .wpcf7 form .form-group p {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.se-contact-right .wpcf7-form-control-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Pseudo-labels */
.se-contact-right .wpcf7-form-control-wrap[data-name]::before {
    color: #71717a;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.se-contact-right .wpcf7-form-control-wrap[data-name="full_name"]::before,.se-contact-right .wpcf7-form-control-wrap[data-name="fullname"]::before { content: "FULL NAME"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="phone"]::before { content: "PHONE"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="email"]::before { content: "EMAIL ADDRESS"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="job_title"]::before { content: "JOB TITLE"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="company"]::before { content: "COMPANY"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="city"]::before { content: "CITY"; }
.se-contact-right .wpcf7-form-control-wrap[data-name="message"]::before { content: "MESSAGE"; }

/* Half-width fields */
.se-contact-right .wpcf7 form .form-row:has([data-name="full_name"]),.se-contact-right .wpcf7 form .form-row:has([data-name="fullname"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="phone"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="job_title"]),
.se-contact-right .wpcf7 form .form-row:has([data-name="company"]),
.se-contact-right .wpcf7 form p:has([data-name="full_name"]),
.se-contact-right .wpcf7 form p:has([data-name="fullname"]),
.se-contact-right .wpcf7 form p:has([data-name="phone"]),
.se-contact-right .wpcf7 form p:has([data-name="job_title"]),
.se-contact-right .wpcf7 form p:has([data-name="company"]) {
    width: calc(50% - 10px);
}

.se-contact-right label {
    display: none;
}

/* Input styling */
.se-contact-right input[type="text"],
.se-contact-right input[type="email"],
.se-contact-right input[type="tel"],
.se-contact-right textarea {
    width: 100%;
    background: #1a1a1f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.se-contact-right input:focus,
.se-contact-right textarea:focus {
    border-color: #1983D9;
}

.se-contact-right textarea {
    min-height: 120px;
    resize: vertical;
}

.se-contact-right .wpcf7-submit {
    background: #1983D9;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.se-contact-right .wpcf7-submit:hover {
    background: #0093cc;
}

/* FAQ Section */
.se-faq-section {
    background: #fff;
}

.se-faq-wrap {
    display: flex;
    gap: 60px;
}

.se-faq-left {
    flex: 1;
}

.se-faq-right {
    flex: 2;
}

.se-faq-item {
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    cursor: pointer;
}

.se-faq-item-head {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.se-faq-item-head span {
    width: 24px;
    height: 24px;
    background: #f4f4f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.se-faq-item-head span::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231983D9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.se-faq-item.active .se-faq-item-head span::after {
    transform: rotate(180deg);
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}

.se-faq-item.active .se-faq-item-head span {
    background: #1983D9;
}

.se-faq-content {
    display: none;
    padding-top: 16px;
    font-size: 15px;
    color: #505050;
    line-height: 1.6;
}

/* CTA Banner */
.surface-cta-banner-v2 {
    background: #fff;
}

.cta-banner-inner {
    background-color: #eeecec;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    gap: 40px;
}

.cta-content {
    flex: 1;
    max-width: 520px;
    z-index: 2;
    position: relative;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-blue-v2 {
    display: inline-block;
    background: #0067b8;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-blue-v2:hover {
    background: #005a9e;
    color: #fff;
    text-decoration: none;
}

.btn-link-v2 {
    display: inline-block;
    color: #0067b8;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-link-v2:hover {
    color: #005a9e;
    text-decoration: underline;
}

.cta-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cta-image img {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */



@media (max-width: 991px) {
    .metrics-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .partner-card-v2 {
        flex-direction: column;
        gap: 30px;
    }

    .partner-right {
        position: relative;
        width: 100%;
        min-height: 300px;
    }

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

    .se-contact-wrap,
    .se-faq-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-image {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 40px;
    }

    .cta-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .hero-v2-main h1 {
        font-size: 36px;
    }

    .section-head-v2 h2 {
        font-size: 32px;
    }

    .metrics-grid-v2 {
        grid-template-columns: 1fr;
    }

    .features-grid-v2 {
        grid-template-columns: 1fr;
    }

    .devices-grid-v2 {
        grid-template-columns: 1fr;
    }

    .accessories-grid-v2 {
        grid-template-columns: 1fr;
    }

    .services-grid-v2 {
        grid-template-columns: 1fr;
    }

    .partner-benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .btn-link-v2 {
        margin-left: 0;
    }
}

@media(min-width: 992px) and (max-width: 1800px) {
    .partner-benefits-grid {
        width: 65%;
    }
}