/* =========================
   DESIGN SYSTEM
========================= */
:root {
  --primary: #0077ff;
  --secondary: #00c6ff;
  --danger: #ff4d4d;

  --bg: #f9fbfd;
  --card: #ffffff;
  --text: #333;

  --shadow: 0 5px 18px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =========================
   HEADER (FIXED)
========================= */
.site-header {
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  color: var(--primary);
  font-weight: bold;
  margin: 0;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   HERO (HOME)
========================= */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 100px 20px;
  text-align: center;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  margin: 20px 0;
  font-size: 1.1rem;
}

/* COLORFUL HERO */
.hero-colorful {
  background: linear-gradient(135deg, #ff6a00, #ee0979, var(--secondary));
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero-colorful h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.hero,
.hero-colorful {
  animation: fadeInUp 0.9s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: white;
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

/* =========================
   PRODUCTS GRID (HOME)
========================= */
.products {
  padding: 60px 0;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin: 10px 0;
}

.card p {
  color: var(--primary);
  font-weight: bold;
}

.card button {
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* =========================
   PRODUCT PAGE GRID
========================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: var(--shadow);
  position: relative;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

.product-card h4 {
  color: var(--primary);
  margin-top: 8px;
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: white;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 5px;
}

/* TAGS */
.tag {
  background: #f1f3f6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

/* =========================
   FEATURES
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 60px 0;
  text-align: center;
}

.feature-box {
  background: var(--card);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-8px);
}

/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

/* =========================
   FORMS
========================= */
input, textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  min-height: 120px;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
  margin-top: 40px;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: var(--card);
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }
}


/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* HOVER EFFECT */
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* PULSE ANIMATION */
.whatsapp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Different animation variants */
.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
  opacity: 1;
}

/* =========================
   PREMIUM UI UPGRADE
========================= */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better typography */
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.2px;
}

/* GLASS NAVBAR */
.site-header {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.75);
}

/* NAV IMPROVEMENT */
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: 0.3s ease;
}

/* animated underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* PREMIUM HERO GLOW */
.hero-colorful {
  position: relative;
  overflow: hidden;
}

.hero-colorful::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.15);
  filter: blur(80px);
  top: -200px;
  left: -200px;
  animation: floatGlow 6s infinite alternate;
}

@keyframes floatGlow {
  from { transform: translateY(0px); }
  to { transform: translateY(40px); }
}

/* PREMIUM CARDS */
.card, .product-card, .feature-box {
  transition: all 0.35s ease;
}

.card:hover,
.product-card:hover,
.feature-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* BUTTON UPGRADE */
.btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 8px 20px rgba(0,119,255,0.25);
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,119,255,0.35);
}

/* SECTION SPACING */
section {
  scroll-margin-top: 100px;
}

/* PREMIUM TEXT */
h1, h2, h3 {
  letter-spacing: -0.5px;
}

/* MOBILE NAV IMPROVEMENT */
@media (max-width: 768px) {
  .nav-links {
    width: 220px;
  }
}