* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ms-blue: #0067b8;
    --ms-blue-dark: #005da6;
    --ms-orange: #d83b01;
    --ms-green: #107c10;
    --ms-gray-50: #f8f8f8;
    --ms-gray-100: #f2f2f2;
    --ms-gray-200: #e6e6e6;
    --ms-gray-300: #d9d9d9;
    --ms-gray-400: #b3b3b3;
    --ms-gray-500: #8a8a8a;
    --ms-gray-600: #616161;
    --ms-gray-700: #444444;
    --ms-gray-800: #333333;
    --ms-gray-900: #1a1a1a;
    --ms-white: #ffffff;
    --ms-black: #000000;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ms-gray-900);
    background-color: var(--ms-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--ms-black);
    color: var(--ms-white);
    border-color: var(--ms-black);
}

.btn-primary:hover {
    background-color: #262626;
    border-color: #262626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ms-black);
    border-color: var(--ms-black);
}

.btn-secondary:hover {
    background-color: var(--ms-gray-900);
    color: var(--ms-white);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.navbar {
    position: sticky;
    top: 0;
    background: var(--ms-white);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--ms-gray-200);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ms-gray-900);
    flex-shrink: 0;
}

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 13px 10px;
    font-size: 13px;
    color: var(--ms-gray-800);
    font-weight: 400;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    height: 1px;
    background-color: var(--ms-black);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast);
}

.nav-menu li a:hover::after {
    transform: scaleX(1);
}

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

.nav-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 13px 10px;
    font-size: 13px;
    color: var(--ms-gray-800);
    transition: color var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
}

.nav-icon:hover {
    color: var(--ms-black);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--ms-gray-900);
    transition: all var(--transition-fast);
}

.hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 20, 40, 0.75) 0%, rgba(10, 20, 40, 0.45) 40%, rgba(10, 20, 40, 0.15) 70%, transparent 100%);
    z-index: 1;
}

.hero-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
    padding: 80px 0;
    color: var(--ms-white);
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--ms-blue);
    color: var(--ms-white);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.8px;
    color: var(--ms-white);
}

.hero-content p {
    font-size: clamp(15px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.65;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-ghost {
    background-color: transparent;
    color: var(--ms-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
    background-color: var(--ms-white);
    color: var(--ms-black);
    border-color: var(--ms-white);
    transform: translateY(-1px);
}

.hero-image {
    display: none;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quick-links {
    padding: 48px 0;
    background-color: var(--ms-white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.quick-link:hover {
    background-color: var(--ms-gray-50);
    transform: translateY(-4px);
}

.quick-link svg {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.quick-link:hover svg {
    transform: scale(1.1);
}

.quick-link span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ms-gray-800);
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    color: var(--ms-gray-900);
}

.product-cards {
    padding: 16px 0 64px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: var(--ms-gray-100);
    border-radius: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--ms-gray-200);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background-color: var(--ms-orange);
    color: var(--ms-white);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ms-gray-900);
}

.card p {
    font-size: 14px;
    color: var(--ms-gray-700);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.card-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ms-blue);
    transition: all var(--transition-fast);
    position: relative;
}

.btn-link::after {
    content: '→';
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.btn-link:hover {
    color: var(--ms-blue-dark);
}

.btn-link:hover::after {
    transform: translateX(4px);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-banner {
    padding: 32px 0 64px;
    background-color: var(--ms-white);
}

.feature-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(135deg, #0078d4 0%, #00509d 100%);
    border-radius: 0;
    overflow: hidden;
    min-height: 480px;
    gap: 0;
}

.feature-banner-content {
    padding: 64px;
    color: var(--ms-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInLeft 0.8s ease both;
}

.feature-banner-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.feature-banner-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.feature-banner-content .btn-primary {
    background-color: var(--ms-white);
    color: var(--ms-gray-900);
    border-color: var(--ms-white);
    align-self: flex-start;
}

.feature-banner-content .btn-primary:hover {
    background-color: #f2f2f2;
    color: var(--ms-black);
}

.feature-banner-image {
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
    animation: slideInRight 0.8s ease both;
}

.feature-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-section {
    padding: 16px 0 64px;
    background-color: var(--ms-white);
}

.ai-banner {
    padding: 32px 0 64px;
    background-color: var(--ms-white);
}

.ai-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-radius: 0;
    overflow: hidden;
    min-height: 480px;
    gap: 0;
}

.ai-banner-image {
    width: 100%;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
    order: 1;
    animation: slideInLeft 0.8s ease both;
}

.ai-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-banner-content {
    padding: 64px;
    color: var(--ms-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
    animation: slideInRight 0.8s ease both;
}

.ai-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ms-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ai-banner-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ai-banner-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.ai-banner-content .btn-primary {
    background-color: var(--ms-white);
    color: var(--ms-gray-900);
    border-color: var(--ms-white);
}

.ai-banner-content .btn-primary:hover {
    background-color: #f2f2f2;
    color: var(--ms-black);
}

.ai-banner-content .btn-secondary {
    color: var(--ms-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.ai-banner-content .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--ms-white);
    border-color: var(--ms-white);
}

.news-section {
    padding: 16px 0 64px;
    background-color: var(--ms-gray-50);
}

.news-section .section-title {
    margin-bottom: 24px;
}

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

.news-card {
    background-color: var(--ms-white);
    border-radius: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.news-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: var(--ms-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ms-gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--ms-gray-700);
    margin-bottom: 16px;
    line-height: 1.5;
    flex: 1;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ms-blue);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.news-card:hover .news-link {
    color: var(--ms-blue-dark);
    transform: translateX(4px);
}

.social-section {
    padding: 32px 0;
    background-color: var(--ms-white);
}

.social-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.social-inner > span {
    font-size: 15px;
    font-weight: 600;
    color: var(--ms-gray-800);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--ms-gray-100);
    transform: translateY(-2px) scale(1.1);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.footer {
    background-color: var(--ms-gray-100);
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    padding-bottom: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ms-gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--ms-gray-600);
    transition: color var(--transition-fast);
    line-height: 1.2;
}

.footer-col ul li a:hover {
    color: var(--ms-gray-900);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0 32px;
    border-top: 1px solid var(--ms-gray-200);
    flex-wrap: wrap;
}

.footer-bottom-left {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.footer-lang,
.footer-sitemap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ms-gray-600);
    transition: color var(--transition-fast);
}

.footer-lang:hover,
.footer-sitemap:hover {
    color: var(--ms-gray-900);
    text-decoration: underline;
}

.footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}

.footer-bottom-right a {
    font-size: 13px;
    color: var(--ms-gray-600);
    transition: color var(--transition-fast);
}

.footer-bottom-right a:hover {
    color: var(--ms-gray-900);
    text-decoration: underline;
}

.footer-bottom-right span {
    font-size: 13px;
    color: var(--ms-gray-600);
}

@media (max-width: 1280px) {
    .nav-menu li:nth-child(n+7) a {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .nav-icon span {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 520px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(10, 20, 40, 0.8) 0%, rgba(10, 20, 40, 0.55) 50%, rgba(10, 20, 40, 0.25) 100%);
    }

    .hero-content {
        padding: 64px 0;
        max-width: 100%;
    }

    .hero-image {
        order: -1;
    }

    .quick-links-grid {
        grid-template-columns: repeat(5, 1fr);
    }

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

    .feature-banner-inner,
    .ai-banner-inner {
        grid-template-columns: 1fr;
    }

    .ai-banner-image {
        order: -1;
        min-height: 360px;
    }

    .feature-banner-content,
    .ai-banner-content {
        padding: 48px;
    }

    .feature-banner-image {
        min-height: 360px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .nav-container {
        padding: 0 16px;
    }

    .hero {
        min-height: 480px;
    }

    .hero-wrapper {
        padding: 0 16px;
    }

    .hero-content {
        padding: 48px 0;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(10, 20, 40, 0.3) 0%, rgba(10, 20, 40, 0.75) 60%, rgba(10, 20, 40, 0.9) 100%);
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .nav-icon {
        padding: 13px 8px;
    }

    .quick-links {
        padding: 32px 0;
    }

    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .quick-link {
        padding: 16px 8px;
    }

    .quick-link svg {
        width: 32px;
        height: 32px;
    }

    .quick-link span {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .feature-banner-content,
    .ai-banner-content {
        padding: 32px;
    }

    .feature-banner-content h2,
    .ai-banner-content h2 {
        font-size: 24px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom-right {
        gap: 12px 20px;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-link:nth-child(5) {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 440px;
    }

    .hero-content {
        padding: 36px 0;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .logo span {
        display: none;
    }

    .feature-banner-content,
    .ai-banner-content {
        padding: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }
}
