/* Google Chrome Official Style V8 - Warm White Edition */
:root {
  --google-blue: #1a73e8;
  --google-red: #ea4335;
  --google-yellow: #fbbc05;
  --google-green: #34a853;
  --google-blue-hover: #1765cc;
  --google-blue-light: #edf2fa;
  --text-main: #202124;
  --text-secondary: #5f6368;
  --bg-white: #fdfbf7; /* Warm White / Cream */
  --bg-gray: #f5f2ed;  /* Warm Gray for sections */
  --border-light: #e0ddd5;
  --radius-std: 8px;
  --radius-lg: 24px;
  --radius-btn: 100px;
  --container-max: 1100px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(60,64,67,.2), 0 1px 3px 1px rgba(60,64,67,.1);
}

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

body {
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-item {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.nav-item:hover, .nav-item.active {
  color: var(--google-blue);
  background: var(--google-blue-light);
}

/* Buttons */
.btn-primary {
  background: var(--google-blue);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--google-blue-hover);
  box-shadow: 0 4px 12px rgba(26,115,232,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--google-blue);
  padding: 9px 23px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-light);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--google-blue-light);
  border-color: var(--google-blue);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 44px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.chrome-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.chrome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

/* Article Entries */
.publish-entry {
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

/* Modal & Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32,33,36,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-white);
  width: 90%;
  max-width: 800px;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}

/* Floating Elements */
.float-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.float-item {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12; /* Slightly lower opacity for warm background */
  filter: blur(40px);
  animation: float-anim 25s infinite alternate ease-in-out;
}

.float-blue { background: var(--google-blue); width: 400px; height: 400px; top: -10%; left: -10%; }
.float-red { background: var(--google-red); width: 350px; height: 350px; bottom: -5%; right: -5%; animation-delay: -7s; }
.float-yellow { background: var(--google-yellow); width: 300px; height: 300px; top: 40%; right: 10%; animation-delay: -14s; }
.float-green { background: var(--google-green); width: 320px; height: 320px; bottom: 20%; left: 5%; animation-delay: -21s; }

@keyframes float-anim {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 100px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* Footer */
.footer {
  background: var(--bg-gray);
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
}

.footer-link {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-link:hover { color: var(--google-blue); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
