/* EditShare FLEX Cloud Page Styles */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== MAIN CONTAINER ===== */
.cloud {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  background-image: url('../editshare_img/cloud-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 50%, rgba(6, 182, 212, 0.4) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-width: 140px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-color: #f59e0b;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn:not(.btn--primary):not(.btn--ghost) {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn:not(.btn--primary):not(.btn--ghost):hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  text-align: center;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ===== VALUE PROPS ===== */
.vprops {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.vprop {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vprop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.vprop:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vprop:hover::before {
  transform: scaleX(1);
}

.vprop h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.vprop p {
  color: #64748b;
  line-height: 1.6;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.card__text {
  color: #64748b;
  line-height: 1.6;
}

/* ===== INCLUDED ICONS ===== */
.inc__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.inc__icon i {
  font-size: 2.5rem;
  color: white;
  transition: all 0.3s ease;
}

.inc__icon--flow {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.inc__icon--efs {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.inc__icon--workstations {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.inc__icon--transfer {
  background: linear-gradient(135deg, #10b981, #059669);
}

.inc__icon--manage {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card:hover .inc__icon {
  transform: scale(1.1) rotate(5deg);
}

/* ===== DIAGRAM SECTION ===== */
.diagram {
  background: #f8fafc;
  border-radius: 30px;
  padding: 4rem 2rem;
}

.diagram__figure {
  text-align: center;
  margin-top: 2rem;
}

.diagram__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.diagram__caption {
  margin-top: 1.5rem;
  color: #6b7280;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== LOGOS ===== */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 3rem;
}

.logos li {
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.logos li:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.logos img {
  height: 50px;
  width: auto;
  max-width: 120px;
}

/* ===== HYBRID SECTION ===== */
.hybrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hybrid__col--text .section__title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hybrid__col--text .section__lead {
  text-align: left;
  margin-bottom: 2rem;
}

.bullets {
  list-style: none;
  padding: 0;
}

.bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #4b5563;
}

.bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}

.hybrid__col--image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ===== STORY SECTION ===== */
.story {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.8)), url('../editshare_img/story-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(59, 130, 246, 0.2));
  z-index: 1;
}

.story__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.story__kicker {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.story__quote {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* ===== FAQ ===== */
.faq {
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.faq__q {
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.3s ease;
  position: relative;
  color: #000;
}

.faq__q:hover {
  background: #f1f5f9;
}

.faq__q::after {
  content: '+';
  position: absolute;
  right: 2rem;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 2rem 1.5rem;
  color: #6b7280;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta__text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero {
      min-height: 60vh;
      padding: 2rem 1rem;
  }
  
  .hero__cta {
      flex-direction: column;
      align-items: center;
  }
  
  .section {
      padding: 3rem 1rem;
  }
  
  .vprops {
      padding: 3rem 1rem;
      grid-template-columns: 1fr;
  }
  
  .cards {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
  
  .hybrid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .hybrid__col--text .section__title,
  .hybrid__col--text .section__lead {
      text-align: center;
  }
  
  .logos {
      gap: 2rem;
  }
  
  .logos img {
      height: 40px;
  }
  
  .story {
      padding: 3rem 1rem;
  }
  
  .cta {
      padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero__content {
      padding: 0 1rem;
  }
  
  .btn {
      padding: 0.75rem 1.5rem;
      font-size: 0.9rem;
      min-width: 120px;
  }
  
  .vprop,
  .card {
      padding: 2rem 1.5rem;
  }
  
  .logos {
      gap: 1.5rem;
  }
  
  .faq__q,
  .faq__a {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
  }
}