@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand-primary: #0078D4;
  --brand-secondary: #50E6FF;
  --brand-accent: #106EBE;
  --brand-bg: #FFFFFF;
  --brand-lightGray: #F3F4F6;
  --brand-text: #111827;
  --brand-subText: #6B7280;
  --brand-border: #E5E7EB;
  --brand-hover: #005A9E;
  
  --mouse-x: 0px;
  --mouse-y: 0px;
}

/* Custom Scrollbar styled in Windows 11 design */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
  border-left: 1px solid #E5E7EB;
}
::-webkit-scrollbar-thumb {
  background: #C3C7CA;
  border: 3px solid #F3F4F6;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8A8E91;
}

body {
  font-family: "Segoe UI Variable Text", "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", "Inter", "system-ui", -apple-system, sans-serif;
  color: var(--brand-text);
  background-color: var(--brand-bg);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Base Fluent typography rules */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

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

/* Fluent Acrylic/Glassmorphism Styles */
.fluent-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.fluent-glass-dark {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fluent-glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04), 
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Fluent Card Reveal Glow Border Effect */
.reveal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.3s;
}

.reveal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(0, 120, 212, 0.25),
    transparent 80%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.reveal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x) var(--mouse-y),
    rgba(80, 230, 255, 0.05),
    transparent 80%
  );
  pointer-events: none;
  z-index: 1;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite;
}

/* Background mesh gradients */
.mesh-gradient-bg {
  background-color: #ffffff;
  background-image: 
    radial-gradient(at 10% 20%, rgba(80, 230, 255, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(0, 120, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(80, 230, 255, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 90%, rgba(0, 120, 212, 0.05) 0px, transparent 40%);
  background-size: 100% 100%;
}

.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 230, 255, 0.15) 0%, rgba(0, 120, 212, 0.03) 70%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.12) 0%, rgba(80, 230, 255, 0.02) 75%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
}

/* Scroll reveal classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom slider custom tracker style */
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.marquee-content {
  display: flex;
  gap: 4rem;
  animation: scroll-marquee 40s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Custom interactive browser mockup styles */
.browser-chrome {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 
              inset 0 1px 0 rgba(255, 255, 255, 0.8),
              0 0 0 1px rgba(0, 0, 0, 0.04);
}

.tab-active {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Magnetic Button support helper */
.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Glowing text and premium gradients */
.premium-gradient-text {
  background: linear-gradient(135deg, #0078D4 0%, #106EBE 40%, #50E6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 20px 40px rgba(80, 230, 255, 0.05);
}

.premium-gradient-bg {
  background: linear-gradient(135deg, #0078D4 0%, #106EBE 100%);
}

.premium-card-border {
  position: relative;
}

.premium-card-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.1) 60%, rgba(0,120,212,0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Animated Underline for Navigation */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--brand-primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ==========================================================================
   CONSOLIDATED MODULE STYLES (Extracted from components)
   ========================================================================== */

/* Global / Helper Styles */
[x-cloak] {
  display: none !important;
}

/* Header Styles (header.php) */
.ms-edge-header,
.ms-edge-header * {
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.ms-edge-brand-title {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}

/* Hero Styles (hero.php) */
.edge-hero,
.edge-hero * {
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-hero h1 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
@media (max-width: 767px) {
  .edge-hero {
    min-height: 720px;
  }
}

/* Copilot Showcase Styles (features.php) */
.copilot-showcase,
.copilot-showcase * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.copilot-showcase h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.copilot-motion-content {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 80ms linear;
}
@media (max-width: 767px) {
  .copilot-showcase>div:first-child img {
    object-position: center center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .copilot-motion-content {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Workflow Main Pages (workflow.php) */
.edge-page,
.edge-page * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-page h2,
.edge-page h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-card-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
}
.edge-section-bg {
  background: #fff7f1;
}

/* AI Innovations Styles */
.edge-ai-section,
.edge-ai-section * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-ai-section h2,
.edge-ai-section h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-ai-card {
  display: flex;
  min-height: 405px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.035);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08), 0 18px 36px rgba(0, 0, 0, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.edge-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1), 0 24px 44px rgba(0, 0, 0, 0.08);
}
.edge-ai-card-image {
  margin: 16px 16px 0;
  height: 225px;
  overflow: hidden;
  border-radius: 13px;
  background: #f4f1ee;
}
.edge-ai-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edge-ai-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 17px 22px 20px;
  text-align: center;
}
.edge-ai-card-content h3 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.edge-ai-card-content p {
  min-height: 46px;
  margin-top: 13px;
  color: #202020;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}
.edge-ai-card-content a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid #dddddd;
  border-radius: 11px;
  background: #ffffff;
  color: #171717;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.edge-ai-card-content a:hover {
  border-color: #c7c7c7;
  background: #f8f8f8;
  transform: translateY(-1px);
}
@media (max-width: 1199px) {
  .edge-ai-card-image {
    height: 210px;
  }
}
@media (max-width: 767px) {
  .edge-ai-section {
    padding-top: 95px;
    padding-bottom: 95px;
  }
  .edge-ai-card {
    min-height: auto;
  }
  .edge-ai-card-image {
    height: 260px;
  }
}
@media (max-width: 479px) {
  .edge-ai-card-image {
    height: 220px;
  }
}

/* Feature Stack Styles */
.edge-feature-stack,
.edge-feature-stack * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-feature-stack h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
@media (max-width: 1023px) {
  .edge-feature-stack {
    padding-top: 20px;
  }
}
@media (max-width: 767px) {
  .edge-feature-stack {
    padding-bottom: 95px;
  }
  .edge-feature-stack h2 {
    font-size: 34px;
  }
  .edge-feature-stack>div {
    row-gap: 90px;
  }
}
@media (max-width: 479px) {
  .edge-feature-stack h2 {
    font-size: 31px;
  }
  .edge-feature-stack p {
    font-size: 16px;
  }
}

/* Performance Section Styles */
.edge-performance-section,
.edge-performance-section * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-performance-section h2,
.edge-performance-section h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
@media (max-width: 1023px) {
  .edge-performance-section h2 {
    margin-bottom: 42px;
  }
  .edge-performance-section h3,
  .edge-performance-section p,
  .edge-performance-section ul {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .edge-performance-section {
    padding-top: 85px;
    padding-bottom: 90px;
  }
  .edge-performance-section h2 {
    font-size: 34px;
  }
  .edge-performance-section h3 {
    font-size: 34px;
  }
  .edge-performance-section>div>div {
    gap: 38px;
  }
}
@media (max-width: 479px) {
  .edge-performance-section h2 {
    font-size: 30px;
  }
  .edge-performance-section h3 {
    font-size: 31px;
  }
  .edge-performance-section p {
    font-size: 16px;
  }
}

/* "Do More" Styles */
.edge-do-more,
.edge-do-more * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-do-more h2,
.edge-do-more h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-do-more-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.035);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08), 0 18px 32px rgba(0, 0, 0, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.edge-do-more-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1), 0 24px 40px rgba(0, 0, 0, 0.08);
}
.edge-do-more-image {
  height: 250px;
  margin: 16px 16px 0;
  overflow: hidden;
  border-radius: 13px;
  background: #f1f1f1;
}
.edge-do-more-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edge-do-more-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 16px 18px 21px;
  text-align: center;
}
.edge-do-more-content h3 {
  margin: 0;
  color: #111111;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.edge-do-more-content p {
  min-height: 54px;
  margin-top: 14px;
  color: #202020;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
.edge-do-more-content a {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid #dddddd;
  border-radius: 11px;
  background: #ffffff;
  color: #171717;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.edge-do-more-content a:hover {
  border-color: #c8c8c8;
  background: #f7f7f7;
  transform: translateY(-1px);
}
@media (max-width: 767px) {
  .edge-do-more {
    padding-top: 85px;
    padding-bottom: 90px;
  }
  .edge-do-more h2 {
    font-size: 34px;
  }
  .edge-do-more-card {
    min-height: auto;
  }
  .edge-do-more-image {
    height: 275px;
  }
}
@media (max-width: 479px) {
  .edge-do-more h2 {
    font-size: 31px;
  }
  .edge-do-more-image {
    height: 235px;
  }
}

/* Unlock Carousel Styles */
.edge-unlock-carousel,
.edge-unlock-carousel * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-unlock-carousel h2,
.edge-unlock-carousel h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-unlock-slide {
  border: 1px solid rgba(0, 0, 0, 0.025);
}
@media (max-width: 1023px) {
  .edge-unlock-carousel [x-data]>div {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .edge-unlock-carousel {
    padding-top: 85px;
    padding-bottom: 90px;
  }
  .edge-unlock-carousel h2 {
    font-size: 34px;
  }
  .edge-unlock-slide {
    width: calc(100vw - 42px);
    min-height: auto;
  }
  .edge-unlock-slide>div {
    display: flex;
    flex-direction: column;
  }
  .edge-unlock-slide>div>div:first-child {
    order: 2;
    padding-top: 10px;
    padding-bottom: 38px;
  }
  .edge-unlock-slide>div>div:last-child {
    order: 1;
    min-height: auto;
    padding-top: 35px;
    padding-bottom: 18px;
  }
  .edge-unlock-slide a {
    margin-top: 26px;
  }
}
@media (max-width: 479px) {
  .edge-unlock-carousel h2 {
    font-size: 31px;
  }
  .edge-unlock-slide h3 {
    font-size: 27px;
  }
  .edge-unlock-slide p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edge-unlock-carousel * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Device CTA & Legal Strip Styles */
.edge-device-cta,
.edge-device-cta *,
.edge-legal-strip,
.edge-legal-strip * {
  box-sizing: border-box;
  font-family: "Segoe UI Variable Text", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-device-cta h2 {
  font-family: "Segoe UI Variable Display", "Segoe UI", SegoeUI, Arial, sans-serif;
}
.edge-device-main {
  background: linear-gradient(180deg, #fff7f1 0%, #fff8f3 50%, #f8f5f2 100%);
}
.edge-device-gradient {
  background: linear-gradient(180deg, #e5eef5 0%, #c9dfef 48%, #afd1e9 100%);
}
@media (max-width: 767px) {
  .edge-device-main {
    padding-top: 70px;
    padding-bottom: 80px;
  }
  .edge-device-cta h2 {
    font-size: 34px;
  }
  .edge-device-cta p {
    font-size: 16px;
  }
  .edge-device-gradient {
    height: 85px;
  }
}
@media (max-width: 479px) {
  .edge-device-cta h2 {
    font-size: 31px;
  }
  .edge-device-cta img {
    width: 82px;
    height: 82px;
  }
}

