/* --- GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #07182f 0%, #0d2b4e 50%, #071a30 100%);
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Disable scroll when cookie wall is active */
body.cookie-wall-active {
  overflow: hidden;
  height: 100vh;
}

/* Animated background gradient overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(0, 181, 200, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* --- COOKIE WALL STYLES (GEN Z VERSION) - FIXED NO SCROLL --- */
#cookie-wall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #07182f 0%, #0d2b4e 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cookie-wall-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid #00b5c8;
  animation: cookiePopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
  /* REMOVED: max-height and overflow-y to eliminate scrolling */
  display: flex;
  flex-direction: column;
}

.cookie-wall-header {
  margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.cookie-emoji {
  font-size: 2.5rem; /* Reduced from 3rem */
  margin-bottom: 0.5rem;
  animation: bounce 2s infinite;
}

.cookie-wall-header h2 {
  color: #07182f;
  font-size: 1.4rem; /* Reduced from 1.5rem */
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.cookie-wall-message {
  text-align: left;
  color: #07182f;
  margin-bottom: 1.5rem;
  line-height: 1.4; /* Reduced from 1.5 */
  /* REMOVED: flex: 1 and overflow-y to eliminate scrolling */
}

.cookie-wall-message p {
  margin-bottom: 0.8rem; /* Reduced from 1rem */
  font-size: 0.9rem; /* Reduced from 0.95rem */
}

.cookie-points {
  margin: 1rem 0; /* Reduced from 1.5rem */
}

.cookie-point {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* Reduced from 0.8rem */
  margin-bottom: 0.6rem; /* Reduced from 1rem */
  padding: 0.6rem; /* Reduced from 0.8rem */
  background: rgba(0, 181, 200, 0.1);
  border-radius: 0.8rem; /* Reduced from 1rem */
  border-left: 3px solid #00b5c8;
}

.point-emoji {
  font-size: 1.1rem; /* Reduced from 1.3rem */
  flex-shrink: 0;
}

.point-text {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  font-weight: 600;
  color: #07182f;
}

.cookie-note {
  background: rgba(255, 215, 0, 0.1);
  padding: 0.6rem; /* Reduced from 0.8rem */
  border-radius: 0.6rem; /* Reduced from 0.8rem */
  border-left: 3px solid #FFD700;
  font-size: 0.85rem; /* Reduced from 0.9rem */
  font-weight: 600;
  text-align: center;
  margin-top: 0.8rem; /* Reduced from 1rem */
}

.cookie-wall-buttons {
  margin-top: 1rem; /* Reduced space */
}

.cookie-wall-accept {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: white;
  border: none;
  padding: 0.9rem 1.2rem; /* Reduced from 1rem 1.5rem */
  font-size: 1rem; /* Reduced from 1.1rem */
  font-weight: 700;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.8rem; /* Reduced from 1rem */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 181, 200, 0.4);
}

.cookie-wall-accept:hover {
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 181, 200, 0.6);
}

.cookie-wall-accept:active {
  transform: translateY(0);
}

.btn-emoji {
  font-size: 1.1rem; /* Reduced from 1.2rem */
}

.cookie-wall-info {
  color: #666;
  font-size: 0.75rem; /* Reduced from 0.8rem */
  line-height: 1.3; /* Reduced from 1.4 */
}

.cookie-wall-info a {
  color: #00b5c8;
  text-decoration: none;
  font-weight: 600;
}

.cookie-wall-info a:hover {
  text-decoration: underline;
}

/* Hide original cookie banner when wall is active */
#cookie-banner {
  display: none !important;
}

/* Disable body scroll when cookie wall is active */
body.cookie-wall-active {
  overflow: hidden;
  height: 100vh;
}

/* Animations */
@keyframes cookiePopIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Mobile-specific cookie wall styles - COMPACT FOR NO SCROLLING */
@media (max-width: 768px) {
  #cookie-wall {
    padding: 0.5rem;
    align-items: center;
  }
  
  .cookie-wall-content {
    padding: 1.5rem;
    margin: 0;
    max-width: 320px;
    /* REMOVED: max-height to eliminate scrolling */
    border-radius: 1.2rem;
  }
  
  .cookie-emoji {
    font-size: 2rem; /* Further reduced for mobile */
  }
  
  .cookie-wall-header h2 {
    font-size: 1.2rem; /* Further reduced for mobile */
  }
  
  .cookie-wall-message p {
    font-size: 0.85rem; /* Further reduced for mobile */
  }
  
  .cookie-point {
    padding: 0.5rem; /* Further reduced for mobile */
    margin-bottom: 0.5rem; /* Further reduced for mobile */
  }
  
  .point-emoji {
    font-size: 1rem; /* Further reduced for mobile */
  }
  
  .point-text {
    font-size: 0.8rem; /* Further reduced for mobile */
  }
  
  .cookie-note {
    padding: 0.5rem; /* Further reduced for mobile */
    font-size: 0.8rem; /* Further reduced for mobile */
  }
  
  .cookie-wall-accept {
    padding: 0.8rem 1rem; /* Further reduced for mobile */
    font-size: 0.95rem; /* Further reduced for mobile */
    margin-bottom: 0.6rem; /* Further reduced for mobile */
  }
  
  .cookie-wall-info {
    font-size: 0.7rem; /* Further reduced for mobile */
  }
}

@media (max-width: 480px) {
  .cookie-wall-content {
    padding: 1.2rem;
    max-width: 280px;
    /* REMOVED: max-height to eliminate scrolling */
    border-radius: 1rem;
  }
  
  .cookie-emoji {
    font-size: 1.8rem; /* Even smaller for very small screens */
  }
  
  .cookie-wall-header h2 {
    font-size: 1.1rem; /* Even smaller for very small screens */
  }
  
  .cookie-wall-message p {
    font-size: 0.8rem; /* Even smaller for very small screens */
  }
  
  .cookie-point {
    padding: 0.4rem; /* Even smaller for very small screens */
    margin-bottom: 0.4rem; /* Even smaller for very small screens */
    gap: 0.5rem; /* Even smaller for very small screens */
  }
  
  .point-emoji {
    font-size: 0.9rem; /* Even smaller for very small screens */
  }
  
  .point-text {
    font-size: 0.75rem; /* Even smaller for very small screens */
  }
  
  .cookie-note {
    padding: 0.4rem; /* Even smaller for very small screens */
    font-size: 0.75rem; /* Even smaller for very small screens */
  }
  
  .cookie-wall-accept {
    padding: 0.7rem 0.9rem; /* Even smaller for very small screens */
    font-size: 0.9rem; /* Even smaller for very small screens */
  }
  
  .cookie-wall-info {
    font-size: 0.65rem; /* Even smaller for very small screens */
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .cookie-wall-content {
    padding: 1rem;
    max-width: 260px;
  }
  
  .cookie-emoji {
    font-size: 1.6rem; /* Smallest size */
  }
  
  .cookie-wall-header h2 {
    font-size: 1rem; /* Smallest size */
  }
  
  .cookie-point {
    padding: 0.3rem; /* Smallest size */
  }
  
  .cookie-wall-accept {
    padding: 0.6rem 0.8rem; /* Smallest size */
    font-size: 0.85rem; /* Smallest size */
  }
}

/* --- ORIGINAL COOKIE BANNER STYLES (KEPT FOR BACKWARD COMPATIBILITY) --- */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 400px;
  background: rgba(7, 24, 47, 0.97);
  border: 2px solid rgba(0, 181, 200, 0.5);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 181, 200, 0.3);
  z-index: 10000;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: none;
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#cookie-banner.minimized {
  width: 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  bottom: 1rem;
  left: 1rem;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 181, 200, 0.7); }
  50% { box-shadow: 0 0 0 15px rgba(0, 181, 200, 0); }
}

#cookie-banner.minimized .cookie-content {
  display: none;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cookie-title {
  color: #FFD700;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.cookie-close {
  background: rgba(0, 181, 200, 0.1);
  border: none;
  color: #00b5c8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close:hover {
  background: rgba(0, 181, 200, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.cookie-message {
  color: #cceff5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.7rem 1.4rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #00b5c8;
  text-decoration: none;
  flex: 1;
  text-align: center;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 181, 200, 0.3);
}

.cookie-btn.accept:hover {
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  border-color: #008aa5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 181, 200, 0.4);
}

.cookie-btn.settings {
  background: transparent;
  color: #00b5c8;
}

.cookie-btn.settings:hover {
  background: rgba(0, 181, 200, 0.15);
  transform: translateY(-2px);
}

.cookie-icon {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #00b5c8;
  font-size: 2rem;
}

#cookie-banner.minimized .cookie-icon {
  display: flex;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Cookie banner mobile styles */
@media (max-width: 768px) {
  #cookie-banner {
    width: calc(100% - 2rem);
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    margin: 0 auto;
  }
  
  #cookie-banner.minimized {
    width: 60px;
    height: 60px;
    bottom: 0.5rem;
    left: 0.5rem;
    right: auto;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    flex: none;
  }
}

@media (max-width: 480px) {
  #cookie-banner {
    padding: 1.2rem;
  }
  
  .cookie-title {
    font-size: 1.15rem;
  }
  
  .cookie-message {
    font-size: 0.9rem;
  }
}

/* --- HEADER STYLES --- */
header {
  background: rgba(7, 24, 47, 0.97);
  padding: 1.3rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  transition: all 0.3s ease;
}

header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00b5c8 50%, transparent);
  opacity: 0.5;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- UPDATED NAV LOGO WITH IMAGE + TEXT --- */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.nav-logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFD700, #00b5c8);
  transition: width 0.3s ease;
}

.nav-logo:hover::after {
  width: 100%;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
}

.nav-logo:hover .nav-logo-text {
  filter: brightness(1.2);
  transform: translateX(3px);
}

.nav-logo:hover {
  transform: translateY(-2px);
}

/* Mobile header logo */
@media (max-width: 768px) {
  .nav-logo-img {
    width: 32px;
    height: 32px;
  }
  
  .nav-logo-text {
    font-size: 1.7rem;
  }
}

@media (max-width: 400px) {
  .nav-logo-img {
    width: 28px;
    height: 28px;
  }
  
  .nav-logo-text {
    font-size: 1.5rem;
  }
}

/* --- NAV BUTTON STYLES --- */
nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-btn, .nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  border-radius: 2rem;
  border: 2px solid #00b5c8;
  background: transparent;
  color: #00b5c8;
  margin-left: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-btn i, .nav-btn-login i {
  font-size: 1.1rem;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 181, 200, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.nav-btn:hover::before {
  width: 300px;
  height: 300px;
}

.nav-btn:hover, .nav-btn:focus {
  background: rgba(0, 181, 200, 0.1);
  color: #00b5c8;
  border-color: #00b5c8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 181, 200, 0.3);
}

.nav-btn-login {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  border: 2px solid #00b5c8;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 181, 200, 0.35);
}

.nav-btn-login:hover, .nav-btn-login:focus {
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  color: #fff;
  border-color: #008aa5;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 181, 200, 0.5);
}

.nav-btn-login:active {
  transform: translateY(-1px);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: rgba(0, 181, 200, 0.1);
  border: 2px solid #00b5c8;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  color: #00b5c8;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(0, 181, 200, 0.2);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* --- MAIN CONTENT STYLES --- */
main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

/* --- HOMEPAGE HERO + FEATURE CARDS STYLES --- */
.hero {
  background: linear-gradient(135deg, rgba(234, 253, 255, 0.08) 0%, rgba(0, 181, 200, 0.05) 100%);
  padding: 6rem 0 4rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 181, 200, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  line-height: 1.1;
  position: relative;
  z-index: 2;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.35rem;
  color: #cceff5;
  font-weight: 500;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-primary {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.1rem 3rem;
  border-radius: 2.5rem;
  border: none;
  box-shadow: 0 8px 25px rgba(0,181,200,0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover { 
  background: linear-gradient(135deg, #008aa5 0%, #006f87 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,181,200,0.6);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
}

.features {
  padding: 5rem 0;
  position: relative;
}

.features h2 {
  text-align: center;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3.5rem;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: fadeInDown 0.8s ease-out;
}

.feature-cards {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid rgba(0, 181, 200, 0.2);
  text-decoration: none;
  color: inherit;
  outline: none;
  margin: 0;
  min-width: 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(15px);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 181, 200, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.feature-card:hover::before {
  transform: scale(1);
}

.feature-card:hover, .feature-card:focus {
  box-shadow: 0 16px 48px rgba(0,181,200,0.25);
  transform: translateY(-12px) scale(1.02);
  border-color: #00b5c8;
  background: rgba(255, 255, 255, 0.1);
}

.tile-icon {
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  position: relative;
  z-index: 2;
}

.tile-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.tile-desc {
  color: #cceff5;
  font-size: 1.12rem;
  margin-bottom: 0;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* Mobile horizontal scroll for features */
.features-scroll-container {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  scroll-snap-type: x mandatory;
  position: relative;
}

.features-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  flex: 0 0 88%;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.8rem;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 2px solid rgba(0, 181, 200, 0.3);
  backdrop-filter: blur(15px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
}

.scroll-card:active {
  transform: scale(0.98);
}

/* Smart scroll buttons positioned on sides - UPDATED WITH CHEVRONS */
.scroll-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 0.5rem;
  z-index: 10;
}

.scroll-btn {
  background: linear-gradient(135deg, rgba(0, 181, 200, 0.95) 0%, rgba(0, 138, 165, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  opacity: 1;
}

.scroll-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.scroll-btn:hover {
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(0, 181, 200, 0.5);
}

.scroll-btn:active {
  transform: scale(1.05);
}

/* --- GEN Z ENHANCEMENTS --- */

/* Hero Stats Section */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #cceff5;
  font-weight: 500;
}

/* Features Subtitle */
.features-subtitle {
  text-align: center;
  color: #cceff5;
  font-size: 1.2rem;
  max-width: 600px;
  margin: -1rem auto 3rem auto;
  line-height: 1.6;
}

/* Tile Badges */
.tile-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 181, 200, 0.3);
  z-index: 3;
}

/* Tile Meta Tags */
.tile-meta {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tile-tag {
  background: rgba(0, 181, 200, 0.15);
  color: #00b5c8;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 181, 200, 0.3);
}

/* About Highlight */
.about-highlight {
  background: rgba(255, 215, 0, 0.1);
  border-left: 4px solid #FFD700;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #FFD700;
}

/* --- NEW SECTIONS STYLES --- */
.about-section {
  background: linear-gradient(135deg, rgba(234, 253, 255, 0.05) 0%, rgba(0, 181, 200, 0.03) 100%);
  padding: 6rem 0;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 181, 200, 0.2);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  position: relative;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.about-content {
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-content h2 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -1.2px;
}

.about-content p {
  color: #cceff5;
  font-size: 1.18rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.about-lottie {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-lottie img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.about-lottie img:hover {
  transform: scale(1.05) rotate(2deg);
}

.blog-section {
  background: rgba(248, 249, 250, 0.03);
  padding: 6rem 0;
  backdrop-filter: blur(10px);
}

.blog-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h2 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -1.2px;
}

.blog-header p {
  color: #cceff5;
  font-size: 1.18rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}

.blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00b5c8, #FFD700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0, 181, 200, 0.5);
  box-shadow: 0 16px 48px rgba(0,181,200,0.25);
}

.blog-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 2.2rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #cceff5;
}

.blog-card h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: #FFD700;
}

.blog-card p {
  color: #cceff5;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.blog-card .read-more {
  color: #00b5c8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.blog-card .read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.blog-card .read-more:hover {
  color: #FFD700;
}

.blog-card .read-more:hover::after {
  transform: translateX(5px);
}

.blog-loading, .blog-error, .blog-empty {
  text-align: center;
  padding: 4rem;
  grid-column: 1 / -1;
}

.blog-loading {
  color: #cceff5;
  font-size: 1.15rem;
}

.blog-error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 1rem;
  font-size: 1.08rem;
  border: 2px solid rgba(255, 107, 107, 0.3);
}

.blog-empty {
  color: #cceff5;
  font-size: 1.15rem;
}

.view-all-blogs {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- FOOTER STYLES --- */
footer {
  background: rgba(7, 24, 47, 0.97);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  flex-shrink: 0;
  backdrop-filter: blur(15px);
  border-top: 2px solid rgba(0, 181, 200, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00b5c8 50%, transparent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #00b5c8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b5c8, #FFD700);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: #FFD700;
  transform: translateY(-3px);
}

.footer-copyright {
  font-size: 1rem;
  color: #cceff5;
}

/* --- FOOTER LOGO STYLES (SUBTLE & MODERN) --- */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.1) rotate(5deg);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* Mobile footer logo */
@media (max-width: 768px) {
  .footer-logo {
    margin-bottom: 1.5rem;
  }
  
  .footer-logo-img {
    width: 28px;
    height: 28px;
  }
  
  .footer-logo-text {
    font-size: 1.2rem;
  }
}

/* --- BACK TO TOP BUTTON - NEW MODERN GEN Z DESIGN --- */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(0, 181, 200, 0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#backToTop i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

#backToTop:hover {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 32px rgba(255, 215, 0, 0.5);
}

#backToTop:hover i {
  transform: translateY(-3px);
}

#backToTop:active {
  transform: translateY(-3px) scale(1.02);
}

/* --- LOADER STYLES --- */
#qaruno-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: linear-gradient(135deg, rgba(7,24,47,0.99) 0%, rgba(13,43,78,0.99) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-spinner {
  width: 90px;
  height: 90px;
  border: 8px solid transparent;
  border-top: 8px solid #00b5c8;
  border-right: 8px solid #FFD700;
  border-radius: 50%;
  animation: spinGlow 1.2s linear infinite;
  margin-bottom: 2.5rem;
  box-shadow: 0 0 30px rgba(0, 181, 200, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes spinGlow {
  0% { 
    transform: rotate(0deg);
    box-shadow: 0 0 20px rgba(0, 181, 200, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
  }
  100% { 
    transform: rotate(360deg);
    box-shadow: 0 0 20px rgba(0, 181, 200, 0.5);
  }
}

.loader-brand {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.2rem;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 4px 25px rgba(0, 138, 165, 0.8);
  margin-bottom: 1.2rem;
  text-align: center;
  line-height: 1.1;
  animation: pulse 2s ease-in-out infinite;
}

.loader-msg {
  color: #cceff5;
  font-size: 1.5rem;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
  min-height: 2.8em;
  animation: fadeIn 1.5s ease-in-out infinite alternate;
}

/* --- EXPLORE ECOSYSTEM STYLES --- */
.ecosystem {
  background: linear-gradient(135deg, rgba(234, 253, 255, 0.08) 0%, rgba(0, 181, 200, 0.05) 100%);
  padding: 6rem 0;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 181, 200, 0.2);
  border-bottom: 1px solid rgba(0, 181, 200, 0.2);
  position: relative;
}

.ecosystem h2 {
  text-align: center;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: fadeInDown 0.8s ease-out;
}

.ecosystem-subtitle {
  text-align: center;
  color: #cceff5;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  line-height: 1.7;
  font-weight: 500;
}

.ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

.eco-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.8rem;
  padding: 3rem 2.2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid rgba(0, 181, 200, 0.2);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  justify-content: space-between;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 181, 200, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.eco-card:hover::before {
  transform: scale(1);
}

.eco-card:hover {
  box-shadow: 0 16px 48px rgba(0,181,200,0.25);
  transform: translateY(-12px) scale(1.02);
  border-color: #00b5c8;
  background: rgba(255, 255, 255, 0.12);
}

.eco-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.3s ease;
}

.eco-card:hover .eco-icon {
  transform: scale(1.1) rotate(5deg);
}

.eco-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #00b5c8 0%, #008aa5 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 181, 200, 0.3);
  z-index: 3;
}

.eco-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.eco-desc {
  color: #cceff5;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.eco-meta {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eco-tag {
  background: rgba(0, 181, 200, 0.15);
  color: #00b5c8;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 181, 200, 0.3);
}

.eco-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

/* --- MEDIUM SCREENS (iPad Pro and similar) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 750px;
  }
  
  .feature-card {
    min-height: 320px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  
  .about-lottie {
    order: -1;
  }
}

/* --- TABLET AND SMALLER DESKTOP --- */
@media (max-width: 900px) {
  .feature-cards {
    display: none;
  }
  
  .features-scroll-container {
    display: block;
  }
  
  .hero h1 { 
    font-size: 2.6rem; 
    padding: 0 1rem;
  }
  
  .hero {
    padding: 4.5rem 0 3rem 0;
  }
  
  .hero p {
    font-size: 1.2rem;
    padding: 0 1.5rem;
  }
  
  .tile-desc {
    font-size: 1.08rem;
  }
  
  .tile-icon lottie-player {
    width: 110px !important;
    height: 110px !important;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-btn, .nav-btn-login {
    padding: 0.6rem 1.4rem;
    font-size: 0.98rem;
    margin: 0.3rem;
  }
  
  .about-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .blog-preview {
    grid-template-columns: 1fr;
  }
}

/* --- MOBILE STYLES (ENHANCED FOR TOP TECH LOOK) --- */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .features {
    padding: 3.5rem 0;
  }
  
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 24, 47, 0.99);
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(0, 181, 200, 0.3);
  }
  
  nav.active {
    display: flex;
    animation: slideInDown 0.3s ease-out;
  }
  
  .nav-btn, .nav-btn-login {
    width: 100%;
    margin: 0.7rem 0;
    text-align: center;
    margin-left: 0;
    padding: 1rem 1.5rem;
    font-size: 1.08rem;
    justify-content: center;
  }
  
  .nav-wrapper {
    flex-direction: row;
    gap: 1rem;
  }
  
  .scroll-card { 
    padding: 2.5rem 2rem; 
    margin: 0;
    width: 100%;
    min-height: auto;
  }
  
  .tile-icon { 
    min-height: 70px; 
    margin-bottom: 1.5rem;
  }
  
  .tile-icon lottie-player {
    width: 90px !important;
    height: 90px !important;
  }
  
  .tile-title { 
    font-size: 1.4rem; 
    margin-bottom: 1rem;
  }
  
  .hero h1 { 
    font-size: 2.4rem; 
    padding: 0 1.2rem;
    letter-spacing: -1.2px;
    line-height: 1.15;
  }
  
  .hero {
    padding: 3.5rem 0 2.5rem 0;
  }
  
  .hero p {
    font-size: 1.12rem;
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
    line-height: 1.65;
    max-width: 100%;
  }
  
  .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
  
  .tile-desc {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  #backToTop {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  footer .container {
    padding: 0 1.5rem;
  }
  
  /* --- ECOSYSTEM MEDIA QUERIES --- */

/* Medium Screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .ecosystem-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .eco-card {
    min-height: 380px;
  }
}

/* Tablet and Smaller Desktop */
@media (max-width: 900px) {
  .ecosystem-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .ecosystem {
    padding: 4rem 0;
  }
  
  .ecosystem h2 {
    font-size: 2.2rem;
    padding: 0 1rem;
  }
  
  .ecosystem-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
  
  .ecosystem-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  
  .eco-card {
    padding: 2.5rem 2rem;
    min-height: 360px;
  }
  
  .eco-icon {
    font-size: 3.5rem;
  }
  
  .eco-title {
    font-size: 1.4rem;
  }
  
  .eco-desc {
    font-size: 1.05rem;
  }
  
  .eco-btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .ecosystem h2 {
    font-size: 2rem;
  }
  
  .ecosystem-subtitle {
    font-size: 1rem;
  }
  
  .eco-card {
    padding: 2rem 1.5rem;
    min-height: 340px;
  }
  
  .eco-icon {
    font-size: 3rem;
  }
  
  .eco-badge {
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }
}

  /* FIXED MOBILE FOOTER LAYOUT - 2 ROWS WITH GRID */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem 0.5rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-links a {
    margin: 0;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.3;
    padding: 0 0.2rem;
    position: relative;
  }
  
  /* Remove separator lines on mobile */
  .footer-links a::before {
    display: none !important;
  }
  
  /* Keep hover color effect */
  .footer-links a:hover {
    color: #FFD700;
    transform: scale(1.05);
  }
  
  .about-section, .blog-section {
    padding: 4rem 0;
  }
  
  .about-content h2, .blog-header h2 {
    font-size: 2.2rem;
  }
  
  .about-content p, .blog-header p {
    font-size: 1.1rem;
  }
  
  .blog-card-img {
    height: 220px;
  }
  
  .blog-card-content {
    padding: 1.8rem;
  }
  
  /* Mobile Optimizations for Gen Z Features */
  .hero-stats {
    gap: 1.5rem;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .features-subtitle {
    font-size: 1.05rem;
    margin: -0.5rem auto 2rem auto;
    padding: 0 1rem;
  }
  
  .tile-badge {
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .tile-meta {
    margin-top: 1rem;
  }
  
  .tile-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
  
  .about-highlight {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    gap: 0.8rem 0.3rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .scroll-card {
    padding: 2rem 1.5rem;
  }
  
  .tile-title {
    font-size: 1.25rem;
  }
  
  .tile-desc {
    font-size: 1rem;
  }
  
  .nav-btn, .nav-btn-login {
    font-size: 1.02rem;
    padding: 0.9rem 1.3rem;
  }
  
  .about-content h2, .blog-header h2 {
    font-size: 2rem;
  }
  
  #backToTop {
    width: 48px;
    height: 48px;
    bottom: 1.2rem;
    right: 1.2rem;
  }
  
  .hero-stats {
    gap: 1rem;
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .footer-links {
    gap: 0.7rem 0.2rem;
  }
  
  .footer-links a {
    font-size: 0.82rem;
  }
}