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

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto",
    sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: #0f1419;
  overflow-x: hidden;
  text-align: center;
}

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

/* Header */
header {
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* Hero Section */
.hero {
  color: white;
  padding: 100px 0 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.homeTop {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  background: linear-gradient(to right, black 30%, #ffffff00 70%);
}

.head-contain {
  max-width: 1300px;
  padding: 0;
  margin: 0 auto;
}

.head-contain .first-div {
  padding: 40px 30px;
  text-align: left;
  position: absolute;
  transform: translate(10%, 7.5vw);
}

.head-contain .hero-description {
  color: #fff;
}

.head-contain .hero-content {
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.95; 
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  text-align: justify;
  max-width: 700px; 
}

.hero-image {
  width: 100%;
  max-width: 700px;
  height: 450px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

#connectBtn {
  background: #fff;
  color: #000;
  padding: 10px 15px 12px 15px;
  border-radius: 20px;
}

.hero-image img {
  object-fit: cover;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #060403;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
  font-weight: 700;
  max-width: 100%;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #94a3b8;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* How it Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  text-align: center;
  padding: 3rem 2rem;
  background: #15100c;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #fb7d5d, #000000);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fb7d5d, #000000);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.step p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Device Types */
.device-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.device-card {
  background: #15100c;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: all 0.3s ease;
}

.device-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.device-image {
  width: 100%;
  height: 250px;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.device-image img {
  object-fit: cover;
}

.device-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(67, 233, 123, 0.2);
  border-radius: 50%;
}

.device-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.device-card > p {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.device-list {
  text-align: left;
  margin-top: 1.5rem;
}

.device-list li {
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  list-style: none;
}

.device-list li::before {
  content: "";
  position: absolute;
  left: -15px;
  width: 20px;
  height: 20px;
  font-weight: bold;
  background-image: url("../images/sensor.png");
  background-size: 20px 20px;
  background-repeat: no-repeat;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.benefit {
  text-align: center;
  padding: 3rem 2rem;
  background: #15100c;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #fb7d5d, #000000);
}

.benefit:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.benefit-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.benefit p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Standards */
.standards-section {
  margin-bottom: 4rem;
}

.standards-category {
  margin-bottom: 4rem;
}

.standards-category h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.standards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.standard {
  text-align: center;
  padding: 2rem;
  background: #15100c;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.standard:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.standard-logo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #fb7d5d, #000000);
  border-radius: 15px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.standard h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.standard p {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.pricing-card {
  background: #15100c;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid #43e97b;
  box-shadow: 0 20px 60px rgba(67, 233, 123, 0.2);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  color: #43e97b;
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  color: #94a3b8;
}

.pricing-card ul {
  text-align: left;
  margin: 2rem 0;
  list-style: none;
}

.pricing-card ul li {
  margin-bottom: 0.8rem;
  color: #cbd5e1;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #43e97b;
  font-weight: bold;
}

/* Two Column Sections */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.content-block h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.content-block p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.visual-placeholder {
  background: #fff;
  height: 350px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

/* Operationalization Grid */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.ops-item {
  text-align: center;
  padding: 3rem 2rem;
  background: #15100c;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.ops-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ops-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.ops-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.ops-item p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: #43e97b;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .device-types {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

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

  .hero {
    padding: 120px 0 80px;
  }

  .section {
    padding: 60px 0;
  }
}

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

/* Loading animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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