:root {
  --bg-primary: #f5faf7;
  --accent-green: #2d6a4f;
  --text-dark: #1b4332;
  --glass: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.5);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  background-image: radial-gradient(#d8e2dc 1px, transparent 1px);
  background-size: 40px 40px;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* --- HERO SECTION --- */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
}

.floating-logo {
  width: 90px;
  margin-bottom: 20px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.glient-text {
  font-size: clamp(2rem, 8vw, 3.5rem); /* Flexible size */
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #1b4332 0%, #40916c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #52796f;
  margin-top: 10px;
}

/* --- ADAPTIVE BENTO GRID --- */
.bento-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for large screens */
  grid-auto-rows: 170px;
  gap: 20px;
}

.bento-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 25px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: #ffffff;
  border-color: var(--accent-green);
  box-shadow: 0 25px 50px rgba(45, 106, 79, 0.1);
}

/* CARD LAYOUT LOGIC */
.ai-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
}

.weather-feature, .reg-feature {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.tool-item {
  grid-column: span 1;
  text-align: center;
}

/* ELEMENTS */
.tag {
  background: #d8f3dc;
  color: var(--accent-green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  width: fit-content;
}

.emoji-big { font-size: 4.5rem; margin-bottom: 15px; }
.emoji-mid { font-size: 2.8rem; }
.emoji { font-size: 2rem; margin-bottom: 10px; display: block; }

.go-btn {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-green);
  font-size: 0.95rem;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
  .bento-wrapper {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }
  .ai-feature { grid-column: span 3; } /* Hero card takes full width */
}

/* Mobile Devices */
@media (max-width: 768px) {
  .bento-wrapper {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-auto-rows: 150px;
  }
  .ai-feature, .weather-feature, .reg-feature {
    grid-column: span 2; /* Main features take full width */
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .bento-wrapper {
    grid-template-columns: 1fr; /* Single column stack */
    grid-auto-rows: auto;
  }
  .bento-card {
    grid-column: span 1 !important;
    padding: 20px;
  }
  .weather-feature, .reg-feature {
    flex-direction: column;
    text-align: center;
  }
}

/* Disable hover on touch screens */
@media (hover: none) {
  .bento-card:hover { transform: none; }
  .bento-card:active { transform: scale(0.97); background: #fff; }
}

/* --- FOOTER --- */
.site-footer {
  text-align: center;
  padding: 40px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:6px;
}

.footer-founded {
  margin: 0;
  font-size: 0.95rem;
  color: #52796f;
  letter-spacing: 0.02em;
}

.footer-founded strong {
  color: var(--accent-green);
  font-weight: 700;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #f9a03f, #f25f5c, #c9357a, #833ab4);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(200, 50, 120, 0.3);
}

.insta-link:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(200, 50, 120, 0.45);
}

.insta-icon {
  width: 18px;
  height: 18px;
}