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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto",
    sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
}

.integrations-hero {
  background: linear-gradient(135deg, #47a0ff 0%, #47a0ff 100%);
  padding-top: 10rem !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #ffffff;
  max-width: 100%;
  animation: slideInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.7;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 95%;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-integrations {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.hero-image-integrations:hover {
  transform: scale(1.02);
}

/* Floating elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(236, 244, 255, 0.269);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  right: -10%;
  animation-delay: -1s;
}

.floating-element-2 {
  width: 60px;
  height: 60px;
  bottom: 15%;
  left: -5%;
  animation-delay: -3s;
}

.floating-element-3 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 5%;
  animation-delay: -5s;
}

/* Cards Section */
.workflow-cards {
  margin-top: 4rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.cards-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cards-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 1350px;
  margin: 0 auto;
}

.workflow-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.workflow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.workflow-card:hover::before {
  transform: translateX(0);
}

.workflow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.card-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.card-icon i {
  font-size: 28px;
  color: white;
  z-index: 1;
}

.workflow-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.workflow-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(120deg);
  }

  66% {
    transform: translateY(-10px) rotate(240deg);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }

  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .workflow-cards {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .integrations-hero {
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 0 1.5rem;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
  }

  .hero-visual {
    order: 1;
    margin-top: 2rem;
  }

  .hero-content h1 {
    margin-bottom: 1.25rem;
  }

  .hero-content p {
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .floating-element {
    display: none;
  }

  .workflow-cards {
    margin-top: 2rem;
    padding: 0 1.5rem;
  }

  .cards-header {
    margin-bottom: 2rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .workflow-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .integrations-hero {
    padding: 0.5rem 0 1.5rem;
  }

  .hero-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-content h1 {
    margin-bottom: 1rem;
  }

  .hero-content p {
    margin-bottom: 1.5rem;
  }

  .workflow-cards {
    padding: 0 1rem;
  }

  .workflow-card {
    padding: 1.25rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .card-icon i {
    font-size: 24px;
  }

  .workflow-card h3 {
    font-size: 1.2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .hero-content h1 {
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
  }

  .workflow-card {
    background: #ffffff;
    border: 2px solid #000000;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Platform Showcase Section */
.platform-showcase {
  padding: 50px 0;
  background: #47a0ff;
  color: white;
  position: relative;
  overflow: hidden;
}

.platform-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.platform-showcase h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-showcase p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.platform-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.logo-item {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px 30px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  min-width: 150px;
}

.logo-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.869);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-item img {
  max-height: 40px;
  max-width: 100px;
  filter: brightness(0) invert(1);
}

/* Weather Integration Section */
.weather-integration {
  padding: 100px 0;
  background: linear-gradient(to bottom, #e3f2fd, #f8f9fa);
  position: relative;
}

.weather-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.weather-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 20px;
  line-height: 1.2;
}

.weather-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #1976d2, #42a5f5);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
  color: white;
  text-decoration: none;
}

.weather-integration {
  padding: -80px 0;
  background: #47a0ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.weather-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.weather-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.1;
}

.weather-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 700px;
}

.weather-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.weather-visual img {
  width: 800px;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: none !important;
  opacity: 1;
}

.weather-visual:hover img {
  transform: scale(1.01);
}

.integration-wrapper {
  text-align: center;
  margin-top: 10px;
}

.integration-wrapper h3 {
  font-size: 22px;
}

.integration-subtitle {
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.integration-image img {
  max-width: 100%;
  transform: translateY(50px);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .tools-video-wrapper {
    margin-bottom: 20px;
  }

  .integration-image img {
    transform: none;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .weather-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .weather-content h2 {
    font-size: 2.5rem;
  }
.weather-visual img{
    width: 100%;
    max-width: 600px;
  }

  .weather-content p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
  .logo-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0);
}
}

@media (max-width: 768px) {
  .weather-integration {
    padding: 80px 0;
    margin-top: 80px;
  }

  .weather-content h2 {
    font-size: 2rem;
  }

  .weather-content p {
    font-size: 1.1rem;
  }

  .weather-dashboard {
    max-width: 100%;
    padding: 15px;
  }

  .nav-menu {
    display: none;
  }
}

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

  .weather-content h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .weather-dashboard {
    padding: 12px;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .weather-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .platform-showcase h2 {
    font-size: 2.5rem;
  }

  .weather-content h2,
  .cmms-content h2,
  .accounting-content h2 {
    font-size: 2rem;
  }

  .integration-flow {
    flex-direction: column;
    gap: 15px;
  }

  .flow-arrow,
  .sync-arrow {
    transform: rotate(90deg);
  }

  .accounting-flow {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .platform-logos {
    gap: 20px;
  }

  .logo-item {
    padding: 15px 20px;
    min-width: 100px;
  }

  .platform-showcase h2 {
    font-size: 2rem;
  }

  .platform-showcase p {
    font-size: 1.1rem;
  }

  .weather-content h2,
  .cmms-content h2,
  .accounting-content h2 {
    font-size: 1.8rem;
  }

  .weather-content p,
  .cmms-content p,
  .accounting-content p {
    font-size: 1rem;
  }

  .utilize-core-hub {
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }

  .flow-item {
    padding: 20px;
    min-width: 100px;
  }
}

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

  .platform-logos {
    flex-direction: column;
    gap: 15px;
  }

  .logo-item {
    width: 100%;
    max-width: 200px;
  }
}
