/* public/css/styles.css */
:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --black: #1d1d1f;
  --gray: #86868b;
  --gray-light: #f5f5f7;
  --white: #ffffff;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 64px;
}

.logo { height: 32px; font-weight: 700; font-size: 20px; color: var(--black); text-decoration: none; display: flex; align-items: center; }

nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }

nav a {
  text-decoration: none;
  color: var(--black);
  opacity: 0.8;
  transition: all 0.3s ease;
}

nav a:hover { opacity: 1; color: var(--blue); }

/* Hero Section */
.hero {
  text-align: center;
  padding: 160px 20px;
  background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%);
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p {
  font-size: 24px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Container & Sections */
.container { max-width: 1200px; margin: auto; padding: 100px 40px; }

h2 { font-size: 48px; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }
p { font-size: 19px; line-height: 1.6; color: var(--gray); margin-bottom: 24px; }

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.02);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card h3 { font-size: 28px; margin-bottom: 12px; }
.product-card .price { font-size: 18px; font-weight: 700; margin-top: auto; padding-top: 32px; }

/* Buttons & Inputs */
button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

button:hover { background: var(--blue-hover); transform: scale(1.02); }

input[type="number"] {
  padding: 12px 20px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 16px;
  width: 120px;
  outline: none;
}

input[type="number"]:focus { border-color: var(--blue); }

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
