/* ========================================
   VM2Cloud Design System
   Cross-Browser Compatible CSS
   Supports: Chrome, Firefox, Safari, Edge, IE11+
   ======================================== */

/* === CSS Custom Properties (Design Tokens) === */
:root {
  /* Brand Colors - Updated from Figma */
  --brand: #155DFC;
  --brand-hover: #0d4dd9;
  --brand-ink: #ffffff;
  --brand-light: #DBEAFE;
  --accent: #10a6d0;
  --accent-light: #dbeafe;
  --teal: #10a6d0;

  /* Neutral Colors - Updated from Figma */
  --bg: #FFFFFF;
  --bg-muted: #F9FAFB;
  --ink: #101828;
  --ink-primary: #000000;
  --ink-secondary: #495565;
  --ink-tertiary: #717182;
  --muted: #f9fafb;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  
  /* Figma Gradients */
  --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 50%, #F9FAFB 100%);
  --gradient-section: linear-gradient(117deg, #f9fafb 0%, #ffffff 100%);
  --gradient-cta: linear-gradient(117deg, var(--brand) 0%, var(--accent) 100%);
  
  /* Status Colors */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Border Radius - Updated from Figma */
  --radius: 8px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Layout */
  --maxw: 1200px;
  --maxw-figma: 896px;
  --space-section: clamp(3rem, 8vw, 5rem);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
}

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

html { 
  font-size: 100%;
  scroll-behavior: smooth;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arimo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* === Accessibility === */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: var(--brand);
  color: white;
  text-decoration: none;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

/* === Images === */
img { 
  max-width: 100%; 
  height: auto;
  display: block;
  border-style: none;
  vertical-align: middle;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em 0;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { 
  font-size: clamp(2rem, 5vw, 3rem); 
}

h2 { 
  font-size: clamp(1.75rem, 4vw, 2.25rem); 
}

h3 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 2rem;
}

/* === Layout Components === */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.row { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap;
}

.gap { gap: 1rem; }
.gap-sm { gap: 0.5rem; }
.gap-lg { gap: 2rem; }
.center-v { align-items: center; }
.space-between { justify-content: space-between; }
.text-center { text-align: center; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 32px;
  height: 52px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  font-family: 'Arimo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 10px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn.primary {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}

.btn.primary:hover {
  background: var(--brand-hover);
}

.btn.outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn.outline:hover {
  background: var(--muted);
  border-color: var(--brand);
}

.btn.large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  height: 60px;
}

.desktop-only {
  display: none;
}

@media (min-width: 900px) {
  .desktop-only {
    display: inline-flex;
  }
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  flex-shrink: 0;
}

/* Logo Icon Styles */
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.nav-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  -webkit-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.nav-logo .logo-image {
  height: 150px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 2rem;
}

.nav-menu {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .nav-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.nav-menu a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--brand);
}

.nav-menu a.btn {
  margin-left: 1rem;
}

.mobile-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.mobile-toggle:hover {
  background: var(--muted);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Menu */
@media (max-width: 899px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 1rem;
    -webkit-box-shadow: var(--shadow-lg);
    box-shadow: var(--shadow-lg);
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-menu a.btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

.nav-links {
  display: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

.nav-toggle {
  display: grid;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: var(--muted);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--muted);
}

.hidden {
  display: none !important;
}

/* === Hero Section === */
.hero-section {
  background: var(--gradient-hero);
  padding: var(--space-section) 0;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-content-simple {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* === OpenStack Diagram Section === */
.openstack-diagram {
  background: #ffffff;
  padding: var(--space-section) 0;
}

.diagram-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.openstack-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.diagram-caption {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
}

/* === Section Styles === */
.section {
  padding: var(--space-section) 0;
}

.section.bg-muted {
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.75;
}

/* === Cards Grid === */
.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .cards.grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.card {
  background: var(--card);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 280px;
}

.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon img {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.25rem;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
}

.card p {
  color: var(--ink-tertiary);
  margin: 0;
  line-height: 1.625;
  font-size: 1rem;
}

/* === Use Cases === */
.use-cases {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .use-cases {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

.use-case-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1), 0px 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.use-case-header {
  margin-bottom: 1.5rem;
}

.use-case-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
  font-weight: 600;
}

.use-case-header p {
  color: var(--ink-tertiary);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.use-case-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.use-case-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #354152;
  font-size: 0.875rem;
  font-weight: 400;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* === Testimonial Section === */
.testimonial-section {
  background: var(--accent);
  padding: var(--space-section) 0;
  color: var(--brand-ink);
}

.testimonial-content {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-quote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--brand-ink);
  margin: 0 auto 2rem;
  max-width: 800px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: #daeafe;
  margin: 0;
}

.author-title {
  font-size: 0.875rem;
  color: #bddaff;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand-ink);
}

.stat-label {
  font-size: 0.875rem;
  color: #bddaff;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* === Footer === */
.footer {
  background: var(--muted);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.footer-column p {
  color: var(--ink-tertiary);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--ink);
}

.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--brand);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

.social-links img {
  width: 20px;
  height: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--ink-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--ink-tertiary);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: var(--ink-tertiary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--brand);
}

/* === Company Page Styles === */
.company-hero {
  min-height: 40vh;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}

.grid-3 {
  display: -ms-grid;
  display: grid;
  gap: 2rem;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    -ms-grid-columns: 1fr 2rem 1fr;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    -ms-grid-columns: 1fr 2rem 1fr 2rem 1fr;
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--teal);
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

.active {
  color: var(--brand) !important;
  font-weight: 600;
}


/* === Responsive Utilities === */
@media (max-width: 899px) {
  .hero-section {
    min-height: auto;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* === Focus Styles for Accessibility === */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* === Print Styles === */
@media print {
  .nav,
  .mobile-menu,
  .nav-toggle,
  .cta-section,
  footer {
    display: none;
  }
}

/* ========================================
   NEW STYLES FOR UPDATED INDEX PAGE
   ======================================== */

/* Hero Section - Centered */
.hero-content-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.hero-content-centered h1 {
  font-family: 'Arimo', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.hero-content-centered .hero-description {
  font-family: 'Arimo', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 1rem 2.5rem;
  height: 52px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  -webkit-transition: all var(--transition-base);
  -o-transition: all var(--transition-base);
  transition: all var(--transition-base);
}

.btn.secondary:hover {
  background: var(--brand);
  color: white;
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* Services Section */
.services-section {
  background: #ffffff;
  padding: 5rem 0;
}

.services-section .section-title {
  font-family: 'Arimo', sans-serif;
  font-size: clamp(1.75rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-primary);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.61;
}

.section-subtitle {
  font-family: 'Arimo', sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--ink-primary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.diagram-container {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.openstack-diagram-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Management Section - Features Grid */
.management-section {
  background: linear-gradient(117deg, #f9fafb 0%, #ffffff 100%);
  padding: 5rem 0;
}

.features-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  -ms-grid-columns: (minmax(280px, 1fr))[auto-fit];
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  -webkit-transition: all var(--transition-base);
  -o-transition: all var(--transition-base);
  transition: all var(--transition-base);
}

.feature-card:hover {
  -webkit-box-shadow: var(--shadow-lg);
  box-shadow: var(--shadow-lg);
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  display: block;
}

.feature-card h3 {
  font-family: 'Arimo', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feature-card p {
  font-family: 'Arimo', sans-serif;
  color: var(--ink-primary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* Use Cases Section */
.use-cases-section {
  background: #ffffff;
  padding: 5rem 0;
}

.use-cases-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.use-case-item {
  background: #f9fafb;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  -webkit-transition: all var(--transition-base);
  -o-transition: all var(--transition-base);
  transition: all var(--transition-base);
}

.use-case-item:hover {
  border-color: var(--brand);
  -webkit-box-shadow: var(--shadow-md);
  box-shadow: var(--shadow-md);
}

.use-case-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.use-case-description {
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.use-case-features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.use-case-features li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
}

.use-case-features svg {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

/* Testimonial Section */
.testimonial-section {
  background: linear-gradient(117deg, #eff6ff 0%, #ffffff 100%);
  padding: 5rem 0;
}

.testimonials-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  -ms-grid-columns: (minmax(300px, 1fr))[auto-fit];
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 200px;
  -webkit-transition: all var(--transition-base);
  -o-transition: all var(--transition-base);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  -webkit-box-shadow: var(--shadow-md);
  box-shadow: var(--shadow-md);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

.testimonial-quote {
  margin: 0 0 2rem 0;
  padding: 0;
  border: none;
}

.testimonial-quote p {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.testimonial-source {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.testimonial-source a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.testimonial-source a:hover {
  text-decoration-color: var(--brand);
}

.testimonial-author {
  margin-top: 1.5rem;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--ink-secondary);
  font-size: 0.875rem;
}

.testimonial-stats {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  -ms-grid-columns: (minmax(150px, 1fr))[auto-fit];
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(117deg, var(--brand) 0%, var(--accent) 100%);
  padding: 5rem 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.btn.outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2.5rem;
  height: 52px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  -webkit-transition: all var(--transition-base);
  -o-transition: all var(--transition-base);
  transition: all var(--transition-base);
}

.btn.outline-white:hover {
  background: white;
  color: var(--brand);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
}

.btn.large {
  padding: 1.25rem 3rem;
  height: 60px;
  font-size: 1.125rem;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .hero-content-centered {
    padding: 2rem 0;
  }
  
  .hero-buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-stats {
    grid-template-columns: 1fr;
    -ms-grid-columns: 1fr;
  }
  
  .cta-buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

