:root {
  --blue: #1E6FF6;
  --blue-600: #1565D8;
  --bg: #ffffff;
  --muted: #6B7280;
  --light: #F5F7FA;
  --card: #FFFFFF;
  --dark: #0b1220;
  --radius: 14px;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 6px 24px rgba(19,24,33,0.06);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #0f1724;
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
}

/* Header */
header {
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.6));
  border-bottom: 1px solid rgba(16,24,32,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--blue-600);
}

.logo .dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--blue),var(--blue-600));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s ease;
}

nav a:hover {
  color: var(--blue-600);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--blue);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(30,111,246,0.14);
  transition: transform .15s ease;
}

.cta:hover {
  transform: translateY(-3px);
}

/* Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
}

@media (max-width:900px) {
  .container {
    padding: 18px;
  }
  nav ul {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
  padding: 64px 0;
}

.hero h1 {
  font-family: 'Poppins',sans-serif;
  font-size: 44px;
  margin: 0 0 12px;
  line-height: 1.05;
  color: #071033;
}

.hero p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 52ch;
}

.hero .actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.btn.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 28px rgba(30,111,246,0.12);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(16,24,32,0.06);
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(180deg, white, #fbfdff);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16,24,32,0.04);
}

.device {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg,#eef6ff, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  text-align: center;
  padding: 20px;
}

.device .city {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.device .weather-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.device .temp, .device .humidity {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--blue-600);
}

/* Services grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 48px 0;
}

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(16,24,32,0.04);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(16,24,32,0.08);
}

.k {
  font-weight: 700;
  color: var(--blue-600);
  display: inline-block;
  margin-bottom: 8px;
}

/* About */
.about {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 42px 0;
}

.about p {
  color: var(--muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin: 26px 0;
}

.stat {
  background: linear-gradient(180deg,white,#fbfdff);
  padding: 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat h3 {
  margin: 0;
  font-size: 22px;
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 600;
}

/* Pricing */
.pricing {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 40px 0;
}

.price-card {
  flex: 1;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(180deg,#fff,#fbfdff);
  border: 1px solid rgba(16,24,32,0.04);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.price-card:not(.pop):hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(19, 24, 33, 0.08);
}

.price-card.pop {
  transform: translateY(-8px);
  border: 2px solid var(--blue);
  box-shadow: 0 20px 48px rgba(30,111,246,0.12);
}

.price-card.pop:hover {
  transform: translateY(-15px);
  box-shadow: 0 24px 56px rgba(30,111,246,0.16);
}

.price-tier {
  font-weight: 700;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 10px;
}

.price {
  font-family: Poppins, sans-serif;
  font-size: 32px;
  margin: 8px 0;
}

.features {
  color: var(--muted);
  margin: 12px 0;
}

/* Testimonials */
.testi {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 34px 0;
}

.quote {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16,24,32,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(19, 24, 33, 0.08);
}

/* Blog */
.blog {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 28px 0;
}

.post {
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(19, 24, 33, 0.1);
}

.post.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.post.fade-in:hover {
  transform: translateY(-5px);
}

/* CTA banner */
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(90deg,var(--blue),var(--blue-600));
  color: white;
  margin: 36px 0;
}

/* Footer */
footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.02);
}

footer a {
  color: #CFE7FF;
  text-decoration: none;
}

/* Responsiveness */
@media (max-width:1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2,1fr);
  }
  .stats {
    grid-template-columns: repeat(2,1fr);
  }
  .testi {
    grid-template-columns: repeat(2,1fr);
  }
  .blog {
    grid-template-columns: repeat(2,1fr);
  }
  .pricing {
    flex-direction: column;
  }
}

@media (max-width:640px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .testi {
    grid-template-columns: 1fr;
  }
  .blog {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Text content styling for readability */
.text-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.text-content h1 {
  margin-bottom: 1em;
}

.text-content p {
  line-height: 1.7;
  margin-bottom: 1.5em;
  font-size: 1.1rem;
}

/* subtle utility */
.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

a {
  transition: opacity .15s ease;
}

.hero-with-bg {
  position: relative;
  background-image: url('https://cdgsqomnsrssqeshhetg.supabase.co/storage/v1/object/public/Image%20web/Hero%20Web%202.png');
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 80px 40px;
}

.hero-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-with-bg > * {
  position: relative;
  z-index: 2;
}

.hero-with-bg h1 {
  color: white;
}

.hero-with-bg p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-with-bg .hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.hero-with-bg .hero-card .muted {
  color: rgba(255, 255, 255, 0.7);
}

.hero-with-bg .hero-card .device {
  background: transparent;
}

.hero-with-bg .hero-card .device .city {
  color: white;
}

.hero-with-bg .hero-card .device .temp, .hero-with-bg .hero-card .device .humidity {
  color: white;
}

.hero-with-bg .btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
}
